Skip to content

Commit 944f52e

Browse files
committed
Merge branch 'main' into loginAbstract
2 parents b23a10c + 9c98c23 commit 944f52e

32 files changed

Lines changed: 983 additions & 346 deletions

.github/workflows/publish.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Publish Package
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v*'
7+
8+
permissions:
9+
id-token: write
10+
contents: read
11+
12+
jobs:
13+
publish:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v6
17+
18+
- uses: actions/setup-node@v6
19+
with:
20+
node-version: '24'
21+
registry-url: 'https://registry.npmjs.org'
22+
- run: npm ci
23+
- run: npm run build --if-present
24+
- run: npm test
25+
- run: npm publish

.github/workflows/release.yml

Lines changed: 0 additions & 22 deletions
This file was deleted.

LICENSE

Lines changed: 632 additions & 50 deletions
Large diffs are not rendered by default.

eslint.config.mjs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import reactPlugin from 'eslint-plugin-react';
44
import reactHooks from 'eslint-plugin-react-hooks';
55
import reactRefresh from 'eslint-plugin-react-refresh';
66
import prettier from 'eslint-config-prettier';
7+
import licenseHeader from 'eslint-plugin-license-header';
78

89
export default [
910
js.configs.recommended,
@@ -24,6 +25,7 @@ export default [
2425
react: reactPlugin,
2526
'react-hooks': reactHooks,
2627
'react-refresh': reactRefresh,
28+
'license-header': licenseHeader,
2729
},
2830
settings: {
2931
react: { version: 'detect' },
@@ -34,6 +36,8 @@ export default [
3436
'react-hooks/rules-of-hooks': 'error',
3537
'react-hooks/exhaustive-deps': 'warn',
3638
'@typescript-eslint/no-unused-vars': ['warn', { argsIgnorePattern: '^_' }],
39+
40+
'license-header/header': ['error', './resources/license-header.js'],
3741
},
3842
},
3943
{

0 commit comments

Comments
 (0)