@iarunsaragadam/ngx-tailwind-flex-ui 0.0.1-canary.0.0 → 1.0.0-canary.1
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/ci.yml +1 -33
- package/.releaserc.json +33 -0
- package/CHANGELOG.md +6 -0
- package/package.json +4 -1
package/.github/workflows/ci.yml
CHANGED
@@ -56,39 +56,7 @@ jobs:
|
|
56
56
|
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
|
57
57
|
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
58
58
|
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
59
|
-
run: npx semantic-release
|
60
|
-
|
61
|
-
tagged-release:
|
62
|
-
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
|
63
|
-
needs: build-test
|
64
|
-
runs-on: ubuntu-latest
|
65
|
-
steps:
|
66
|
-
- uses: actions/checkout@v4
|
67
|
-
with:
|
68
|
-
fetch-depth: 0
|
69
|
-
- uses: actions/setup-node@v4
|
70
|
-
with:
|
71
|
-
node-version: 20
|
72
|
-
registry-url: "https://registry.npmjs.org/"
|
73
|
-
- run: npm ci --legacy-peer-deps
|
74
|
-
- name: Determine Release Type
|
75
|
-
id: release_type
|
76
|
-
run: |
|
77
|
-
TAG_NAME="${GITHUB_REF#refs/tags/}"
|
78
|
-
if [[ "$TAG_NAME" == *"-beta"* ]]; then
|
79
|
-
echo "release_type=beta" >> $GITHUB_ENV
|
80
|
-
elif [[ "$TAG_NAME" == *"-rc"* ]]; then
|
81
|
-
echo "release_type=rc" >> $GITHUB_ENV
|
82
|
-
else
|
83
|
-
echo "release_type=latest" >> $GITHUB_ENV
|
84
|
-
fi
|
85
|
-
|
86
|
-
- name: Publish Tagged Release
|
87
|
-
env:
|
88
|
-
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
|
89
|
-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
90
|
-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
91
|
-
run: npx semantic-release --branches main --tag ${{ env.release_type }}
|
59
|
+
run: npx semantic-release
|
92
60
|
|
93
61
|
label-prs:
|
94
62
|
runs-on: ubuntu-latest
|
package/.releaserc.json
ADDED
@@ -0,0 +1,33 @@
|
|
1
|
+
{
|
2
|
+
"branches": [
|
3
|
+
{
|
4
|
+
"name": "stable",
|
5
|
+
"channel": "latest",
|
6
|
+
"prerelease": false
|
7
|
+
},
|
8
|
+
{
|
9
|
+
"name": "main",
|
10
|
+
"channel": "canary",
|
11
|
+
"prerelease": "canary"
|
12
|
+
}
|
13
|
+
],
|
14
|
+
"plugins": [
|
15
|
+
"@semantic-release/commit-analyzer",
|
16
|
+
"@semantic-release/release-notes-generator",
|
17
|
+
[
|
18
|
+
"@semantic-release/npm",
|
19
|
+
{
|
20
|
+
"npmPublish": true,
|
21
|
+
"tarballDir": "dist"
|
22
|
+
}
|
23
|
+
],
|
24
|
+
"@semantic-release/changelog",
|
25
|
+
"@semantic-release/github",
|
26
|
+
[
|
27
|
+
"@semantic-release/git",
|
28
|
+
{
|
29
|
+
"assets": ["package.json", "package-lock.json"]
|
30
|
+
}
|
31
|
+
]
|
32
|
+
]
|
33
|
+
}
|
package/CHANGELOG.md
ADDED
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@iarunsaragadam/ngx-tailwind-flex-ui",
|
3
|
-
"version": "0.0
|
3
|
+
"version": "1.0.0-canary.1",
|
4
4
|
"license": "MIT",
|
5
5
|
"scripts": {
|
6
6
|
"test": "npx nx run-many --target=test",
|
@@ -42,6 +42,9 @@
|
|
42
42
|
"@nx/workspace": "20.4.6",
|
43
43
|
"@playwright/test": "^1.36.0",
|
44
44
|
"@schematics/angular": "~19.1.0",
|
45
|
+
"@semantic-release/changelog": "^6.0.3",
|
46
|
+
"@semantic-release/git": "^10.0.1",
|
47
|
+
"@semantic-release/npm": "^12.0.1",
|
45
48
|
"@storybook/addon-essentials": "^8.4.6",
|
46
49
|
"@storybook/addon-interactions": "^8.4.6",
|
47
50
|
"@storybook/angular": "^8.4.6",
|