Skip to content

Commit

Permalink
Update tfjs to 1.0.0-alpha1 and the dependent packages. (#1199)
Browse files Browse the repository at this point in the history
Also update the publish-npm script to add `--tag next`.
  • Loading branch information
Nikhil Thorat authored Feb 4, 2019
1 parent e2b0947 commit aaf1271
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 23 deletions.
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tensorflow/tfjs",
"version": "0.14.2",
"version": "1.0.0-alpha1",
"description": "An open-source machine learning framework.",
"private": false,
"main": "dist/index",
Expand Down Expand Up @@ -56,9 +56,9 @@
"release-notes": "ts-node ./scripts/release_notes/release_notes.ts"
},
"dependencies": {
"@tensorflow/tfjs-converter": "0.7.2",
"@tensorflow/tfjs-core": "0.14.5",
"@tensorflow/tfjs-data": "0.1.7",
"@tensorflow/tfjs-layers": "0.9.2"
"@tensorflow/tfjs-converter": "1.0.0-alpha1",
"@tensorflow/tfjs-core": "1.0.0-alpha1",
"@tensorflow/tfjs-data": "1.0.0-alpha1",
"@tensorflow/tfjs-layers": "1.0.0-alpha1"
}
}
2 changes: 1 addition & 1 deletion scripts/publish-npm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
npm publish --tag next # Remove --tag next when prereleases are done.
echo 'Yay! Published a new package to npm.'
2 changes: 1 addition & 1 deletion 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.14.2';
const version = '1.0.0-alpha1';
export {version};
38 changes: 22 additions & 16 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -69,37 +69,38 @@
resolved "https://registry.yarnpkg.com/@protobufjs/utf8/-/utf8-1.1.0.tgz#a777360b5b39a1a2e5106f8e858f2fd2d060c570"
integrity sha1-p3c2C1s5oaLlEG+OhY8v0tBgxXA=

"@tensorflow/tfjs-converter@0.7.2":
version "0.7.2"
resolved "https://registry.yarnpkg.com/@tensorflow/tfjs-converter/-/tfjs-converter-0.7.2.tgz#49e578f71eb82d821af05176754c3452b42cfe9c"
integrity sha512-m46mtaF57x2NcxlNUKdJOCUp3ZSJU9bp9MzyEQ0Iz1bW2kKIxx1DDRjuP0fAeHX5H5Mh/tWIHB9yK6NwLz+aQQ==
"@tensorflow/tfjs-converter@1.0.0-alpha1":
version "1.0.0-alpha1"
resolved "https://registry.yarnpkg.com/@tensorflow/tfjs-converter/-/tfjs-converter-1.0.0-alpha1.tgz#ca45b1c41cf0c23a7691b2a94f258834d2c23e34"
integrity sha512-tMPEf402Mnwqthf9Qct0qQBhP76wkrKU7RHKa6smjLPvGhdE1UfT31zDB/T1JxPyUNIWcmU6VPqhwMyfNMv3Hw==
dependencies:
"@types/long" "~3.0.32"
js-base64 "2.4.9"
protobufjs "~6.8.6"

"@tensorflow/tfjs-core@0.14.5":
version "0.14.5"
resolved "https://registry.yarnpkg.com/@tensorflow/tfjs-core/-/tfjs-core-0.14.5.tgz#17c3beeec31c4cd92b0f79a5ef30c4975a11e408"
integrity sha512-CSUgKuC17J1Ylr1s6iD1k2/tJr9lD16sUEjtzJbtiuTYCELOwujGK/1htunA7o3BwLuU7aqEI92MoKElEKa7qA==
"@tensorflow/tfjs-core@1.0.0-alpha1":
version "1.0.0-alpha1"
resolved "https://registry.yarnpkg.com/@tensorflow/tfjs-core/-/tfjs-core-1.0.0-alpha1.tgz#ad0174b68d294d4297e47d436d055f9b57143d8c"
integrity sha512-cl3BNB3VAmfWhDeZr9jwhdgOOxYgHa7XvfPWyDZy0pAkIP+KXdOzNnSCyFkGFK1Xlj1ptObDfLIV48iMnOSQiQ==
dependencies:
"@types/seedrandom" "2.4.27"
"@types/webgl-ext" "0.0.30"
"@types/webgl2" "0.0.4"
seedrandom "2.4.3"

"@tensorflow/tfjs-data@0.1.7":
version "0.1.7"
resolved "https://registry.yarnpkg.com/@tensorflow/tfjs-data/-/tfjs-data-0.1.7.tgz#8a4e43313b3d63cdfab719c0c1c47ced2ef321e3"
integrity sha512-RENjeBdBLq7GS9594kQx2GbM0WQV16VfxzzB0j2sq5vJh9GZQi2DB5Emq2LqZWs5rSeh7PDHZylGOn/ve6f8PA==
"@tensorflow/tfjs-data@1.0.0-alpha1":
version "1.0.0-alpha1"
resolved "https://registry.yarnpkg.com/@tensorflow/tfjs-data/-/tfjs-data-1.0.0-alpha1.tgz#8b715559dee86342418010fa3c5124dd21caa381"
integrity sha512-ih4fYKgOP7nnqHo38y8TGPIic2Hp5zYmOlEgGIk20lsa8Ls+R29URx188W4iwi6Ch9nTzMz6TuvSZQTR1vt08g==
dependencies:
"@types/node-fetch" "^2.1.2"
node-fetch "~2.1.2"
seedrandom "~2.4.3"

"@tensorflow/tfjs-layers@0.9.2":
version "0.9.2"
resolved "https://registry.yarnpkg.com/@tensorflow/tfjs-layers/-/tfjs-layers-0.9.2.tgz#f5c1918d1a9660096f259cd1f99f59e689b41b69"
integrity sha512-peB824cEXRBy5IgZPIodd8zpQ/54VGOYbR+zY+Q1Le7v3Np05EoDcL8Z98MtpBHo6jOM7b/3Lf2zjfJVv2qxJA==
"@tensorflow/tfjs-layers@1.0.0-alpha1":
version "1.0.0-alpha1"
resolved "https://registry.yarnpkg.com/@tensorflow/tfjs-layers/-/tfjs-layers-1.0.0-alpha1.tgz#7dfd68fb9977d133065b60426cea46d7895edffd"
integrity sha512-R4DPfAO0Rk4CQju0NK+CTXeo6ar/5elIxGUUxwBkElM+m5x2rbJ4biU7wDPJiqoaFkgzBYewlsD+BN+0LOc77A==

"@types/estree@0.0.38":
version "0.0.38"
Expand Down Expand Up @@ -2832,6 +2833,11 @@ jasmine@3.1.0:
glob "^7.0.6"
jasmine-core "~3.1.0"

js-base64@2.4.9:
version "2.4.9"
resolved "https://registry.yarnpkg.com/js-base64/-/js-base64-2.4.9.tgz#748911fb04f48a60c4771b375cac45a80df11c03"
integrity sha512-xcinL3AuDJk7VSzsHgb9DvvIXayBbadtMZ4HFPx8rUszbW1MuNMlwYVC4zzCZ6e1sqZpnNS5ZFYOhXqA39T7LQ==

"js-tokens@^3.0.0 || ^4.0.0":
version "4.0.0"
resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499"
Expand Down

0 comments on commit aaf1271

Please sign in to comment.