@mbao01/common 0.0.40 → 0.0.41

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 +12 -4
  2. package/tsconfig.node.json +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.40",
4
+ "version": "0.0.41",
5
5
  "type": "module",
6
6
  "author": "Ayomide Bakare",
7
7
  "license": "MIT",
@@ -54,10 +54,14 @@
54
54
  "build-storybook": "storybook build -o ../../docs/storybook/common",
55
55
  "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
56
56
  "preview": "vite preview",
57
+ "prod": "pnpx http-server ../../docs/storybook/common --port 6006",
57
58
  "test": "vitest run",
59
+ "test:coverage": "vitest run --coverage",
58
60
  "test:ui": "vitest --ui",
59
- "test:watch": "vitest",
60
- "test:coverage": "vitest run --coverage"
61
+ "test:visual": "test-storybook --url http://127.0.0.1:6006",
62
+ "test:visual:ci": "test-storybook --ci --verbose --url http://127.0.0.1:6006",
63
+ "test:visual:watch": "test-storybook --watch",
64
+ "test:watch": "vitest"
61
65
  },
62
66
  "dependencies": {
63
67
  "@radix-ui/react-accordion": "^1.1.2",
@@ -107,13 +111,16 @@
107
111
  "@storybook/addon-links": "^8.0.6",
108
112
  "@storybook/addon-onboarding": "^8.0.6",
109
113
  "@storybook/addon-themes": "^8.0.6",
114
+ "@storybook/addon-viewport": "^8.3.3",
110
115
  "@storybook/blocks": "^8.0.6",
111
116
  "@storybook/react": "^8.0.6",
112
117
  "@storybook/react-vite": "^8.0.6",
113
118
  "@storybook/test": "^8.0.6",
119
+ "@storybook/test-runner": "^0.19.1",
114
120
  "@testing-library/jest-dom": "^6.4.2",
115
121
  "@testing-library/react": "^14.2.1",
116
122
  "@testing-library/user-event": "^14.5.2",
123
+ "@types/jest-image-snapshot": "^6.4.0",
117
124
  "@types/node": "^20.11.17",
118
125
  "@types/react": "^18.2.55",
119
126
  "@types/react-dom": "^18.2.19",
@@ -128,6 +135,7 @@
128
135
  "eslint-plugin-react-hooks": "^4.6.0",
129
136
  "eslint-plugin-react-refresh": "^0.4.5",
130
137
  "eslint-plugin-storybook": "^0.8.0",
138
+ "jest-image-snapshot": "^6.4.0",
131
139
  "jsdom": "^23.2.0",
132
140
  "path": "^0.12.7",
133
141
  "postcss": "^8.4.35",
@@ -146,5 +154,5 @@
146
154
  "react-dom": "^18.2.0",
147
155
  "typescript": "^5.2.2"
148
156
  },
149
- "gitHead": "30ae293d3e5c2ece6709f280ecf5f75ec5712ab2"
157
+ "gitHead": "90d74b3c06abe95709a7e4e4a4e545322562e02d"
150
158
  }
@@ -6,5 +6,5 @@
6
6
  "moduleResolution": "bundler",
7
7
  "allowSyntheticDefaultImports": true
8
8
  },
9
- "include": ["vite.config.ts"]
9
+ "include": ["vite.config.ts", ".storybook"]
10
10
  }