rhine-var 0.9.21 → 0.9.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -118,15 +118,20 @@ jobs:
|
|
|
118
118
|
- name: Build Project
|
|
119
119
|
run: yarn build
|
|
120
120
|
|
|
121
|
+
- name: Add scope to package.json
|
|
122
|
+
run: |
|
|
123
|
+
sudo apt-get install -y jq
|
|
124
|
+
cp package.json package.json.bak
|
|
125
|
+
jq '.name = "@RhineAI-Lab/\(.name)" | .repository.url = "git+https://github.com/RhineAI-Lab/rhine-var.git"' package.json > package.json.tmp
|
|
126
|
+
mv package.json.tmp package.json
|
|
127
|
+
jq empty package.json
|
|
128
|
+
|
|
121
129
|
- name: Configure npm Registry
|
|
122
130
|
run: |
|
|
123
131
|
npm config set @RhineAI-Lab:registry=https://npm.pkg.github.com
|
|
124
132
|
echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" >> ~/.npmrc
|
|
125
133
|
|
|
126
|
-
- name: Debug npm config
|
|
127
|
-
run: npm config list
|
|
128
|
-
|
|
129
134
|
- name: Publish to NPM
|
|
130
135
|
run: npm publish
|
|
131
136
|
env:
|
|
132
|
-
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
|
137
|
+
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rhine-var",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.23",
|
|
4
4
|
"description": "Variables that support multi-user collaboration and persistence, making collaboration and variable operations as simple as possible, with strict and well-defined type hints.",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": "./dist/index.js",
|