ada-ui 5.1.1 → 5.1.2-test-cb47a56a5a40a62af75b85c3557b3cf7d578816f

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.
@@ -5,7 +5,11 @@
5
5
  "fixed": [],
6
6
  "linked": [],
7
7
  "access": "public",
8
- "baseBranch": "master",
8
+ "baseBranch": "origin/master",
9
9
  "updateInternalDependencies": "patch",
10
- "ignore": []
10
+ "ignore": [],
11
+ "snapshot": {
12
+ "useCalculatedVersion": true,
13
+ "prereleaseTemplate": "{tag}-{commit}"
14
+ }
11
15
  }
@@ -0,0 +1,153 @@
1
+ name: Release Snapshot
2
+
3
+ on:
4
+ issue_comment:
5
+ types: ["created"]
6
+
7
+ concurrency: ${{ github.workflow }}-${{ github.ref }}
8
+
9
+ jobs:
10
+ release:
11
+ name: Release
12
+ if:
13
+ ${{ github.event.issue.pull_request && github.event.comment.body ==
14
+ '/snapshot' }}
15
+ runs-on: ubuntu-latest
16
+ steps:
17
+ - name: Add initial reaction
18
+ uses: peter-evans/create-or-update-comment@v4
19
+ with:
20
+ comment-id: ${{ github.event.comment.id }}
21
+ reactions: eyes
22
+
23
+ - name: Create initial comment
24
+ id: initial-comment
25
+ uses: peter-evans/create-or-update-comment@v4
26
+ with:
27
+ issue-number: ${{ github.event.issue.number }}
28
+ body: |
29
+ **Snapshot release** triggered by ${{ github.event.comment.html_url }}
30
+
31
+ ⏳ Running ([view action log](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}))
32
+
33
+ - name: Enforce write permission
34
+ uses: prince-chrismc/check-actor-permissions-action@v3
35
+ with:
36
+ permission: write
37
+
38
+ - name: Get branch ref from PR comment
39
+ uses: xt0rted/pull-request-comment-branch@v2
40
+ id: comment-branch
41
+
42
+ - uses: actions/checkout@v4
43
+ with:
44
+ ref: ${{ steps.comment-branch.outputs.head_ref }}
45
+ fetch-depth: 0
46
+
47
+ - name: Use Node.js from .tool-versions
48
+ uses: actions/setup-node@v4
49
+ with:
50
+ node-version-file: .tool-versions
51
+
52
+ - name: Install dependencies
53
+ run: npm install
54
+
55
+ - name: Changeset status
56
+ id: changeset-status
57
+ run: npx changeset status
58
+
59
+ - name: Version packages
60
+ run:
61
+ npx changeset version --snapshot ${{
62
+ steps.comment-branch.outputs.head_ref }}
63
+
64
+ - name: Build packages
65
+ run: npm run build
66
+
67
+ - name: Create .npmrc
68
+ run:
69
+ echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" >
70
+ ~/.npmrc
71
+
72
+ - name: Publish packages
73
+ id: publish
74
+ run: |
75
+ set +e
76
+ CHANGESET_OUTPUT=$(npx changeset publish --no-git-tag --tag ${{ steps.comment-branch.outputs.head_ref }} 2>&1)
77
+ CHANGESET_EXITCODE="$?"
78
+ set -e
79
+ echo "console<<__EOF__" >> $GITHUB_OUTPUT
80
+ echo "$CHANGESET_OUTPUT" &>> $GITHUB_OUTPUT
81
+ echo "__EOF__" >> $GITHUB_OUTPUT
82
+ echo "$CHANGESET_OUTPUT"
83
+ exit "$CHANGESET_EXITCODE"
84
+
85
+ - name: Add success reaction
86
+ uses: peter-evans/create-or-update-comment@v4
87
+ with:
88
+ comment-id: ${{ github.event.comment.id }}
89
+ reactions: rocket
90
+
91
+ - name: Add success comment
92
+ uses: peter-evans/create-or-update-comment@v4
93
+ with:
94
+ comment-id: ${{ steps.initial-comment.outputs.comment-id }}
95
+ edit-mode: replace
96
+ body: |
97
+ **Snapshot release** triggered by ${{ github.event.comment.html_url }}
98
+
99
+ ✅ Success ([view action log](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}))
100
+
101
+ <details>
102
+ <summary>Output</summary>
103
+
104
+ ```console
105
+ ${{ steps.publish.outputs.console }}
106
+ ```
107
+ </details>
108
+
109
+ - name: Add failure reaction
110
+ if: ${{ failure() || cancelled() }}
111
+ uses: peter-evans/create-or-update-comment@v4
112
+ with:
113
+ comment-id: ${{ github.event.comment.id }}
114
+ reactions: confused
115
+
116
+ - name: Add missing changeset comment
117
+ if: ${{ failure() && steps.changeset-status.outcome == 'failure' }}
118
+ uses: peter-evans/create-or-update-comment@v4
119
+ with:
120
+ comment-id: ${{ steps.initial-comment.outputs.comment-id }}
121
+ edit-mode: replace
122
+ body: |
123
+ **Snapshot release** triggered by ${{ github.event.comment.html_url }}
124
+
125
+ ❌ Failure ([view action log](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}))
126
+
127
+ #### Missing changeset(s)
128
+
129
+ No changesets were found. Run `npm run changeset` to resolve this error.
130
+
131
+ [Click here to learn what changesets are, and how to add one](https://github.com/changesets/changesets/blob/main/docs/adding-a-changeset.md).
132
+
133
+ - name: Add generic failure comment
134
+ if: ${{ failure() && steps.changeset-status.outcome != 'failure' }}
135
+ uses: peter-evans/create-or-update-comment@v4
136
+ with:
137
+ comment-id: ${{ steps.initial-comment.outputs.comment-id }}
138
+ edit-mode: replace
139
+ body: |
140
+ **Snapshot release** triggered by ${{ github.event.comment.html_url }}
141
+
142
+ ❌ Failure ([view action log](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}))
143
+
144
+ - name: Add canceled comment
145
+ if: cancelled()
146
+ uses: peter-evans/create-or-update-comment@v4
147
+ with:
148
+ comment-id: ${{ steps.initial-comment.outputs.comment-id }}
149
+ edit-mode: replace
150
+ body: |
151
+ **Snapshot release** triggered by ${{ github.event.comment.html_url }}
152
+
153
+ ⭕️ Canceled ([view action log](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}))
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # ada-ui
2
2
 
3
+ ## 5.1.2-test-cb47a56a5a40a62af75b85c3557b3cf7d578816f
4
+
5
+ ### Patch Changes
6
+
7
+ - cb47a56: test
8
+
3
9
  ## 5.1.1
4
10
 
5
11
  ### Patch Changes
package/README.md CHANGED
@@ -33,7 +33,7 @@ e.g.:
33
33
  ## Versioning and Publishing
34
34
 
35
35
  - Releases are created via GitHub Actions using
36
- [Changesets](https://github.com/chagets/changesets)
36
+ [Changesets](https://github.com/changesets/changesets)
37
37
  - When adding changes which needs a version update, add a changeset by running
38
38
  `npm run changeset`
39
39
  - When the changes are done, commit/merge your branch which will create/update a
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ada-ui",
3
- "version": "5.1.1",
3
+ "version": "5.1.2-test-cb47a56a5a40a62af75b85c3557b3cf7d578816f",
4
4
  "scripts": {
5
5
  "dev": "concurrently -n scss,serve 'sass scss:css --watch' 'alive-server .'",
6
6
  "build": "rm -rf css && sass scss:css -s compressed --no-source-map",
@@ -1 +1,2 @@
1
1
  //wip
2
+ //blubb