Skip to content

Commit

Permalink
chore: using tsc instead tsdx on build script (#1362)
Browse files Browse the repository at this point in the history
* fix: remove eslint and prettier from root

* feat: init eslint-config-faststore

* feat: config prettier

* feat: eslint rules

* chore: remove eslint-config-faststore

* feat: lint script on ui package

* fix: remove eslint package from ui package

* chore: using tsc instead tsdx
  • Loading branch information
emersonlaurentino authored Jun 17, 2022
1 parent 66ce99f commit 16c41bb
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
4 changes: 2 additions & 2 deletions packages/lighthouse/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
"src"
],
"scripts": {
"develop": "tsdx watch",
"build": "tsdx build",
"develop": "tsc --watch",
"build": "tsc",
"lint": "eslint src/**/*.ts",
"test": "tsdx test --passWithNoTests"
},
Expand Down
5 changes: 4 additions & 1 deletion packages/lighthouse/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"extends": "@vtex/tsconfig",
"include": ["src"],
"exclude": ["node_modules", "dist"]
"exclude": ["node_modules", "dist"],
"compilerOptions": {
"outDir": "dist"
}
}
4 changes: 2 additions & 2 deletions packages/sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
"src"
],
"scripts": {
"develop": "tsdx watch",
"build": "tsdx build",
"develop": "tsc --watch",
"build": "tsc",
"lint": "eslint src/**/*.{ts,tsx}",
"test": "tsdx test",
"size": "size-limit",
Expand Down
4 changes: 2 additions & 2 deletions packages/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
"src"
],
"scripts": {
"develop": "tsdx watch",
"build": "tsdx build",
"develop": "tsc --watch",
"build": "tsc",
"lint": "eslint src/**/*.{ts,tsx}",
"test": "tsdx test --passWithNoTests",
"storybook": "start-storybook -p 6006 --no-manager-cache",
Expand Down

1 comment on commit 16c41bb

@vercel
Copy link

@vercel vercel bot commented on 16c41bb Jun 17, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.