Skip to content

Commit

Permalink
fix: resolve build issues
Browse files Browse the repository at this point in the history
  • Loading branch information
miyushan committed Jul 6, 2024
1 parent e3cd1ee commit 8aa608d
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 8 deletions.
5 changes: 5 additions & 0 deletions .changeset/light-peas-listen.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"mui-daterange-picker-plus": patch
---

resolve build issues
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
node_modules
dist
.vscode
.vscode
index.d.mts
index.d.ts
index.js
index.mjs
3 changes: 2 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ src
pnpm-lock.yaml
tsconfig.json
.vscode
Screenshot-Desktop.png
Screenshot-Desktop.png
README.md
15 changes: 9 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@
"private": false,
"version": "1.0.4",
"declaration": true,
"outDir": "./dist",
"outDir": "./",
"include": [
"src"
],
"exclude": [
"node_modules"
],
"description": "A modern Typescript/JavaScript library for simplifying date-range related operations and enhancing date-picker components in web applications. It provides a range of utilities, including date formatting, parsing, and a fully customizable date range picker with support for various locales.",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"main": "./index.js",
"module": "./index.mjs",
"types": "./index.d.ts",
"scripts": {
"build": "tsup src/index.ts --format cjs,esm --dts",
"build": "tsup src/index.ts --format cjs,esm --dts --out-dir ./",
"lint": "tsc",
"ci": "pnpm run lint && pnpm run build",
"release": "pnpm run lint && pnpm run build && changeset publish"
Expand All @@ -42,7 +42,10 @@
"typescript": "^5.3.3"
},
"files": [
"dist/**/*"
"./index.d.mts",
"./index.d.ts",
"./index.js",
"./index.mjs"
],
"keywords": [
"mui-date-range-picker",
Expand Down

0 comments on commit 8aa608d

Please sign in to comment.