Skip to content

Commit f0df837

Browse files
committed
Introduce the project
1 parent 616e566 commit f0df837

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+6814
-20
lines changed

.github/workflows/publish.yml

Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,20 @@
1-
name: Publish npm package
1+
name: Publish
22

33
on:
4-
pull_request:
5-
types: closed
6-
branches: main
7-
84
workflow_dispatch:
95

106
jobs:
11-
publish:
12-
if: ${{ github.event_name == 'workflow_dispatch' || (github.event_name == 'pull_request' && github.event.pull_request.merged == true) }}
13-
14-
runs-on: ubuntu-latest
15-
7+
publish-to-npm:
8+
runs-on: ubuntu-24.04
169
steps:
1710
- uses: actions/checkout@v4
18-
19-
- uses: giancosta86/aurora-github/actions/inject-branch-version@v4
20-
21-
- uses: giancosta86/aurora-github/actions/publish-npm-package@v4
11+
- uses: giancosta86/aurora-github/actions/publish-npm-package@v10
2212
with:
2313
npm-token: ${{ secrets.NPM_TOKEN }}
2414

25-
- uses: giancosta86/aurora-github/actions/tag-and-release@v4
15+
tag-and-release:
16+
runs-on: ubuntu-24.04
17+
needs: publish-to-npm
18+
steps:
19+
- uses: actions/checkout@v4
20+
- uses: giancosta86/aurora-github/actions/tag-and-release@v10

.github/workflows/verify.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Verify source code
1+
name: Verify
22

33
on:
44
pull_request:
@@ -9,11 +9,9 @@ on:
99

1010
jobs:
1111
verify:
12-
runs-on: ubuntu-latest
12+
runs-on: ubuntu-24.04
1313

1414
steps:
1515
- uses: actions/checkout@v4
1616

17-
- uses: giancosta86/aurora-github/actions/inject-branch-version@v4
18-
19-
- uses: giancosta86/aurora-github/actions/verify-npm-package@v4
17+
- uses: giancosta86/aurora-github/actions/verify-npm-package@v10

.gitignore

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
/coverage/
2+
3+
/dist/
4+
5+
/node_modules/
6+
7+
/website/
8+
9+
/*-*.tgz
10+
11+
/*.tsbuildinfo
12+

.prettierignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/coverage/
2+
/dist/
3+
/node_modules/
4+
/website/
5+
/**/pnpm-lock.yaml

.prettierrc

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"printWidth": 80,
3+
"tabWidth": 2,
4+
"useTabs": false,
5+
"semi": true,
6+
"singleQuote": false,
7+
"quoteProps": "as-needed",
8+
"jsxSingleQuote": false,
9+
"trailingComma": "none",
10+
"bracketSpacing": true,
11+
"bracketSameLine": false,
12+
"arrowParens": "avoid",
13+
"proseWrap": "preserve",
14+
"htmlWhitespaceSensitivity": "css",
15+
"endOfLine": "lf",
16+
"singleAttributePerLine": false,
17+
18+
"plugins": ["prettier-plugin-organize-imports"]
19+
}

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2025 Gianluca Costa
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

0 commit comments

Comments
 (0)