mirror of https://github.com/grpc/grpc-node.git
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:
parent
ab27034c8c
commit
65bd142114
|
@ -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)
|
||||
|
||||
|
|
|
@ -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'],
|
||||
|
|
|
@ -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/*"
|
||||
|
|
|
@ -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"
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue