Skip to content

Commit

Permalink
chore(lib): updated tsup version
Browse files Browse the repository at this point in the history
Signed-off-by: Raí Siqueira <rai93siqueira@gmail.com>
  • Loading branch information
raisiqueira committed Oct 20, 2022
1 parent e93cabd commit b92d419
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 9 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"dev": "nx run headless-stepper:storybook",
"dev:docs": "cd docs && npm run dev",
"prebuild": "cp -r ./README.md ./packages/headless-stepper",
"build:lib": "npm run prebuild && pnpm exec tsup --config packages/headless-stepper/tsup.config.ts",
"build:lib-fast": "npm run prebuild && pnpm exec tsup --config packages/headless-stepper/tsup.config.ts",
"build:lib": "npm run prebuild && pnpm exec tsup --config packages/headless-stepper/tsup.config.ts --dts-resolve",
"nx": "nx",
"np": "np",
"publish:prod": "npm run build:lib && cd ./packages/headless-stepper && npm publish",
Expand Down Expand Up @@ -75,7 +76,7 @@
"sponsorkit": "^0.4.1",
"tailwindcss": "3.1.8",
"ts-jest": "28.0.8",
"tsup": "^6.2.3",
"tsup": "^6.3.0",
"typescript": "4.7.4",
"url-loader": "^3.0.0",
"vite": "^3.0.2",
Expand Down
7 changes: 4 additions & 3 deletions packages/headless-stepper/package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
{
"name": "headless-stepper",
"description": "Production ready React hook to create awesome stepper components. Effortless to use, easy to customize.",
"version": "1.6.0-beta.3",
"version": "1.6.0-beta.4",
"main": "./dist/index.cjs.js",
"module": "./dist/index.esm.js",
"types": "./dist/index.d.ts",
"license": "MIT",
"author": {
Expand Down Expand Up @@ -38,9 +39,9 @@
"exports": {
".": {
"types": "./dist/index.d.ts",
"require": "./dist/index.cjs.js",
"module": "./dist/index.esm.js",
"import": "./dist/index.esm.js",
"default": "./dist/index.cjs.js"
"import": "./dist/index.esm.js"
},
"./package.json": "./package.json"
},
Expand Down
1 change: 1 addition & 0 deletions packages/headless-stepper/tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export default defineConfig({
sourcemap: true,
dts: true,
format: ['esm', 'cjs'],
external: ['react'],
treeshake: true,
clean: true,
});
8 changes: 4 additions & 4 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b92d419

Please sign in to comment.