Skip to content

Commit

Permalink
chore: generate declaration maps
Browse files Browse the repository at this point in the history
  • Loading branch information
Akryum committed Apr 15, 2024
1 parent 6d5ba5c commit d139b28
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 4 deletions.
1 change: 1 addition & 0 deletions packages/histoire-controls/tsconfig.json
Expand Up @@ -31,6 +31,7 @@
// Strict
"noImplicitAny": false,
"noImplicitThis": true,
// Output
"outDir": "dist",
"removeComments": false,
"sourceMap": false,
Expand Down
4 changes: 2 additions & 2 deletions packages/histoire-shared/package.json
Expand Up @@ -25,8 +25,8 @@
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"scripts": {
"build": "rimraf dist && tsc -d",
"watch": "tsc -d -w --sourceMap"
"build": "rimraf dist && tsc",
"watch": "tsc -w --sourceMap"
},
"peerDependencies": {
"vite": "^2.9.0 || ^3.0.0 || ^4.0.0 || ^5.0.0"
Expand Down
3 changes: 3 additions & 0 deletions packages/histoire-shared/tsconfig.json
Expand Up @@ -28,6 +28,9 @@
// Strict
"noImplicitAny": false,
"noImplicitThis": true,
// Output
"declaration": true,
"declarationMap": true,
"outDir": "dist",
"removeComments": false,
"sourceMap": false,
Expand Down
4 changes: 2 additions & 2 deletions packages/histoire/package.json
Expand Up @@ -37,8 +37,8 @@
"histoire": "./bin.mjs"
},
"scripts": {
"build": "rimraf dist && tsc -d",
"watch": "tsc -d -w --sourceMap",
"build": "rimraf dist && tsc",
"watch": "tsc -w --sourceMap",
"test": "vitest run",
"test:dev": "vitest"
},
Expand Down
2 changes: 2 additions & 0 deletions packages/histoire/tsconfig.json
Expand Up @@ -21,7 +21,9 @@
// Strict
"noImplicitAny": false,
"noImplicitThis": true,
// Output
"declaration": true,
"declarationMap": true,
"outDir": "dist",
"removeComments": false,
"sourceMap": false,
Expand Down

0 comments on commit d139b28

Please sign in to comment.