Skip to content

Commit

Permalink
fix: fixes broken package files from dist
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Stacy committed Sep 10, 2024
1 parent 0260232 commit 4efcb7c
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 13 deletions.
20 changes: 10 additions & 10 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
./.github
./.husky
./.vscode
./assets
./docs
./logs
./test
./dist/demo_funcs.js
./dist/demo_funcs.d.ts
.github/
.husky/
.vscode/
assets/
docs/
logs/
test/
dist/demo_funcs.js
dist/demo_funcs.d.ts
.eslint_cache
.gitattributes
.gitignore
.nvmrc
.prettierignore
.prettierrc.json
.eslint.config.js
eslint.config.js
index.html
tsconfig.json
tsconfig.prod.json
Expand Down
2 changes: 1 addition & 1 deletion eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export default tseslint.config(
{
languageOptions: {
parserOptions: {
project: './tsconfig.prod.json',
project: './tsconfig.json',
tsconfigRootDir: import.meta.dirname,
},
},
Expand Down
8 changes: 7 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,13 @@
"preserveConstEnums": true,
"skipLibCheck": true
},
"include": ["src/**/*", "src/demo_funcs.ts"],
"include": [
"src/**/*",
"src/demo_funcs.ts",
"vitest.config.ts",
"eslint.config.js",
"./test/**/*"
],
"tsc-alias": {
"resolveFullPaths": true,
"verbose": false
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.prod.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "./tsconfig.json",
"include": ["./src/**/*", "vitest.config.ts", "eslint.config.js", "./test/**/*"],
"include": ["./src/**/*"],
"exclude": ["./src/demo_funcs"]
}

0 comments on commit 4efcb7c

Please sign in to comment.