create-easy-ui5 1.0.1 → 1.1.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/README.md CHANGED
@@ -1,56 +1,97 @@
1
- # npm-init wrapper for Easy-UI5
1
+ # `create-easy-ui5`
2
2
 
3
- [![License Status][license-image]][license-url]
3
+ [![npm version](https://img.shields.io/npm/v/create-easy-ui5.svg)](https://www.npmjs.com/package/create-easy-ui5)
4
+ [![License Status](https://img.shields.io/github/license/ui5-community/create-easy-ui5.svg)](https://github.com/ui5-community/create-easy-ui5/blob/main/LICENSE)
5
+ [![REUSE status](https://api.reuse.software/badge/github.com/ui5-community/create-easy-ui5)](https://api.reuse.software/info/github.com/ui5-community/create-easy-ui5)
4
6
 
5
- This NPM package wraps [Easy-UI5](https://github.com/SAP/generator-easy-ui5) Yeoman generator in [`npm-init`](https://docs.npmjs.com/cli/v8/commands/npm-init), [`npx`](https://docs.npmjs.com/cli/v8/commands/npx) or even just a binary. It automatically benefits from all the available [UI5 Community generators](https://github.com/ui5-community/?q=generator-ui5&type=all&language=&sort=).
7
+ > `npm-init` wrapper for the [Easy-UI5](https://github.com/SAP/generator-easy-ui5) Yeoman generator.
6
8
 
7
- ## Getting Started
9
+ `create-easy-ui5` is a thin wrapper that makes the Easy-UI5 generator available
10
+ through `npm init`, `npx`, and a standalone `easy-ui5` binary — so you can
11
+ scaffold a new UI5 project without installing Yeoman or the generator globally
12
+ first. It automatically picks up all available
13
+ [UI5 Community generators](https://github.com/ui5-community/?q=generator-ui5&type=all&language=&sort=).
8
14
 
9
- This NPM packages just adds a few more options to use the Easy-UI5 Yeoman generator - but even a bit easier...
15
+ ## Quick Start
10
16
 
11
- ### Option 1: Using `npm-init`
12
-
13
- The [`npm-init`](https://docs.npmjs.com/cli/v8/commands/npm-init) command is used to setup new repositories. You can use the `create-easy-ui5` package for `npm-init` like this:
17
+ You can use any of the three entry points below — they all do the same thing.
18
+ Pick whichever fits your workflow.
14
19
 
15
20
  ```sh
21
+ # 1. via npm init (no install required)
16
22
  npm init easy-ui5 [template]
23
+
24
+ # 2. via npx (no install required)
25
+ npx create-easy-ui5 [template]
26
+
27
+ # 3. via the installed binary
28
+ npm install -g create-easy-ui5
29
+ easy-ui5 [template]
17
30
  ```
18
31
 
19
- The `create-easy-ui5` package doesn't need to be installed upfront to be used as `npm-init` is downloading it automatically from the central NPM registry.
32
+ If you omit `[template]`, Easy-UI5 will prompt you to pick one interactively.
20
33
 
21
- ### Option 2: Using `npx`
34
+ ## Requirements
22
35
 
23
- The [`npx`](https://docs.npmjs.com/cli/v8/commands/npx) command is used to run NPM packages directly and can be used to run the setup script:
36
+ - **Node.js 20.17** (LTS). See [DEPENDENCIES.md](DEPENDENCIES.md) for the
37
+ rationale behind this floor.
24
38
 
25
- ```sh
26
- npx create-easy-ui5 [template]
27
- ```
39
+ ## How it works
28
40
 
29
- The `create-easy-ui5` package doesn't need to be installed upfront to be used as `npm-init` is downloading it automatically from the central NPM registry.
41
+ `create-easy-ui5` does three things on every invocation:
30
42
 
31
- ### Option 3: Using `easy-ui5` binary
43
+ 1. Creates a fresh Yeoman environment in the current working directory.
44
+ 2. Looks up the `easy-ui5:app` generator from `generator-easy-ui5` (or any
45
+ compatible generator already installed locally / globally).
46
+ 3. Hands control over to that generator, forwarding any CLI arguments you
47
+ passed in.
32
48
 
33
- The `easy-ui5` binary is provided by the `create-easy-ui5` NPM package and once installed it can be used to setup new repositories using the Easy-UI5 Yeoman generator:
49
+ That's it the actual project scaffolding, prompts, and template logic all
50
+ live in [`generator-easy-ui5`](https://github.com/SAP/generator-easy-ui5) and
51
+ the [UI5 Community generators](https://github.com/ui5-community/?q=generator-ui5).
52
+ If you hit something that looks like a template bug, please report it there.
34
53
 
35
- ```sh
36
- # Install create-easy-ui5
37
- npm i -g create-easy-ui5
54
+ ## Documentation & Templates
38
55
 
39
- # Run the binary
40
- easy-ui5 [template]
41
- ```
56
+ - [Easy-UI5 generator](https://github.com/SAP/generator-easy-ui5) — the
57
+ upstream Yeoman generator this wrapper drives.
58
+ - [UI5 Community generators](https://github.com/ui5-community/?q=generator-ui5&type=all&language=&sort=)
59
+ — a catalogue of available `[template]` values.
60
+ - [SAPUI5/OpenUI5 documentation](https://sdk.openui5.org/) — UI5 framework
61
+ reference.
42
62
 
43
63
  ## Support
44
64
 
45
- Please use the GitHub bug tracking system to post questions, bug reports or to create pull requests.
65
+ This project is community-maintained. The best places to get help are:
66
+
67
+ - 🐛 **Bug reports & feature requests:** the [issue tracker](https://github.com/ui5-community/create-easy-ui5/issues).
68
+ - 💬 **General UI5 questions:** the [`#tooling`](https://openui5.slack.com/archives/C0A7QFN6B) channel of the [OpenUI5 Community Slack](https://ui5-slack-invite.cfapps.eu10.hana.ondemand.com/) or [Stack Overflow](https://stackoverflow.com/questions/tagged/ui5).
69
+
70
+ Please read the [issue reporting guidelines](CONTRIBUTING.md#-reporting-issues)
71
+ before opening an issue.
46
72
 
47
73
  ## Contributing
48
74
 
49
- We welcome any type of contribution (code contributions, pull requests, issues) to this generator equally.
75
+ Contributions of any kind bug reports, fixes, doc improvements, ideas
76
+ are warmly welcomed.
50
77
 
51
- ## License
78
+ - [CONTRIBUTING.md](CONTRIBUTING.md) — how to set up, what we expect from
79
+ pull requests, commit message rules, and the changeset-based release flow.
80
+ - [DEPENDENCIES.md](DEPENDENCIES.md) — why some dependencies are pinned;
81
+ consult this before bumping anything.
82
+ - [SECURITY.md](SECURITY.md) — how to report vulnerabilities and the
83
+ supply-chain controls in place on this repository.
84
+ - [CODE_OF_CONDUCT.md](CODE_OF_CONDUCT.md) — the Contributor Covenant we
85
+ follow.
86
+
87
+ ## Release Process
52
88
 
53
- This project is licensed under the Apache Software License, version 2.0 except as noted otherwise in the LICENSE file.
89
+ This repository uses [Changesets](https://github.com/changesets/changesets)
90
+ for versioning and automated publishing to npm. See the
91
+ [Releasing the Package](CONTRIBUTING.md#-releasing-the-package) section in
92
+ the contributor guide.
93
+
94
+ ## License
54
95
 
55
- [license-image]: https://img.shields.io/github/license/ui5-community/create-easy-ui5.svg
56
- [license-url]: https://github.com/ui5-community/create-easy-ui5/blob/main/LICENSE
96
+ This project is licensed under the [Apache Software License, Version 2.0](LICENSE),
97
+ except as noted otherwise in the LICENSE file.
package/index.js CHANGED
@@ -8,27 +8,30 @@ if (args[0] === "easy-ui5") {
8
8
 
9
9
  // create the env for the plugin generator
10
10
  const yeoman = require("yeoman-environment");
11
- const env = yeoman.createEnv(args, {
12
- cwd: process.cwd(),
13
- });
14
11
 
15
- // lookup the easy-ui5 generator
16
- const generators = env
17
- .lookup({
12
+ (async () => {
13
+ const env = yeoman.createEnv(args, {
14
+ cwd: process.cwd(),
15
+ });
16
+
17
+ // lookup the easy-ui5 generator
18
+ const allGenerators = await env.lookup({
18
19
  localOnly: false,
19
- })
20
- .filter((sub) => {
21
- return sub.namespace === "easy-ui5:app";
22
20
  });
23
21
 
24
- // finally, run the subgenerator
25
- if (generators[0]?.namespace) {
26
- env.run([generators[0].namespace].concat(args), {
27
- // verbose: this.options.verbose,
28
- embedded: true,
22
+ const generators = allGenerators.filter((sub) => {
23
+ return sub.namespace === "easy-ui5:app";
29
24
  });
30
- } else {
31
- console.error(
32
- "Easy-UI5 cannot be found! Please run 'npm i -g generator-easy-ui5'!",
33
- );
34
- }
25
+
26
+ // finally, run the subgenerator
27
+ if (generators[0]?.namespace) {
28
+ await env.run([generators[0].namespace].concat(args), {
29
+ // verbose: this.options.verbose,
30
+ embedded: true,
31
+ });
32
+ } else {
33
+ console.error(
34
+ "Easy-UI5 cannot be found! Please run 'npm i -g generator-easy-ui5'!",
35
+ );
36
+ }
37
+ })();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-easy-ui5",
3
- "version": "1.0.1",
3
+ "version": "1.1.1",
4
4
  "description": "npm-init wrapper for Easy-UI5",
5
5
  "bin": {
6
6
  "easy-ui5": "index.js"
@@ -17,28 +17,35 @@
17
17
  },
18
18
  "homepage": "https://github.com/ui5-community/create-easy-ui5#readme",
19
19
  "engines": {
20
- "node": ">=18.0.0"
20
+ "node": ">=20.17.0"
21
21
  },
22
+ "files": [
23
+ "index.js"
24
+ ],
22
25
  "scripts": {
23
26
  "start": "node index.js",
24
27
  "format": "prettier --write .",
25
- "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
26
28
  "prepare": "node ./.husky/skip.js || husky",
27
29
  "hooks:pre-commit": "lint-staged",
28
30
  "hooks:commit-msg": "commitlint -e",
29
- "preversion": "npm run changelog && git add CHANGELOG.md"
31
+ "changeset": "changeset",
32
+ "changeset:empty": "changeset --empty",
33
+ "version-package": "changeset version && npm install --package-lock-only",
34
+ "release-publish": "changeset publish"
30
35
  },
31
36
  "dependencies": {
32
- "generator-easy-ui5": "^3.9.1"
37
+ "generator-easy-ui5": "^3.10.0",
38
+ "yeoman-environment": "^6.1.0"
33
39
  },
34
40
  "devDependencies": {
41
+ "@changesets/changelog-github": "^0.7.0",
42
+ "@changesets/cli": "^2.31.0",
35
43
  "@commitlint/cli": "20.2.0",
36
44
  "@commitlint/config-conventional": "20.2.0",
37
- "conventional-changelog-cli": "^5.0.0",
38
45
  "cz-conventional-changelog": "3.3.0",
39
46
  "husky": "^9.1.7",
40
- "lint-staged": "16.2.7",
41
- "prettier": "^3.7.4"
47
+ "lint-staged": "16.4.0",
48
+ "prettier": "^3.8.4"
42
49
  },
43
50
  "lint-staged": {
44
51
  "*.{ts,js,json,md,yml}": [
package/.editorconfig DELETED
@@ -1,21 +0,0 @@
1
- # EditorConfig helps developers define and maintain consistent
2
- # coding styles between different editors and IDEs
3
- # editorconfig.org
4
-
5
- root = true
6
-
7
- [*]
8
- end_of_line = lf
9
- charset = utf-8
10
- trim_trailing_whitespace = true
11
- insert_final_newline = true
12
- indent_style = space
13
-
14
- [*.md]
15
- trim_trailing_whitespace = false
16
-
17
- [{package.json,ui5.yaml}]
18
- indent_size = 2
19
-
20
- [*.js]
21
- indent_size = 2
@@ -1,40 +0,0 @@
1
- ---
2
- name: Bug report
3
- about: Create a report to help us improve
4
- title: ""
5
- labels: ""
6
- assignees: ""
7
- ---
8
-
9
- **Describe the bug**
10
- A clear and concise description of what the bug is.
11
-
12
- **To Reproduce**
13
- Steps to reproduce the behavior:
14
-
15
- 1. Go to '...'
16
- 2. Click on '....'
17
- 3. Scroll down to '....'
18
- 4. See error
19
-
20
- **Expected behavior**
21
- A clear and concise description of what you expected to happen.
22
-
23
- **Screenshots**
24
- If applicable, add screenshots to help explain your problem.
25
-
26
- **Desktop (please complete the following information):**
27
-
28
- - OS: [e.g. iOS]
29
- - Browser [e.g. chrome, safari]
30
- - Version [e.g. 22]
31
-
32
- **Smartphone (please complete the following information):**
33
-
34
- - Device: [e.g. iPhone6]
35
- - OS: [e.g. iOS8.1]
36
- - Browser [e.g. stock browser, safari]
37
- - Version [e.g. 22]
38
-
39
- **Additional context**
40
- Add any other context about the problem here.
@@ -1,7 +0,0 @@
1
- ---
2
- name: Custom issue template
3
- about: Describe this issue template's purpose here.
4
- title: ""
5
- labels: ""
6
- assignees: ""
7
- ---
@@ -1,19 +0,0 @@
1
- ---
2
- name: Feature request
3
- about: Suggest an idea for this project
4
- title: ""
5
- labels: ""
6
- assignees: ""
7
- ---
8
-
9
- **Is your feature request related to a problem? Please describe.**
10
- A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
11
-
12
- **Describe the solution you'd like**
13
- A clear and concise description of what you want to happen.
14
-
15
- **Describe alternatives you've considered**
16
- A clear and concise description of any alternative solutions or features you've considered.
17
-
18
- **Additional context**
19
- Add any other context or screenshots about the feature request here.
@@ -1,20 +0,0 @@
1
- name: Lint Commit Message
2
- on:
3
- # Trigger the workflow on push or pull request,
4
- # but only for the main branch
5
- # See: https://github.community/t/duplicate-checks-on-push-and-pull-request-simultaneous-event/18012
6
- push:
7
- branches:
8
- - main
9
- pull_request:
10
- branches:
11
- - main
12
-
13
- jobs:
14
- commitlint:
15
- runs-on: ubuntu-latest
16
- steps:
17
- - uses: actions/checkout@v2
18
- with:
19
- fetch-depth: 0
20
- - uses: wagoid/commitlint-github-action@v4
@@ -1,57 +0,0 @@
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 DELETED
@@ -1 +0,0 @@
1
- npm run hooks:commit-msg
package/.husky/pre-commit DELETED
@@ -1 +0,0 @@
1
- npm run hooks:pre-commit
package/.husky/skip.js DELETED
@@ -1,6 +0,0 @@
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/.prettierignore DELETED
@@ -1 +0,0 @@
1
- package-lock.json
package/CHANGELOG.md DELETED
@@ -1,11 +0,0 @@
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))
@@ -1,128 +0,0 @@
1
- # Contributor Covenant Code of Conduct
2
-
3
- ## Our Pledge
4
-
5
- We as members, contributors, and leaders pledge to make participation in our
6
- community a harassment-free experience for everyone, regardless of age, body
7
- size, visible or invisible disability, ethnicity, sex characteristics, gender
8
- identity and expression, level of experience, education, socio-economic status,
9
- nationality, personal appearance, race, religion, or sexual identity
10
- and orientation.
11
-
12
- We pledge to act and interact in ways that contribute to an open, welcoming,
13
- diverse, inclusive, and healthy community.
14
-
15
- ## Our Standards
16
-
17
- Examples of behavior that contributes to a positive environment for our
18
- community include:
19
-
20
- - Demonstrating empathy and kindness toward other people
21
- - Being respectful of differing opinions, viewpoints, and experiences
22
- - Giving and gracefully accepting constructive feedback
23
- - Accepting responsibility and apologizing to those affected by our mistakes,
24
- and learning from the experience
25
- - Focusing on what is best not just for us as individuals, but for the
26
- overall community
27
-
28
- Examples of unacceptable behavior include:
29
-
30
- - The use of sexualized language or imagery, and sexual attention or
31
- advances of any kind
32
- - Trolling, insulting or derogatory comments, and personal or political attacks
33
- - Public or private harassment
34
- - Publishing others' private information, such as a physical or email
35
- address, without their explicit permission
36
- - Other conduct which could reasonably be considered inappropriate in a
37
- professional setting
38
-
39
- ## Enforcement Responsibilities
40
-
41
- Community leaders are responsible for clarifying and enforcing our standards of
42
- acceptable behavior and will take appropriate and fair corrective action in
43
- response to any behavior that they deem inappropriate, threatening, offensive,
44
- or harmful.
45
-
46
- Community leaders have the right and responsibility to remove, edit, or reject
47
- comments, commits, code, wiki edits, issues, and other contributions that are
48
- not aligned to this Code of Conduct, and will communicate reasons for moderation
49
- decisions when appropriate.
50
-
51
- ## Scope
52
-
53
- This Code of Conduct applies within all community spaces, and also applies when
54
- an individual is officially representing the community in public spaces.
55
- Examples of representing our community include using an official e-mail address,
56
- posting via an official social media account, or acting as an appointed
57
- representative at an online or offline event.
58
-
59
- ## Enforcement
60
-
61
- Instances of abusive, harassing, or otherwise unacceptable behavior may be
62
- reported to the community leaders responsible for enforcement at
63
- ui5communityteam@gmail.com.
64
- All complaints will be reviewed and investigated promptly and fairly.
65
-
66
- All community leaders are obligated to respect the privacy and security of the
67
- reporter of any incident.
68
-
69
- ## Enforcement Guidelines
70
-
71
- Community leaders will follow these Community Impact Guidelines in determining
72
- the consequences for any action they deem in violation of this Code of Conduct:
73
-
74
- ### 1. Correction
75
-
76
- **Community Impact**: Use of inappropriate language or other behavior deemed
77
- unprofessional or unwelcome in the community.
78
-
79
- **Consequence**: A private, written warning from community leaders, providing
80
- clarity around the nature of the violation and an explanation of why the
81
- behavior was inappropriate. A public apology may be requested.
82
-
83
- ### 2. Warning
84
-
85
- **Community Impact**: A violation through a single incident or series
86
- of actions.
87
-
88
- **Consequence**: A warning with consequences for continued behavior. No
89
- interaction with the people involved, including unsolicited interaction with
90
- those enforcing the Code of Conduct, for a specified period of time. This
91
- includes avoiding interactions in community spaces as well as external channels
92
- like social media. Violating these terms may lead to a temporary or
93
- permanent ban.
94
-
95
- ### 3. Temporary Ban
96
-
97
- **Community Impact**: A serious violation of community standards, including
98
- sustained inappropriate behavior.
99
-
100
- **Consequence**: A temporary ban from any sort of interaction or public
101
- communication with the community for a specified period of time. No public or
102
- private interaction with the people involved, including unsolicited interaction
103
- with those enforcing the Code of Conduct, is allowed during this period.
104
- Violating these terms may lead to a permanent ban.
105
-
106
- ### 4. Permanent Ban
107
-
108
- **Community Impact**: Demonstrating a pattern of violation of community
109
- standards, including sustained inappropriate behavior, harassment of an
110
- individual, or aggression toward or disparagement of classes of individuals.
111
-
112
- **Consequence**: A permanent ban from any sort of public interaction within
113
- the community.
114
-
115
- ## Attribution
116
-
117
- This Code of Conduct is adapted from the [Contributor Covenant][homepage],
118
- version 2.0, available at
119
- https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
120
-
121
- Community Impact Guidelines were inspired by [Mozilla's code of conduct
122
- enforcement ladder](https://github.com/mozilla/diversity).
123
-
124
- [homepage]: https://www.contributor-covenant.org
125
-
126
- For answers to common questions about this code of conduct, see the FAQ at
127
- https://www.contributor-covenant.org/faq. Translations are available at
128
- https://www.contributor-covenant.org/translations.
package/CONTRIBUTING.md DELETED
@@ -1,166 +0,0 @@
1
- # Contributing to `create-easy-ui5`
2
-
3
- ## Content
4
-
5
- 1. [📝 **Reporting Issues**](#-reporting-issues)
6
- 2. [🤩 **Feature Requests**](#-feature-requests)
7
- 3. [🔍 **Analyzing Issues**](#-analyzing-issues)
8
- 4. [💻 **Contributing Code**](#-contributing-code)
9
- 5. [📦 **Releasing Package**](#-releasing-package)
10
-
11
- ## 📝 Reporting Issues
12
-
13
- ### Seeking Help / Not a Bug
14
-
15
- If you need help setting something up, or if you have questions regarding `create-easy-ui5`, please seek help on a community platform like [StackOverflow](http://stackoverflow.com/questions/tagged/ui5) or the [`#tooling`](https://openui5.slack.com/archives/C0A7QFN6B) channel of the [OpenUI5 Community Slack](https://ui5-slack-invite.cfapps.eu10.hana.ondemand.com/).
16
-
17
- ### How to Report an Issue
18
-
19
- 1. **Only `create-easy-ui5` issues**
20
- 2. **No duplicate**: You have searched the [issue tracker](https://github.com/ui5-community/create-easy-ui5/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc) to make sure the bug has not already been reported.
21
- 3. **Good summary**: The summary should be specific to the issue.
22
- 4. **Current bug**: The bug can be reproduced in the most current version of the relevant module(s).
23
- 5. **Reproducible bug**: There are step-by-step instructions provided on how to reproduce the issue.
24
- 6. **Well-documented**:
25
- - Precisely state the expected and the actual behavior.
26
- - Give information about the environment in which the issue occurs (OS/Platform, Node.js version, etc.).
27
- - Generally, give as much additional information as possible.
28
- 7. **Only one bug per report**: Open additional tickets for additional issues.
29
- 8. **Please report bugs in English.**
30
-
31
- We encourage you to follow the issue template that will be presented to you when creating a new issue.
32
-
33
- When you are ready, report your issue here: https://github.com/ui5-community/create-easy-ui5/issues/new
34
-
35
- ### Use of Labels
36
-
37
- GitHub offers labels to categorize issues. The labels can only be set and modified by committers.
38
-
39
- #### General issue categories
40
-
41
- - **`bug`**: This issue is a bug in the code.
42
- - **`documentation`**: This issue is about wrong documentation.
43
- - **`enhancement`**: This is not a bug report, but an enhancement request.
44
-
45
- #### Status of an open issue
46
-
47
- - **`information required`**: The author is required to provide information.
48
- - **`good first issue`**: A newcomer may work on this.
49
- - **`help wanted`**: Additional help in analyzing this issue is required.
50
-
51
- #### Status/resolution of a closed issue
52
-
53
- - **`duplicate`**: The issue was already reported somewhere else.
54
- - **`invalid`**: For any reason, this issue report will not be handled further. Possible reasons are lack of information, or that the issue does not apply anymore.
55
- - **`wontfix`**: While acknowledged to be an issue, a fix cannot or will not be provided.
56
-
57
- ### Issue Reporting Disclaimer
58
-
59
- We want to improve the quality of the UI5 Communtiy projects and good bug reports are welcome! But keep in mind that this here is spare-time work and thus the capacity is limited.
60
-
61
- Therefore, we reserve the right to close or to not process insufficient bug reports in favor of those which are clearly documented and easy to reproduce. Even though we would like to solve each well-documented issue, there is always the chance that it won't happen - please remember: The UI5 Community projects are Open Source and comes without warranty.
62
-
63
- Bug report analysis support is always very welcome! See [Analyze Issues](#-analyzing-issues).
64
-
65
- ## 🤩 Feature Requests
66
-
67
- You can request most features by creating an issue in the repository: https://github.com/ui5-community/create-easy-ui5/issues/new
68
-
69
- ## 🔍 Analyzing Issues
70
-
71
- Analyzing issue reports can be a lot of effort. Any help is welcome! 👍
72
-
73
- You may be able to add additional or missing information, such as a step-by-step guide on how to reproduce an issue or an analysis of the root cause. In case of the latter, you might even be able to [contribute](#-contributing-code) a bugfix. 🙌
74
-
75
- ## 💻 Contributing Code
76
-
77
- ### General Remarks
78
-
79
- You are welcome to contribute code to the project in order to fix bugs or to implement new features.
80
-
81
- There are three important things to know:
82
-
83
- 1. You must be aware of the Apache License (which describes contributions).
84
- 2. **Not all proposed contributions can be accepted**. Some features may just fit a third-party add-on better. The code must match the overall direction of the project and improve it. Before contributing a feature, please open a feature request upfront to discuss the necessity of the feature with the core contributors.
85
-
86
- ### How to Contribute
87
-
88
- 1. Make sure the change is welcome (see [General Remarks](#general-remarks)).
89
- 2. Create a branch by forking the relevant module repository and apply your change.
90
- 3. Commit and push your change on that branch.
91
- 4. Create a pull request in the relevant repository.
92
- 5. Wait for our code review and approval, possibly enhancing your change on request.
93
- 6. Once the change has been approved and merged, we will inform you in a comment.
94
- 7. Let's celebrate together! 🎉
95
-
96
- #### Requirements
97
-
98
- The technical requirements to contribute to the project are the following:
99
-
100
- - A current version of [Node.js](https://nodejs.org/)
101
- - A code editor (preferably the free [Microsoft Visual Studio Code](https://code.visualstudio.com/))
102
-
103
- #### Getting Started
104
-
105
- To get started contributing to this project you need to do the following steps:
106
-
107
- - Clone the repository
108
- - Run `npm install`
109
-
110
- #### Commit Messages format
111
-
112
- This project enforces the [conventional-commits][conventional_commits] commit message formats.
113
- The possible commits types prefixes are limited to those defined by [conventional-commit-types][commit_types].
114
- This promotes a clean project history and enabled automatically generating a changelog.
115
-
116
- The commit message format will be inspected both on a git pre-commit hook
117
- and during the central CI build and will **fail the build** if issues are found.
118
-
119
- #### Formatting
120
-
121
- [Prettier](https://prettier.io/) is used for some of the sub-packages to do a proper code formatting. The formatting is running as part of the `pre-commit` hook.
122
-
123
- #### Compiling
124
-
125
- This project is implemented using plain ECMAScript without any compilation / transpilation steps.
126
-
127
- #### Testing
128
-
129
- There is no testing tooling used for this repository so for. To test the project the simplest way is to run it:
130
-
131
- ```sh
132
- # run the project
133
- npm start
134
- ```
135
-
136
- ## 📦 Release Package
137
-
138
- This repository uses [Lerna](https://github.com/lerna/lerna) to manage the release process.
139
-
140
- ### Release Process
141
-
142
- First, make sure that you pull the latest state of the GitHub repository and then proceed with the following steps:
143
-
144
- 1. Update the version: `npm version patch|minor|major`
145
- 2. Update the changelog: `npm run changelog`, commit and amend the version change from step 1: `git add . && git commit --amend --no-edit`
146
- 3. Push the new commit and tag: `git push origin --tags`
147
- 4. Inspect the newly artifacts published on npmjs.com.
148
-
149
- A GitHub action will do the needful once the new tag has been pushed.
150
-
151
- ### Upgrading the version of the dependencies
152
-
153
- To upgrade the version of the dependencies the NPM package `npm-check-updates` is used. The following code snippets shows how to use it:
154
-
155
- ```bash
156
- # install the npm-check-updates
157
- npm install -g npm-check-updates
158
-
159
- # check for dependencies to be updated
160
- ncu
161
-
162
- # update the dependencies automatically
163
- ncu -u
164
- ```
165
-
166
- Be careful with major version changes of the dependencies as this might cause additional work to make the package running again.