From 69696831aba3c32fb51d48e6565d25d30ca148ef Mon Sep 17 00:00:00 2001 From: Matthew Soulanille Date: Thu, 13 Oct 2022 10:59:17 -0700 Subject: [PATCH] Update monorepo to 4.0.0. (#6929) --- e2e/package.json | 20 +++++++++---------- tfjs-backend-cpu/package.json | 4 ++-- 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 | 6 +++--- tfjs-backend-webgl/src/version.ts | 2 +- tfjs-backend-webgpu/package.json | 8 ++++---- tfjs-backend-webgpu/src/version.ts | 5 +++++ tfjs-converter/package.json | 8 ++++---- tfjs-converter/python/BUILD | 2 +- 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 | 4 ++-- tfjs-data/src/version.ts | 2 +- tfjs-layers/package.json | 4 ++-- 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 +- 24 files changed, 60 insertions(+), 55 deletions(-) create mode 100644 tfjs-backend-webgpu/src/version.ts diff --git a/e2e/package.json b/e2e/package.json index c4dc63be0e7..f1e3bccbe2e 100644 --- a/e2e/package.json +++ b/e2e/package.json @@ -1,6 +1,6 @@ { "name": "benchmarks", - "version": "0.0.1", + "version": "undefined", "description": "Benchmark for TensorFlow.js", "private": true, "repository": { @@ -9,15 +9,15 @@ }, "devDependencies": { "@babel/polyfill": "^7.10.4", - "@tensorflow/tfjs": "link:../tfjs", - "@tensorflow/tfjs-backend-cpu": "link:../link-package/node_modules/@tensorflow/tfjs-backend-cpu", - "@tensorflow/tfjs-backend-wasm": "link:../link-package/node_modules/@tensorflow/tfjs-backend-wasm", - "@tensorflow/tfjs-backend-webgl": "link:../link-package/node_modules/@tensorflow/tfjs-backend-webgl", - "@tensorflow/tfjs-converter": "link:../link-package/node_modules/@tensorflow/tfjs-converter", - "@tensorflow/tfjs-core": "link:../link-package/node_modules/@tensorflow/tfjs-core", - "@tensorflow/tfjs-data": "link:../link-package/node_modules/@tensorflow/tfjs-data", - "@tensorflow/tfjs-layers": "link:../link-package/node_modules/@tensorflow/tfjs-layers", - "@tensorflow/tfjs-node": "link:../tfjs-node", + "@tensorflow/tfjs": "4.0.0", + "@tensorflow/tfjs-backend-cpu": "4.0.0", + "@tensorflow/tfjs-backend-wasm": "4.0.0", + "@tensorflow/tfjs-backend-webgl": "4.0.0", + "@tensorflow/tfjs-converter": "4.0.0", + "@tensorflow/tfjs-core": "4.0.0", + "@tensorflow/tfjs-data": "4.0.0", + "@tensorflow/tfjs-layers": "4.0.0", + "@tensorflow/tfjs-node": "4.0.0", "@types/detect-browser": "^4.0.0", "@types/jasmine": "~3.0.0", "@types/mathjs": "^5.0.1", diff --git a/tfjs-backend-cpu/package.json b/tfjs-backend-cpu/package.json index a551d45f217..961f29e24b2 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": "4.0.0", "description": "Vanilla JavaScript backend for TensorFlow.js", "private": false, "main": "dist/tf-backend-cpu.node.js", @@ -42,7 +42,7 @@ "seedrandom": "^3.0.5" }, "peerDependencies": { - "@tensorflow/tfjs-core": "link:../link-package/node_modules/@tensorflow/tfjs-core" + "@tensorflow/tfjs-core": "4.0.0" }, "browser": { "util": false, diff --git a/tfjs-backend-cpu/src/version.ts b/tfjs-backend-cpu/src/version.ts index 5fa574e7da4..f952b2f3827 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 = '4.0.0'; export {version}; diff --git a/tfjs-backend-wasm/package.json b/tfjs-backend-wasm/package.json index 16dd3c64f50..894cd119aff 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": "4.0.0", "main": "dist/tf-backend-wasm.node.js", "types": "dist/index.d.ts", "repository": { @@ -37,10 +37,10 @@ "perf_hooks": false }, "peerDependencies": { - "@tensorflow/tfjs-core": "link:../link-package/node_modules/@tensorflow/tfjs-core" + "@tensorflow/tfjs-core": "4.0.0" }, "dependencies": { - "@tensorflow/tfjs-backend-cpu": "link:../link-package/node_modules/@tensorflow/tfjs-backend-cpu", + "@tensorflow/tfjs-backend-cpu": "4.0.0", "@types/emscripten": "~0.0.34" }, "devDependencies": { diff --git a/tfjs-backend-wasm/src/version.ts b/tfjs-backend-wasm/src/version.ts index 5fa574e7da4..f952b2f3827 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 = '4.0.0'; export {version}; diff --git a/tfjs-backend-webgl/package.json b/tfjs-backend-webgl/package.json index 43b14602b81..eaeb8dc09d7 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": "4.0.0", "description": "GPU accelerated WebGL backend for TensorFlow.js", "private": false, "main": "dist/tf-backend-webgl.node.js", @@ -38,7 +38,7 @@ "run-browserstack": "bazel test :browserstack_bs_chrome_mac_tfjs-backend-webgl2_test" }, "dependencies": { - "@tensorflow/tfjs-backend-cpu": "link:../link-package/node_modules/@tensorflow/tfjs-backend-cpu", + "@tensorflow/tfjs-backend-cpu": "4.0.0", "@types/offscreencanvas": "~2019.3.0", "@types/seedrandom": "^2.4.28", "@types/webgl-ext": "0.0.30", @@ -46,7 +46,7 @@ "seedrandom": "^3.0.5" }, "peerDependencies": { - "@tensorflow/tfjs-core": "link:../link-package/node_modules/@tensorflow/tfjs-core" + "@tensorflow/tfjs-core": "4.0.0" }, "browser": { "util": false, diff --git a/tfjs-backend-webgl/src/version.ts b/tfjs-backend-webgl/src/version.ts index 5fa574e7da4..f952b2f3827 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 = '4.0.0'; export {version}; diff --git a/tfjs-backend-webgpu/package.json b/tfjs-backend-webgpu/package.json index 7ebb6cce3b6..f1024ea7c98 100644 --- a/tfjs-backend-webgpu/package.json +++ b/tfjs-backend-webgpu/package.json @@ -1,6 +1,6 @@ { "name": "@tensorflow/tfjs-backend-webgpu", - "version": "0.0.1-alpha.4", + "version": "0.0.1-alpha.15", "main": "dist/tf-backend-webgpu.node.js", "types": "dist/index.d.ts", "jsnext:main": "dist/index.js", @@ -27,7 +27,7 @@ }, "devDependencies": { "@babel/polyfill": "^7.8.7", - "@tensorflow/tfjs-core": "link:../link-package/node_modules/@tensorflow/tfjs-core", + "@tensorflow/tfjs-core": "4.0.0", "jasmine": "link:../node_modules/jasmine", "jasmine-core": "link:../node_modules/jasmine-core", "karma": "~6.4.0", @@ -39,9 +39,9 @@ "karma-typescript-es6-transform": "^5.0.2" }, "dependencies": { - "@tensorflow/tfjs-backend-cpu": "link:../link-package/node_modules/@tensorflow/tfjs-backend-cpu" + "@tensorflow/tfjs-backend-cpu": "4.0.0" }, "peerDependencies": { - "@tensorflow/tfjs-core": "link:../link-package/node_modules/@tensorflow/tfjs-core" + "@tensorflow/tfjs-core": "4.0.0" } } diff --git a/tfjs-backend-webgpu/src/version.ts b/tfjs-backend-webgpu/src/version.ts new file mode 100644 index 00000000000..9c60e6b7498 --- /dev/null +++ b/tfjs-backend-webgpu/src/version.ts @@ -0,0 +1,5 @@ +/** @license See the LICENSE file. */ + +// This code is auto-generated, do not modify this file! +const version = '0.0.1-alpha.15'; +export {version}; diff --git a/tfjs-converter/package.json b/tfjs-converter/package.json index da16a917cb1..0b05b95d771 100644 --- a/tfjs-converter/package.json +++ b/tfjs-converter/package.json @@ -1,6 +1,6 @@ { "name": "@tensorflow/tfjs-converter", - "version": "0.0.0", + "version": "4.0.0", "description": "Tensorflow model converter for javascript", "main": "dist/tf-converter.node.js", "jsnext:main": "dist/index.js", @@ -16,13 +16,13 @@ }, "license": "Apache-2.0", "peerDependencies": { - "@tensorflow/tfjs-core": "link:../link-package/node_modules/@tensorflow/tfjs-core" + "@tensorflow/tfjs-core": "4.0.0" }, "devDependencies": { "@bazel/bazelisk": "^1.12.0", "@bazel/ibazel": "^0.16.2", - "@tensorflow/tfjs-backend-cpu": "link:../link-package/node_modules/@tensorflow/tfjs-backend-cpu", - "@tensorflow/tfjs-core": "link:../link-package/node_modules/@tensorflow/tfjs-core", + "@tensorflow/tfjs-backend-cpu": "4.0.0", + "@tensorflow/tfjs-core": "4.0.0", "@types/argparse": "^1.0.38", "@types/long": "~3.0.32", "@types/node-fetch": "1.6.9", diff --git a/tfjs-converter/python/BUILD b/tfjs-converter/python/BUILD index 1dd8fcce6ba..944ee324489 100644 --- a/tfjs-converter/python/BUILD +++ b/tfjs-converter/python/BUILD @@ -61,7 +61,7 @@ py_wheel( strip_path_prefixes = [ "tfjs-converter/python", ], - version = "0.0.0", + version = "4.0.0", #keywords='tensorflow javascript machine deep learning converter', deps = [ ":tensorflowjs_pkg", diff --git a/tfjs-converter/python/tensorflowjs/version.py b/tfjs-converter/python/tensorflowjs/version.py index 545de714308..bc5f90f51e9 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 = '4.0.0' diff --git a/tfjs-converter/src/version.ts b/tfjs-converter/src/version.ts index 5fa574e7da4..f952b2f3827 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 = '4.0.0'; export {version}; diff --git a/tfjs-core/package.json b/tfjs-core/package.json index 816a05c9428..9c626f2c9df 100644 --- a/tfjs-core/package.json +++ b/tfjs-core/package.json @@ -1,6 +1,6 @@ { "name": "@tensorflow/tfjs-core", - "version": "0.0.0", + "version": "4.0.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..f952b2f3827 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 = '4.0.0'; export {version}; diff --git a/tfjs-data/package.json b/tfjs-data/package.json index 1ac6766ea37..a9139d05574 100644 --- a/tfjs-data/package.json +++ b/tfjs-data/package.json @@ -1,6 +1,6 @@ { "name": "@tensorflow/tfjs-data", - "version": "0.0.0", + "version": "4.0.0", "description": "TensorFlow Data API in JavaScript", "private": false, "main": "dist/tf-data.node.js", @@ -35,7 +35,7 @@ "test": "bazel test :tests" }, "peerDependencies": { - "@tensorflow/tfjs-core": "link:../link-package/node_modules/@tensorflow/tfjs-core", + "@tensorflow/tfjs-core": "4.0.0", "seedrandom": "^3.0.5" }, "dependencies": { diff --git a/tfjs-data/src/version.ts b/tfjs-data/src/version.ts index 5fa574e7da4..f952b2f3827 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 = '4.0.0'; export {version}; diff --git a/tfjs-layers/package.json b/tfjs-layers/package.json index 73c0c0d1c91..dc7cf7483bc 100644 --- a/tfjs-layers/package.json +++ b/tfjs-layers/package.json @@ -1,6 +1,6 @@ { "name": "@tensorflow/tfjs-layers", - "version": "0.0.0", + "version": "4.0.0", "description": "TensorFlow layers API in JavaScript", "license": "Apache-2.0 AND MIT", "repository": { @@ -34,6 +34,6 @@ "run-browserstack": "bazel test :browserstack_bs_chrome_mac_tfjs-layers_webgl2_test" }, "peerDependencies": { - "@tensorflow/tfjs-core": "link:../link-package/node_modules/@tensorflow/tfjs-core" + "@tensorflow/tfjs-core": "4.0.0" } } diff --git a/tfjs-layers/src/version.ts b/tfjs-layers/src/version.ts index 5fa574e7da4..f952b2f3827 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 = '4.0.0'; export {version}; diff --git a/tfjs-node-gpu/package.json b/tfjs-node-gpu/package.json index e2e3219c47c..0027620068f 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": "4.0.0", "main": "dist/index.js", "types": "dist/index.d.ts", "gypfile": true, @@ -44,7 +44,7 @@ "upload-windows-addon": "prep-gpu-windows.bat && ./scripts/build-and-upload-windows-addon-gpu.bat" }, "devDependencies": { - "@tensorflow/tfjs-core": "link:../link-package/node_modules/@tensorflow/tfjs-core", + "@tensorflow/tfjs-core": "4.0.0", "@types/jasmine": "~2.8.6", "@types/node": "^10.5.1", "@types/progress": "^2.0.1", @@ -64,7 +64,7 @@ }, "dependencies": { "@mapbox/node-pre-gyp": "1.0.9", - "@tensorflow/tfjs": "link:../tfjs", + "@tensorflow/tfjs": "4.0.0", "adm-zip": "^0.5.2", "google-protobuf": "^3.9.2", "https-proxy-agent": "^2.2.1", diff --git a/tfjs-node/package.json b/tfjs-node/package.json index 39f9542bad3..38700c46afb 100644 --- a/tfjs-node/package.json +++ b/tfjs-node/package.json @@ -1,6 +1,6 @@ { "name": "@tensorflow/tfjs-node", - "version": "0.0.0", + "version": "4.0.0", "main": "dist/index.js", "types": "dist/index.d.ts", "gypfile": true, @@ -42,7 +42,7 @@ "upload-windows-addon": "./scripts/build-and-upload-windows-addon.bat" }, "devDependencies": { - "@tensorflow/tfjs-core": "link:../link-package/node_modules/@tensorflow/tfjs-core", + "@tensorflow/tfjs-core": "4.0.0", "@types/jasmine": "~2.8.6", "@types/node": "^10.5.1", "@types/progress": "^2.0.1", @@ -62,7 +62,7 @@ }, "dependencies": { "@mapbox/node-pre-gyp": "1.0.9", - "@tensorflow/tfjs": "link:../tfjs", + "@tensorflow/tfjs": "4.0.0", "adm-zip": "^0.5.2", "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..f952b2f3827 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 = '4.0.0'; export {version}; diff --git a/tfjs/package.json b/tfjs/package.json index f28eb7c8fb7..fc23e158ad4 100644 --- a/tfjs/package.json +++ b/tfjs/package.json @@ -1,6 +1,6 @@ { "name": "@tensorflow/tfjs", - "version": "0.0.0", + "version": "4.0.0", "description": "An open-source machine learning framework.", "private": false, "main": "dist/tf.node.js", @@ -75,12 +75,12 @@ "test-ci": "./scripts/test-ci.sh" }, "dependencies": { - "@tensorflow/tfjs-backend-cpu": "link:../link-package/node_modules/@tensorflow/tfjs-backend-cpu", - "@tensorflow/tfjs-backend-webgl": "link:../link-package/node_modules/@tensorflow/tfjs-backend-webgl", - "@tensorflow/tfjs-converter": "link:../link-package/node_modules/@tensorflow/tfjs-converter", - "@tensorflow/tfjs-core": "link:../link-package/node_modules/@tensorflow/tfjs-core", - "@tensorflow/tfjs-data": "link:../link-package/node_modules/@tensorflow/tfjs-data", - "@tensorflow/tfjs-layers": "link:../link-package/node_modules/@tensorflow/tfjs-layers", + "@tensorflow/tfjs-backend-cpu": "4.0.0", + "@tensorflow/tfjs-backend-webgl": "4.0.0", + "@tensorflow/tfjs-converter": "4.0.0", + "@tensorflow/tfjs-core": "4.0.0", + "@tensorflow/tfjs-data": "4.0.0", + "@tensorflow/tfjs-layers": "4.0.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..f952b2f3827 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 = '4.0.0'; export {version};