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.
@@ -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
@@ -1,4 +1 @@
1
- #!/bin/sh
2
- . "$(dirname "$0")/_/husky.sh"
3
-
4
1
  npm run hooks:commit-msg
package/.husky/pre-commit CHANGED
@@ -1,4 +1 @@
1
- #!/bin/sh
2
- . "$(dirname "$0")/_/husky.sh"
3
-
4
1
  npm run hooks:pre-commit
package/.husky/skip.js ADDED
@@ -0,0 +1,6 @@
1
+ /* eslint-disable */
2
+ if (process.env.HUSKY_SKIP || process.env.NODE_ENV === "production") {
3
+ process.exit(0);
4
+ } else {
5
+ process.exit(1);
6
+ }
package/CHANGELOG.md CHANGED
@@ -1,10 +1,11 @@
1
- # [1.0.0](https://github.com/ui5-community/create-easy-ui5/compare/f9e81780ee499a24ab573e455cf15e9d190874d4...v1.0.0) (2022-03-10)
2
-
3
- ### Bug Fixes
4
-
5
- - bugfix for arguments and polish docs ([29577d1](https://github.com/ui5-community/create-easy-ui5/commit/29577d14c99453aa869e63da28de1de4d8968862))
6
- - run easy-ui5 in embedded mode ([f9e8178](https://github.com/ui5-community/create-easy-ui5/commit/f9e81780ee499a24ab573e455cf15e9d190874d4))
7
-
8
- ### Features
9
-
10
- - fully initalize the repo ([532fc33](https://github.com/ui5-community/create-easy-ui5/commit/532fc33ed425730043b682e38b03f631f16d61b6))
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
@@ -29,6 +29,6 @@ if (generators[0]?.namespace) {
29
29
  });
30
30
  } else {
31
31
  console.error(
32
- "Easy-UI5 cannot be found! Please run 'npm i -g generator-easy-ui5'!"
32
+ "Easy-UI5 cannot be found! Please run 'npm i -g generator-easy-ui5'!",
33
33
  );
34
34
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-easy-ui5",
3
- "version": "1.0.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": ">=14.0.0"
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 install",
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.3.0"
32
+ "generator-easy-ui5": "^3.9.1"
32
33
  },
33
34
  "devDependencies": {
34
- "@commitlint/cli": "16.2.1",
35
- "@commitlint/config-conventional": "16.2.1",
36
- "conventional-changelog-cli": "^2.2.2",
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": "^7.0.4",
39
- "lint-staged": "12.3.4",
40
- "prettier": "^2.5.1"
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 }}