@thebuoyant-tsdev/mui-ts-library 1.3.0 → 1.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thebuoyant-tsdev/mui-ts-library",
3
- "version": "1.3.0",
3
+ "version": "1.3.1",
4
4
  "private": false,
5
5
  "description": "Type-safe React component library for MUI v9. Confirm dialog with useConfirm hook, Gantt chart with drag & drop, multi-tag selector, WYSIWYG rich text editor (TipTap v3), SQL code editor (CodeMirror 6), JSON editor with real-time validation (CodeMirror 6), and password strength meter. Full TypeScript, dark mode, i18n.",
6
6
  "author": {
@@ -11,7 +11,7 @@
11
11
  "homepage": "https://github.com/thebuoyant/mui-ts-library#readme",
12
12
  "repository": {
13
13
  "type": "git",
14
- "url": "https://github.com/thebuoyant/mui-ts-library.git"
14
+ "url": "git+https://github.com/thebuoyant/mui-ts-library.git"
15
15
  },
16
16
  "bugs": {
17
17
  "url": "https://github.com/thebuoyant/mui-ts-library/issues"
@@ -25,9 +25,14 @@
25
25
  "types": "dist/index.d.ts",
26
26
  "exports": {
27
27
  ".": {
28
- "types": "./dist/index.d.ts",
29
- "import": "./dist/index.js",
30
- "require": "./dist/index.cjs"
28
+ "import": {
29
+ "types": "./dist/index.d.ts",
30
+ "default": "./dist/index.js"
31
+ },
32
+ "require": {
33
+ "types": "./dist/index.d.cts",
34
+ "default": "./dist/index.cjs"
35
+ }
31
36
  }
32
37
  },
33
38
  "files": [
@@ -100,7 +105,7 @@
100
105
  "scripts": {
101
106
  "dev": "vite",
102
107
  "clean": "rm -rf dist",
103
- "build": "npm run clean && vite build && tsc -p tsconfig.build.json",
108
+ "build": "npm run clean && vite build && tsc -p tsconfig.build.json && cp dist/index.d.ts dist/index.d.cts",
104
109
  "prepublishOnly": "npm run test:run && npm run build",
105
110
  "pack-release": "npm run build && mkdir -p releases && npm pack --pack-destination releases/",
106
111
  "npm-deploy": "bash scripts/npm-deploy.sh",