Skip to content

Commit

Permalink
Restructure build to align with typedoc and modern typescript build.
Browse files Browse the repository at this point in the history
  • Loading branch information
cefn committed Apr 30, 2023
1 parent e13165c commit 549edcb
Show file tree
Hide file tree
Showing 44 changed files with 273 additions and 12,039 deletions.
3 changes: 1 addition & 2 deletions apps/counter-dom-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,10 @@
"../../packages/store:build",
"../../packages/store-follow:build"
],
"command": "tsc && vite build",
"command": "tsc --build && vite build",
"files": [
"src/**/*",
"vite.config.ts",
"tsconfig.build.json",
"../../tsconfig.base.json"
],
"output": [
Expand Down
2 changes: 1 addition & 1 deletion apps/counter-dom-ts/tsconfig.test.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"extends": "../../tsconfig.json",
"extends": "../../tsconfig.build.json",
"include": ["playwright.config.ts", "vite.config.ts", "src/**/*", "test/**/*"]
}
5 changes: 2 additions & 3 deletions apps/counter-preact-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,10 @@
"../../packages/store:build",
"../../packages/store-react:build"
],
"command": "tsc && vite build",
"command": "tsc --build && vite build",
"files": [
"src/**/*",
"vite.config.ts",
"tsconfig.build.json",
"../../tsconfig.base.json"
],
"output": [
Expand Down Expand Up @@ -97,4 +96,4 @@
]
}
}
}
}
2 changes: 1 addition & 1 deletion apps/counter-preact-ts/tsconfig.test.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"extends": "../../tsconfig.json",
"extends": "../../tsconfig.build.json",
"include": ["playwright.config.ts", "vite.config.ts", "src/**/*", "test/**/*"]
}
5 changes: 2 additions & 3 deletions apps/counter-react-ts-edit-context/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,10 @@
"../../packages/store-edit:build",
"../../packages/store-react:build"
],
"command": "tsc && vite build",
"command": "tsc --build && vite build",
"files": [
"src/**/*",
"vite.config.ts",
"tsconfig.build.json",
"../../tsconfig.base.json"
],
"output": [
Expand Down Expand Up @@ -101,4 +100,4 @@
]
}
}
}
}
2 changes: 1 addition & 1 deletion apps/counter-react-ts-edit-context/tsconfig.test.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"extends": "../../tsconfig.json",
"extends": "../../tsconfig.build.json",
"include": ["playwright.config.ts", "vite.config.ts", "src/**/*", "test/**/*"]
}
3 changes: 1 addition & 2 deletions apps/counter-react-ts-edit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,10 @@
"../../packages/store-edit:build",
"../../packages/store-react:build"
],
"command": "tsc && vite build",
"command": "tsc --build && vite build",
"files": [
"src/**/*",
"vite.config.ts",
"tsconfig.build.json",
"../../tsconfig.base.json"
],
"output": [
Expand Down
2 changes: 1 addition & 1 deletion apps/counter-react-ts-edit/tsconfig.test.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"extends": "../../tsconfig.json",
"extends": "../../tsconfig.build.json",
"include": ["playwright.config.ts", "vite.config.ts", "src/**/*", "test/**/*"]
}
5 changes: 2 additions & 3 deletions apps/counter-react-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,10 @@
"../../packages/store:build",
"../../packages/store-react:build"
],
"command": "tsc && vite build",
"command": "tsc --build && vite build",
"files": [
"src/**/*",
"vite.config.ts",
"tsconfig.build.json",
"../../tsconfig.base.json"
],
"output": [
Expand Down Expand Up @@ -96,4 +95,4 @@
]
}
}
}
}
2 changes: 1 addition & 1 deletion apps/counter-react-ts/tsconfig.test.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"extends": "../../tsconfig.json",
"extends": "../../tsconfig.build.json",
"include": ["playwright.config.ts", "vite.config.ts", "src/**/*", "test/**/*"]
}
22 changes: 22 additions & 0 deletions apps/fast/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"compilerOptions": {
"target": "ESNext",
"useDefineForClassFields": true,
"lib": ["DOM", "DOM.Iterable", "ESNext"],
"allowJs": false,
"skipLibCheck": true,
"esModuleInterop": false,
"allowSyntheticDefaultImports": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"module": "ESNext",
"moduleResolution": "Node",
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"jsx": "react-jsx",
"types": ["vite/client"]
},
"include": ["src"],
"references": [{ "path": "./tsconfig.node.json" }]
}
9 changes: 9 additions & 0 deletions apps/fast/tsconfig.node.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"compilerOptions": {
"composite": true,
"module": "ESNext",
"moduleResolution": "Node",
"allowSyntheticDefaultImports": true
},
"include": ["vite.config.ts"]
}
22 changes: 22 additions & 0 deletions apps/tiny/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"compilerOptions": {
"target": "ESNext",
"useDefineForClassFields": true,
"lib": ["DOM", "DOM.Iterable", "ESNext"],
"allowJs": false,
"skipLibCheck": true,
"esModuleInterop": false,
"allowSyntheticDefaultImports": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"module": "ESNext",
"moduleResolution": "Node",
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"jsx": "react-jsx",
"types": ["vite/client"]
},
"include": ["src"],
"references": [{ "path": "./tsconfig.node.json" }]
}
9 changes: 9 additions & 0 deletions apps/tiny/tsconfig.node.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"compilerOptions": {
"composite": true,
"module": "ESNext",
"moduleResolution": "Node",
"allowSyntheticDefaultImports": true
},
"include": ["vite.config.ts"]
}

0 comments on commit 549edcb

Please sign in to comment.