fis-component 0.0.15 → 0.0.16

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.
@@ -1 +1,2 @@
1
- export { default } from "./Button";
1
+ declare const FisButton: () => import("react/jsx-runtime").JSX.Element;
2
+ export default FisButton;
@@ -1,2 +1,2 @@
1
- declare const MyComponent: () => import("react").JSX.Element;
1
+ declare const MyComponent: () => import("react/jsx-runtime").JSX.Element;
2
2
  export default MyComponent;
@@ -1 +1 @@
1
- export * from "./components";
1
+ export { default as FisButton } from "./components/Button";
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import React from 'react';
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
 
3
- declare const FisButton: () => React.JSX.Element;
3
+ declare const FisButton: () => react_jsx_runtime.JSX.Element;
4
4
 
5
5
  export { FisButton };
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
+ "homepage": "https://vietdiemtran.github.io/fis-component/",
2
3
  "name": "fis-component",
3
- "version": "0.0.15",
4
+ "version": "0.0.16",
4
5
  "description": "",
5
6
  "main": "dist/cjs/index.js",
6
7
  "module": "dist/esm/index.js",
@@ -13,11 +14,13 @@
13
14
  "dev": "rollup -c -w",
14
15
  "test": "jest",
15
16
  "storybook": "storybook dev -p 6006",
16
- "build-storybook": "storybook build",
17
+ "build-storybook": "storybook build -s public",
17
18
  "prepare": "husky",
18
19
  "lint": "eslint ./src/ --ext .ts,.tsx",
19
20
  "lint:fix": "eslint ./src --ext .ts,.tsx --fix",
20
- "release": "standard-version"
21
+ "release": "standard-version",
22
+ "predeploy": "npm run build-storybook",
23
+ "deploy": "gh-pages -d storybook-static"
21
24
  },
22
25
  "peerDependencies": {
23
26
  "react": "^18.0.0"
@@ -58,6 +61,7 @@
58
61
  "eslint-plugin-promise": "^6.1.1",
59
62
  "eslint-plugin-react": "^7.33.2",
60
63
  "eslint-plugin-storybook": "^0.8.0",
64
+ "gh-pages": "^6.2.0",
61
65
  "husky": "^9.0.10",
62
66
  "jest": "^29.7.0",
63
67
  "jest-environment-jsdom": "^29.7.0",