Skip to content

Commit 2e45007

Browse files
committed
feat: Upgrade jsonlint to get better JSON Schema support
BREAKING CHANGE: The default environment recognises only JSON Schema drafts 06 and 07 automatically. Not 04 any more. The environment for JSON Schema drafts 04 has to be selected explicitly. Also, JSON Schema drafts 06 and 07 are handled by AJV@8 instead of AJV@6. It shouldn't make any difference, but the implementation is new and could perform a stricter validation.
1 parent 79b9895 commit 2e45007

File tree

3 files changed

+115
-107
lines changed

3 files changed

+115
-107
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,26 +9,26 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- name: Checkout Sources
12-
uses: actions/checkout@v2
12+
uses: actions/checkout@v3
1313
- name: Install Node
14-
uses: actions/setup-node@v2
14+
uses: actions/setup-node@v3
1515
with:
1616
node-version: 'lts/*'
1717
registry-url: 'https://registry.npmjs.org'
1818
- name: Install PNPM
1919
uses: pnpm/action-setup@v2
2020
with:
21-
version: '>=6'
21+
version: latest
2222
run_install: |
2323
- args: [--frozen-lockfile, --no-verify-store-integrity]
2424
- name: Test
2525
run: npm test
2626
- name: Coverage
27-
uses: codecov/codecov-action@v2
27+
uses: codecov/codecov-action@v3
2828
- name: Publish
2929
uses: cycjimmy/semantic-release-action@v2
3030
with:
31-
semantic_version: 18
31+
semantic_version: 19
3232
branches: master
3333
env:
3434
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,20 +59,20 @@
5959
]
6060
},
6161
"dependencies": {
62-
"@prantlf/jsonlint": "11.7.0",
62+
"@prantlf/jsonlint": "14.0.0",
6363
"rollup-pluginutils": "2.8.2"
6464
},
6565
"devDependencies": {
66-
"@types/node": "18.11.7",
67-
"c8": "7.12.0",
68-
"denolint": "^2.0.4",
69-
"rollup": "3.2.3",
66+
"@types/node": "18.14.6",
67+
"c8": "7.13.0",
68+
"denolint": "^2.0.7",
69+
"rollup": "3.18.0",
7070
"rollup-plugin-jsonlint": "link:",
7171
"rollup-plugin-node-resolve": "^5.2.0",
7272
"tehanu": "^1.0.1",
7373
"tehanu-repo-coco": "^1.0.0",
7474
"tehanu-teru": "^1.0.0",
75-
"typescript": "4.8.4"
75+
"typescript": "4.9.5"
7676
},
7777
"peerDependencies": {
7878
"rollup": "^1.20 || ^2 || ^3"

0 commit comments

Comments
 (0)