-
-
Notifications
You must be signed in to change notification settings - Fork 108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore!: Normalize repository, dropping node <10.13 support #239
Merged
Merged
Changes from 30 commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
3bd501d
chore: Normalize repository, dropping node <10.13 support
sttk c1b50cf
test: stop using gulp-test-tool
sttk 4868529
update: replace ansi-colors and color-support to chalk
sttk da59456
update: remove array-sort from dependencies
sttk 3a03cff
update: remove isobject from dependencies
sttk 9db1f81
update: upgrade yargs to 16.2.0
sttk 4b75988
update: upgrade liftoff to 4.0.0
sttk 76d0581
doc: modify README.md
sttk 40b487e
update: modify for coverage
sttk 52e568a
fix: suppress error on CI
sttk 6170167
test: upgrade expect to 27.5.1
sttk 5e80a3f
chore: upgrade marked-man to 0.7.0
sttk 8afc851
fix: modify Liftoff.configFiles and change normalize-config to merge-…
sttk f3fa77c
Update LICENSE
sttk fa088eb
Update README.md
sttk 225beb0
chore: modify ci badge url in README.md
sttk 002d0fa
Update LICENSE
sttk 18d348b
Update package.json
sttk 95f93c2
Update test/config-flags-preload.js
sttk f46d7cd
fix: remove dependency on concat-stream and change getting blacklist
sttk 1f93514
fix: modify that project config overrides userHome config
sttk bb25f48
fix: modify mistakes of descriptions in test fixtures and expected
sttk 4ce1c2a
fix: remove `if` conditions for mjs-stub in preload:before and preloa…
sttk 7414f32
fix: change gulp execution by using helper function
sttk 64e381b
fix: change expect.stringContaining to use toMatch in test/sync-taks.js
sttk 7242a8e
fix: remove extra not.toMatch in test/flags-preload.js
sttk ccf2770
update: remove archy and remake logTasks
sttk 1439453
update: remove pretty-hrtime
sttk 0ac2821
update: remove matchdep and modify skip conditions of esm.js
sttk 3319411
update: make env the sole object determining the behavior of gulp
sttk 83c1603
Update lib/shared/log/tasks.js
sttk 9b78b55
fix: modify sorting task flag entries
sttk ccb2652
update: remove cd in tool/gulp-cmd.js and use cwd option of exec instead
sttk ff6fad2
fix: modify test cases for flags.gulpfile config
sttk e66899b
update: remove micromatch
sttk File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 |
---|---|---|
@@ -1,18 +1,13 @@ | ||
# EditorConfig is Awesome: http://editorconfig.org | ||
|
||
# Top-most EditorConfig file. | ||
# https://editorconfig.org | ||
root = true | ||
|
||
# Unix-style newlines with a newline ending every file. | ||
[*] | ||
end_of_line = lf | ||
insert_final_newline = true | ||
charset = utf-8 | ||
indent_style = space | ||
indent_size = 2 | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
end_of_line = lf | ||
|
||
# Don't trim whitespace in Markdown in order to be able | ||
# to do two spaces for line breaks. | ||
[*.md] | ||
trim_trailing_whitespace = false |
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 was deleted.
Oops, something went wrong.
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,86 @@ | ||
name: dev | ||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- master | ||
- main | ||
env: | ||
CI: true | ||
|
||
jobs: | ||
prettier: | ||
name: Format code | ||
runs-on: ubuntu-latest | ||
if: ${{ github.event_name == 'push' }} | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Prettier | ||
uses: gulpjs/prettier_action@v3.0 | ||
with: | ||
commit_message: 'chore: Run prettier' | ||
prettier_options: '--write .' | ||
|
||
test: | ||
name: Tests for Node ${{ matrix.node }} on ${{ matrix.os }} | ||
runs-on: ${{ matrix.os }} | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
node: [10, 12, 14, 16, 18] | ||
os: [ubuntu-latest, windows-latest, macos-latest] | ||
|
||
steps: | ||
- name: Clone repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Set Node.js version | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: ${{ matrix.node }} | ||
|
||
- run: node --version | ||
- run: npm --version | ||
|
||
- name: Install npm dependencies | ||
run: npm install | ||
|
||
- name: Run lint | ||
run: npm run lint | ||
|
||
- name: Run tests | ||
# Run test without coverage because a behavior about esm is different with nyc or not | ||
run: npm test | ||
|
||
coveralls: | ||
needs: test | ||
name: Finish up | ||
|
||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Clone repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Set Node.js version | ||
uses: actions/setup-node@v2 | ||
with: | ||
# Coverage with LTS version | ||
node-version: 18 | ||
|
||
- run: node --version | ||
- run: npm --version | ||
|
||
- name: Install npm dependencies | ||
run: npm install | ||
|
||
- name: Run coverage | ||
run: npm run cover | ||
|
||
- name: Coveralls | ||
uses: coverallsapp/github-action@v1.1.2 | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} |
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,16 @@ | ||
name: release | ||
on: | ||
push: | ||
branches: | ||
- master | ||
- main | ||
|
||
jobs: | ||
release-please: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: GoogleCloudPlatform/release-please-action@v2 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
release-type: node | ||
package-name: release-please-action |
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 @@ | ||
coverage/ | ||
.nyc_output/ | ||
CHANGELOG.md |
This file was deleted.
Oops, something went wrong.
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
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note to self: Include this rename in the conventional commits so it shows in changelog