@importcsv/react 0.3.0 → 0.4.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": "@importcsv/react",
3
- "version": "0.3.0",
3
+ "version": "0.4.1",
4
4
  "description": "AI-powered CSV importer for React. Smart column mapping with OpenAI, natural language transformations. Self-hosted.",
5
5
  "main": "build/react/index.js",
6
6
  "module": "build/react/index.esm.js",
@@ -22,9 +22,9 @@
22
22
  },
23
23
  "./bundled": {
24
24
  "types": "./build/bundled/types/index.d.ts",
25
+ "script": "./build/bundled/index.umd.js",
25
26
  "import": "./build/bundled/index.esm.js",
26
- "require": "./build/bundled/index.js",
27
- "script": "./build/bundled/index.umd.js"
27
+ "require": "./build/bundled/index.js"
28
28
  },
29
29
  "./styles.css": "./build/style.css"
30
30
  },
@@ -74,7 +74,9 @@
74
74
  "test:visual": "playwright test",
75
75
  "test:all": "npm run test && npm run test:visual",
76
76
  "test:local": "npm run build:react && npm link && echo 'Package linked! Run \"npm link @importcsv/react\" in your test app'",
77
- "test:app": "cd /Users/abhishekray/Projects/importcsv/test/csv-importer-test && npm link @importcsv/react && npm run dev"
77
+ "test:app": "cd /Users/abhishekray/Projects/importcsv/test/csv-importer-test && npm link @importcsv/react && npm run dev",
78
+ "clean:stale": "find src -name '*.js' -not -path '*/shims/*' -type f -delete && find src -name '*.js.map' -type f -delete && echo 'Cleaned stale JS files'",
79
+ "typecheck": "tsc --noEmit"
78
80
  },
79
81
  "peerDependencies": {
80
82
  "preact": "^10.0.0",
@@ -137,6 +139,8 @@
137
139
  "postcss-prefix-selector": "^2.1.1",
138
140
  "prettier": "^2.8.6",
139
141
  "prop-types": "^15.8.1",
142
+ "react": "^19.2.3",
143
+ "react-dom": "^19.2.3",
140
144
  "style-loader": "^3.3.3",
141
145
  "tailwindcss": "^3.4.0",
142
146
  "ts-jest": "^26.5.6",