-
-
Notifications
You must be signed in to change notification settings - Fork 9
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 #56 from hildjj/update-deps
Update dependencies, including GHA
- Loading branch information
Showing
51 changed files
with
6,790 additions
and
2,692 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,11 @@ | ||
{ | ||
"reporter": [ | ||
"text", | ||
"lcov" | ||
], | ||
"exclude": [ | ||
"**/test/**", | ||
"**/node_modules/**", | ||
"ava.config.cjs" | ||
] | ||
} |
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 |
---|---|---|
|
@@ -15,29 +15,18 @@ jobs: | |
|
||
strategy: | ||
matrix: | ||
node-version: [16.x, 18.x, 20.x] | ||
node-version: [18.x, 20.x, 21.x, 22.x] | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- run: corepack enable | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v1 | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- name: Cache pnpm modules | ||
uses: actions/cache@v3 | ||
env: | ||
cache-name: cache-pnpm-modules | ||
with: | ||
# pnpm cache files are stored in `~/.pnpm-store` on Linux/macOS | ||
path: ~/.pnpm-store | ||
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ matrix.node-version }}-${{ hashFiles('**/package.json') }} | ||
restore-keys: | | ||
${{ runner.os }}-build-${{ env.cache-name }}-${{ matrix.node-version }}- | ||
- name: Install pnpm | ||
uses: pnpm/action-setup@v2 | ||
with: | ||
version: 8.6.3 | ||
run_install: true | ||
cache: pnpm | ||
- name: Install modules | ||
run: pnpm install | ||
- name: Lint | ||
run: npm run lint | ||
- name: Type check | ||
|
@@ -46,18 +35,7 @@ jobs: | |
git diff --quiet --exit-code --cached | ||
- name: Test ${{ matrix.node-version }} | ||
run: npm run coverage | ||
- name: Coveralls Parallel | ||
uses: coverallsapp/github-action@master | ||
with: | ||
github-token: ${{ secrets.github_token }} | ||
flag-name: node-${{ matrix.node-version }} | ||
parallel: true | ||
finish: | ||
needs: build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Coveralls Finished | ||
uses: coverallsapp/github-action@master | ||
- name: Upload coverage reports to Codecov | ||
uses: codecov/[email protected] | ||
with: | ||
github-token: ${{ secrets.github_token }} | ||
parallel-finished: true | ||
token: ${{ secrets.CODECOV_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 |
---|---|---|
|
@@ -26,3 +26,5 @@ tsconfig.json | |
ava.config.cjs | ||
CHANGELOG.md | ||
vscode/ | ||
eslint.config.js | ||
.c8rc |
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,9 +1,9 @@ | ||
'use strict' | ||
'use strict'; | ||
|
||
module.exports = { | ||
// Allow chdir | ||
workerThreads: false, | ||
files: [ | ||
'test/*.ava.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/usr/bin/env node | ||
import {main} from '../lib/cli.js' | ||
import {main} from '../lib/cli.js'; | ||
|
||
main().catch(() => process.exit(1)) | ||
main().catch(() => process.exit(1)); |
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,11 @@ | ||
block Do a thing | ||
A->B: Some messages | ||
end | ||
|
||
loop Many times | ||
A->B: Some messages | ||
end | ||
|
||
opt Might happen | ||
A->B: Some messages | ||
end |
Binary file not shown.
This file was deleted.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
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 |
---|---|---|
@@ -1 +1 @@ | ||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1.0"><title>Quence Playground</title><link rel="stylesheet" href="index.e42e8c15.css"><link rel="icon" type="image/x-icon" href="favicon.5b49fa91.ico"><script type="module" src="index.30c12bcc.js"></script><script src="index.0a8a0b6a.js" type="module"></script></head><body> <h1>See <a href="https://github.com/hildjj/quence">Quence</a> in Action!</h1> <div class="horiz"> <div id="src"></div> <div> <a id="downloadWSD" download="sequence.wsd">Download WSD</a> <a id="downloadSVG" download="sequnce.svg">Download SVG</a> <a id="downloadPDF" href="#sequence.pdf">Download PDF</a> <a id="downloadPDFhidden" download="sequence.pdf">Hidden PDF download link</a> <div id="dest"></div> </div> </div> </body></html> | ||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1.0"><title>Quence Playground</title><link rel="stylesheet" href="index.e42e8c15.css"><link rel="icon" type="image/x-icon" href="favicon.5b49fa91.ico"><link rel="stylesheet" href="index.aa6dc9fa.css"><script type="module" src="index.runtime.30c12bcc.js"></script><script src="index.0a8a0b6a.js" type="module"></script></head><body> <h1>See <a href="https://github.com/hildjj/quence">Quence</a> in Action!</h1> <div class="horiz"> <div id="src"></div> <div> <a id="downloadWSD" download="sequence.wsd">Download WSD</a> <a id="downloadSVG" download="sequnce.svg">Download SVG</a> <a id="downloadPDF" href="#sequence.pdf">Download PDF</a> <a id="downloadPDFhidden" download="sequence.pdf">Hidden PDF download link</a> <div id="dest"></div> </div> </div> </body></html> |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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,27 @@ | ||
import base from '@cto.af/eslint-config'; | ||
import globals from '@cto.af/eslint-config/globals.js'; | ||
import mod from '@cto.af/eslint-config/module.js'; | ||
import ts from '@cto.af/eslint-config/ts.js'; | ||
|
||
export default [ | ||
{ | ||
ignores: [ | ||
'lib/grammar.js', | ||
'*.min.js', | ||
'vscode/out/**', | ||
'vscode/dist/**', | ||
'**/*.d.ts', | ||
], | ||
}, | ||
...base, | ||
...mod, | ||
...ts, | ||
{ | ||
files: [ | ||
'web/**/*.js', | ||
], | ||
languageOptions: { | ||
globals: globals.browser, | ||
}, | ||
}, | ||
]; |
Binary file not shown.
Binary file not shown.
Binary file not shown.
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
Oops, something went wrong.