@bikdotai/bik-component-library 0.0.846 → 0.0.847
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/README.md +12 -0
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -2,4 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
[](https://github.com/BikDotAiDev/bik-component-library/actions/workflows/publish-prod.yaml)
|
|
4
4
|
|
|
5
|
+
## Testing (Jest + SWC)
|
|
6
|
+
|
|
7
|
+
Tests use **Jest** with **`@swc/jest`** instead of `ts-jest` for faster TypeScript and JSX transforms.
|
|
8
|
+
|
|
9
|
+
| Command | Purpose |
|
|
10
|
+
| --- | --- |
|
|
11
|
+
| `npm test` | Run unit tests |
|
|
12
|
+
| `npm run test:watch` | Watch mode |
|
|
13
|
+
| `npm run test:coverage` | Generate coverage in `coverage/` |
|
|
14
|
+
|
|
15
|
+
Configuration: `jest.config.js`; SWC: `.swcrc`; test setup: `jest-setup.ts`.
|
|
16
|
+
|
|
5
17
|
See the [Frontend Testing Guide](docs/testing/writing-tests.md) for test authoring, linting, mandate exceptions, and required status checks.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bikdotai/bik-component-library",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.847",
|
|
4
4
|
"description": "Bik Component Library",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -158,7 +158,8 @@
|
|
|
158
158
|
"redux": "^4.1.2",
|
|
159
159
|
"storybook": "9.1.20",
|
|
160
160
|
"styled-components": "^5.3.3",
|
|
161
|
-
"
|
|
161
|
+
"@swc/core": "^1.11.0",
|
|
162
|
+
"@swc/jest": "^0.2.37",
|
|
162
163
|
"tslib": "^2.4.1",
|
|
163
164
|
"typescript": "^4.9.4",
|
|
164
165
|
"vite": "^7.3.5",
|