one-north-cla 0.0.7 → 0.0.11
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 +13 -5
- package/dist/index.cjs.js +21 -18
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +430 -53
- package/dist/index.es.js +12051 -8603
- package/dist/index.es.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +22 -8
package/README.md
CHANGED
|
@@ -41,11 +41,11 @@ npm run build
|
|
|
41
41
|
```
|
|
42
42
|
OneNorthCLA/
|
|
43
43
|
├── src/
|
|
44
|
-
│ ├── components/
|
|
45
|
-
│ │ ├── composites/
|
|
44
|
+
│ ├── components/
|
|
45
|
+
│ │ ├── composites/
|
|
46
46
|
│ │ │ ├── ContentCarouselMultiple/
|
|
47
47
|
│ │ │ └──ContentPrimaryFeatureDetail/
|
|
48
|
-
│ │ └── foundations/
|
|
48
|
+
│ │ └── foundations/
|
|
49
49
|
│ │ ├── BackgroundVideo/
|
|
50
50
|
│ │ ├── Button/
|
|
51
51
|
│ │ ├── ButtonSocial/
|
|
@@ -57,6 +57,8 @@ OneNorthCLA/
|
|
|
57
57
|
│ │ ├── hooks/
|
|
58
58
|
│ │ └── utils/
|
|
59
59
|
│ └── assets/ # Static assets
|
|
60
|
+
├── docs/ # Documentation
|
|
61
|
+
│ └── TESTING.md # Testing guide
|
|
60
62
|
└── public/ # Public assets
|
|
61
63
|
```
|
|
62
64
|
|
|
@@ -76,8 +78,6 @@ This project follows a clean architecture pattern that separates concerns:
|
|
|
76
78
|
3. **Type Safety**: Full TypeScript support throughout the codebase
|
|
77
79
|
4. **Storybook Integration**: Comprehensive documentation and testing via Storybook
|
|
78
80
|
|
|
79
|
-
## 🧩 Available Components
|
|
80
|
-
|
|
81
81
|
## 🛠️ Development
|
|
82
82
|
|
|
83
83
|
### Prerequisites
|
|
@@ -93,12 +93,19 @@ This project follows a clean architecture pattern that separates concerns:
|
|
|
93
93
|
npm run dev # Start Vite dev server
|
|
94
94
|
npm run storybook # Start Storybook
|
|
95
95
|
|
|
96
|
+
# Testing
|
|
97
|
+
npm test # Run tests in watch mode
|
|
98
|
+
npm run test:run # Run tests once (CI mode)
|
|
99
|
+
npm run test:coverage # Run tests with coverage
|
|
100
|
+
npm run test:ui # Run tests with interactive UI
|
|
101
|
+
|
|
96
102
|
# Building
|
|
97
103
|
npm run build # Build for production
|
|
98
104
|
npm run build-storybook # Build Storybook
|
|
99
105
|
|
|
100
106
|
# Quality
|
|
101
107
|
npm run lint # Run ESLint
|
|
108
|
+
npm run lint:strict # Run ESLint with no warnings allowed
|
|
102
109
|
npm run preview # Preview production build
|
|
103
110
|
npm run type-check # Run TSC
|
|
104
111
|
```
|
|
@@ -120,6 +127,7 @@ npm run type-check # Run TSC
|
|
|
120
127
|
|
|
121
128
|
- **Storybook**: Run `npm run storybook` for interactive component documentation
|
|
122
129
|
- **TypeScript**: Full type definitions for all components
|
|
130
|
+
- **Testing**: See [docs/TESTING.md](./docs/TESTING.md) for testing guide and best practices
|
|
123
131
|
|
|
124
132
|
## 🔧 Configuration
|
|
125
133
|
|