-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add new plugin and generator system
Generator system is completely rewritten. BREAKING CHANGE: * Old templates are incompatible. * Uses latest major version of pg-structure. * CLI options are changed. * Options file are not supported. Replaced with ontext file.
- Loading branch information
Showing
161 changed files
with
57,974 additions
and
20,682 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,3 @@ | ||
{ | ||
"extends": ["@commitlint/config-conventional"] | ||
} |
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 @@ | ||
{ "path": "cz-conventional-changelog" } |
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
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,3 @@ | ||
module.exports = { | ||
extends: "./module-files/configs/.eslintrc.js", | ||
}; |
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
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,56 @@ | ||
name: CI / CD | ||
"on": | ||
push: | ||
branches: | ||
- master | ||
- next | ||
- next-major | ||
- alpha | ||
- beta | ||
pull_request: | ||
branches: | ||
- "*" | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- run: echo ${{github.ref}} | ||
- run: echo Condition met | ||
if: github.event_name == 'push' && github.ref == 'refs/heads/master' | ||
- name: Begin CI... | ||
uses: actions/checkout@v2 | ||
- name: Use Node 14 | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: 14.x | ||
- name: Get yarn cache directory path | ||
id: yarn-cache-dir-path | ||
run: echo "::set-output name=dir::$(yarn cache dir)" | ||
- name: Cache node modules (yarn) | ||
uses: actions/cache@v2 | ||
id: yarn-cache | ||
with: | ||
path: ${{ steps.yarn-cache-dir-path.outputs.dir }} | ||
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} | ||
restore-keys: | | ||
${{ runner.os }}-yarn- | ||
- name: Install project dependencies | ||
run: yarn | ||
- name: Run ESLint | ||
run: yarn lint --no-fix | ||
- name: Run Prettier | ||
run: yarn format --no-write --check | ||
- name: Test | ||
run: yarn test --ci --maxWorkers=2 | ||
env: | ||
CI: true | ||
- name: Build | ||
run: yarn build | ||
env: | ||
CI: true | ||
- name: Release | ||
if: github.event_name == 'push' && github.ref == 'refs/heads/master' | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
run: npx semantic-release |
Oops, something went wrong.