rhine-var 0.9.20 → 0.9.22
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,11 +118,18 @@ jobs:
|
|
|
118
118
|
- name: Build Project
|
|
119
119
|
run: yarn build
|
|
120
120
|
|
|
121
|
-
- name:
|
|
122
|
-
run:
|
|
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
|
|
123
128
|
|
|
124
|
-
- name:
|
|
125
|
-
run:
|
|
129
|
+
- name: Configure npm Registry
|
|
130
|
+
run: |
|
|
131
|
+
npm config set @RhineAI-Lab:registry=https://npm.pkg.github.com
|
|
132
|
+
echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" >> ~/.npmrc
|
|
126
133
|
|
|
127
134
|
- name: Publish to NPM
|
|
128
135
|
run: npm publish
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rhine-var",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.22",
|
|
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",
|