Skip to content

Commit

Permalink
chore: simplification
Browse files Browse the repository at this point in the history
  • Loading branch information
aversini committed Nov 10, 2023
1 parent bff344f commit 337ea5f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
3 changes: 1 addition & 2 deletions packages/ui-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,10 @@
"dist"
],
"scripts": {
"build:barrel": "barrelsby --delete --directory dist --pattern \"**/*.d.ts\" --name \"index.d\"",
"build:check": "tsc",
"build:js": "vite build",
"build:types": "tsup",
"build": "npm-run-all --serial clean build:check build:js build:types build:barrel",
"build": "npm-run-all --serial clean build:check build:js build:types",
"clean": "rimraf dist",
"dev": "yarn run clean && vite build --watch --mode development",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0 --fix --color",
Expand Down
5 changes: 1 addition & 4 deletions packages/ui-components/tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@ import { defineConfig } from "tsup";

export default defineConfig({
format: "esm",
entry: {
components: "src/components/index.ts",
common: "src/common/index.d.ts",
},
entry: ["src/components/index.ts"],
dts: {
only: true,
},
Expand Down

0 comments on commit 337ea5f

Please sign in to comment.