@cencomalls/cencob2b-storybook 1.0.7 → 1.0.9
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.js +9 -2
- package/package.json +11 -8
- package/build.mjs +0 -12
- package/src/components/Banner/Banner.tsx +0 -9
- package/src/components/Banner/index.ts +0 -1
- package/src/components/index.tsx +0 -1
- package/src/index.tsx +0 -1
- package/tsconfig.json +0 -15
package/dist/index.js
CHANGED
@@ -1,2 +1,9 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
// src/components/Banner/Banner.tsx
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
3
|
+
var Banner = () => {
|
4
|
+
return /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx("h1", { children: "Banner" }) });
|
5
|
+
};
|
6
|
+
var Banner_default = Banner;
|
7
|
+
export {
|
8
|
+
Banner_default as Banner
|
9
|
+
};
|
package/package.json
CHANGED
@@ -1,22 +1,22 @@
|
|
1
1
|
{
|
2
2
|
"name": "@cencomalls/cencob2b-storybook",
|
3
|
-
"version": "1.0.
|
4
|
-
"main": "dist/index.
|
5
|
-
"module": "dist/index.
|
3
|
+
"version": "1.0.9",
|
4
|
+
"main": "dist/index.js",
|
5
|
+
"module": "dist/index.js",
|
6
6
|
"types": "dist/index.d.ts",
|
7
7
|
"type": "module",
|
8
8
|
"sideEffects": false,
|
9
9
|
"scripts": {
|
10
|
-
"build": "
|
10
|
+
"build": "esbuild src/index.tsx --bundle --outdir=dist --format=esm --external:react --external:react-dom",
|
11
|
+
"prepare": "npm run build",
|
11
12
|
"storybook": "storybook dev",
|
12
|
-
"build-storybook": "storybook build"
|
13
|
-
"publish": "npm run build && npm publish --access public"
|
13
|
+
"build-storybook": "storybook build"
|
14
14
|
},
|
15
15
|
"keywords": [],
|
16
16
|
"author": "Jonas",
|
17
17
|
"license": "ISC",
|
18
18
|
"description": "",
|
19
|
-
"
|
19
|
+
"peerDependencies": {
|
20
20
|
"react": "^19.0.0",
|
21
21
|
"react-dom": "^19.0.0"
|
22
22
|
},
|
@@ -26,5 +26,8 @@
|
|
26
26
|
"@types/react-dom": "^19.0.3",
|
27
27
|
"esbuild": "^0.24.2",
|
28
28
|
"typescript": "^5.7.3"
|
29
|
-
}
|
29
|
+
},
|
30
|
+
"files": [
|
31
|
+
"dist"
|
32
|
+
]
|
30
33
|
}
|
package/build.mjs
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export { default as Banner } from "./Banner";
|
package/src/components/index.tsx
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export * from "./Banner";
|
package/src/index.tsx
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export * from "./components";
|
package/tsconfig.json
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"compilerOptions": {
|
3
|
-
"outDir": "dist",
|
4
|
-
"declaration": true,
|
5
|
-
"emitDeclarationOnly": true,
|
6
|
-
"module": "ESNext",
|
7
|
-
"target": "ESNext",
|
8
|
-
"jsx": "react-jsx",
|
9
|
-
"moduleResolution": "node",
|
10
|
-
"allowSyntheticDefaultImports": true,
|
11
|
-
"strict": true
|
12
|
-
},
|
13
|
-
"include": ["src"],
|
14
|
-
"exclude": ["**/node_modules", "**/.*/"]
|
15
|
-
}
|