pingk-react-component-lib 1.0.0 → 1.0.4

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/dist/App.d.ts CHANGED
@@ -1,3 +1,4 @@
1
- declare function App(): import("react/jsx-runtime").JSX.Element;
1
+ import { default as React } from 'react';
2
+ declare function App(): React.JSX.Element;
2
3
  export default App;
3
4
  //# sourceMappingURL=App.d.ts.map
package/dist/App.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"App.d.ts","sourceRoot":"","sources":["../src/App.tsx"],"names":[],"mappings":"AAGA,iBAAS,GAAG,4CAyEX;AAED,eAAe,GAAG,CAAA"}
1
+ {"version":3,"file":"App.d.ts","sourceRoot":"","sources":["../src/App.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,iBAAS,GAAG,sBA8DX;AAED,eAAe,GAAG,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pingk-react-component-lib",
3
- "version": "1.0.0",
3
+ "version": "1.0.4",
4
4
  "description": "A simple React + TypeScript component library built with Vite",
5
5
  "author": "Pingk",
6
6
  "license": "MIT",
@@ -48,7 +48,8 @@
48
48
  "dev": "vite",
49
49
  "build": "tsc && vite build",
50
50
  "test": "vitest",
51
- "preview": "vite preview"
51
+ "preview": "vite preview",
52
+ "prepublishOnly": "npm version patch && npm run build"
52
53
  },
53
54
  "devDependencies": {
54
55
  "@eslint/js": "^9.39.1",
@@ -75,4 +76,4 @@
75
76
  "vite-plugin-lib-inject-css": "^2.2.2",
76
77
  "vitest": "^4.0.16"
77
78
  }
78
- }
79
+ }