svg-loaders-react 3.1.2 → 3.1.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/publish.yml +4 -3
- package/.github/workflows/test.yml +3 -2
- package/.nvmrc +1 -1
- package/package.json +3 -3
|
@@ -11,15 +11,16 @@ jobs:
|
|
|
11
11
|
contents: read
|
|
12
12
|
id-token: write
|
|
13
13
|
steps:
|
|
14
|
-
- uses: actions/checkout@
|
|
15
|
-
- uses: actions/setup-node@
|
|
14
|
+
- uses: actions/checkout@v7
|
|
15
|
+
- uses: actions/setup-node@v7
|
|
16
16
|
with:
|
|
17
|
-
node-version: '
|
|
17
|
+
node-version-file: '.nvmrc'
|
|
18
18
|
registry-url: 'https://registry.npmjs.org'
|
|
19
19
|
# Trusted publishing (OIDC) requires npm 11.5.1+
|
|
20
20
|
- run: npm install -g npm@latest
|
|
21
21
|
- run: npm ci
|
|
22
22
|
- run: npm test
|
|
23
|
+
- run: npm run build
|
|
23
24
|
- name: Verify tag matches package.json version
|
|
24
25
|
run: |
|
|
25
26
|
if [ "${GITHUB_REF_NAME#v}" != "$(node -p "require('./package.json').version")" ]; then
|
|
@@ -11,10 +11,11 @@ jobs:
|
|
|
11
11
|
permissions:
|
|
12
12
|
contents: read
|
|
13
13
|
steps:
|
|
14
|
-
- uses: actions/checkout@
|
|
15
|
-
- uses: actions/setup-node@
|
|
14
|
+
- uses: actions/checkout@v7
|
|
15
|
+
- uses: actions/setup-node@v7
|
|
16
16
|
with:
|
|
17
17
|
node-version-file: '.nvmrc'
|
|
18
18
|
cache: 'npm'
|
|
19
19
|
- run: npm ci
|
|
20
20
|
- run: npm test
|
|
21
|
+
- run: npm run build
|
package/.nvmrc
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
24
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "svg-loaders-react",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.3",
|
|
4
4
|
"description": "React implementation of the SVG Loaders library by Sam Herbert",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
"babel-plugin-transform-react-jsx": "^6.24.1",
|
|
26
26
|
"babel-preset-env": "^1.7.0",
|
|
27
27
|
"enzyme": "^3.10.0",
|
|
28
|
-
"eslint": "^
|
|
29
|
-
"eslint-config-airbnb": "^
|
|
28
|
+
"eslint": "^9.32.0",
|
|
29
|
+
"eslint-config-airbnb": "^19.0.4",
|
|
30
30
|
"eslint-plugin-import": "^2.17.3",
|
|
31
31
|
"eslint-plugin-jsx-a11y": "^6.2.1",
|
|
32
32
|
"eslint-plugin-react": "^7.13.0",
|