@total_onion/onion-library 1.0.0 → 1.0.3
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.
- package/.github/workflows/npm-publish.yml +2 -2
- package/README.md +5 -5
- package/package.json +1 -1
|
@@ -16,7 +16,7 @@ jobs:
|
|
|
16
16
|
- uses: actions/checkout@v2
|
|
17
17
|
- uses: actions/setup-node@v2
|
|
18
18
|
with:
|
|
19
|
-
node-version:
|
|
19
|
+
node-version: 22
|
|
20
20
|
- run: npm ci
|
|
21
21
|
|
|
22
22
|
publish-npm:
|
|
@@ -26,7 +26,7 @@ jobs:
|
|
|
26
26
|
- uses: actions/checkout@v2
|
|
27
27
|
- uses: actions/setup-node@v2
|
|
28
28
|
with:
|
|
29
|
-
node-version:
|
|
29
|
+
node-version: 22
|
|
30
30
|
registry-url: https://registry.npmjs.org/
|
|
31
31
|
- run: npm ci
|
|
32
32
|
- run: npm publish
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# onion-component-library
|
|
2
2
|
|
|
3
3
|
Front end components for gcms sites
|
|
4
4
|
|
|
@@ -6,13 +6,13 @@ Front end components for gcms sites
|
|
|
6
6
|
|
|
7
7
|
Install with npm or yarn..
|
|
8
8
|
|
|
9
|
-
`npm install --save-dev @
|
|
9
|
+
`npm install --save-dev @total_onion/onion-library`
|
|
10
10
|
|
|
11
|
-
`yarn add -D @
|
|
11
|
+
`yarn add -D @total_onion/onion-library`
|
|
12
12
|
|
|
13
13
|
If you don't have the scripts already in your package.json you can add these and use them to install and update components.
|
|
14
14
|
|
|
15
|
-
`"install-component": "node ./node_modules/@
|
|
15
|
+
`"install-component": "node ./node_modules/@total_onion/onion-library/install-component.js", "upgrade-component": "node ./node_modules/@total_onion/onion-library/upgrade-component.js", "list-components": "node ./node_modules/@total_onion/onion-library/list-components.js",`
|
|
16
16
|
|
|
17
17
|
eg you can list the available components with
|
|
18
18
|
|
|
@@ -28,6 +28,6 @@ Go to the folder
|
|
|
28
28
|
|
|
29
29
|
`yarn install`
|
|
30
30
|
|
|
31
|
-
then, to run unit tests,
|
|
31
|
+
then, to run unit tests,
|
|
32
32
|
|
|
33
33
|
`yarn test`
|