Skip to content

Commit 2f557bd

Browse files
committed
chore: build adjustments
1 parent 360ba20 commit 2f557bd

12 files changed

+59
-11
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"license": "AGPL",
1010
"private": true,
1111
"scripts": {
12+
"demo:functions": "ts-node-esm examples/functions.ts",
1213
"demo:persona": "ts-node-esm examples/persona.ts",
1314
"demo:autodocs": "ts-node-esm examples/autodocs.ts",
1415
"demo:ai-debate": "ts-node-esm examples/ai-presidential-debate.ts",

packages/core/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@
5252
"dist"
5353
],
5454
"scripts": {
55-
"watch": "tsc --watch",
56-
"build": "tsc",
55+
"watch": "tsc --watch --project tsconfig.production.json",
56+
"build": "tsc --project tsconfig.production.json",
5757
"clean": "npx rimraf dist"
5858
},
5959
"dependencies": {
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"extends": "../../tsconfig.production.json",
3+
"compilerOptions": {
4+
"outDir": "dist",
5+
"declarationDir": "./dist"
6+
},
7+
"include": ["src"]
8+
}

packages/openai/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@
5252
"dist"
5353
],
5454
"scripts": {
55-
"watch": "tsc --watch",
56-
"build": "tsc",
55+
"watch": "tsc --watch --project tsconfig.production.json",
56+
"build": "tsc --project tsconfig.production.json",
5757
"clean": "npx rimraf dist"
5858
},
5959
"dependencies": {
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"extends": "../../tsconfig.production.json",
3+
"compilerOptions": {
4+
"outDir": "dist",
5+
"declarationDir": "./dist"
6+
},
7+
"include": ["src"]
8+
}

packages/stable-diffusion/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@
4646
"dist"
4747
],
4848
"scripts": {
49-
"watch": "tsc --watch",
50-
"build": "tsc",
49+
"watch": "tsc --watch --project tsconfig.production.json",
50+
"build": "tsc --project tsconfig.production.json",
5151
"clean": "npx rimraf dist"
5252
},
5353
"dependencies": {
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"extends": "../../tsconfig.production.json",
3+
"compilerOptions": {
4+
"outDir": "dist",
5+
"declarationDir": "./dist"
6+
},
7+
"include": ["src"]
8+
}

packages/store/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@
4040
"dist"
4141
],
4242
"scripts": {
43-
"watch": "tsc --watch",
44-
"build": "tsc",
43+
"watch": "tsc --watch --project tsconfig.production.json",
44+
"build": "tsc --project tsconfig.production.json",
4545
"clean": "npx rimraf dist"
4646
},
4747
"dependencies": {
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"extends": "../../tsconfig.production.json",
3+
"compilerOptions": {
4+
"outDir": "dist",
5+
"declarationDir": "./dist"
6+
},
7+
"include": ["src"]
8+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"extends": "../../tsconfig.production.json",
3+
"compilerOptions": {
4+
"outDir": "dist",
5+
"declarationDir": "./dist"
6+
},
7+
"include": ["src"]
8+
}

0 commit comments

Comments
 (0)