From ae0d3b781a3af66909d347a46a938d34bb786d11 Mon Sep 17 00:00:00 2001 From: Matthew Soulanille Date: Tue, 3 Jan 2023 13:13:18 -0800 Subject: [PATCH] Update monorepo to 4.2.0. --- 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-tfdf/package.json | 6 +++--- tfjs-tfdf/src/version.ts | 5 +++++ tfjs/package.json | 14 ++++++------- tfjs/src/version.ts | 2 +- 26 files changed, 68 insertions(+), 58 deletions(-) create mode 100644 tfjs-backend-webgpu/src/version.ts create mode 100644 tfjs-tfdf/src/version.ts diff --git a/e2e/package.json b/e2e/package.json index c4dc63be0e..0651fcb8a3 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.2.0", + "@tensorflow/tfjs-backend-cpu": "4.2.0", + "@tensorflow/tfjs-backend-wasm": "4.2.0", + "@tensorflow/tfjs-backend-webgl": "4.2.0", + "@tensorflow/tfjs-converter": "4.2.0", + "@tensorflow/tfjs-core": "4.2.0", + "@tensorflow/tfjs-data": "4.2.0", + "@tensorflow/tfjs-layers": "4.2.0", + "@tensorflow/tfjs-node": "4.2.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 a93ea02f4d..862bcd8007 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.2.0", "description": "Vanilla JavaScript backend for TensorFlow.js", "private": false, "main": "dist/tf-backend-cpu.node.js", @@ -36,7 +36,7 @@ "seedrandom": "^3.0.5" }, "peerDependencies": { - "@tensorflow/tfjs-core": "link:../link-package/node_modules/@tensorflow/tfjs-core" + "@tensorflow/tfjs-core": "4.2.0" }, "browser": { "util": false, diff --git a/tfjs-backend-cpu/src/version.ts b/tfjs-backend-cpu/src/version.ts index 5fa574e7da..3fdc5a1b12 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.2.0'; export {version}; diff --git a/tfjs-backend-wasm/package.json b/tfjs-backend-wasm/package.json index 20e5304753..d89dbb0c05 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.2.0", "main": "dist/tf-backend-wasm.node.js", "types": "dist/index.d.ts", "repository": { @@ -35,10 +35,10 @@ "perf_hooks": false }, "peerDependencies": { - "@tensorflow/tfjs-core": "link:../link-package/node_modules/@tensorflow/tfjs-core" + "@tensorflow/tfjs-core": "4.2.0" }, "dependencies": { - "@tensorflow/tfjs-backend-cpu": "link:../link-package/node_modules/@tensorflow/tfjs-backend-cpu", + "@tensorflow/tfjs-backend-cpu": "4.2.0", "@types/emscripten": "~0.0.34" }, "devDependencies": { diff --git a/tfjs-backend-wasm/src/version.ts b/tfjs-backend-wasm/src/version.ts index 5fa574e7da..3fdc5a1b12 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.2.0'; export {version}; diff --git a/tfjs-backend-webgl/package.json b/tfjs-backend-webgl/package.json index 0a8c5e334d..00823d548c 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.2.0", "description": "GPU accelerated WebGL backend for TensorFlow.js", "private": false, "main": "dist/tf-backend-webgl.node.js", @@ -30,14 +30,14 @@ "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.2.0", "@types/offscreencanvas": "~2019.3.0", "@types/seedrandom": "^2.4.28", "@types/webgl-ext": "0.0.30", "seedrandom": "^3.0.5" }, "peerDependencies": { - "@tensorflow/tfjs-core": "link:../link-package/node_modules/@tensorflow/tfjs-core" + "@tensorflow/tfjs-core": "4.2.0" }, "browser": { "util": false, diff --git a/tfjs-backend-webgl/src/version.ts b/tfjs-backend-webgl/src/version.ts index 5fa574e7da..3fdc5a1b12 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.2.0'; export {version}; diff --git a/tfjs-backend-webgpu/package.json b/tfjs-backend-webgpu/package.json index 61c4aa92dd..bb9bb8f28d 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.17", "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.2.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.2.0" }, "peerDependencies": { - "@tensorflow/tfjs-core": "link:../link-package/node_modules/@tensorflow/tfjs-core" + "@tensorflow/tfjs-core": "4.2.0" } } diff --git a/tfjs-backend-webgpu/src/version.ts b/tfjs-backend-webgpu/src/version.ts new file mode 100644 index 0000000000..4d8c9f9d86 --- /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.17'; +export {version}; diff --git a/tfjs-converter/package.json b/tfjs-converter/package.json index d2287f5742..9c976f0a93 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.2.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.2.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.2.0", + "@tensorflow/tfjs-core": "4.2.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 47987643f9..fae0ec9916 100644 --- a/tfjs-converter/python/BUILD +++ b/tfjs-converter/python/BUILD @@ -79,7 +79,7 @@ py_wheel( strip_path_prefixes = [ "tfjs-converter/python", ], - version = "0.0.0", + version = "4.2.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 545de71430..fcf3206fb8 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.2.0' diff --git a/tfjs-converter/src/version.ts b/tfjs-converter/src/version.ts index 5fa574e7da..3fdc5a1b12 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.2.0'; export {version}; diff --git a/tfjs-core/package.json b/tfjs-core/package.json index 7e1741413d..7679326309 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.2.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 5fa574e7da..3fdc5a1b12 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.2.0'; export {version}; diff --git a/tfjs-data/package.json b/tfjs-data/package.json index 12f6b93694..8292038177 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.2.0", "description": "TensorFlow Data API in JavaScript", "private": false, "main": "dist/tf-data.node.js", @@ -32,7 +32,7 @@ "test-node-debug": "bazel run --config=debug --test_output=streamed :tfjs-data_test" }, "peerDependencies": { - "@tensorflow/tfjs-core": "link:../link-package/node_modules/@tensorflow/tfjs-core", + "@tensorflow/tfjs-core": "4.2.0", "seedrandom": "^3.0.5" }, "dependencies": { diff --git a/tfjs-data/src/version.ts b/tfjs-data/src/version.ts index 5fa574e7da..3fdc5a1b12 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.2.0'; export {version}; diff --git a/tfjs-layers/package.json b/tfjs-layers/package.json index 224b4c409e..493770c71e 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.2.0", "description": "TensorFlow layers API in JavaScript", "license": "Apache-2.0 AND MIT", "repository": { @@ -38,6 +38,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.2.0" } } diff --git a/tfjs-layers/src/version.ts b/tfjs-layers/src/version.ts index 5fa574e7da..3fdc5a1b12 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.2.0'; export {version}; diff --git a/tfjs-node-gpu/package.json b/tfjs-node-gpu/package.json index e2e3219c47..86cfaa409a 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.2.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.2.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.2.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 39f9542bad..e4c3cd1325 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.2.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.2.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.2.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 5fa574e7da..3fdc5a1b12 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.2.0'; export {version}; diff --git a/tfjs-tfdf/package.json b/tfjs-tfdf/package.json index a51434c2f8..29649262f9 100644 --- a/tfjs-tfdf/package.json +++ b/tfjs-tfdf/package.json @@ -1,6 +1,6 @@ { "name": "@tensorflow/tfjs-tfdf", - "version": "0.0.1", + "version": "0.0.1-alpha.2", "description": "TensorFlow Decision Forests support for TensorFlow.js", "main": "dist/tf-tfdf.node.js", "module": "dist/tf-tfdf.fesm.js", @@ -23,8 +23,8 @@ "yarn": ">= 1.3.2" }, "peerDependencies": { - "@tensorflow/tfjs-core": "link:../link-package/node_modules/@tensorflow/tfjs-core", - "@tensorflow/tfjs-converter": "link:../link-package/node_modules/@tensorflow/tfjs-converter" + "@tensorflow/tfjs-core": "4.2.0", + "@tensorflow/tfjs-converter": "4.2.0" }, "devDependencies": { "@bazel/bazelisk": "^1.12.0" diff --git a/tfjs-tfdf/src/version.ts b/tfjs-tfdf/src/version.ts new file mode 100644 index 0000000000..eed771df2a --- /dev/null +++ b/tfjs-tfdf/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.2'; +export {version}; diff --git a/tfjs/package.json b/tfjs/package.json index f28eb7c8fb..bc5e186ccc 100644 --- a/tfjs/package.json +++ b/tfjs/package.json @@ -1,6 +1,6 @@ { "name": "@tensorflow/tfjs", - "version": "0.0.0", + "version": "4.2.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.2.0", + "@tensorflow/tfjs-backend-webgl": "4.2.0", + "@tensorflow/tfjs-converter": "4.2.0", + "@tensorflow/tfjs-core": "4.2.0", + "@tensorflow/tfjs-data": "4.2.0", + "@tensorflow/tfjs-layers": "4.2.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 5fa574e7da..3fdc5a1b12 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.2.0'; export {version};