create-easy-ui5 1.0.0 → 1.0.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/publish.yml +57 -0
- package/.husky/commit-msg +0 -3
- package/.husky/pre-commit +0 -3
- package/.husky/skip.js +6 -0
- package/CHANGELOG.md +11 -10
- package/index.js +1 -1
- package/package.json +12 -11
- package/.github/workflows/release-auto.yml +0 -29
- package/.github/workflows/release-manual.yml +0 -24
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
name: Publish
|
|
2
|
+
|
|
3
|
+
# Trigger on tag push AND manual trigger
|
|
4
|
+
on:
|
|
5
|
+
push:
|
|
6
|
+
tags:
|
|
7
|
+
- "v*.*.*"
|
|
8
|
+
workflow_dispatch: # Manual trigger
|
|
9
|
+
|
|
10
|
+
env:
|
|
11
|
+
HUSKY_SKIP: true
|
|
12
|
+
|
|
13
|
+
permissions:
|
|
14
|
+
contents: read
|
|
15
|
+
id-token: write # REQUIRED for trusted publishing (OIDC)
|
|
16
|
+
|
|
17
|
+
jobs:
|
|
18
|
+
publish:
|
|
19
|
+
runs-on: ubuntu-latest
|
|
20
|
+
steps:
|
|
21
|
+
- uses: actions/checkout@v4
|
|
22
|
+
|
|
23
|
+
- name: Setup Node.js
|
|
24
|
+
uses: actions/setup-node@v4
|
|
25
|
+
with:
|
|
26
|
+
node-version: 24
|
|
27
|
+
cache: "npm"
|
|
28
|
+
registry-url: "https://registry.npmjs.org/"
|
|
29
|
+
|
|
30
|
+
- name: Read package name
|
|
31
|
+
id: pkg
|
|
32
|
+
run: |
|
|
33
|
+
echo "NAME=$(jq -r '.name' package.json)" >> $GITHUB_ENV
|
|
34
|
+
|
|
35
|
+
- name: Decide publish method
|
|
36
|
+
run: |
|
|
37
|
+
if npm view "$NAME" > /dev/null 2>&1; then
|
|
38
|
+
echo "EXISTS=true" >> $GITHUB_ENV
|
|
39
|
+
echo "Package exists → using trusted publishing"
|
|
40
|
+
else
|
|
41
|
+
echo "EXISTS=false" >> $GITHUB_ENV
|
|
42
|
+
echo "Package does not exist → bootstrap publish"
|
|
43
|
+
fi
|
|
44
|
+
|
|
45
|
+
- name: Publish
|
|
46
|
+
env:
|
|
47
|
+
NPM_BOOTSTRAP_TOKEN: ${{ secrets.NPM_BOOTSTRAP_TOKEN }}
|
|
48
|
+
run: |
|
|
49
|
+
if [ "$EXISTS" = "false" ]; then
|
|
50
|
+
echo "//registry.npmjs.org/:_authToken=${NPM_BOOTSTRAP_TOKEN}" > ~/.npmrc
|
|
51
|
+
fi
|
|
52
|
+
|
|
53
|
+
npm publish --access public
|
|
54
|
+
|
|
55
|
+
if [ "$EXISTS" = "false" ]; then
|
|
56
|
+
rm ~/.npmrc
|
|
57
|
+
fi
|
package/.husky/commit-msg
CHANGED
package/.husky/pre-commit
CHANGED
package/.husky/skip.js
ADDED
package/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
-
|
|
6
|
-
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
-
|
|
1
|
+
## 1.0.0 (2025-12-29)
|
|
2
|
+
|
|
3
|
+
- build: update changelog ([6b951e1](https://github.com/ui5-community/create-easy-ui5/commit/6b951e1))
|
|
4
|
+
- build: update depenendencies ([5696b04](https://github.com/ui5-community/create-easy-ui5/commit/5696b04))
|
|
5
|
+
- 1.0.0 ([aeec02c](https://github.com/ui5-community/create-easy-ui5/commit/aeec02c))
|
|
6
|
+
- 1.0.1 ([dc5c80d](https://github.com/ui5-community/create-easy-ui5/commit/dc5c80d))
|
|
7
|
+
- Initial commit ([eb18673](https://github.com/ui5-community/create-easy-ui5/commit/eb18673))
|
|
8
|
+
- chore: update release process ([8e233af](https://github.com/ui5-community/create-easy-ui5/commit/8e233af))
|
|
9
|
+
- fix: bugfix for arguments and polish docs ([29577d1](https://github.com/ui5-community/create-easy-ui5/commit/29577d1))
|
|
10
|
+
- fix: run easy-ui5 in embedded mode ([f9e8178](https://github.com/ui5-community/create-easy-ui5/commit/f9e8178))
|
|
11
|
+
- feat: fully initalize the repo ([532fc33](https://github.com/ui5-community/create-easy-ui5/commit/532fc33))
|
package/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-easy-ui5",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "npm-init wrapper for Easy-UI5",
|
|
5
5
|
"bin": {
|
|
6
6
|
"easy-ui5": "index.js"
|
|
@@ -17,27 +17,28 @@
|
|
|
17
17
|
},
|
|
18
18
|
"homepage": "https://github.com/ui5-community/create-easy-ui5#readme",
|
|
19
19
|
"engines": {
|
|
20
|
-
"node": ">=
|
|
20
|
+
"node": ">=18.0.0"
|
|
21
21
|
},
|
|
22
22
|
"scripts": {
|
|
23
23
|
"start": "node index.js",
|
|
24
24
|
"format": "prettier --write .",
|
|
25
25
|
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
|
|
26
|
-
"prepare": "husky
|
|
26
|
+
"prepare": "node ./.husky/skip.js || husky",
|
|
27
27
|
"hooks:pre-commit": "lint-staged",
|
|
28
|
-
"hooks:commit-msg": "commitlint -e"
|
|
28
|
+
"hooks:commit-msg": "commitlint -e",
|
|
29
|
+
"preversion": "npm run changelog && git add CHANGELOG.md"
|
|
29
30
|
},
|
|
30
31
|
"dependencies": {
|
|
31
|
-
"generator-easy-ui5": "^3.
|
|
32
|
+
"generator-easy-ui5": "^3.9.1"
|
|
32
33
|
},
|
|
33
34
|
"devDependencies": {
|
|
34
|
-
"@commitlint/cli": "
|
|
35
|
-
"@commitlint/config-conventional": "
|
|
36
|
-
"conventional-changelog-cli": "^
|
|
35
|
+
"@commitlint/cli": "20.2.0",
|
|
36
|
+
"@commitlint/config-conventional": "20.2.0",
|
|
37
|
+
"conventional-changelog-cli": "^5.0.0",
|
|
37
38
|
"cz-conventional-changelog": "3.3.0",
|
|
38
|
-
"husky": "^
|
|
39
|
-
"lint-staged": "
|
|
40
|
-
"prettier": "^
|
|
39
|
+
"husky": "^9.1.7",
|
|
40
|
+
"lint-staged": "16.2.7",
|
|
41
|
+
"prettier": "^3.7.4"
|
|
41
42
|
},
|
|
42
43
|
"lint-staged": {
|
|
43
44
|
"*.{ts,js,json,md,yml}": [
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
name: Release (automatic)
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
push:
|
|
5
|
-
tags:
|
|
6
|
-
- "v*" # Push events to matching v*, i.e. v1.0, v20.15.10
|
|
7
|
-
|
|
8
|
-
jobs:
|
|
9
|
-
release:
|
|
10
|
-
runs-on: ubuntu-latest
|
|
11
|
-
if: "contains(github.event.head_commit.message, 'chore(release): publish')"
|
|
12
|
-
steps:
|
|
13
|
-
- uses: actions/checkout@v2
|
|
14
|
-
with:
|
|
15
|
-
fetch-depth: 0
|
|
16
|
-
- uses: actions/setup-node@v2
|
|
17
|
-
with:
|
|
18
|
-
node-version: "14"
|
|
19
|
-
|
|
20
|
-
- name: Install dependencies
|
|
21
|
-
run: npm ci
|
|
22
|
-
|
|
23
|
-
- name: Publish to NPM
|
|
24
|
-
run: |
|
|
25
|
-
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
|
|
26
|
-
echo ":::: Publishing as $(npm whoami)"
|
|
27
|
-
npm publish
|
|
28
|
-
env:
|
|
29
|
-
NPM_TOKEN: ${{ secrets.NPM_RELEASE_AUTH_TOKEN }}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
name: Release (manually)
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
workflow_dispatch:
|
|
5
|
-
|
|
6
|
-
jobs:
|
|
7
|
-
release:
|
|
8
|
-
runs-on: ubuntu-latest
|
|
9
|
-
steps:
|
|
10
|
-
- uses: actions/checkout@v2
|
|
11
|
-
- uses: actions/setup-node@v2
|
|
12
|
-
with:
|
|
13
|
-
node-version: "14"
|
|
14
|
-
|
|
15
|
-
- name: Install dependencies
|
|
16
|
-
run: npm ci
|
|
17
|
-
|
|
18
|
-
- name: Publish to NPM
|
|
19
|
-
run: |
|
|
20
|
-
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
|
|
21
|
-
echo ":::: Publishing as $(npm whoami)"
|
|
22
|
-
npm publish
|
|
23
|
-
env:
|
|
24
|
-
NPM_TOKEN: ${{ secrets.NPM_RELEASE_AUTH_TOKEN }}
|