grpc-js: rename grpc-js-core to match npm

This commit renames grpc-js-core to grpc-js to more closely
match the name used on npm.
This commit is contained in:
cjihrig 2018-11-01 16:56:57 -04:00
parent ab27034c8c
commit 65bd142114
No known key found for this signature in database
GPG Key ID: 7434390BDBE9B9C5
41 changed files with 6 additions and 6 deletions

View File

@ -15,7 +15,7 @@ This is the existing, feature-rich implementation of gRPC using a C++ addon. It
### Pure JavaScript Client
Directory: [`packages/grpc-js-core`](https://github.com/grpc/grpc-node/tree/master/packages/grpc-js-core)
Directory: [`packages/grpc-js`](https://github.com/grpc/grpc-node/tree/master/packages/grpc-js)
npm package: [@grpc/grpc-js](https://www.npmjs.com/package/@grpc/grpc-js)

View File

@ -49,7 +49,7 @@ function loadGulpTasksWithPrefix(path: string, prefix: string) {
[
['./packages/grpc-health-check/gulpfile', 'health-check'],
['./packages/grpc-js-core/gulpfile', 'js.core'],
['./packages/grpc-js/gulpfile', 'js.core'],
['./packages/grpc-native-core/gulpfile', 'native.core'],
['./packages/grpc-protobufjs/gulpfile', 'protobuf'],
['./test/gulpfile', 'internal.test'],

View File

@ -55,7 +55,7 @@
"nyc": {
"include": [
"packages/grpc-health-check/health.js",
"packages/grpc-js-core/build/src/*",
"packages/grpc-js/build/src/*",
"packages/grpc-native-core/index.js",
"packages/grpc-native-core/src/*.js",
"packages/grpc-protobufjs/build/src/*"

View File

@ -3,7 +3,7 @@
"version": "0.3.2",
"description": "gRPC Library for Node - pure JS implementation",
"homepage": "https://grpc.io/",
"repository": "https://github.com/grpc/grpc-node/tree/master/packages/grpc-js-core",
"repository": "https://github.com/grpc/grpc-node/tree/master/packages/grpc-js",
"main": "build/src/index.js",
"engines": {
"node": "^8.11.2 || >=9.4"

View File

@ -2,8 +2,8 @@ require('source-map-support/register');
const Module = require('module');
const shimmer = require('shimmer');
const grpcPJson = require('../../packages/grpc-js-core/package');
const grpcImpl = require('../../packages/grpc-js-core');
const grpcPJson = require('../../packages/grpc-js/package');
const grpcImpl = require('../../packages/grpc-js');
const grpcProtobuf = require('../../packages/grpc-protobufjs');
if (!process.env.USE_GRPC_NATIVE) {