Skip to content

Commit 3fc9e7b

Browse files
authored
Merge branch 'main' into dev
2 parents 91080a0 + 713d87a commit 3fc9e7b

File tree

8 files changed

+1701
-87
lines changed

8 files changed

+1701
-87
lines changed

.github/workflows/docs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
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: |

.github/workflows/lint.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
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

.github/workflows/publish.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,10 @@ jobs:
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 }}

.npmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
@djthorpe:registry=https://npm.pkg.github.com
1+
@mutablelogic:registry=https://npm.pkg.github.com

config/eslint.config.mjs

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,22 @@
1-
import globals from "globals";
2-
import pluginJs from "@eslint/js";
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+
});
313

414
export default [
5-
{languageOptions: { globals: globals.browser }},
6-
pluginJs.configs.recommended,
15+
js.configs.recommended,
16+
{
17+
languageOptions: {
18+
globals: globals.browser,
19+
},
20+
},
21+
...compat.extends('airbnb-base'),
722
];

0 commit comments

Comments
 (0)