File tree Expand file tree Collapse file tree 8 files changed +1757
-120
lines changed Expand file tree Collapse file tree 8 files changed +1757
-120
lines changed Original file line number Diff line number Diff line change 1818 with :
1919 node-version : ' latest'
2020 registry-url : ' https://npm.pkg.github.com'
21- scope : ' @djthorpe '
21+ scope : ' @mutablelogic '
2222
2323 - name : Generate Documentatin
2424 run : |
Original file line number Diff line number Diff line change 1+ name : Publish Docs
2+ on :
3+ push :
4+ branches :
5+ - main
6+ jobs :
7+ docs :
8+ runs-on : ubuntu-latest
9+ permissions :
10+ contents : write
11+ steps :
12+ - name : Checkout
13+ uses : actions/checkout@v4
14+ - name : Setup Node
15+ uses : actions/setup-node@v4
16+ with :
17+ node-version : ' latest'
18+ registry-url : ' https://npm.pkg.github.com'
19+ scope : ' @mutablelogic'
20+ - name : Lint
21+ run : |
22+ npm ci
23+ npm run lint
Original file line number Diff line number Diff line change 99 - uses : actions/checkout@v2
1010 - uses : actions/setup-node@v2
1111 with :
12- node-version : ' 12.x'
1312 registry-url : ' https://npm.pkg.github.com'
14- scope : ' @djthorpe '
13+ scope : ' @mutablelogic '
1514 - run : npm install
16- - run : npm run all
15+ - run : npm run build
1716 - run : npm publish
1817 env :
1918 NODE_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 1- @djthorpe :registry = https://npm.pkg.github.com
1+ @mutablelogic :registry = https://npm.pkg.github.com
Original file line number Diff line number Diff line change 1+ import { FlatCompat } from '@eslint/eslintrc' ;
2+ import globals from 'globals' ;
3+ import path from 'path' ;
4+ import { fileURLToPath } from 'url' ;
5+ import js from '@eslint/js' ;
6+
7+ // mimic CommonJS variables -- not needed if using CommonJS
8+ const filename = fileURLToPath ( import . meta. url ) ;
9+ const dirname = path . dirname ( filename ) ;
10+ const compat = new FlatCompat ( {
11+ baseDirectory : dirname ,
12+ } ) ;
13+
14+ export default [
15+ js . configs . recommended ,
16+ {
17+ languageOptions : {
18+ globals : globals . browser ,
19+ } ,
20+ } ,
21+ ...compat . extends ( 'airbnb-base' ) ,
22+ ] ;
You can’t perform that action at this time.
0 commit comments