@mbao01/common 0.0.2 → 0.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.
Files changed (2) hide show
  1. package/package.json +15 -10
  2. package/plugin.d.ts +1 -1
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mbao01/common",
3
3
  "private": false,
4
- "version": "0.0.2",
4
+ "version": "0.0.4",
5
5
  "type": "module",
6
6
  "author": "Ayomide Bakare",
7
7
  "license": "MIT",
@@ -13,6 +13,18 @@
13
13
  "common",
14
14
  "library"
15
15
  ],
16
+ "exports": {
17
+ ".": {
18
+ "import": {
19
+ "types": "./dist/types/index.d.ts",
20
+ "default": "./src/index.ts"
21
+ }
22
+ },
23
+ "./plugin": "./plugin.js",
24
+ "./vitest/setup": "./vitest-setup.ts",
25
+ "./vitest/config": "./vitest.config.ts",
26
+ "./styles": "./src/stylesheets/index.css"
27
+ },
16
28
  "main": "./src/index.ts",
17
29
  "types": "dist/types/index.d.ts",
18
30
  "files": [
@@ -25,12 +37,6 @@
25
37
  "vitest-setup.ts",
26
38
  "vitest.config.ts"
27
39
  ],
28
- "exports": {
29
- "./plugin": "./plugin.js",
30
- "./vitest/setup": "./vitest-setup.ts",
31
- "./vitest/config": "./vitest.config.ts",
32
- "./styles": "./src/stylesheets/index.css"
33
- },
34
40
  "bugs": "https://github.com/mbao01/mbao01/issues",
35
41
  "homepage": "https://shared.ayomidebakare.site",
36
42
  "repository": {
@@ -43,7 +49,7 @@
43
49
  "scripts": {
44
50
  "dev": "storybook dev -p 6006",
45
51
  "build": "tsc && vite build",
46
- "build-storybook": "storybook build",
52
+ "build-storybook": "storybook build -o ../../docs/storybook/common",
47
53
  "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
48
54
  "preview": "vite preview",
49
55
  "test": "vitest run",
@@ -56,7 +62,6 @@
56
62
  "daisyui": "^4.6.2"
57
63
  },
58
64
  "devDependencies": {
59
- "@heroicons/react": "^2.1.1",
60
65
  "@storybook/addon-essentials": "^7.6.14",
61
66
  "@storybook/addon-interactions": "^7.6.14",
62
67
  "@storybook/addon-links": "^7.6.14",
@@ -102,5 +107,5 @@
102
107
  "react-dom": "^18.2.0",
103
108
  "typescript": "^5.2.2"
104
109
  },
105
- "gitHead": "00988bf0b2318917bab272a8fb5920e451f67edf"
110
+ "gitHead": "90d186e3fc64e9dae9f8755fd057540a23e6a4cd"
106
111
  }
package/plugin.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { Config } from "tailwindcss";
1
+ import { type Config } from "tailwindcss";
2
2
 
3
3
  declare const plugin: { handler: () => void; config?: Config };
4
4
  export = plugin;