tokens-bruecke 2.11.2 → 2.11.4

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.
@@ -1,44 +1,29 @@
1
1
  on:
2
2
  push:
3
- branches:
4
- - main
5
- name: release-please
6
- permissions: {}
3
+ tags:
4
+ - 'v*'
5
+ name: release
6
+ permissions:
7
+ contents: write
8
+ packages: write
7
9
  jobs:
8
- release-please:
9
- permissions:
10
- contents: write # to create release commit (google-github-actions/release-please-action)
11
- pull-requests: write # to create release PR (google-github-actions/release-please-action)
12
- statuses: write
13
- issues: write
14
- packages: write # to create NPM package under github registry
15
-
10
+ release:
16
11
  runs-on: ubuntu-latest
17
12
  env:
18
13
  FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
19
14
  steps:
20
- - uses: googleapis/release-please-action@v4
21
- id: release
22
- with:
23
- token: ${{ secrets.GITHUB_TOKEN }}
24
-
25
- - name: Checkout
26
- uses: actions/checkout@v4
27
- if: ${{ steps.release.outputs.release_created }}
15
+ - uses: actions/checkout@v4
28
16
 
29
17
  - name: Install pnpm
30
18
  uses: pnpm/action-setup@v4
31
- if: ${{ steps.release.outputs.release_created }}
32
19
 
33
20
  - name: Get pnpm store directory
34
- if: ${{ steps.release.outputs.release_created }}
35
21
  shell: bash
36
22
  run: |
37
23
  echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
38
24
 
39
25
  - name: Setup pnpm cache
40
26
  uses: actions/cache@v4
41
- if: ${{ steps.release.outputs.release_created }}
42
27
  with:
43
28
  path: ${{ env.STORE_PATH }}
44
29
  key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
@@ -47,33 +32,17 @@ jobs:
47
32
 
48
33
  - name: Install Node.js
49
34
  uses: actions/setup-node@v4
50
- if: ${{ steps.release.outputs.release_created }}
51
35
  with:
52
36
  node-version: 'lts/*'
53
- registry-url: 'https://npm.pkg.github.com'
37
+ registry-url: 'https://registry.npmjs.org'
54
38
 
55
- - name: Build package
56
- run: pnpm install && pnpm run build
57
- if: ${{ steps.release.outputs.release_created }}
39
+ - name: Install dependencies
40
+ run: pnpm install
58
41
 
59
- - name: Check if zip exists
60
- if: ${{ steps.release.outputs.release_created }}
61
- run: ls -la ./dist/
42
+ - name: Build package
43
+ run: pnpm run build
62
44
 
63
- - name: Upload Release Artifact
64
- if: ${{ steps.release.outputs.release_created }}
65
- run: gh release upload ${{ steps.release.outputs.tag_name }} ./dist/figma-plugin.zip --clobber
45
+ - name: Create GitHub release
46
+ run: gh release create ${{ github.ref_name }} ./dist/figma-plugin.zip --title "${{ github.ref_name }}" --generate-notes
66
47
  env:
67
48
  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
68
-
69
- - name: Publish on Github registry
70
- run: pnpm publish
71
- env:
72
- NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
73
- if: ${{ steps.release.outputs.release_created && github.repository == 'tokens-bruecke/figma-plugin'}}
74
-
75
- # - name: Publish on npm
76
- # run: pnpm publish
77
- # env:
78
- # NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
79
- # if: ${{ steps.release.outputs.release_created && github.repository == 'tokens-bruecke/figma-plugin'}}
package/CHANGELOG.md CHANGED
@@ -1,5 +1,25 @@
1
1
  # Changelog
2
2
 
3
+ ## [2.11.1](https://github.com/tokens-bruecke/figma-plugin/compare/v2.11.0...v2.11.1) (2026-03-28)
4
+
5
+
6
+ ### Miscellaneous
7
+
8
+ * bump version to 2.11.2 ([9983f6a](https://github.com/tokens-bruecke/figma-plugin/commit/9983f6a2939207c85f3f289aa44d38ae64a1f4d1))
9
+
10
+ ## [2.11.0](https://github.com/tokens-bruecke/figma-plugin/compare/v2.10.0...v2.11.0) (2026-03-28)
11
+
12
+
13
+ ### Features
14
+
15
+ * split collections into separate files on export ([2e7fcff](https://github.com/tokens-bruecke/figma-plugin/commit/2e7fcffa1f65b37a42c1410f5e79a0403d340b5a)), closes [#17](https://github.com/tokens-bruecke/figma-plugin/issues/17)
16
+
17
+
18
+ ### Miscellaneous
19
+
20
+ * remove trailing whitespace in release.yml ([a3340cc](https://github.com/tokens-bruecke/figma-plugin/commit/a3340cc815a522dcc84f40ba40dd90395c45c647))
21
+ * update README and bump version to 2.11.0 ([9b3a332](https://github.com/tokens-bruecke/figma-plugin/commit/9b3a3325dab53c1852ff2914f98ef587bdee791d))
22
+
3
23
  ## [2.10.0](https://github.com/tokens-bruecke/figma-plugin/compare/v2.9.4...v2.10.0) (2026-03-28)
4
24
 
5
25