From cf45c82db83eee244d1b653daa149107c5302826 Mon Sep 17 00:00:00 2001 From: Ping Yu <4018+pyu10055@users.noreply.github.com> Date: Tue, 6 Oct 2020 15:00:30 -0700 Subject: [PATCH] Update monorepo to 2.5.0. (#4027) * Update monorepo to 2.5.0. * Update verdaccio version. * Add wasm to dependency list. * Increase timeout. Co-authored-by: Na Li --- cloudbuild-release.yml | 2 +- e2e/scripts/local-registry.sh | 2 +- e2e/scripts/update-dependency.ts | 2 +- tfjs-backend-cpu/package.json | 6 +++--- tfjs-backend-cpu/src/version.ts | 2 +- tfjs-backend-wasm/package.json | 6 +++--- tfjs-backend-wasm/src/version.ts | 2 +- tfjs-backend-webgl/package.json | 8 ++++---- tfjs-backend-webgl/src/version.ts | 2 +- tfjs-converter/package.json | 8 ++++---- tfjs-converter/python/tensorflowjs/version.py | 2 +- tfjs-converter/src/version.ts | 2 +- tfjs-core/package.json | 2 +- tfjs-core/src/version.ts | 2 +- tfjs-data/package.json | 10 +++++----- tfjs-data/src/version.ts | 2 +- tfjs-layers/package.json | 10 +++++----- tfjs-layers/src/version.ts | 2 +- tfjs-node-gpu/package.json | 6 +++--- tfjs-node/package.json | 6 +++--- tfjs-node/src/version.ts | 2 +- tfjs/package.json | 14 +++++++------- tfjs/src/version.ts | 2 +- 23 files changed, 51 insertions(+), 51 deletions(-) diff --git a/cloudbuild-release.yml b/cloudbuild-release.yml index a12be590138..f21f0ae2b36 100644 --- a/cloudbuild-release.yml +++ b/cloudbuild-release.yml @@ -13,7 +13,7 @@ secrets: - kmsKeyName: projects/learnjs-174218/locations/global/keyRings/tfjs/cryptoKeys/enc secretEnv: BROWSERSTACK_KEY: CiQAkwyoIW0LcnxymzotLwaH4udVTQFBEN4AEA5CA+a3+yflL2ASPQAD8BdZnGARf78MhH5T9rQqyz9HNODwVjVIj64CTkFlUCGrP1B2HX9LXHWHLmtKutEGTeFFX9XhuBzNExA= -timeout: 3600s +timeout: 7200s logsBucket: 'gs://tfjs-build-logs' substitutions: _RELEASE: '' diff --git a/e2e/scripts/local-registry.sh b/e2e/scripts/local-registry.sh index ecac27f264c..cd9909cc42c 100644 --- a/e2e/scripts/local-registry.sh +++ b/e2e/scripts/local-registry.sh @@ -17,7 +17,7 @@ custom_registry_url=http://localhost:4873 original_npm_registry_url=`npm get registry` original_yarn_registry_url=`yarn config get registry` -default_verdaccio_package=verdaccio@4.6.2 +default_verdaccio_package=verdaccio@4.8.1 function startLocalRegistry { # Start local registry diff --git a/e2e/scripts/update-dependency.ts b/e2e/scripts/update-dependency.ts index b683d1b4ab7..0885ffc479c 100644 --- a/e2e/scripts/update-dependency.ts +++ b/e2e/scripts/update-dependency.ts @@ -31,7 +31,7 @@ parser.addArgument('--version', { const DEPENDENCY_LIST = [ 'tfjs-core', 'tfjs-converter', 'tfjs-layers', 'tfjs-backend-cpu', - 'tfjs-backend-webgl', 'tfjs-data', 'tfjs', 'tfjs-node' + 'tfjs-backend-webgl', 'tfjs-backend-wasm', 'tfjs-data', 'tfjs', 'tfjs-node' ]; function main() { diff --git a/tfjs-backend-cpu/package.json b/tfjs-backend-cpu/package.json index 86efac109d8..8a91fb37a6b 100644 --- a/tfjs-backend-cpu/package.json +++ b/tfjs-backend-cpu/package.json @@ -1,6 +1,6 @@ { "name": "@tensorflow/tfjs-backend-cpu", - "version": "0.0.0", + "version": "2.5.0", "description": "Vanilla JavaScript backend for TensorFlow.js", "private": false, "main": "dist/tf-backend-cpu.node.js", @@ -22,7 +22,7 @@ "@rollup/plugin-commonjs": "^11.0.2", "@rollup/plugin-node-resolve": "^7.1.1", "@rollup/plugin-typescript": "^3.0.0", - "@tensorflow/tfjs-core": "link:../tfjs-core", + "@tensorflow/tfjs-core": "2.5.0", "@types/jasmine": "~3.0.0", "clang-format": "~1.2.4", "jasmine": "~3.1.0", @@ -65,7 +65,7 @@ "seedrandom": "2.4.3" }, "peerDependencies": { - "@tensorflow/tfjs-core": "link:../tfjs-core" + "@tensorflow/tfjs-core": "2.5.0" }, "browser": { "util": false, diff --git a/tfjs-backend-cpu/src/version.ts b/tfjs-backend-cpu/src/version.ts index 5fa574e7da4..e1726aba6a9 100644 --- a/tfjs-backend-cpu/src/version.ts +++ b/tfjs-backend-cpu/src/version.ts @@ -1,5 +1,5 @@ /** @license See the LICENSE file. */ // This code is auto-generated, do not modify this file! -const version = '0.0.0'; +const version = '2.5.0'; export {version}; diff --git a/tfjs-backend-wasm/package.json b/tfjs-backend-wasm/package.json index 788606a243c..225e15290e5 100644 --- a/tfjs-backend-wasm/package.json +++ b/tfjs-backend-wasm/package.json @@ -1,6 +1,6 @@ { "name": "@tensorflow/tfjs-backend-wasm", - "version": "0.0.0", + "version": "2.5.0", "main": "dist/tf-backend-wasm.node.js", "types": "dist/index.d.ts", "jsnext:main": "dist/tf-backend-wasm.esm.js", @@ -41,7 +41,7 @@ "perf_hooks": false }, "peerDependencies": { - "@tensorflow/tfjs-core": "link:../tfjs-core" + "@tensorflow/tfjs-core": "2.5.0" }, "dependencies": { "@types/emscripten": "~0.0.34" @@ -50,7 +50,7 @@ "@babel/polyfill": "^7.8.7", "@bazel/bazel": "^0.28.0", "@bazel/buildifier": "0.29.0", - "@tensorflow/tfjs-core": "link:../tfjs-core", + "@tensorflow/tfjs-core": "2.5.0", "@types/jasmine": "~2.8.6", "clang-format": "~1.2.4", "jasmine": "~3.1.0", diff --git a/tfjs-backend-wasm/src/version.ts b/tfjs-backend-wasm/src/version.ts index 5fa574e7da4..e1726aba6a9 100644 --- a/tfjs-backend-wasm/src/version.ts +++ b/tfjs-backend-wasm/src/version.ts @@ -1,5 +1,5 @@ /** @license See the LICENSE file. */ // This code is auto-generated, do not modify this file! -const version = '0.0.0'; +const version = '2.5.0'; export {version}; diff --git a/tfjs-backend-webgl/package.json b/tfjs-backend-webgl/package.json index 8dbea425b71..c4c84800d99 100644 --- a/tfjs-backend-webgl/package.json +++ b/tfjs-backend-webgl/package.json @@ -1,6 +1,6 @@ { "name": "@tensorflow/tfjs-backend-webgl", - "version": "0.0.0", + "version": "2.5.0", "description": "GPU accelerated WebGL backend for TensorFlow.js", "private": false, "main": "dist/tf-backend-webgl.node.js", @@ -23,7 +23,7 @@ "@rollup/plugin-commonjs": "^11.0.2", "@rollup/plugin-node-resolve": "^7.1.1", "@rollup/plugin-typescript": "^3.0.0", - "@tensorflow/tfjs-core": "link:../tfjs-core", + "@tensorflow/tfjs-core": "2.5.0", "@types/jasmine": "~3.0.0", "clang-format": "~1.2.4", "jasmine": "~3.1.0", @@ -68,7 +68,7 @@ "test-ci": "./scripts/test-ci.sh" }, "dependencies": { - "@tensorflow/tfjs-backend-cpu": "link:../tfjs-backend-cpu", + "@tensorflow/tfjs-backend-cpu": "2.5.0", "@types/offscreencanvas": "~2019.3.0", "@types/seedrandom": "2.4.27", "@types/webgl-ext": "0.0.30", @@ -76,7 +76,7 @@ "seedrandom": "2.4.3" }, "peerDependencies": { - "@tensorflow/tfjs-core": "link:../tfjs-core" + "@tensorflow/tfjs-core": "2.5.0" }, "browser": { "util": false, diff --git a/tfjs-backend-webgl/src/version.ts b/tfjs-backend-webgl/src/version.ts index 5fa574e7da4..e1726aba6a9 100644 --- a/tfjs-backend-webgl/src/version.ts +++ b/tfjs-backend-webgl/src/version.ts @@ -1,5 +1,5 @@ /** @license See the LICENSE file. */ // This code is auto-generated, do not modify this file! -const version = '0.0.0'; +const version = '2.5.0'; export {version}; diff --git a/tfjs-converter/package.json b/tfjs-converter/package.json index 79107c6af26..5f831db242f 100644 --- a/tfjs-converter/package.json +++ b/tfjs-converter/package.json @@ -1,6 +1,6 @@ { "name": "@tensorflow/tfjs-converter", - "version": "0.0.0", + "version": "2.5.0", "description": "Tensorflow model converter for javascript", "main": "dist/tf-converter.node.js", "jsnext:main": "dist/index.js", @@ -15,15 +15,15 @@ }, "license": "Apache-2.0", "peerDependencies": { - "@tensorflow/tfjs-core": "link:../tfjs-core" + "@tensorflow/tfjs-core": "2.5.0" }, "devDependencies": { "@rollup/plugin-commonjs": "^11.0.2", "@rollup/plugin-node-resolve": "^7.1.1", "@rollup/plugin-replace": "^2.3.3", "@rollup/plugin-typescript": "^3.0.0", - "@tensorflow/tfjs-backend-cpu": "link:../tfjs-backend-cpu", - "@tensorflow/tfjs-core": "link:../tfjs-core", + "@tensorflow/tfjs-backend-cpu": "2.5.0", + "@tensorflow/tfjs-core": "2.5.0", "@types/argparse": "^1.0.38", "@types/deep-equal": "^1.0.1", "@types/jasmine": "~2.8.6", diff --git a/tfjs-converter/python/tensorflowjs/version.py b/tfjs-converter/python/tensorflowjs/version.py index 545de714308..0a8428b2f03 100644 --- a/tfjs-converter/python/tensorflowjs/version.py +++ b/tfjs-converter/python/tensorflowjs/version.py @@ -1,4 +1,4 @@ # @license See the LICENSE file. # This code is auto-generated, do not modify this file! -version = '1.7.0' +version = '2.5.0' diff --git a/tfjs-converter/src/version.ts b/tfjs-converter/src/version.ts index 5fa574e7da4..e1726aba6a9 100644 --- a/tfjs-converter/src/version.ts +++ b/tfjs-converter/src/version.ts @@ -1,5 +1,5 @@ /** @license See the LICENSE file. */ // This code is auto-generated, do not modify this file! -const version = '0.0.0'; +const version = '2.5.0'; export {version}; diff --git a/tfjs-core/package.json b/tfjs-core/package.json index 4372e3e0c31..39365818d4f 100644 --- a/tfjs-core/package.json +++ b/tfjs-core/package.json @@ -1,6 +1,6 @@ { "name": "@tensorflow/tfjs-core", - "version": "0.0.0", + "version": "2.5.0", "description": "Hardware-accelerated JavaScript library for machine intelligence", "private": false, "main": "dist/tf-core.node.js", diff --git a/tfjs-core/src/version.ts b/tfjs-core/src/version.ts index 5fa574e7da4..e1726aba6a9 100644 --- a/tfjs-core/src/version.ts +++ b/tfjs-core/src/version.ts @@ -1,5 +1,5 @@ /** @license See the LICENSE file. */ // This code is auto-generated, do not modify this file! -const version = '0.0.0'; +const version = '2.5.0'; export {version}; diff --git a/tfjs-data/package.json b/tfjs-data/package.json index 5b610b4f291..8c7be5a8ed3 100644 --- a/tfjs-data/package.json +++ b/tfjs-data/package.json @@ -1,6 +1,6 @@ { "name": "@tensorflow/tfjs-data", - "version": "0.0.0", + "version": "2.5.0", "description": "TensorFlow Data API in JavaScript", "private": false, "main": "dist/tf-data.node.js", @@ -15,9 +15,9 @@ "@rollup/plugin-commonjs": "^11.0.2", "@rollup/plugin-node-resolve": "^7.1.1", "@rollup/plugin-typescript": "^3.0.0", - "@tensorflow/tfjs-backend-cpu": "link:../tfjs-backend-cpu", - "@tensorflow/tfjs-core": "link:../tfjs-core", - "@tensorflow/tfjs-layers": "link:../tfjs-layers", + "@tensorflow/tfjs-backend-cpu": "2.5.0", + "@tensorflow/tfjs-core": "2.5.0", + "@tensorflow/tfjs-layers": "2.5.0", "@types/jasmine": "~2.5.53", "@types/seedrandom": "^2.4.27", "@types/utf8": "~2.1.6", @@ -65,7 +65,7 @@ "lint": "tslint -p . -t verbose" }, "peerDependencies": { - "@tensorflow/tfjs-core": "link:../tfjs-core", + "@tensorflow/tfjs-core": "2.5.0", "seedrandom": "~2.4.3" }, "dependencies": { diff --git a/tfjs-data/src/version.ts b/tfjs-data/src/version.ts index 5fa574e7da4..e1726aba6a9 100644 --- a/tfjs-data/src/version.ts +++ b/tfjs-data/src/version.ts @@ -1,5 +1,5 @@ /** @license See the LICENSE file. */ // This code is auto-generated, do not modify this file! -const version = '0.0.0'; +const version = '2.5.0'; export {version}; diff --git a/tfjs-layers/package.json b/tfjs-layers/package.json index 299fd60d68d..04dd4ff871a 100644 --- a/tfjs-layers/package.json +++ b/tfjs-layers/package.json @@ -1,6 +1,6 @@ { "name": "@tensorflow/tfjs-layers", - "version": "0.0.0", + "version": "2.5.0", "description": "TensorFlow layers API in JavaScript", "license": "Apache-2.0 AND MIT", "private": false, @@ -16,9 +16,9 @@ "@rollup/plugin-commonjs": "^11.0.2", "@rollup/plugin-node-resolve": "^7.1.1", "@rollup/plugin-typescript": "^3.0.0", - "@tensorflow/tfjs-backend-cpu": "link:../tfjs-backend-cpu", - "@tensorflow/tfjs-backend-webgl": "link:../tfjs-backend-webgl", - "@tensorflow/tfjs-core": "link:../tfjs-core", + "@tensorflow/tfjs-backend-cpu": "2.5.0", + "@tensorflow/tfjs-backend-webgl": "2.5.0", + "@tensorflow/tfjs-core": "2.5.0", "@types/jasmine": "~2.5.53", "clang-format": "~1.2.2", "http-server": "~0.10.0", @@ -67,6 +67,6 @@ "lint": "tslint -p . -t verbose" }, "peerDependencies": { - "@tensorflow/tfjs-core": "link:../tfjs-core" + "@tensorflow/tfjs-core": "2.5.0" } } diff --git a/tfjs-layers/src/version.ts b/tfjs-layers/src/version.ts index 5fa574e7da4..e1726aba6a9 100644 --- a/tfjs-layers/src/version.ts +++ b/tfjs-layers/src/version.ts @@ -1,5 +1,5 @@ /** @license See the LICENSE file. */ // This code is auto-generated, do not modify this file! -const version = '0.0.0'; +const version = '2.5.0'; export {version}; diff --git a/tfjs-node-gpu/package.json b/tfjs-node-gpu/package.json index 631db920e01..72707888fee 100644 --- a/tfjs-node-gpu/package.json +++ b/tfjs-node-gpu/package.json @@ -1,6 +1,6 @@ { "name": "@tensorflow/tfjs-node-gpu", - "version": "0.0.0", + "version": "2.5.0", "main": "dist/index.js", "types": "dist/index.d.ts", "gypfile": true, @@ -71,8 +71,8 @@ "yargs": "^14.2.0" }, "dependencies": { - "@tensorflow/tfjs": "link:../tfjs", - "@tensorflow/tfjs-core": "link:../tfjs-core", + "@tensorflow/tfjs": "2.5.0", + "@tensorflow/tfjs-core": "2.5.0", "adm-zip": "^0.4.11", "google-protobuf": "^3.9.2", "https-proxy-agent": "^2.2.1", diff --git a/tfjs-node/package.json b/tfjs-node/package.json index 2c85cc6db2e..10f02cb9660 100644 --- a/tfjs-node/package.json +++ b/tfjs-node/package.json @@ -1,6 +1,6 @@ { "name": "@tensorflow/tfjs-node", - "version": "0.0.0", + "version": "2.5.0", "main": "dist/index.js", "types": "dist/index.d.ts", "gypfile": true, @@ -68,8 +68,8 @@ "yargs": "^14.2.0" }, "dependencies": { - "@tensorflow/tfjs": "link:../tfjs", - "@tensorflow/tfjs-core": "link:../tfjs-core", + "@tensorflow/tfjs": "2.5.0", + "@tensorflow/tfjs-core": "2.5.0", "adm-zip": "^0.4.11", "google-protobuf": "^3.9.2", "https-proxy-agent": "^2.2.1", diff --git a/tfjs-node/src/version.ts b/tfjs-node/src/version.ts index 5fa574e7da4..e1726aba6a9 100644 --- a/tfjs-node/src/version.ts +++ b/tfjs-node/src/version.ts @@ -1,5 +1,5 @@ /** @license See the LICENSE file. */ // This code is auto-generated, do not modify this file! -const version = '0.0.0'; +const version = '2.5.0'; export {version}; diff --git a/tfjs/package.json b/tfjs/package.json index 397f6802eb3..cdac6f928d7 100644 --- a/tfjs/package.json +++ b/tfjs/package.json @@ -1,6 +1,6 @@ { "name": "@tensorflow/tfjs", - "version": "0.0.0", + "version": "2.5.0", "description": "An open-source machine learning framework.", "private": false, "main": "dist/tf.node.js", @@ -86,12 +86,12 @@ "test-ci": "./scripts/test-ci.sh" }, "dependencies": { - "@tensorflow/tfjs-backend-cpu": "link:../tfjs-backend-cpu", - "@tensorflow/tfjs-backend-webgl": "link:../tfjs-backend-webgl", - "@tensorflow/tfjs-converter": "link:../tfjs-converter", - "@tensorflow/tfjs-core": "link:../tfjs-core", - "@tensorflow/tfjs-data": "link:../tfjs-data", - "@tensorflow/tfjs-layers": "link:../tfjs-layers", + "@tensorflow/tfjs-backend-cpu": "2.5.0", + "@tensorflow/tfjs-backend-webgl": "2.5.0", + "@tensorflow/tfjs-converter": "2.5.0", + "@tensorflow/tfjs-core": "2.5.0", + "@tensorflow/tfjs-data": "2.5.0", + "@tensorflow/tfjs-layers": "2.5.0", "argparse": "^1.0.10", "chalk": "^4.1.0", "core-js": "3", diff --git a/tfjs/src/version.ts b/tfjs/src/version.ts index 5fa574e7da4..e1726aba6a9 100644 --- a/tfjs/src/version.ts +++ b/tfjs/src/version.ts @@ -1,5 +1,5 @@ /** @license See the LICENSE file. */ // This code is auto-generated, do not modify this file! -const version = '0.0.0'; +const version = '2.5.0'; export {version};