Skip to content

Commit f4b56da

Browse files
committed
fix: Upgrade dependencies
1 parent 7f9afb9 commit f4b56da

File tree

8 files changed

+932
-2481
lines changed

8 files changed

+932
-2481
lines changed

.denolint.json

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

.github/workflows/ci.yml

Lines changed: 24 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,39 @@
11
name: Test or Release
22

33
on:
4-
- push
5-
- pull_request
4+
push:
5+
branches:
6+
- master
7+
tags-ignore:
8+
- '**'
9+
paths-ignore:
10+
- '**/*.md'
11+
- LICENSE
12+
pull_request:
613

714
jobs:
815
test-or-release:
9-
runs-on: ubuntu-latest
16+
runs-on: macos-13
1017
steps:
11-
- name: Checkout Sources
12-
uses: actions/checkout@v3
13-
- name: Install Node
14-
uses: actions/setup-node@v3
18+
- uses: actions/checkout@v4
19+
- uses: pnpm/action-setup@v4
20+
with:
21+
version: latest
22+
- uses: actions/setup-node@v4
1523
with:
1624
node-version: 'lts/*'
1725
registry-url: 'https://registry.npmjs.org'
18-
- name: Install PNPM
19-
uses: pnpm/action-setup@v2
26+
cache: 'pnpm'
27+
- run: pnpm i --frozen-lockfile --no-verify-store-integrity
28+
- run: npm test
29+
- uses: codecov/codecov-action@v4
30+
if: ${{ github.ref_name == 'master' }}
2031
with:
21-
version: latest
22-
run_install: |
23-
- args: [--frozen-lockfile, --no-verify-store-integrity]
24-
- name: Test
25-
run: npm test
26-
- name: Coverage
27-
uses: codecov/codecov-action@v3
28-
- name: Publish
29-
uses: cycjimmy/semantic-release-action@v3
32+
token: ${{ secrets.CODECOV_TOKEN }}
33+
- uses: prantlf/publish-release-action@v1
34+
if: ${{ github.ref_name == 'master' }}
3035
with:
31-
semantic_version: 19
32-
branches: master
36+
no-archives: true
3337
env:
3438
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3539
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

CHANGELOG.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
## [2.0.2](https://github.com/prantlf/rollup-plugin-jsonlint/compare/v2.0.1...v2.0.2) (2023-10-08)
1+
# Changes
22

3+
## [2.0.2](https://github.com/prantlf/rollup-plugin-jsonlint/compare/v2.0.1...v2.0.2) (2023-10-08)
34

45
### Bug Fixes
56

67
* Upgrade dependencies, support Rollup 4 ([fb22dce](https://github.com/prantlf/rollup-plugin-jsonlint/commit/fb22dce45679c8960166dadbfbb2032777586e7d))
78

89
## [2.0.1](https://github.com/prantlf/rollup-plugin-jsonlint/compare/v2.0.0...v2.0.1) (2023-04-27)
910

10-
1111
### Bug Fixes
1212

1313
* Upgrade dependencies ([da091d3](https://github.com/prantlf/rollup-plugin-jsonlint/commit/da091d354524244e597117036e73cc5d86d204d5))
1414

15-
# [14.0.0](https://github.com/prantlf/jsonlint/compare/v13.1.0...v14.0.0) (2023-03-05)
15+
## [14.0.0](https://github.com/prantlf/jsonlint/compare/v13.1.0...v14.0.0) (2023-03-05)
1616

1717
### Features
1818

@@ -31,13 +31,13 @@ ew and could perform a stricter validation.
3131

3232
* Upgrade dependencies, support Rollup 3 ([a6ec4a7](https://github.com/prantlf/jsonlint/commit/a6ec4a7ae64909a1ec8483e065ddff0b951e9e3c))
3333

34-
# [0.0.2](https://github.com/prantlf/jsonlint/compare/v0.0.1...v0.0.2) (2022-05-04)
34+
## [0.0.2](https://github.com/prantlf/jsonlint/compare/v0.0.1...v0.0.2) (2022-05-04)
3535

3636
### Bug Fixes
3737

3838
* Upgrade dependnecies ([f8f777c](https://github.com/prantlf/jsonlint/commit/f8f777c55ae27e3f17b7d68359733f737989a019))
3939

40-
# 0.0.1 (2019-12-28)
40+
## 0.0.1 (2019-12-28)
4141

4242
### Features
4343

biome.json

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
{
2+
"$schema": "https://biomejs.dev/schemas/1.7.3/schema.json",
3+
"organizeImports": {
4+
"enabled": true
5+
},
6+
"files": {
7+
"ignore": [
8+
"lib/*.cjs"
9+
]
10+
},
11+
"linter": {
12+
"enabled": true,
13+
"rules": {
14+
"recommended": true,
15+
"style": {
16+
"noParameterAssign": "off"
17+
},
18+
"complexity": {
19+
"useArrowFunction": "off"
20+
}
21+
}
22+
},
23+
"formatter": {
24+
"enabled": true,
25+
"formatWithErrors": false,
26+
"indentStyle": "space",
27+
"indentWidth": 2,
28+
"lineEnding": "lf",
29+
"lineWidth": 90
30+
},
31+
"javascript": {
32+
"formatter": {
33+
"arrowParentheses": "asNeeded",
34+
"bracketSpacing": true,
35+
"quoteProperties": "asNeeded",
36+
"quoteStyle": "single",
37+
"semicolons": "asNeeded",
38+
"trailingComma": "none"
39+
}
40+
},
41+
"json": {
42+
"parser": {
43+
"allowComments": false,
44+
"allowTrailingCommas": false
45+
},
46+
"formatter": {
47+
"enabled": true,
48+
"trailingCommas": "none"
49+
}
50+
}
51+
}

lib/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Plugin } from 'rollup'
1+
import type { Plugin } from 'rollup'
22

33
export interface RollupJsonLintOptions {
44
/**

package.json

Lines changed: 9 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -34,19 +34,10 @@
3434
},
3535
"scripts": {
3636
"prepare": "rollup -c",
37-
"lint": "denolint && tsc --noEmit test/types.ts",
37+
"lint": "biome lint *.js lib test/*.js && tsc --noEmit test/types.ts",
3838
"check": "teru test/*.cjs && teru-esm test/*.js",
3939
"cover": "c8 teru-esm test/*.js",
40-
"test": "denolint && tsc --noEmit test/types.ts && teru test/*.cjs && c8 teru-esm test/*.js"
41-
},
42-
"ava": {
43-
"files": [
44-
"!**/fixtures/**",
45-
"!**/helpers/**",
46-
"!**/recipes/**",
47-
"!**/types.ts",
48-
"!**/util/**"
49-
]
40+
"test": "biome lint *.js lib test/*.js && tsc --noEmit test/types.ts && teru test/*.cjs && c8 teru-esm test/*.js"
5041
},
5142
"c8": {
5243
"exclude": [
@@ -58,38 +49,21 @@
5849
"text"
5950
]
6051
},
61-
"release": {
62-
"plugins": [
63-
"@semantic-release/commit-analyzer",
64-
"@semantic-release/release-notes-generator",
65-
"@semantic-release/changelog",
66-
"@semantic-release/npm",
67-
[
68-
"@semantic-release/github",
69-
{
70-
"failComment": false
71-
}
72-
],
73-
"@semantic-release/git"
74-
]
75-
},
7652
"dependencies": {
7753
"@prantlf/jsonlint": "14.0.3",
7854
"rollup-pluginutils": "2.8.2"
7955
},
8056
"devDependencies": {
81-
"@semantic-release/changelog": "6.0.3",
82-
"@semantic-release/git": "10.0.1",
83-
"@types/node": "20.8.3",
84-
"c8": "8.0.1",
85-
"denolint": "^2.0.12",
86-
"rollup": "4.0.2",
57+
"@biomejs/biome": "^1.8.3",
58+
"@types/node": "22.1.0",
59+
"c8": "10.1.2",
60+
"rollup": "4.20.0",
8761
"rollup-plugin-jsonlint": "link:",
8862
"rollup-plugin-node-resolve": "^5.2.0",
8963
"tehanu": "^1.0.1",
90-
"tehanu-repo-coco": "^1.0.0",
91-
"tehanu-teru": "^1.0.0",
92-
"typescript": "5.2.2"
64+
"tehanu-repo-coco": "^1.0.1",
65+
"tehanu-teru": "^1.0.1",
66+
"typescript": "5.5.4"
9367
},
9468
"peerDependencies": {
9569
"rollup": "^1.20 || ^2 || ^3 || ^4"

0 commit comments

Comments
 (0)