Skip to content

Commit a2d6369

Browse files
authored
Merge pull request #2 from block65/freshen202501
chore: hmm. upgrades.
2 parents f321df1 + 02ad432 commit a2d6369

29 files changed

Lines changed: 1812 additions & 8660 deletions

.eslintignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

.eslintrc.cjs

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

.eslintrc.json

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

.github/workflows/deploy.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,11 @@ jobs:
99
publish-npm:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v3
12+
- uses: actions/checkout@v4
1313

1414
- uses: pnpm/action-setup@v2
15-
with:
16-
version: 8
1715

18-
- uses: actions/setup-node@v3
16+
- uses: actions/setup-node@v4
1917
with:
2018
node-version: 20
2119
registry-url: https://registry.npmjs.org/

.github/workflows/pr.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,11 @@ jobs:
1717
- uses: actions/checkout@v3
1818

1919
- uses: pnpm/action-setup@v2
20-
with:
21-
version: 8
2220

23-
- uses: actions/setup-node@v3
21+
- uses: actions/setup-node@v4
2422
with:
2523
node-version: ${{ matrix.version }}
2624
registry-url: https://registry.npmjs.org/
2725
cache: 'pnpm'
2826

29-
- run: make test
30-
env:
31-
NODE_ENV: development
27+
- run: make test publint

LICENSE.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
Copyright 2019 Block65 Pte Ltd
1+
Copyright 2025 Block65 Pte. Ltd.
22

3-
This software and associated documentation files (the "Software") is proprietary
4-
and unlicensed.
3+
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:
54

6-
You are not permitted to reproduce/copy/distribute any part of the Software
7-
unless as part of similarly proprietary and unlicensed Block65 Pte Ltd
8-
intellectual property.
5+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6+
7+
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.

Makefile

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ distclean:
88
rm -rf node_modules
99

1010
.PHONY: clean
11-
clean:
11+
clean: node_modules
1212
pnpm exec tsc -b --clean
1313

1414
.PHONY: test
15-
test:
16-
NODE_OPTIONS=--experimental-vm-modules pnpm exec jest
15+
test: node_modules
16+
pnpm exec vitest
1717

1818
node_modules: package.json
1919
pnpm install
@@ -22,5 +22,13 @@ dist: node_modules tsconfig.json $(SRCS)
2222
pnpm exec tsc
2323

2424
.PHONY: dev
25-
dev:
25+
dev: node_modules
2626
pnpm exec tsc -w
27+
28+
.PHONY: pretty
29+
pretty: node_modules
30+
pnpm exec prettier --write .
31+
32+
.PHONY: publint
33+
publint: dist
34+
npx publint --strict

__tests__/__snapshots__/serialize.test.ts.snap

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

0 commit comments

Comments
 (0)