WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 7d5cf45

Browse files
committed
chore: rename, change npm pub config
1 parent 4706105 commit 7d5cf45

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

.github/workflows/release.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ jobs:
2929
3030
- name: Build wasm
3131
run: nix build ".#wasm"
32-
32+
3333
- name: Publish built wasm package
34+
env:
35+
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3436
run: |
3537
cd ./result/js
36-
echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" > .npmrc
37-
echo "@minecraftmetascript:registry=https://npm.pkg.github.com" >> .npmrc
3838
npm publish --access public
3939
4040

wasm/.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
@minecraftmetascript:registry=https://npm.pkg.github.com

wasm/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@mms/wasm",
2+
"name": "@minecraftmetascript/mms-wasm",
33
"version": "0.2.0",
44
"keywords": [],
55
"author": "",

0 commit comments

Comments
 (0)