File tree 8 files changed +1757
-120
lines changed
8 files changed +1757
-120
lines changed Original file line number Diff line number Diff line change 18
18
with :
19
19
node-version : ' latest'
20
20
registry-url : ' https://npm.pkg.github.com'
21
- scope : ' @djthorpe '
21
+ scope : ' @mutablelogic '
22
22
23
23
- name : Generate Documentatin
24
24
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 9
9
- uses : actions/checkout@v2
10
10
- uses : actions/setup-node@v2
11
11
with :
12
- node-version : ' 12.x'
13
12
registry-url : ' https://npm.pkg.github.com'
14
- scope : ' @djthorpe '
13
+ scope : ' @mutablelogic '
15
14
- run : npm install
16
- - run : npm run all
15
+ - run : npm run build
17
16
- run : npm publish
18
17
env :
19
18
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