Skip to content

Commit

Permalink
Update monorepo to 4.0.0. (#6929)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsoulanille authored Oct 13, 2022
1 parent 8571f49 commit 6969683
Show file tree
Hide file tree
Showing 24 changed files with 60 additions and 55 deletions.
20 changes: 10 additions & 10 deletions e2e/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "benchmarks",
"version": "0.0.1",
"version": "undefined",
"description": "Benchmark for TensorFlow.js",
"private": true,
"repository": {
Expand All @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions tfjs-backend-cpu/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion tfjs-backend-cpu/src/version.ts
Original file line number Diff line number Diff line change
@@ -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};
6 changes: 3 additions & 3 deletions tfjs-backend-wasm/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down Expand Up @@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion tfjs-backend-wasm/src/version.ts
Original file line number Diff line number Diff line change
@@ -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};
6 changes: 3 additions & 3 deletions tfjs-backend-webgl/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -38,15 +38,15 @@
"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",
"@types/webgl2": "0.0.6",
"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,
Expand Down
2 changes: 1 addition & 1 deletion tfjs-backend-webgl/src/version.ts
Original file line number Diff line number Diff line change
@@ -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};
8 changes: 4 additions & 4 deletions tfjs-backend-webgpu/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -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",
Expand All @@ -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"
}
}
5 changes: 5 additions & 0 deletions tfjs-backend-webgpu/src/version.ts
Original file line number Diff line number Diff line change
@@ -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};
8 changes: 4 additions & 4 deletions tfjs-converter/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion tfjs-converter/python/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion tfjs-converter/python/tensorflowjs/version.py
Original file line number Diff line number Diff line change
@@ -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'
2 changes: 1 addition & 1 deletion tfjs-converter/src/version.ts
Original file line number Diff line number Diff line change
@@ -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};
2 changes: 1 addition & 1 deletion tfjs-core/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion tfjs-core/src/version.ts
Original file line number Diff line number Diff line change
@@ -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};
4 changes: 2 additions & 2 deletions tfjs-data/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion tfjs-data/src/version.ts
Original file line number Diff line number Diff line change
@@ -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};
4 changes: 2 additions & 2 deletions tfjs-layers/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down Expand Up @@ -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"
}
}
2 changes: 1 addition & 1 deletion tfjs-layers/src/version.ts
Original file line number Diff line number Diff line change
@@ -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};
6 changes: 3 additions & 3 deletions tfjs-node-gpu/package.json
Original file line number Diff line number Diff line change
@@ -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,
Expand Down Expand Up @@ -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",
Expand All @@ -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",
Expand Down
6 changes: 3 additions & 3 deletions tfjs-node/package.json
Original file line number Diff line number Diff line change
@@ -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,
Expand Down Expand Up @@ -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",
Expand All @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion tfjs-node/src/version.ts
Original file line number Diff line number Diff line change
@@ -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};
14 changes: 7 additions & 7 deletions tfjs/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion tfjs/src/version.ts
Original file line number Diff line number Diff line change
@@ -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};

0 comments on commit 6969683

Please sign in to comment.