Skip to content

Commit d8983df

Browse files
turadgsamsiegart
authored andcommitted
build: prepack
1 parent ebf5d0a commit d8983df

File tree

5 files changed

+25
-3
lines changed

5 files changed

+25
-3
lines changed

packages/rpc/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"access": "public"
1010
},
1111
"scripts": {
12-
"build": "tsc",
12+
"prepack": "tsc --build tsconfig.build.json",
1313
"lint": "eslint . && tsc",
1414
"lint:fix": "eslint . --fix",
1515
"test": "vitest",

packages/rpc/tsconfig.build.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"extends": "./tsconfig.json",
3+
"compilerOptions": {
4+
"outDir": "./dist",
5+
"noEmit": false,
6+
"declaration": true,
7+
"declarationMap": true
8+
},
9+
"exclude": [
10+
"test/"
11+
]
12+
}

packages/rpc/tsconfig.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"compilerOptions": {
3-
"outDir": "./dist",
43
"target": "ESNext",
54
"useDefineForClassFields": true,
65
"lib": [

packages/web-components/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"version": "0.6.3",
77
"main": "dist/index.js",
88
"scripts": {
9-
"build": "tsc",
9+
"prepack": "tsc --build tsconfig.build.json",
1010
"lint": "run-s --continue-on-error lint:*",
1111
"lint:types": "tsc -p tsconfig.json",
1212
"lint:eslint": "eslint .",
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"extends": "./tsconfig.json",
3+
"compilerOptions": {
4+
"noEmit": false,
5+
"declaration": true,
6+
"declarationMap": true
7+
},
8+
"exclude": [
9+
"test/"
10+
]
11+
}

0 commit comments

Comments
 (0)