Skip to content

Commit

Permalink
Update monorepo to 2.5.0. (#4027)
Browse files Browse the repository at this point in the history
* Update monorepo to 2.5.0.

* Update verdaccio version.

* Add wasm to dependency list.

* Increase timeout.

Co-authored-by: Na Li <[email protected]>
  • Loading branch information
pyu10055 and lina128 authored Oct 6, 2020
1 parent bbe97ef commit cf45c82
Show file tree
Hide file tree
Showing 23 changed files with 51 additions and 51 deletions.
2 changes: 1 addition & 1 deletion cloudbuild-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: ''
Expand Down
2 changes: 1 addition & 1 deletion e2e/scripts/local-registry.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion e2e/scripts/update-dependency.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
6 changes: 3 additions & 3 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": "2.5.0",
"description": "Vanilla JavaScript backend for TensorFlow.js",
"private": false,
"main": "dist/tf-backend-cpu.node.js",
Expand All @@ -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",
Expand Down Expand Up @@ -65,7 +65,7 @@
"seedrandom": "2.4.3"
},
"peerDependencies": {
"@tensorflow/tfjs-core": "link:../tfjs-core"
"@tensorflow/tfjs-core": "2.5.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 = '2.5.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": "2.5.0",
"main": "dist/tf-backend-wasm.node.js",
"types": "dist/index.d.ts",
"jsnext:main": "dist/tf-backend-wasm.esm.js",
Expand Down Expand Up @@ -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"
Expand All @@ -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",
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 = '2.5.0';
export {version};
8 changes: 4 additions & 4 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": "2.5.0",
"description": "GPU accelerated WebGL backend for TensorFlow.js",
"private": false,
"main": "dist/tf-backend-webgl.node.js",
Expand All @@ -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",
Expand Down Expand Up @@ -68,15 +68,15 @@
"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",
"@types/webgl2": "0.0.4",
"seedrandom": "2.4.3"
},
"peerDependencies": {
"@tensorflow/tfjs-core": "link:../tfjs-core"
"@tensorflow/tfjs-core": "2.5.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 = '2.5.0';
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": "2.5.0",
"description": "Tensorflow model converter for javascript",
"main": "dist/tf-converter.node.js",
"jsnext:main": "dist/index.js",
Expand All @@ -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",
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 = '2.5.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 = '2.5.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": "2.5.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 = '2.5.0';
export {version};
10 changes: 5 additions & 5 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": "2.5.0",
"description": "TensorFlow Data API in JavaScript",
"private": false,
"main": "dist/tf-data.node.js",
Expand All @@ -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",
Expand Down Expand Up @@ -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": {
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 = '2.5.0';
export {version};
10 changes: 5 additions & 5 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": "2.5.0",
"description": "TensorFlow layers API in JavaScript",
"license": "Apache-2.0 AND MIT",
"private": false,
Expand All @@ -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",
Expand Down Expand Up @@ -67,6 +67,6 @@
"lint": "tslint -p . -t verbose"
},
"peerDependencies": {
"@tensorflow/tfjs-core": "link:../tfjs-core"
"@tensorflow/tfjs-core": "2.5.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 = '2.5.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": "2.5.0",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"gypfile": true,
Expand Down Expand Up @@ -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",
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": "2.5.0",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"gypfile": true,
Expand Down Expand Up @@ -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",
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 = '2.5.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": "2.5.0",
"description": "An open-source machine learning framework.",
"private": false,
"main": "dist/tf.node.js",
Expand Down Expand Up @@ -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",
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 = '2.5.0';
export {version};

0 comments on commit cf45c82

Please sign in to comment.