remark-inline-svg-flex 0.5.0 → 1.0.0

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/README.md CHANGED
@@ -1,5 +1,3 @@
1
- > ⚠️ Beta Nearing v1.0.0 — Still under development! APIs may change.
2
-
3
1
  # remark-inline-svg-flex
4
2
 
5
3
  [![Downloads](https://img.shields.io/npm/dm/remark-inline-svg-flex.svg?style=flat-square)](https://www.npmjs.com/package/remark-inline-svg-flex)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "remark-inline-svg-flex",
3
- "version": "0.5.0",
3
+ "version": "1.0.0",
4
4
  "description": "Customizable Remark plugin to inline and optimize SVGs with SVGO, with robust path resolution.",
5
5
  "keywords": [
6
6
  "remark",
@@ -52,4 +52,4 @@
52
52
  "svgo": "^4.0.1",
53
53
  "unist-util-visit": "^5.1.0"
54
54
  }
55
- }
55
+ }
@@ -1,63 +0,0 @@
1
- name: Release
2
-
3
- on:
4
- push:
5
- branches:
6
- - main
7
- paths:
8
- - package.json
9
- - src/**
10
- - .github/workflows/**
11
-
12
- jobs:
13
- release:
14
- runs-on: ubuntu-latest
15
-
16
- permissions:
17
- contents: write
18
-
19
- steps:
20
- - uses: actions/checkout@v4
21
- with:
22
- fetch-depth: 0
23
-
24
- - name: get version
25
- run: echo "VERSION=$(jq -r .version package.json)" >> $GITHUB_ENV
26
-
27
- - name: check if tag exists
28
- id: tagcheck
29
- run: |
30
- if git rev-parse "v$VERSION" >/dev/null 2>&1; then
31
- echo "exists=true" >> $GITHUB_OUTPUT
32
- else
33
- echo "exists=false" >> $GITHUB_OUTPUT
34
- fi
35
-
36
- - uses: actions/setup-node@v4
37
- if: steps.tagcheck.outputs.exists == 'false'
38
- with:
39
- node-version: 24
40
- registry-url: https://registry.npmjs.org/
41
-
42
- - name: test, build, publish and release
43
- if: steps.tagcheck.outputs.exists == 'false'
44
- env:
45
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
46
- run: |
47
- npm i
48
- npm run tests
49
- npm run build
50
- git config user.name "github-actions"
51
- git config user.email "github-actions@github.com"
52
- git tag "v$VERSION"
53
- git push origin "v$VERSION"
54
- npm publish
55
-
56
- - name: create Github release
57
- if: steps.tagcheck.outputs.exists == 'false'
58
- uses: softprops/action-gh-release@v2
59
- env:
60
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
61
- with:
62
- tag_name: v${{ env.VERSION }}
63
- name: Release v${{ env.VERSION }}