From e32ac143e102dcff2d2b7ae639e2de9723b78215 Mon Sep 17 00:00:00 2001 From: Nikhil Thorat Date: Tue, 5 Mar 2019 15:22:18 -0500 Subject: [PATCH] Update tfjs to 1.0.0 and dependent packages to 1.0.0. (#1327) Also remove `--tag next` in publish-npm. INTERNAL --- package.json | 10 +++++----- scripts/publish-npm.sh | 2 +- src/version.ts | 2 +- yarn.lock | 32 ++++++++++++++++---------------- 4 files changed, 23 insertions(+), 23 deletions(-) diff --git a/package.json b/package.json index 531ba19683f..ec2c673235a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@tensorflow/tfjs", - "version": "1.0.0-alpha5", + "version": "1.0.0", "description": "An open-source machine learning framework.", "private": false, "main": "dist/index", @@ -56,9 +56,9 @@ "release-notes": "ts-node ./scripts/release_notes/release_notes.ts" }, "dependencies": { - "@tensorflow/tfjs-converter": "1.0.0-alpha7", - "@tensorflow/tfjs-core": "1.0.0-alpha5", - "@tensorflow/tfjs-data": "1.0.0-alpha5", - "@tensorflow/tfjs-layers": "1.0.0-alpha5" + "@tensorflow/tfjs-converter": "1.0.0", + "@tensorflow/tfjs-core": "1.0.0", + "@tensorflow/tfjs-data": "1.0.0", + "@tensorflow/tfjs-layers": "1.0.0" } } diff --git a/scripts/publish-npm.sh b/scripts/publish-npm.sh index b439d00cb60..85d9922bbf6 100755 --- a/scripts/publish-npm.sh +++ b/scripts/publish-npm.sh @@ -42,5 +42,5 @@ fi yarn build-npm ./scripts/make-version # This is for safety in case you forgot to do 2). ./scripts/tag-version -npm publish --tag next # Remove --tag next when prereleases are done. +npm publish echo 'Yay! Published a new package to npm.' diff --git a/src/version.ts b/src/version.ts index a4257e9fcc6..75294cc6c5b 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1,5 +1,5 @@ /** @license See the LICENSE file. */ // This code is auto-generated, do not modify this file! -const version = '1.0.0-alpha5'; +const version = '1.0.0'; export {version}; diff --git a/yarn.lock b/yarn.lock index e02bec73f5c..584c932163d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -16,34 +16,34 @@ node-fetch "^2.1.1" url-template "^2.0.8" -"@tensorflow/tfjs-converter@1.0.0-alpha7": - version "1.0.0-alpha7" - resolved "https://registry.yarnpkg.com/@tensorflow/tfjs-converter/-/tfjs-converter-1.0.0-alpha7.tgz#509ed4d6731572beffea708e36403449a402cdff" - integrity sha512-NFlXIUHnKm4wClRcMxrPQk/eJgCnpyy6g7F97Oc3R11wE94xJ5JQnnyT/SLIqyvGOWZvLjcVnqBOhMw0vRPIhA== +"@tensorflow/tfjs-converter@1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@tensorflow/tfjs-converter/-/tfjs-converter-1.0.0.tgz#cdd7bbf9f39fde93156fb1bddeac16a8ab157d6d" + integrity sha512-BGiR2U2BEKL+Gwf2Pqu7fZZw+z3ptMORTeS/rIxVnpIbeb7jsD7q25ibvfX1yuk21GM7igfZ53c4FPwqa24G9Q== -"@tensorflow/tfjs-core@1.0.0-alpha5": - version "1.0.0-alpha5" - resolved "https://registry.yarnpkg.com/@tensorflow/tfjs-core/-/tfjs-core-1.0.0-alpha5.tgz#8e518baaede07dfddfbc08fe64f6c0af4f994db6" - integrity sha512-K2d5ntHcQmAvJjMu6OlEptZIGOLzPU/ul3cxMW/BSzGAqO0/Q4H+QeL3tWDKe8On4iW9hReTo1G5tHkvZ4CQoA== +"@tensorflow/tfjs-core@1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@tensorflow/tfjs-core/-/tfjs-core-1.0.0.tgz#1be6240efc5b2f270f90a032713dfac666fa1533" + integrity sha512-YiGjDJODPXI9S9AEizf6rdkYFFFCBCqwOmFqBY2MderPaDJ71rqhTzWQkWCMXV4Jhz5J+TEqtr8ishl3Zyid6A== dependencies: "@types/seedrandom" "2.4.27" "@types/webgl-ext" "0.0.30" "@types/webgl2" "0.0.4" seedrandom "2.4.3" -"@tensorflow/tfjs-data@1.0.0-alpha5": - version "1.0.0-alpha5" - resolved "https://registry.yarnpkg.com/@tensorflow/tfjs-data/-/tfjs-data-1.0.0-alpha5.tgz#e8be2aaa66752ffa0d765f529ee6665e515a6fe1" - integrity sha512-v1cOLYsDTdZiHTfk3RHnqc8iK0Gy3b2nuHqJpeJm2Y+lOIF76O9gM5b7mtFto/70EtHaj1UtONqIRzuC0ufhFg== +"@tensorflow/tfjs-data@1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@tensorflow/tfjs-data/-/tfjs-data-1.0.0.tgz#ccdc4fe713ca903cdc61135f7c361effaea4e670" + integrity sha512-pWn0OH5x67Qa98FWiBO1UvcglEsDFf57Tv7amtC+WxlMrH5hUHSaR30dBaW1qpdOEJkDRJtUg6tNTG2av6mqVQ== dependencies: "@types/node-fetch" "^2.1.2" node-fetch "~2.1.2" seedrandom "~2.4.3" -"@tensorflow/tfjs-layers@1.0.0-alpha5": - version "1.0.0-alpha5" - resolved "https://registry.yarnpkg.com/@tensorflow/tfjs-layers/-/tfjs-layers-1.0.0-alpha5.tgz#912f2d4d913c9391e77c6f98d21465362b875a66" - integrity sha512-gCAa0e7c9VigDFu8IVrU3eEHt424uPpxdTvDrAIeXIYaZH+90u7XH4TjcFbcuWtaHggj6rTwFbN+RW+7+IeKVA== +"@tensorflow/tfjs-layers@1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@tensorflow/tfjs-layers/-/tfjs-layers-1.0.0.tgz#e4344e9221001850eb1615184fa5ca2499f75254" + integrity sha512-+RB5TKM/L7qLn17ic8da/G2qg8EFhRvZIoRA6uCCs5OMUJAUQqhDqBNaoWiy0pYtXDzfZJu3ZOkDbAg2Xv2YOQ== "@types/estree@0.0.38": version "0.0.38"