Skip to content

Commit e29cc5d

Browse files
ci(solid): cleanup scripts (#68)
* ci(solid): cleanup scripts * Fix export extensions * Add fixedExtension option to tsdown config * Update module and types paths in package.json
1 parent f68287b commit e29cc5d

5 files changed

Lines changed: 159 additions & 537 deletions

File tree

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
"scripts": {
1111
"clean": "pnpm --filter \"./packages/**\" run clean",
1212
"test": "pnpm run test:ci",
13-
"test:pr": "nx affected --targets=test:sherif,test:knip,test:docs,test:eslint,test:lib,test:types,test:build,build",
14-
"test:ci": "nx run-many --targets=test:sherif,test:knip,test:docs,test:eslint,test:lib,test:types,test:build,build",
13+
"test:pr": "nx affected --targets=test:sherif,test:knip,test:eslint,test:lib,test:types,test:build,build",
14+
"test:ci": "nx run-many --targets=test:sherif,test:knip,test:eslint,test:lib,test:types,test:build,build",
1515
"test:eslint": "nx affected --target=test:eslint --exclude=examples/**",
1616
"test:format": "pnpm run prettier --check",
1717
"test:sherif": "sherif",
@@ -46,7 +46,6 @@
4646
"@changesets/cli": "^2.29.8",
4747
"@faker-js/faker": "^10.1.0",
4848
"@svitejs/changesets-changelog-github-compact": "^1.2.0",
49-
"@tanstack/config": "^0.22.2",
5049
"@tanstack/eslint-config": "0.3.3",
5150
"@tanstack/typedoc-config": "0.3.1",
5251
"@tanstack/vite-config": "0.4.1",

packages/typescript/ai-solid/package.json

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,12 @@
2323
"src"
2424
],
2525
"scripts": {
26-
"build": "tsdown",
27-
"dev": "tsdown --watch",
26+
"clean": "premove ./build ./dist",
2827
"test:eslint": "eslint ./src",
29-
"test:types": "tsc --noEmit",
3028
"test:lib": "vitest run",
31-
"test:lib:dev": "pnpm run test:lib --watch",
32-
"test:build": "pnpm run build",
33-
"clean": "rm -rf dist node_modules",
34-
"typecheck": "tsc --noEmit",
35-
"lint": "tsc --noEmit"
29+
"test:lib:dev": "pnpm test:lib --watch",
30+
"test:types": "tsc",
31+
"build": "tsdown"
3632
},
3733
"keywords": [
3834
"ai",
@@ -53,7 +49,7 @@
5349
"@vitest/coverage-v8": "4.0.14",
5450
"jsdom": "^27.2.0",
5551
"solid-js": "^1.9.10",
56-
"tsdown": "^0.15.9",
52+
"tsdown": "^0.17.0-beta.6",
5753
"typescript": "5.9.3",
5854
"vitest": "^4.0.14"
5955
},

packages/typescript/ai-solid/tsdown.config.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,8 @@ export default defineConfig({
88
sourcemap: true,
99
clean: true,
1010
minify: false,
11-
external: ['react'],
11+
fixedExtension: false,
12+
publint: {
13+
strict: true,
14+
},
1215
})

0 commit comments

Comments
 (0)