Skip to content

Commit 6bc29d6

Browse files
authored
chore: update dependencies and fix TypeScript config (#10)
* chore: update dependencies and fix TypeScript config * chore: update dependencies and fix TypeScript config * chore: update pnpm-lock.yaml * fix: restore baseUrl in tsconfig (erroneously removed) * fix: pin esbuild-plugin-browserslist to 1.0.2 for ESM compatibility
1 parent 3562229 commit 6bc29d6

3 files changed

Lines changed: 951 additions & 949 deletions

File tree

package.json

Lines changed: 63 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -1,58 +1,63 @@
1-
{
2-
"url": "https://tiddly-gittly.github.io/Modern.TiddlyDev/",
3-
"license": "MIT",
4-
"version": "0.0.2",
5-
"scripts": {
6-
"dev": "tiddlywiki-plugin-dev dev",
7-
"dev:lan": "tiddlywiki-plugin-dev dev --lan",
8-
"dev:wiki": "tiddlywiki-plugin-dev dev --write-wiki",
9-
"test": "tiddlywiki-plugin-dev test",
10-
"build": "npm run clean && tiddlywiki-plugin-dev build",
11-
"lint": "eslint ./src --ext js,ts,tsx,json",
12-
"lint:fix": "eslint ./src --ext ts,tsx,json --fix",
13-
"check": "tsc --noEmit --skipLibCheck",
14-
"publish": "npm run clean && tiddlywiki-plugin-dev publish",
15-
"reset": "rimraf ./**/node_modules",
16-
"clean": "rimraf dist",
17-
"prepare": "husky install",
18-
"update": "npm-check-updates -u && dprint config update",
19-
"new": "tiddlywiki-plugin-dev new",
20-
"build:library": "npm run clean && tiddlywiki-plugin-dev build --library --output dist/library",
21-
"publish:offline": "npm run clean && tiddlywiki-plugin-dev publish --offline"
22-
},
23-
"engines": {
24-
"node": ">=16"
25-
},
26-
"husky": {
27-
"hooks": {
28-
"pre-commit": "lint-staged"
29-
}
30-
},
31-
"lint-staged": {
32-
"*.{ts,tsx}": [
33-
"node --max_old_space_size=8192 ./node_modules/eslint/bin/eslint.js --fix --color --cache --quiet"
34-
],
35-
"*.{js,jsx,mjs,mjsx,cjs,cjsx}": [
36-
"node --max_old_space_size=8192 ./node_modules/eslint/bin/eslint.js --fix --color --cache --quiet"
37-
]
38-
},
39-
"devDependencies": {
40-
"@modern-js/tsconfig": "^2.68.19",
41-
"@types/jasmine": "^5.1.12",
42-
"@types/node": "^24.10.0",
43-
"dprint": "^0.50.2",
44-
"eslint-config-tidgi": "^2.2.0",
45-
"husky": "^9.1.7",
46-
"lint-staged": "^16.2.6",
47-
"postcss": "^8.5.6",
48-
"rimraf": "^6.1.0",
49-
"ts-node": "^10.9.2",
50-
"tw5-typed": "^0.6.8",
51-
"typescript": "^5.9.3"
52-
},
53-
"dependencies": {
54-
"npm-check-updates": "^19.1.2",
55-
"tiddlywiki": "^5.3.8",
56-
"tiddlywiki-plugin-dev": "^0.3.2"
57-
}
58-
}
1+
{
2+
"url": "https://tiddly-gittly.github.io/Modern.TiddlyDev/",
3+
"license": "MIT",
4+
"version": "0.0.2",
5+
"scripts": {
6+
"dev": "tiddlywiki-plugin-dev dev",
7+
"dev:lan": "tiddlywiki-plugin-dev dev --lan",
8+
"dev:wiki": "tiddlywiki-plugin-dev dev --write-wiki",
9+
"test": "tiddlywiki-plugin-dev test",
10+
"build": "npm run clean && tiddlywiki-plugin-dev build",
11+
"lint": "eslint ./src --ext js,ts,tsx,json",
12+
"lint:fix": "eslint ./src --ext ts,tsx,json --fix",
13+
"check": "tsc --noEmit --skipLibCheck",
14+
"publish": "npm run clean && tiddlywiki-plugin-dev publish",
15+
"reset": "rimraf ./**/node_modules",
16+
"clean": "rimraf dist",
17+
"prepare": "husky install",
18+
"update": "npm-check-updates -u && dprint config update",
19+
"new": "tiddlywiki-plugin-dev new",
20+
"build:library": "npm run clean && tiddlywiki-plugin-dev build --library --output dist/library",
21+
"publish:offline": "npm run clean && tiddlywiki-plugin-dev publish --offline"
22+
},
23+
"engines": {
24+
"node": ">=16"
25+
},
26+
"husky": {
27+
"hooks": {
28+
"pre-commit": "lint-staged"
29+
}
30+
},
31+
"lint-staged": {
32+
"*.{ts,tsx}": [
33+
"node --max_old_space_size=8192 ./node_modules/eslint/bin/eslint.js --fix --color --cache --quiet"
34+
],
35+
"*.{js,jsx,mjs,mjsx,cjs,cjsx}": [
36+
"node --max_old_space_size=8192 ./node_modules/eslint/bin/eslint.js --fix --color --cache --quiet"
37+
]
38+
},
39+
"devDependencies": {
40+
"@modern-js/tsconfig": "^3.1.3",
41+
"@types/jasmine": "^6.0.0",
42+
"@types/node": "^25.6.0",
43+
"dprint": "^0.54.0",
44+
"eslint-config-tidgi": "^2.2.0",
45+
"husky": "^9.1.7",
46+
"lint-staged": "^16.4.0",
47+
"postcss": "^8.5.9",
48+
"rimraf": "^6.1.3",
49+
"ts-node": "^10.9.2",
50+
"tw5-typed": "^1.1.5",
51+
"typescript": "^6.0.2"
52+
},
53+
"dependencies": {
54+
"npm-check-updates": "^20.0.1",
55+
"tiddlywiki": "^5.3.8",
56+
"tiddlywiki-plugin-dev": "^0.4.4"
57+
},
58+
"pnpm": {
59+
"overrides": {
60+
"esbuild-plugin-browserslist": "1.0.2"
61+
}
62+
}
63+
}

0 commit comments

Comments
 (0)