Skip to content

Commit

Permalink
fix: entry points in the build (#635)
Browse files Browse the repository at this point in the history
There was a bug when deleting `@scaleleap/utils` package from our
repository.
Including `"test/**/*.ts"` into `tsconfig.json` leaded to loosing entry
points in the build.


https://github.com/ScaleLeap/amazon-marketplaces/pull/619/files#diff-b55cdbef4907b7045f32cc5360d48d262cca5f94062e353089f189f4460039e0R12


Closes #634 ;
  • Loading branch information
nguyentoanit authored May 13, 2024
1 parent fa6f2f4 commit 9ceab9a
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const eslint = {
parserOptions: {
ecmaVersion: 9,
sourceType: 'module',
project: './tsconfig.json',
project: './tsconfig.eslint.json',
},
ignorePatterns: ['.eslintrc.js', 'dist'],
env: {
Expand Down
1 change: 0 additions & 1 deletion lint-staged.config.js

This file was deleted.

7 changes: 7 additions & 0 deletions tsconfig.eslint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"extends": "./tsconfig.json",
"include": [
"src/**/*",
"test/**/*.ts"
]
}
3 changes: 1 addition & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"target": "ES2019"
},
"include": [
"src/**/*",
"test/**/*.ts"
"src/**/*"
]
}

0 comments on commit 9ceab9a

Please sign in to comment.