Skip to content

Commit dc5a05b

Browse files
committed
Remove dist from inertia-helpers import
1 parent 43cde5a commit dc5a05b

File tree

4 files changed

+10
-8
lines changed

4 files changed

+10
-8
lines changed

.gitignore

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
node_modules/
2-
dist/
3-
npm-debug.log
4-
package-lock.json
1+
/node_modules/
2+
/dist/
3+
/inertia-helpers/
4+
/npm-debug.log
5+
/package-lock.json

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
"main": "dist/index.js",
1818
"types": "dist/index.d.ts",
1919
"scripts": {
20-
"build": "rm -rf dist && npm run build-plugin && npm run build-inertia-helpers",
21-
"build-plugin": "tsc",
22-
"build-inertia-helpers": "tsc --project tsconfig.inertia-helpers.json",
20+
"build": "npm run build-plugin && npm run build-inertia-helpers",
21+
"build-plugin": "rm -rf dist && tsc",
22+
"build-inertia-helpers": "rm -rf inertia-helpers && tsc --project tsconfig.inertia-helpers.json",
2323
"lint": "eslint --ext .ts ./src ./tests",
2424
"test": "vitest run"
2525
},
File renamed without changes.

tsconfig.inertia-helpers.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
{
22
"extends": "./tsconfig.json",
33
"compilerOptions": {
4+
"outDir": "inertia-helpers",
45
"target": "ES2020",
56
"module": "ES2020",
67
},
78
"include": [
8-
"./src/inertia-helpers.ts"
9+
"./src/inertia-helpers/index.ts"
910
]
1011
}

0 commit comments

Comments
 (0)