@xpadev-net/niconicomments 0.2.76 → 0.2.78

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/dist/bundle.d.ts +3273 -3181
  2. package/dist/bundle.js +6039 -5094
  3. package/package.json +29 -27
package/package.json CHANGED
@@ -1,26 +1,29 @@
1
1
  {
2
2
  "name": "@xpadev-net/niconicomments",
3
- "version": "0.2.76",
3
+ "version": "0.2.78",
4
4
  "description": "NiconiComments is a comment drawing library that is somewhat compatible with the official Nico Nico Douga player.",
5
5
  "main": "dist/bundle.js",
6
6
  "types": "dist/bundle.d.ts",
7
+ "sideEffects": false,
7
8
  "scripts": {
8
9
  "build": "npx rimraf dist&&npm run build:ts&&npm run build:dts",
9
- "build:ts": "rollup -c rollup.config.mjs",
10
- "build:dts": "npx copyfiles -u 2 src/@types/*.d.ts dist/dts/@types/&&node ./util/resolve-path-alias.js&&rollup -c rollup.config.dts.mjs",
11
- "watch": "rollup -c rollup.config.mjs -w",
10
+ "build:ts": "rolldown -c rolldown.config.mjs",
11
+ "build:dts": "rolldown -c rolldown.config.dts.mjs",
12
+ "watch": "rolldown -c rolldown.config.mjs -w",
12
13
  "typedoc": "typedoc --entryPointStrategy Expand --out ./docs/type/ ./src/",
13
14
  "prepublishOnly": "npm run build",
14
- "check-types": "npx tsc --noEmit --jsx react",
15
+ "check-types": "tsc --noEmit --jsx react --types node --project tsconfig.json",
15
16
  "eslint": "biome lint src",
16
17
  "eslint:fix": "biome lint --write src",
17
18
  "format": "biome format src",
18
19
  "format:fix": "biome format --write src",
19
20
  "lint": "biome check src",
20
- "lint:fix": "biome check --apply-unsafe src",
21
+ "lint:fix": "biome check --write --unsafe src",
21
22
  "prepare": "lefthook install",
22
23
  "test": "docker-compose run --rm pw",
23
- "test-server": "http-server"
24
+ "test-server": "http-server",
25
+ "test:unit": "vitest run",
26
+ "bench": "vitest bench --run"
24
27
  },
25
28
  "repository": {
26
29
  "type": "git",
@@ -45,30 +48,29 @@
45
48
  "homepage": "https://xpadev-net.github.io/niconicomments/",
46
49
  "license": "MIT",
47
50
  "devDependencies": {
48
- "@babel/core": "^7.27.4",
49
- "@babel/preset-env": "^7.27.2",
50
- "@biomejs/biome": "^1.9.4",
51
- "@playwright/test": "^1.53.1",
52
- "@rollup/plugin-babel": "^6.0.4",
53
- "@rollup/plugin-commonjs": "^28.0.6",
54
- "@rollup/plugin-json": "^6.1.0",
55
- "@rollup/plugin-node-resolve": "^15.3.1",
56
- "@rollup/plugin-typescript": "^11.1.6",
57
- "@types/node": "^22.15.32",
58
- "copyfiles": "^2.4.1",
51
+ "@biomejs/biome": "^2.4.9",
52
+ "@codspeed/vitest-plugin": "^5.2.0",
53
+ "@playwright/test": "^1.58.2",
54
+ "@types/node": "^24.12.0",
59
55
  "http-server": "^14.1.1",
60
- "lefthook": "^1.11.14",
61
- "rimraf": "^6.0.1",
62
- "rollup": "^4.44.0",
63
- "rollup-plugin-dts": "^6.2.1",
64
- "rollup-plugin-typescript-paths": "^1.5.0",
56
+ "lefthook": "^2.1.4",
57
+ "rimraf": "^6.1.3",
58
+ "rolldown": "1.0.0-rc.12",
59
+ "rolldown-plugin-dts": "^0.23.2",
65
60
  "tslib": "^2.8.1",
66
- "typedoc": "^0.26.11",
67
- "typedoc-plugin-missing-exports": "^3.1.0",
68
- "typescript": "^5.8.3",
69
- "valibot": "^1.1.0"
61
+ "typedoc": "^0.28.18",
62
+ "typedoc-plugin-missing-exports": "^4.1.2",
63
+ "typescript": "^6.0.2",
64
+ "valibot": "^1.3.1",
65
+ "vitest": "^4.1.1"
70
66
  },
71
67
  "engines": {
72
68
  "node": ">=20.0.0"
69
+ },
70
+ "pnpm": {
71
+ "onlyBuiltDependencies": [
72
+ "@biomejs/biome",
73
+ "lefthook"
74
+ ]
73
75
  }
74
76
  }