-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Ingvord edited this page Apr 18, 2020
·
2 revisions
-
Setup GitHub registry: add
//npm.pkg.github.com/:_authToken=${GITHUB_TOKEN}
to~/.npmrc
-
Make sure
package.json
is up-to-date:- check version;
- package name:
@waltz-controls/middleware
; - repository:
git+https://github.com/waltz-controls/middleware.git
- publishRegistry:
https://npm.pkg.github.com/waltz-controls
-OR-.npmrc
hasregistry=https://npm.pkg.github.com/waltz-controls
-
$> npm run clean $> npm run build $> npm publish
-
[optional]
git tag {VERSION} && git push --tags
Good output:
npm notice
npm notice 📦 @waltz-controls/[email protected]
npm notice === Tarball Contents ===
npm notice 11.4kB LICENSE
npm notice 27.7kB dist/index.esm.js
npm notice 947B package.json
npm notice 471B README.md
npm notice 176B .travis.yml
npm notice === Tarball Details ===
npm notice name: @waltz-controls/middleware
npm notice version: 1.2.1
npm notice package size: 12.0 kB
npm notice unpacked size: 40.6 kB
npm notice shasum: 153c387a81449afbbde621c3144f1898b99cac65
npm notice integrity: sha512-vNDK9z7O1OcvE[...]fdyZgfXEq/0/Q==
npm notice total files: 5
npm notice
+ @waltz-controls/[email protected]