Skip to content

Commit be80228

Browse files
committed
fix: update prettier configuration and clean up whitespace in main.ts
- Added a line to import the prettier configuration from '@pixpilot/dev-config/prettier'. - Removed unnecessary whitespace in main.ts to improve code readability. - Updated test assertions in main.test.ts to include trailing commas for consistency.
1 parent a499d2a commit be80228

17 files changed

Lines changed: 126 additions & 124 deletions

File tree

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
name: 'Setup project'
1+
name: Setup project
22
description: 'Setup Node.js, install pnpm, install dependencies, and build the project'
33

44
inputs:
55
node-version:
6-
description: 'Node.js version to use'
6+
description: Node.js version to use
77
required: false
88
default: '20'
99
pnpm-version:
10-
description: 'pnpm version to use'
10+
description: pnpm version to use
1111
required: false
1212
registry-url:
13-
description: 'npm registry URL'
13+
description: npm registry URL
1414
required: false
1515

1616
runs:
17-
using: 'composite'
17+
using: composite
1818
steps:
1919
- name: Install pnpm
2020
uses: pnpm/action-setup@v4
@@ -25,9 +25,9 @@ runs:
2525
uses: actions/setup-node@v4
2626
with:
2727
node-version: ${{ inputs.node-version }}
28-
cache: 'pnpm'
28+
cache: pnpm
2929
registry-url: ${{ inputs.registry-url }}
3030

3131
- name: Install dependencies
3232
run: pnpm install
33-
shell: bash
33+
shell: bash

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: 'CodeQL'
1+
name: CodeQL
22

33
permissions:
44
security-events: write
Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
---
2-
name: "@actions/core"
2+
name: '@actions/core'
33
version: 1.11.1
44
type: npm
55
summary: Actions core lib
66
homepage: https://github.com/actions/toolkit/tree/main/packages/core
77
license: mit
88
licenses:
9-
- sources: LICENSE.md
10-
text: |-
11-
The MIT License (MIT)
9+
- sources: LICENSE.md
10+
text: |-
11+
The MIT License (MIT)
1212
13-
Copyright 2019 GitHub
13+
Copyright 2019 GitHub
1414
15-
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
15+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
1616
17-
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
17+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
1818
19-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
19+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2020
notices: []
Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
---
2-
name: "@actions/exec"
2+
name: '@actions/exec'
33
version: 1.1.1
44
type: npm
55
summary: Actions exec lib
66
homepage: https://github.com/actions/toolkit/tree/main/packages/exec
77
license: mit
88
licenses:
9-
- sources: LICENSE.md
10-
text: |-
11-
The MIT License (MIT)
9+
- sources: LICENSE.md
10+
text: |-
11+
The MIT License (MIT)
1212
13-
Copyright 2019 GitHub
13+
Copyright 2019 GitHub
1414
15-
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
15+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
1616
17-
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
17+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
1818
19-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
19+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2020
notices: []
Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,32 @@
11
---
2-
name: "@actions/http-client"
2+
name: '@actions/http-client'
33
version: 2.2.3
44
type: npm
55
summary: Actions Http Client
66
homepage: https://github.com/actions/toolkit/tree/main/packages/http-client
77
license: other
88
licenses:
9-
- sources: LICENSE
10-
text: |
11-
Actions Http Client for Node.js
9+
- sources: LICENSE
10+
text: |
11+
Actions Http Client for Node.js
1212
13-
Copyright (c) GitHub, Inc.
13+
Copyright (c) GitHub, Inc.
1414
15-
All rights reserved.
15+
All rights reserved.
1616
17-
MIT License
17+
MIT License
1818
19-
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
20-
associated documentation files (the "Software"), to deal in the Software without restriction,
21-
including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
22-
and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so,
23-
subject to the following conditions:
19+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
20+
associated documentation files (the "Software"), to deal in the Software without restriction,
21+
including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
22+
and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so,
23+
subject to the following conditions:
2424
25-
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
25+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
2626
27-
THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
28-
LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
29-
NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
30-
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
31-
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
27+
THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
28+
LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
29+
NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
30+
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
31+
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
3232
notices: []

.licenses/npm/@actions/io.dep.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
---
2-
name: "@actions/io"
2+
name: '@actions/io'
33
version: 1.1.3
44
type: npm
55
summary: Actions io lib
66
homepage: https://github.com/actions/toolkit/tree/main/packages/io
77
license: mit
88
licenses:
9-
- sources: LICENSE.md
10-
text: |-
11-
The MIT License (MIT)
9+
- sources: LICENSE.md
10+
text: |-
11+
The MIT License (MIT)
1212
13-
Copyright 2019 GitHub
13+
Copyright 2019 GitHub
1414
15-
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
15+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
1616
17-
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
17+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
1818
19-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
19+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2020
notices: []
Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,30 @@
11
---
2-
name: "@fastify/busboy"
2+
name: '@fastify/busboy'
33
version: 2.1.1
44
type: npm
55
summary: A streaming parser for HTML form data for node.js
66
homepage:
77
license: mit
88
licenses:
9-
- sources: LICENSE
10-
text: |-
11-
Copyright Brian White. All rights reserved.
9+
- sources: LICENSE
10+
text: |-
11+
Copyright Brian White. All rights reserved.
1212
13-
Permission is hereby granted, free of charge, to any person obtaining a copy
14-
of this software and associated documentation files (the "Software"), to
15-
deal in the Software without restriction, including without limitation the
16-
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
17-
sell copies of the Software, and to permit persons to whom the Software is
18-
furnished to do so, subject to the following conditions:
13+
Permission is hereby granted, free of charge, to any person obtaining a copy
14+
of this software and associated documentation files (the "Software"), to
15+
deal in the Software without restriction, including without limitation the
16+
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
17+
sell copies of the Software, and to permit persons to whom the Software is
18+
furnished to do so, subject to the following conditions:
1919
20-
The above copyright notice and this permission notice shall be included in
21-
all copies or substantial portions of the Software.
20+
The above copyright notice and this permission notice shall be included in
21+
all copies or substantial portions of the Software.
2222
23-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
24-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
25-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
26-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
27-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
28-
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
29-
IN THE SOFTWARE.
23+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
24+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
25+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
26+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
27+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
28+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
29+
IN THE SOFTWARE.
3030
notices: []

.licenses/npm/tunnel.dep.yml

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -6,30 +6,30 @@ summary: Node HTTP/HTTPS Agents for tunneling proxies
66
homepage: https://github.com/koichik/node-tunnel/
77
license: mit
88
licenses:
9-
- sources: LICENSE
10-
text: |
11-
The MIT License (MIT)
9+
- sources: LICENSE
10+
text: |
11+
The MIT License (MIT)
1212
13-
Copyright (c) 2012 Koichi Kobayashi
13+
Copyright (c) 2012 Koichi Kobayashi
1414
15-
Permission is hereby granted, free of charge, to any person obtaining a copy
16-
of this software and associated documentation files (the "Software"), to deal
17-
in the Software without restriction, including without limitation the rights
18-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
19-
copies of the Software, and to permit persons to whom the Software is
20-
furnished to do so, subject to the following conditions:
15+
Permission is hereby granted, free of charge, to any person obtaining a copy
16+
of this software and associated documentation files (the "Software"), to deal
17+
in the Software without restriction, including without limitation the rights
18+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
19+
copies of the Software, and to permit persons to whom the Software is
20+
furnished to do so, subject to the following conditions:
2121
22-
The above copyright notice and this permission notice shall be included in
23-
all copies or substantial portions of the Software.
22+
The above copyright notice and this permission notice shall be included in
23+
all copies or substantial portions of the Software.
2424
25-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
26-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
27-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
28-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
29-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
30-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
31-
THE SOFTWARE.
32-
- sources: README.md
33-
text: Licensed under the [MIT](https://github.com/koichik/node-tunnel/blob/master/LICENSE)
34-
license.
25+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
26+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
27+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
28+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
29+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
30+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
31+
THE SOFTWARE.
32+
- sources: README.md
33+
text: Licensed under the [MIT](https://github.com/koichik/node-tunnel/blob/master/LICENSE)
34+
license.
3535
notices: []

.licenses/npm/undici.dep.yml

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -6,29 +6,29 @@ summary: An HTTP/1.1 client, written from scratch for Node.js
66
homepage: https://undici.nodejs.org
77
license: mit
88
licenses:
9-
- sources: LICENSE
10-
text: |
11-
MIT License
9+
- sources: LICENSE
10+
text: |
11+
MIT License
1212
13-
Copyright (c) Matteo Collina and Undici contributors
13+
Copyright (c) Matteo Collina and Undici contributors
1414
15-
Permission is hereby granted, free of charge, to any person obtaining a copy
16-
of this software and associated documentation files (the "Software"), to deal
17-
in the Software without restriction, including without limitation the rights
18-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
19-
copies of the Software, and to permit persons to whom the Software is
20-
furnished to do so, subject to the following conditions:
15+
Permission is hereby granted, free of charge, to any person obtaining a copy
16+
of this software and associated documentation files (the "Software"), to deal
17+
in the Software without restriction, including without limitation the rights
18+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
19+
copies of the Software, and to permit persons to whom the Software is
20+
furnished to do so, subject to the following conditions:
2121
22-
The above copyright notice and this permission notice shall be included in all
23-
copies or substantial portions of the Software.
22+
The above copyright notice and this permission notice shall be included in all
23+
copies or substantial portions of the Software.
2424
25-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
26-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
27-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
28-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
29-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
30-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
31-
SOFTWARE.
32-
- sources: README.md
33-
text: MIT
25+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
26+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
27+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
28+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
29+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
30+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
31+
SOFTWARE.
32+
- sources: README.md
33+
text: MIT
3434
notices: []

.prettierignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ coverage/
66
npm-lock.yaml
77
.git/
88
*.log
9-
*.lock
9+
*.lock
10+
pnpm-lock.yaml

0 commit comments

Comments
 (0)