Skip to content

Commit c3a5a28

Browse files
committed
chore: pin dependency versions and add clean scripts
1 parent 3d59faf commit c3a5a28

File tree

4 files changed

+214
-209
lines changed

4 files changed

+214
-209
lines changed

examples/basic/package.json

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,23 +7,24 @@
77
"build": "pranx --build",
88
"start": "pranx --start",
99
"check": "tsc --noEmit",
10-
"format": "prettier --write --cache src"
10+
"format": "prettier --write --cache src",
11+
"clean": "rm -rf ./dist ./node_modules ./.pranx"
1112
},
1213
"author": "LiasCode <liascode.dev@gmail.com>",
1314
"license": "MIT",
1415
"dependencies": {
1516
"pranx": "workspace:^",
16-
"preact": "^10.27.1"
17+
"preact": "10.27.1"
1718
},
1819
"devDependencies": {
19-
"@tailwindcss/postcss": "^4.1.13",
20+
"@tailwindcss/postcss": "4.1.13",
2021
"@types/mdx": "^2.0.13",
2122
"@types/node": "^20.19.13",
22-
"github-markdown-css": "^5.8.1",
23-
"postcss": "^8.5.6",
24-
"prettier": "^3.6.2",
25-
"prettier-plugin-organize-imports": "^4.2.0",
26-
"tailwindcss": "^4.1.13",
27-
"typescript": "^5.9.2"
23+
"github-markdown-css": "5.8.1",
24+
"postcss": "8.5.6",
25+
"prettier": "3.6.2",
26+
"prettier-plugin-organize-imports": "4.2.0",
27+
"tailwindcss": "4.1.13",
28+
"typescript": "5.9.2"
2829
}
2930
}

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,15 @@
1010
"email": "liascode.dev@gmail.com",
1111
"url": "https://lias-code.pages.dev"
1212
},
13+
"scripts": {
14+
"clean": "rm -rf ./node_modules ./pnpm-lock.yaml"
15+
},
1316
"engines": {
1417
"node": ">=18.0.0"
1518
},
1619
"license": "MIT",
1720
"devDependencies": {
1821
"@biomejs/biome": "1.8.3",
19-
"prettier": "^3.6.2"
22+
"prettier": "3.6.2"
2023
}
2124
}

packages/pranx/package.json

Lines changed: 34 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"format": "prettier --write --cache src scripts types",
1414
"lint": "biome lint . --fix --unsafe",
1515
"prepublishOnly": "bun run build:prod",
16+
"clean": "rm -rf ./dist ./node_modules",
1617
"release": "pnpm run build:prod && changelogen --release --prerelease --publish -publishTag beta && git push --follow-tags"
1718
},
1819
"repository": {
@@ -69,45 +70,45 @@
6970
},
7071
"license": "MIT",
7172
"dependencies": {
72-
"@babel/core": "^7.28.4",
73-
"@babel/parser": "^7.28.4",
74-
"@mdx-js/esbuild": "^3.1.1",
75-
"@swc/html": "^1.13.5",
76-
"c12": "^3.2.0",
77-
"chokidar": "^4.0.3",
78-
"citty": "^0.1.6",
79-
"consola": "^3.4.2",
80-
"destr": "^2.0.5",
81-
"esbuild": "^0.25.9",
82-
"esbuild-plugin-tailwindcss": "^2.1.0",
83-
"fs-extra": "^11.3.1",
84-
"get-port-please": "^3.2.0",
85-
"glob": "^11.0.3",
73+
"@babel/core": "7.28.4",
74+
"@babel/parser": "7.28.4",
75+
"@mdx-js/esbuild": "3.1.1",
76+
"@swc/html": "1.13.5",
77+
"c12": "3.2.0",
78+
"chokidar": "4.0.3",
79+
"citty": "0.1.6",
80+
"consola": "3.4.2",
81+
"destr": "2.0.5",
82+
"esbuild": "0.25.9",
83+
"esbuild-plugin-tailwindcss": "2.1.0",
84+
"fs-extra": "11.3.1",
85+
"get-port-please": "3.2.0",
86+
"glob": "11.0.3",
8687
"h3": "2.0.0-beta.3",
87-
"kleur": "^4.1.5",
88-
"magic-string": "^0.30.18",
89-
"ofetch": "^1.4.1",
90-
"pathe": "^2.0.3",
91-
"preact-iso": "^2.10.0",
92-
"ufo": "^1.6.1",
93-
"unhead": "^2.0.14"
88+
"kleur": "4.1.5",
89+
"magic-string": "0.30.18",
90+
"ofetch": "1.4.1",
91+
"pathe": "2.0.3",
92+
"preact-iso": "2.10.0",
93+
"ufo": "1.6.1",
94+
"unhead": "2.0.14"
9495
},
9596
"peerDependencies": {
96-
"postcss": "^8.5.6",
97-
"preact": "^10.27.1",
98-
"preact-render-to-string": "^6.6.1"
97+
"postcss": "8.5.6",
98+
"preact": "10.27.1",
99+
"preact-render-to-string": "6.6.1"
99100
},
100101
"devDependencies": {
101102
"@biomejs/biome": "1.8.3",
102-
"@types/fs-extra": "^11.0.4",
103-
"@types/mdx": "^2.0.13",
104-
"@types/node": "^20.19.13",
105-
"changelogen": "^0.6.2",
106-
"prettier": "^3.6.2",
107-
"prettier-plugin-organize-imports": "^4.2.0",
108-
"tsx": "^4.20.5",
109-
"typescript": "^5.9.2",
110-
"vitest": "^3.2.4"
103+
"@types/fs-extra": "11.0.4",
104+
"@types/mdx": "2.0.13",
105+
"@types/node": "20.19.13",
106+
"changelogen": "0.6.2",
107+
"prettier": "3.6.2",
108+
"prettier-plugin-organize-imports": "4.2.0",
109+
"tsx": "4.20.5",
110+
"typescript": "5.9.2",
111+
"vitest": "3.2.4"
111112
},
112113
"trustedDependencies": [
113114
"@biomejs/biome",

0 commit comments

Comments
 (0)