-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from design4pro/develop
feat(nx-custom-webpack): initial commit
- Loading branch information
Showing
29 changed files
with
49,263 additions
and
15,044 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
module.exports = { | ||
extends: ['@commitlint/config-angular'], | ||
rules: { | ||
'type-enum': [ | ||
2, | ||
'always', | ||
[ | ||
// Minor | ||
'feat', | ||
// Patch | ||
'build', | ||
'docs', | ||
'fix', | ||
'perf', | ||
'refactor', | ||
// None | ||
'chore', | ||
'ci', | ||
'revert', | ||
'test', | ||
], | ||
], | ||
'scope-empty': [0], | ||
'scope-enum': [ | ||
2, | ||
'always', | ||
// prettier-ignore | ||
[ | ||
'nx-custom-webpack' | ||
], | ||
], | ||
}, | ||
ignores: [(message) => message.toLowerCase().startsWith('wip')], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
# Labels: define labels for Issues and Pull Requests | ||
labels: | ||
# type | ||
- name: 'type: bug' | ||
description: 'App is not working correctly.' | ||
color: 'fbca04' | ||
- name: 'type: discussion' | ||
description: 'Discussing usage, best practices, questions, etc.' | ||
color: 'e99695' | ||
- name: 'type: documentation' | ||
description: 'Related to improving documentation and the wiki.' | ||
color: '6addf7' | ||
- name: 'type: security' | ||
description: 'Questions, concerns, or suggestions for improving the security of the app.' | ||
color: '1d76db' | ||
- name: 'type: enhancement' | ||
description: 'A new feature suggestion or improvement upon an existing feature.' | ||
color: '84b6eb' | ||
- name: 'type: maintenance' | ||
color: 'fbca04' | ||
- name: 'type: question' | ||
color: 'cc317c' | ||
- name: 'type: feature' | ||
color: '1d76db' | ||
|
||
#status | ||
- name: 'status: in progress️' | ||
description: 'Currently being developed for a future release.' | ||
color: 'cccccc' | ||
- name: 'status: on hold' | ||
description: 'Work has stopped. There may be one or more blockers or needs more information.' | ||
color: 'e11d21' | ||
- name: 'status: abandoned' | ||
color: '000000' | ||
- name: 'status: accepted' | ||
color: '009800' | ||
- name: 'status: available' | ||
color: 'bfe5bf' | ||
- name: 'status: blocked' | ||
color: 'e11d21' | ||
- name: 'status: completed' | ||
description: 'This has been addressed in a branch and will be scheduled for release in the assigned milestone.' | ||
color: '006b75' | ||
- name: 'status: pending' | ||
color: 'fef2c0' | ||
- name: 'status: review needed' | ||
color: 'fbca04' | ||
|
||
# priority | ||
- name: 'priority: critical' | ||
description: 'Critical priority, needs immediate response' | ||
color: 'e11d21' | ||
- name: 'priority: high' | ||
description: 'High priority, needs immediate response' | ||
color: 'eb6420' | ||
- name: 'priority: medium' | ||
description: 'Medium priority' | ||
color: 'fbca04' | ||
- name: 'priority: low' | ||
description: 'Low priority' | ||
color: '009800' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: PR Check | ||
|
||
on: pull_request | ||
|
||
env: | ||
CI: true | ||
|
||
jobs: | ||
check: | ||
name: PR Check | ||
if: "!contains(github.event.head_commit.message, 'skip ci')" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Project | ||
uses: actions/checkout@v1 | ||
- name: Install Dependencies | ||
run: npm ci | ||
- name: Lint Workspace & Code | ||
run: | | ||
npm run nx -- workspace-lint | ||
npm run affected:lint -- --all | ||
- name: Unit Tests | ||
run: npm run affected:test -- --all | ||
- name: Test Builds | ||
run: npm run affected:build -- --all |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Release | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
env: | ||
CI: true | ||
|
||
jobs: | ||
release: | ||
name: Build, Release & Publish | ||
if: "!contains(github.event.head_commit.message, 'skip ci')" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Project | ||
uses: actions/checkout@v1 | ||
- name: Install Dependencies | ||
run: npm ci | ||
- name: Lint Workspace & Code | ||
run: | | ||
npm run nx -- workspace-lint | ||
npm run affected:lint -- --all | ||
- name: Unit Tests | ||
run: npm run affected:test -- --all | ||
- name: Build, Release on GitHub & Publish to NPM | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
run: npm run release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,6 +16,7 @@ | |
*.launch | ||
.settings/ | ||
*.sublime-workspace | ||
*.code-workspace | ||
|
||
# IDE - VSCode | ||
.vscode/* | ||
|
Oops, something went wrong.