Skip to content

Commit a952243

Browse files
authored
feat!: v3 is now the default API surface (#355)
BREAKING CHANGE: this significantly changes TypeScript types and API surface from the v2 API. Reference samples/ for help making the migration from v2 to v3.
1 parent 000d30c commit a952243

19 files changed

+13997
-82
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"ignoreFiles": ["protos/*"]
3+
}

packages/google-cloud-translate/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"lint": "npm run check && eslint '**/*.js'",
3434
"samples-test": "cd samples/ && npm link ../ && npm test && cd ../",
3535
"system-test": "mocha build/system-test --timeout 600000",
36-
"test": "nyc mocha build/test",
36+
"test": "c8 mocha build/test",
3737
"check": "gts check",
3838
"clean": "gts clean",
3939
"compile": "tsc -p . && npm run copy-js",
@@ -62,6 +62,7 @@
6262
"@types/node": "^10.5.7",
6363
"@types/proxyquire": "^1.3.28",
6464
"@types/request": "^2.47.1",
65+
"c8": "^6.0.0",
6566
"codecov": "^3.0.2",
6667
"eslint": "^6.0.0",
6768
"eslint-config-prettier": "^6.0.0",
@@ -73,7 +74,6 @@
7374
"jsdoc-fresh": "^1.0.1",
7475
"linkinator": "^1.5.0",
7576
"mocha": "^6.1.4",
76-
"nyc": "^14.0.0",
7777
"power-assert": "^1.6.0",
7878
"prettier": "^1.13.5",
7979
"proxyquire": "^2.0.1",

0 commit comments

Comments
 (0)