svg-sprite-generation-loader 2.2.5 → 2.2.7
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 +19 -21
- package/.husky/pre-commit +0 -0
- package/README.md +6 -0
- package/package.json +5 -6
|
@@ -1,34 +1,32 @@
|
|
|
1
1
|
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
|
|
2
2
|
# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages
|
|
3
3
|
|
|
4
|
-
name:
|
|
4
|
+
name: Publish Package to npmjs
|
|
5
5
|
|
|
6
6
|
on:
|
|
7
7
|
release:
|
|
8
8
|
types: [created]
|
|
9
9
|
|
|
10
10
|
jobs:
|
|
11
|
-
|
|
11
|
+
publish:
|
|
12
12
|
runs-on: ubuntu-latest
|
|
13
|
+
permissions:
|
|
14
|
+
contents: read
|
|
15
|
+
id-token: write
|
|
13
16
|
steps:
|
|
14
|
-
- uses: actions/checkout@
|
|
15
|
-
- uses: actions/setup-node@v1
|
|
16
|
-
with:
|
|
17
|
-
always-auth: true
|
|
18
|
-
node-version: 20
|
|
19
|
-
registry-url: "https://registry.npmjs.org"
|
|
20
|
-
- run: yarn install --frozen-lockfile
|
|
17
|
+
- uses: actions/checkout@v4
|
|
21
18
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
- uses: actions/setup-node@v1
|
|
19
|
+
- name: Install pnpm
|
|
20
|
+
uses: pnpm/action-setup@v4
|
|
21
|
+
|
|
22
|
+
- name: Set Node.js
|
|
23
|
+
uses: actions/setup-node@v6
|
|
28
24
|
with:
|
|
29
|
-
node-version:
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
25
|
+
node-version: 24
|
|
26
|
+
cache: 'pnpm'
|
|
27
|
+
registry-url: 'https://registry.npmjs.org'
|
|
28
|
+
|
|
29
|
+
- name: Install dependencies
|
|
30
|
+
run: pnpm i --frozen-lockfile
|
|
31
|
+
|
|
32
|
+
- run: pnpm publish --no-git-checks
|
package/.husky/pre-commit
CHANGED
|
File without changes
|
package/README.md
CHANGED
package/package.json
CHANGED
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "svg-sprite-generation-loader",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.7",
|
|
4
4
|
"description": "Webpack loader for generating external svg symbol sprite files",
|
|
5
5
|
"main": "index.js",
|
|
6
|
-
"scripts": {
|
|
7
|
-
"test": "echo \"Error: no test specified\" && exit 1",
|
|
8
|
-
"prepare": "husky install"
|
|
9
|
-
},
|
|
10
6
|
"repository": {
|
|
11
7
|
"type": "git",
|
|
12
8
|
"url": "git+https://github.com/vadymshymko/svg-sprite-generation-loader.git"
|
|
@@ -51,5 +47,8 @@
|
|
|
51
47
|
"lint-staged": {
|
|
52
48
|
"*.js": "eslint --cache --fix",
|
|
53
49
|
"*.{js,css,md}": "prettier --write"
|
|
50
|
+
},
|
|
51
|
+
"scripts": {
|
|
52
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
|
54
53
|
}
|
|
55
|
-
}
|
|
54
|
+
}
|