Skip to content

Commit f7642ae

Browse files
authored
Merge pull request #110 from xpadev-net/develop
release: v0.2.72
2 parents 2291e76 + ca5b299 commit f7642ae

27 files changed

+2596
-2948
lines changed

.eslintrc.js

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

.github/workflows/pr-test-reviewdog.yml

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

biome.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"$schema": "https://biomejs.dev/schemas/1.7.1/schema.json",
3+
"organizeImports": {
4+
"enabled": true
5+
},
6+
"linter": {
7+
"enabled": true,
8+
"rules": {
9+
"recommended": true
10+
}
11+
},
12+
"formatter": {
13+
"enabled": true,
14+
"indentStyle": "space"
15+
}
16+
}

lint-staged.config.mjs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
export default {
22
"src/**/*.{ts,tsx,json,scss,css}": [
3-
() => "npm run eslint:fix",
4-
() => "npm run check-types",
5-
() => "npm run format",
3+
() => "npm run lint:fix",
64
],
75
};

package.json

Lines changed: 16 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@xpadev-net/niconicomments",
3-
"version": "0.2.71",
3+
"version": "0.2.72",
44
"description": "NiconiComments is a comment drawing library that is somewhat compatible with the official Nico Nico Douga player.",
55
"main": "dist/bundle.js",
66
"types": "dist/bundle.d.ts",
@@ -12,12 +12,12 @@
1212
"typedoc": "typedoc --entryPointStrategy Expand --out ./docs/type/ ./src/",
1313
"prepublishOnly": "npm run build",
1414
"check-types": "npx tsc --noEmit --jsx react",
15-
"eslint": "eslint src/**/*.ts",
16-
"eslint:fix": "eslint src/**/*.ts --fix",
17-
"format": "prettier --check \"src/**/*.{tsx,ts,js,json,css,scss}\"",
18-
"format:fix": "prettier --write \"src/**/*.{tsx,ts,js,json,css,scss}\"",
19-
"lint": "npm run format&&npm run eslint&&npm run check-types",
20-
"lint:fix": "npm run format:fix&&npm run eslint:fix&&npm run check-types",
15+
"eslint": "biome lint src",
16+
"eslint:fix": "biome lint --write src",
17+
"format": "biome format src",
18+
"format:fix": "biome format --write src",
19+
"lint": "biome check src",
20+
"lint:fix": "biome check --apply-unsafe src",
2121
"prepare": "husky install",
2222
"test": "docker-compose run --rm pw",
2323
"test-server": "http-server"
@@ -45,34 +45,28 @@
4545
"homepage": "https://xpadev-net.github.io/niconicomments/",
4646
"license": "MIT",
4747
"devDependencies": {
48-
"@babel/core": "^7.23.9",
49-
"@babel/preset-env": "^7.23.9",
50-
"@playwright/test": "^1.41.2",
48+
"@babel/core": "^7.24.4",
49+
"@babel/preset-env": "^7.24.4",
50+
"@biomejs/biome": "1.7.1",
51+
"@playwright/test": "^1.43.0",
5152
"@rollup/plugin-babel": "^6.0.4",
5253
"@rollup/plugin-commonjs": "^25.0.7",
5354
"@rollup/plugin-json": "^6.1.0",
5455
"@rollup/plugin-node-resolve": "^15.2.3",
5556
"@rollup/plugin-typescript": "^11.1.6",
56-
"@types/node": "^20.11.19",
57-
"@typescript-eslint/eslint-plugin": "^7.0.1",
58-
"@typescript-eslint/parser": "^7.0.1",
57+
"@types/node": "^20.12.7",
5958
"copyfiles": "^2.4.1",
60-
"eslint": "^8.56.0",
61-
"eslint-config-prettier": "^9.1.0",
62-
"eslint-plugin-jsdoc": "^48.1.0",
63-
"eslint-plugin-simple-import-sort": "^12.0.0",
6459
"http-server": "^14.1.1",
6560
"husky": "^9.0.11",
6661
"lint-staged": "^15.2.2",
67-
"prettier": "^3.2.5",
6862
"rimraf": "^5.0.5",
69-
"rollup": "^4.12.0",
63+
"rollup": "^4.14.1",
7064
"rollup-plugin-dts": "^6.1.0",
7165
"rollup-plugin-typescript-paths": "^1.5.0",
7266
"tslib": "^2.6.2",
73-
"typedoc": "^0.25.8",
67+
"typedoc": "^0.25.13",
7468
"typedoc-plugin-missing-exports": "^2.2.0",
75-
"typescript": "^5.3.3",
76-
"valibot": "^0.28.1"
69+
"typescript": "^5.4.5",
70+
"valibot": "^0.30.0"
7771
}
7872
}

0 commit comments

Comments
 (0)