@c15t/dev-tools 1.5.0 → 1.6.0
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/CHANGELOG.md +3 -289
- package/README.md +81 -32
- package/dist/components/error-state.d.ts +1 -1
- package/dist/components/error-state.d.ts.map +1 -1
- package/dist/components/ui/alert.d.ts.map +1 -1
- package/dist/components/ui/badge.d.ts.map +1 -1
- package/dist/components/ui/button.d.ts +1 -1
- package/dist/components/ui/button.d.ts.map +1 -1
- package/dist/components/ui/card.d.ts.map +1 -1
- package/dist/dev-tool.d.ts.map +1 -1
- package/dist/router/router.d.ts.map +1 -1
- package/package.json +10 -3
- package/readme.json +31 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,294 +1,8 @@
|
|
|
1
1
|
# @c15t/dev-tools
|
|
2
2
|
|
|
3
|
-
## 1.
|
|
3
|
+
## 1.6.0
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
|
-
- Updated dependencies [
|
|
8
|
-
- c15t@1.
|
|
9
|
-
|
|
10
|
-
## 1.5.0-canary-20250722133547
|
|
11
|
-
|
|
12
|
-
### Patch Changes
|
|
13
|
-
|
|
14
|
-
- Updated dependencies [35b5fc3]
|
|
15
|
-
- c15t@1.5.0-canary-20250722133547
|
|
16
|
-
|
|
17
|
-
## 1.5.0-canary-20250722085128
|
|
18
|
-
|
|
19
|
-
### Patch Changes
|
|
20
|
-
|
|
21
|
-
- Updated dependencies [35f052c]
|
|
22
|
-
- c15t@1.5.0-canary-20250722085128
|
|
23
|
-
|
|
24
|
-
## 1.4.4
|
|
25
|
-
|
|
26
|
-
### Patch Changes
|
|
27
|
-
|
|
28
|
-
- Updated dependencies [f6a3e5f]
|
|
29
|
-
- c15t@1.4.4
|
|
30
|
-
|
|
31
|
-
## 1.4.2
|
|
32
|
-
|
|
33
|
-
### Patch Changes
|
|
34
|
-
|
|
35
|
-
- Updated dependencies [53774ce]
|
|
36
|
-
- c15t@1.4.2
|
|
37
|
-
|
|
38
|
-
## 1.4.2-canary-20250702103734
|
|
39
|
-
|
|
40
|
-
### Patch Changes
|
|
41
|
-
|
|
42
|
-
- Updated dependencies [eed347c]
|
|
43
|
-
- c15t@1.4.2-canary-20250702103734
|
|
44
|
-
|
|
45
|
-
## 1.4.1
|
|
46
|
-
|
|
47
|
-
### Patch Changes
|
|
48
|
-
|
|
49
|
-
- c15t@1.4.1
|
|
50
|
-
|
|
51
|
-
## 1.4.0
|
|
52
|
-
|
|
53
|
-
### Patch Changes
|
|
54
|
-
|
|
55
|
-
- Updated dependencies [6eb9a8d]
|
|
56
|
-
- c15t@1.4.0
|
|
57
|
-
|
|
58
|
-
## 1.3.3
|
|
59
|
-
|
|
60
|
-
### Patch Changes
|
|
61
|
-
|
|
62
|
-
- Updated dependencies [b4d53be]
|
|
63
|
-
- c15t@1.3.3
|
|
64
|
-
|
|
65
|
-
## 1.3.3-canary-20250624131627
|
|
66
|
-
|
|
67
|
-
### Patch Changes
|
|
68
|
-
|
|
69
|
-
- Updated dependencies [63200df]
|
|
70
|
-
- c15t@1.3.3-canary-20250624131627
|
|
71
|
-
|
|
72
|
-
## 1.3.1
|
|
73
|
-
|
|
74
|
-
### Patch Changes
|
|
75
|
-
|
|
76
|
-
- 7fecb81: refactor(nextjs): fetch inital data from backend in c15t mode instead of duplicate logic
|
|
77
|
-
fix: incorrect link to quickstart
|
|
78
|
-
fix(issue-274): include nextjs externals in rslib
|
|
79
|
-
fix(core): fall back to API call if initialData promise is empty
|
|
80
|
-
chore: add translation for zh
|
|
81
|
-
- Updated dependencies [7fecb81]
|
|
82
|
-
- c15t@1.3.1
|
|
83
|
-
|
|
84
|
-
## 1.3.1-canary-20250618084038
|
|
85
|
-
|
|
86
|
-
### Patch Changes
|
|
87
|
-
|
|
88
|
-
- Updated dependencies [95edb35]
|
|
89
|
-
- c15t@1.3.1-canary-20250618084038
|
|
90
|
-
|
|
91
|
-
## 1.3.0
|
|
92
|
-
|
|
93
|
-
### Minor Changes
|
|
94
|
-
|
|
95
|
-
- 85e5e3d: ## 🌍 New Translations Package
|
|
96
|
-
|
|
97
|
-
- **NEW**: Added `@c15t/translations` package with comprehensive i18n support
|
|
98
|
-
- Added translations for 8 languages: English, German, Spanish, Finnish, French, Italian, Dutch, Portuguese
|
|
99
|
-
- Includes translations for consent banners, dialogs, and common phrases
|
|
100
|
-
- Replaced the former `@c15t/middleware` package functionality
|
|
101
|
-
|
|
102
|
-
## 🔧 CLI Enhancements
|
|
103
|
-
|
|
104
|
-
- **NEW**: Added telemetry system with framework and package manager detection
|
|
105
|
-
- **NEW**: Enhanced onboarding flow with better framework detection (React, Next.js, etc.)
|
|
106
|
-
- **NEW**: Automatic package manager detection (pnpm, yarn, npm)
|
|
107
|
-
- **NEW**: Added `--telemetry-debug` flag for debugging telemetry
|
|
108
|
-
- Improved error handling and user experience during setup
|
|
109
|
-
- Better file generation for different storage modes and configurations
|
|
110
|
-
|
|
111
|
-
## 🎯 Backend Updates
|
|
112
|
-
|
|
113
|
-
- **NEW**: Server-side translation support in consent banner handling
|
|
114
|
-
- Added language detection from `Accept-Language` headers
|
|
115
|
-
- Updated consent banner contracts to include translation schemas
|
|
116
|
-
- Enhanced jurisdiction checking with better default handling
|
|
117
|
-
- Updated user agent and IP address handling (now defaults to null instead of "unknown")
|
|
118
|
-
|
|
119
|
-
## ⚛️ React Package Changes
|
|
120
|
-
|
|
121
|
-
- **NEW**: Integrated translation support throughout components
|
|
122
|
-
- Updated `ConsentManagerProvider` to handle initial translation configuration
|
|
123
|
-
- Removed dependency on middleware package
|
|
124
|
-
- Enhanced consent manager store with translation capabilities
|
|
125
|
-
|
|
126
|
-
## 🔄 Next.js Package Restructuring
|
|
127
|
-
|
|
128
|
-
- **BREAKING**: Removed middleware exports and functionality
|
|
129
|
-
- **NEW**: Added `ConsentManagerProvider` component for server-side rendering
|
|
130
|
-
- **NEW**: Server-side consent banner detection with jurisdiction mapping
|
|
131
|
-
- Added support for extracting consent-relevant headers
|
|
132
|
-
- Updated to work with new translations system
|
|
133
|
-
|
|
134
|
-
## 🏗️ Core Package Updates
|
|
135
|
-
|
|
136
|
-
- **NEW**: Integrated translation configuration system
|
|
137
|
-
- Updated offline client to include default translations
|
|
138
|
-
- Enhanced consent banner fetching with translation support
|
|
139
|
-
- Improved store management with initial data handling
|
|
140
|
-
|
|
141
|
-
## 🔄 Infrastructure & Tooling
|
|
142
|
-
|
|
143
|
-
- **NEW**: Added GitHub Actions workflow for canary releases
|
|
144
|
-
- **NEW**: Added branch synchronization workflow (main → canary)
|
|
145
|
-
- Updated BiomeJS configuration with comprehensive linting rules
|
|
146
|
-
- Enhanced build configurations across packages
|
|
147
|
-
|
|
148
|
-
## 📦 Package Management
|
|
149
|
-
|
|
150
|
-
- Updated dependencies across all packages
|
|
151
|
-
- Added peer dependencies where appropriate
|
|
152
|
-
- Improved module exports and build configurations
|
|
153
|
-
- Enhanced TypeScript configurations for better type safety
|
|
154
|
-
|
|
155
|
-
***
|
|
156
|
-
|
|
157
|
-
## 📋 Detailed Change Breakdown
|
|
158
|
-
|
|
159
|
-
### **New Features**
|
|
160
|
-
|
|
161
|
-
- Added multi-language support for consent banners with new translations in German, Spanish, Finnish, French, Italian, Dutch, and Portuguese.
|
|
162
|
-
- Consent banner logic enhanced to detect user location and language from HTTP headers, showing localized messages per jurisdiction.
|
|
163
|
-
- Next.js ConsentManagerProvider now performs server-side initialization of consent state for consistent banner display and translation.
|
|
164
|
-
- CLI onboarding improved with robust environment detection, modularized flow, enhanced telemetry, and guided dependency installation.
|
|
165
|
-
- Introduced new CLI global flag for telemetry debug mode.
|
|
166
|
-
|
|
167
|
-
### **Improvements**
|
|
168
|
-
|
|
169
|
-
- Consent banner responses now include detailed translation structures and jurisdiction information.
|
|
170
|
-
- Translation utilities and types centralized in a new `@c15t/translations` package for easier integration.
|
|
171
|
-
- Onboarding file generation refactored to unify client config and environment file creation.
|
|
172
|
-
- Documentation and changelogs updated for new canary releases and integration guidance.
|
|
173
|
-
- CLI telemetry enhanced with asynchronous event tracking and debug logging support.
|
|
174
|
-
|
|
175
|
-
### **Bug Fixes**
|
|
176
|
-
|
|
177
|
-
- Fixed consent banner logic for correct handling of US jurisdiction and fallback scenarios.
|
|
178
|
-
- Improved error handling and debug logging in CLI telemetry and onboarding.
|
|
179
|
-
|
|
180
|
-
### **Refactor**
|
|
181
|
-
|
|
182
|
-
- Removed legacy middleware exports and Node SDK re-exports from Next.js and middleware packages.
|
|
183
|
-
- Consolidated jurisdiction and consent banner logic into dedicated Next.js consent-manager-provider modules.
|
|
184
|
-
- Updated CLI context creation to async with enriched environment metadata and improved logging.
|
|
185
|
-
- Refactored onboarding storage modes to delegate file generation and unify cancellation handling.
|
|
186
|
-
|
|
187
|
-
### **Tests**
|
|
188
|
-
|
|
189
|
-
- Added extensive tests for consent banner display logic, jurisdiction detection, language preference parsing, and translation selection.
|
|
190
|
-
- Removed deprecated tests for deleted middleware and jurisdiction modules.
|
|
191
|
-
|
|
192
|
-
### **Chores**
|
|
193
|
-
|
|
194
|
-
- Updated package versions and dependencies to latest canary releases, including addition of `@c15t/translations`.
|
|
195
|
-
- Added and updated GitHub Actions workflows for canary releases and branch synchronization.
|
|
196
|
-
- Updated package metadata and configuration files for consistency and improved build settings.
|
|
197
|
-
|
|
198
|
-
This release represents a major step forward in internationalization support, developer experience improvements, and architectural refinements across the entire c15t ecosystem.
|
|
199
|
-
|
|
200
|
-
### Patch Changes
|
|
201
|
-
|
|
202
|
-
- Updated dependencies [85e5e3d]
|
|
203
|
-
- c15t@1.3.0
|
|
204
|
-
|
|
205
|
-
## 1.2.2-canary-20250603153501
|
|
206
|
-
|
|
207
|
-
### Patch Changes
|
|
208
|
-
|
|
209
|
-
- Updated dependencies [e50e925]
|
|
210
|
-
- c15t@1.2.2-canary-20250603153501
|
|
211
|
-
|
|
212
|
-
## 1.2.2-canary-20250602152741
|
|
213
|
-
|
|
214
|
-
### Patch Changes
|
|
215
|
-
|
|
216
|
-
- c15t@1.2.2-canary-20250602152741
|
|
217
|
-
|
|
218
|
-
## 1.2.2-canary-20250521133509
|
|
219
|
-
|
|
220
|
-
### Patch Changes
|
|
221
|
-
|
|
222
|
-
- c15t@1.2.2-canary-20250521133509
|
|
223
|
-
|
|
224
|
-
## 1.2.2-canary-20250514203718
|
|
225
|
-
|
|
226
|
-
### Patch Changes
|
|
227
|
-
|
|
228
|
-
- f24f11b: bump package
|
|
229
|
-
- Updated dependencies [f24f11b]
|
|
230
|
-
- c15t@1.2.2-canary-20250514203718
|
|
231
|
-
|
|
232
|
-
## 1.2.2-canary-20250514183211
|
|
233
|
-
|
|
234
|
-
### Patch Changes
|
|
235
|
-
|
|
236
|
-
- Updated dependencies [f64f000]
|
|
237
|
-
- c15t@1.2.2-canary-20250514183211
|
|
238
|
-
|
|
239
|
-
## 1.2.1
|
|
240
|
-
|
|
241
|
-
### Patch Changes
|
|
242
|
-
|
|
243
|
-
- Updated dependencies []:
|
|
244
|
-
- c15t@1.2.1
|
|
245
|
-
|
|
246
|
-
## 1.2.0
|
|
247
|
-
|
|
248
|
-
### Patch Changes
|
|
249
|
-
|
|
250
|
-
- Updated dependencies [[`838a9b5`](https://github.com/c15t/c15t/commit/838a9b52c31326899ec3c903e43bf7bc31a6490f), [`b1de2ba`](https://github.com/c15t/c15t/commit/b1de2baccd63295d49fb2868f63659f5ff48a9ce)]:
|
|
251
|
-
- c15t@1.2.0
|
|
252
|
-
|
|
253
|
-
## 1.1.4
|
|
254
|
-
|
|
255
|
-
### Patch Changes
|
|
256
|
-
|
|
257
|
-
- Updated dependencies [[`2d81c9f`](https://github.com/c15t/c15t/commit/2d81c9fc84ee960e46196dfd460407a925901a82)]:
|
|
258
|
-
- c15t@1.1.4
|
|
259
|
-
|
|
260
|
-
## 1.1.3
|
|
261
|
-
|
|
262
|
-
### Patch Changes
|
|
263
|
-
|
|
264
|
-
- Updated dependencies [[`4d47e21`](https://github.com/c15t/c15t/commit/4d47e2109bfc894f1666b19f4ff40d7398f10c57)]:
|
|
265
|
-
- c15t@1.1.3
|
|
266
|
-
|
|
267
|
-
## 1.0.1
|
|
268
|
-
|
|
269
|
-
### Patch Changes
|
|
270
|
-
|
|
271
|
-
- Updated dependencies [[`08446ae`](https://github.com/c15t/c15t/commit/08446aef443a20a2262477a1dca3569d6bf672ad)]:
|
|
272
|
-
- c15t@1.0.1
|
|
273
|
-
|
|
274
|
-
## 1.0.0-rc.1
|
|
275
|
-
|
|
276
|
-
### Patch Changes
|
|
277
|
-
|
|
278
|
-
- Refactored package.json imports
|
|
279
|
-
|
|
280
|
-
## 0.0.1-beta.10
|
|
281
|
-
|
|
282
|
-
### Patch Changes
|
|
283
|
-
|
|
284
|
-
- all build tools now use rslib + new formatting from biomejs
|
|
285
|
-
- Updated dependencies
|
|
286
|
-
- c15t@0.0.1
|
|
287
|
-
|
|
288
|
-
## 0.0.1-beta.9
|
|
289
|
-
|
|
290
|
-
### Patch Changes
|
|
291
|
-
|
|
292
|
-
- 1912aa9: Refactored codebase to use Ultracite Biome Config for stricter linting
|
|
293
|
-
- Updated dependencies [1912aa9]
|
|
294
|
-
- c15t@0.0.1-beta.9
|
|
7
|
+
- Updated dependencies [84ab0c7]
|
|
8
|
+
- c15t@1.6.0
|
package/README.md
CHANGED
|
@@ -1,43 +1,92 @@
|
|
|
1
|
-
<
|
|
2
|
-
<
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
<p align="center">
|
|
2
|
+
<a href="https://c15t.com?utm_source=github&utm_medium=repopage_%40c15t%2Fdev-tools" target="_blank" rel="noopener noreferrer">
|
|
3
|
+
<picture>
|
|
4
|
+
<source media="(prefers-color-scheme: dark)" srcset="../../docs/assets/c15t-banner-readme-dark.svg" type="image/svg+xml">
|
|
5
|
+
<img src="../../docs/assets/c15t-banner-readme-light.svg" alt="c15t Banner" type="image/svg+xml">
|
|
6
|
+
</picture>
|
|
7
|
+
</a>
|
|
8
|
+
<br />
|
|
9
|
+
<h1 align="center">@c15t/dev-tools: Developer Tooling (Work in Progress)</h1>
|
|
10
|
+
</p>
|
|
5
11
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
12
|
+
[](https://github.com/c15t/c15t)
|
|
13
|
+
[](https://github.com/c15t/c15t/actions/workflows/ci.yml)
|
|
14
|
+
[](https://github.com/c15t/c15t/blob/main/LICENSE.md)
|
|
15
|
+
[](https://c15t.com/discord)
|
|
16
|
+
[](https://www.npmjs.com/package/@c15t/dev-tools)
|
|
17
|
+
[](https://github.com/c15t/c15t)
|
|
18
|
+
[](https://github.com/c15t/c15t/commits/main)
|
|
19
|
+
[](https://github.com/c15t/c15t/issues)
|
|
11
20
|
|
|
21
|
+
A collection of developer tools and utilities for the c15t ecosystem, currently under active development.
|
|
12
22
|
|
|
13
|
-
##
|
|
23
|
+
## Key Features
|
|
24
|
+
|
|
25
|
+
- 🚧 Experimental developer utilities
|
|
26
|
+
- React component library with utility tools
|
|
27
|
+
- Radix UI and Tailwind CSS integration
|
|
28
|
+
- State management and UI component helpers
|
|
29
|
+
- Ongoing development and refinement
|
|
30
|
+
|
|
31
|
+
## Prerequisites
|
|
32
|
+
|
|
33
|
+
- Node.js 18.17.0 or later
|
|
34
|
+
- React 16.8.0 or later
|
|
35
|
+
- Familiarity with experimental tooling
|
|
36
|
+
|
|
37
|
+
## Manual Installation
|
|
14
38
|
|
|
15
39
|
```bash
|
|
16
|
-
npm install @c15t/dev-tools
|
|
17
|
-
# or
|
|
18
|
-
yarn add @c15t/dev-tools
|
|
19
|
-
# or
|
|
20
40
|
pnpm add @c15t/dev-tools
|
|
21
41
|
```
|
|
22
42
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
43
|
+
⚠️ **Note:** This package is experimental and may undergo significant changes.
|
|
44
|
+
|
|
45
|
+
## Usage
|
|
46
|
+
|
|
47
|
+
1. 🚧 Explore the dev tools with caution
|
|
48
|
+
2. Import and use components carefully
|
|
49
|
+
3. Expect potential breaking changes
|
|
50
|
+
4. Feedback and contributions welcome!
|
|
51
|
+
|
|
52
|
+
## Documentation
|
|
53
|
+
|
|
54
|
+
For further information, guides, and examples visit the [reference documentation](https://c15t.com/docs/dev-tools/overview).
|
|
55
|
+
|
|
56
|
+
## Support
|
|
57
|
+
|
|
58
|
+
- Join our [Discord community](https://c15t.com/discord)
|
|
59
|
+
- Open an issue on our [GitHub repository](https://github.com/c15t/c15t/issues)
|
|
60
|
+
- Visit [consent.io](https://consent.io) and use the chat widget
|
|
61
|
+
- Contact our support team via email [support@consent.io](mailto:support@consent.io)
|
|
62
|
+
|
|
63
|
+
## Contributing
|
|
64
|
+
|
|
65
|
+
- We're open to all community contributions!
|
|
66
|
+
- Read our [Contribution Guidelines](https://c15t.com/docs/oss/contributing)
|
|
67
|
+
- Review our [Code of Conduct](https://c15t.com/docs/oss/code-of-conduct)
|
|
68
|
+
- Fork the repository
|
|
69
|
+
- Create a new branch for your feature
|
|
70
|
+
- Submit a pull request
|
|
71
|
+
- **All contributions, big or small, are welcome and appreciated!**
|
|
72
|
+
|
|
73
|
+
## Security
|
|
74
|
+
|
|
75
|
+
If you believe you have found a security vulnerability in c15t, we encourage you to **_responsibly disclose this and NOT open a public issue_**. We will investigate all legitimate reports.
|
|
76
|
+
|
|
77
|
+
Our preference is that you make use of GitHub's private vulnerability reporting feature to disclose potential security vulnerabilities in our Open Source Software. To do this, please visit [https://github.com/c15t/c15t/security](https://github.com/c15t/c15t/security) and click the "Report a vulnerability" button.
|
|
78
|
+
|
|
79
|
+
### Security Policy
|
|
80
|
+
|
|
81
|
+
- Please do not share security vulnerabilities in public forums, issues, or pull requests
|
|
82
|
+
- Provide detailed information about the potential vulnerability
|
|
83
|
+
- Allow reasonable time for us to address the issue before any public disclosure
|
|
84
|
+
- We are committed to addressing security concerns promptly and transparently
|
|
40
85
|
|
|
41
86
|
## License
|
|
42
87
|
|
|
43
|
-
[GNU General Public License v3.0](https://github.com/c15t/c15t/blob/main/LICENSE)
|
|
88
|
+
[GNU General Public License v3.0](https://github.com/c15t/c15t/blob/main/LICENSE.md)
|
|
89
|
+
|
|
90
|
+
---
|
|
91
|
+
|
|
92
|
+
**Built with ❤️ by the [consent.io](https://www.consent.io?utm_source=github&utm_medium=repopage_%40c15t%2Fdev-tools) team**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"error-state.d.ts","sourceRoot":"","sources":["../../src/components/error-state.tsx"],"names":[],"mappings":"AAGA,OAAO,mBAAmB,CAAC;AAE3B,wBAAgB,UAAU,CAAC,
|
|
1
|
+
{"version":3,"file":"error-state.d.ts","sourceRoot":"","sources":["../../src/components/error-state.tsx"],"names":[],"mappings":"AAGA,OAAO,mBAAmB,CAAC;AAE3B,wBAAgB,UAAU,CAAC,EAAE,SAAS,EAAE,EAAE;IAAE,SAAS,EAAE,MAAM,CAAA;CAAE,2CAiC9D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alert.d.ts","sourceRoot":"","sources":["../../../src/components/ui/alert.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"alert.d.ts","sourceRoot":"","sources":["../../../src/components/ui/alert.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAc,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AACxD,OAAO,aAAa,CAAC;AAcrB,QAAA,MAAM,KAAK;;gIAUT,CAAC;AAGH,QAAA,MAAM,UAAU,qIASd,CAAC;AAGH,QAAA,MAAM,gBAAgB,uIASpB,CAAC;AAGH,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,gBAAgB,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"badge.d.ts","sourceRoot":"","sources":["../../../src/components/ui/badge.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"badge.d.ts","sourceRoot":"","sources":["../../../src/components/ui/badge.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,OAAO,aAAa,CAAC;AAErB,QAAA,MAAM,aAAa;;8EAYjB,CAAC;AAEH,MAAM,WAAW,UAChB,SAAQ,cAAc,CAAC,cAAc,CAAC,EACrC,YAAY,CAAC,OAAO,aAAa,CAAC;CAAG;AAEvC,iBAAS,KAAK,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,GAAG,KAAK,EAAE,EAAE,UAAU,2CAI1D;AAED,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,CAAC"}
|
|
@@ -2,7 +2,7 @@ import { type VariantProps } from 'class-variance-authority';
|
|
|
2
2
|
import { type ButtonHTMLAttributes } from 'react';
|
|
3
3
|
import './button.css';
|
|
4
4
|
declare const buttonVariants: (props?: ({
|
|
5
|
-
variant?: "
|
|
5
|
+
variant?: "default" | "destructive" | "link" | "outline" | "secondary" | "ghost" | null | undefined;
|
|
6
6
|
size?: "default" | "sm" | "lg" | "icon" | null | undefined;
|
|
7
7
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
8
8
|
export interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../src/components/ui/button.tsx"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../src/components/ui/button.tsx"],"names":[],"mappings":"AACA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,KAAK,oBAAoB,EAAc,MAAM,OAAO,CAAC;AAC9D,OAAO,cAAc,CAAC;AAEtB,QAAA,MAAM,cAAc;;;8EAqBlB,CAAC;AAEH,MAAM,WAAW,WAChB,SAAQ,oBAAoB,CAAC,iBAAiB,CAAC,EAC9C,YAAY,CAAC,OAAO,cAAc,CAAC;IACpC,OAAO,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,QAAA,MAAM,MAAM,2GAWX,CAAC;AAGF,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"card.d.ts","sourceRoot":"","sources":["../../../src/components/ui/card.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"card.d.ts","sourceRoot":"","sources":["../../../src/components/ui/card.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AACxD,OAAO,YAAY,CAAC;AAEpB,QAAA,MAAM,IAAI,2HAQT,CAAC;AAGF,QAAA,MAAM,UAAU,2HAQf,CAAC;AAGF,QAAA,MAAM,SAAS,qIASb,CAAC;AAGH,QAAA,MAAM,eAAe,uIASnB,CAAC;AAGH,QAAA,MAAM,WAAW,2HAQhB,CAAC;AAGF,QAAA,MAAM,UAAU,2HAQf,CAAC;AAGF,OAAO,EACN,IAAI,EACJ,UAAU,EACV,UAAU,EACV,SAAS,EACT,eAAe,EACf,WAAW,GACX,CAAC"}
|
package/dist/dev-tool.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dev-tool.d.ts","sourceRoot":"","sources":["../src/dev-tool.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,MAAM,CAAC;AAEhE,OAAO,
|
|
1
|
+
{"version":3,"file":"dev-tool.d.ts","sourceRoot":"","sources":["../src/dev-tool.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,MAAM,CAAC;AAEhE,OAAO,EAEN,KAAK,EAAE,EAKP,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAKhD,OAAO,oBAAoB,CAAC;AAC5B,QAAA,MAAM,kBAAkB;WAChB,mBAAmB,GAAG,IAAI;WAC1B,QAAQ,CAAC,mBAAmB,CAAC,GAAG,IAAI;SAC7B,CAAC;AAEhB,eAAO,MAAM,QAAQ,kCAgCpB,CAAC;AAEF,eAAe,kBAAkB,CAAC;AAElC,MAAM,WAAW,2BAA4B,SAAQ,cAAc;IAClE,QAAQ,CAAC,EAAE,cAAc,GAAG,WAAW,GAAG,aAAa,GAAG,UAAU,CAAC;CACrE;AAED,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,2BAA2B,CAoDxD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"router.d.ts","sourceRoot":"","sources":["../../src/router/router.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"router.d.ts","sourceRoot":"","sources":["../../src/router/router.tsx"],"names":[],"mappings":"AAwBA,UAAU,WAAW;IACpB,OAAO,EAAE,MAAM,IAAI,CAAC;CACpB;AAED,wBAAgB,MAAM,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,WAAW,2CAoHxD"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@c15t/dev-tools",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.6.0",
|
|
4
|
+
"description": "A collection of developer tools and utilities for the c15t ecosystem, currently under active development.",
|
|
5
|
+
"homepage": "https://c15t.com",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "https://github.com/c15t/c15t.git",
|
|
9
|
+
"directory": "packages/dev-tools"
|
|
10
|
+
},
|
|
4
11
|
"license": "GPL-3.0-only",
|
|
5
12
|
"type": "module",
|
|
6
13
|
"main": "dist/index.cjs",
|
|
@@ -26,7 +33,7 @@
|
|
|
26
33
|
"tsc-alias": "^1.8.15",
|
|
27
34
|
"usehooks-ts": "^3.1.1",
|
|
28
35
|
"zustand": "^5.0.3",
|
|
29
|
-
"c15t": "1.
|
|
36
|
+
"c15t": "1.6.0"
|
|
30
37
|
},
|
|
31
38
|
"devDependencies": {
|
|
32
39
|
"postcss": "^8.5.3",
|
|
@@ -43,7 +50,7 @@
|
|
|
43
50
|
"build": "rslib build",
|
|
44
51
|
"check-types": "tsc --noEmit",
|
|
45
52
|
"dev": "rslib build --watch",
|
|
46
|
-
"fmt": "pnpm biome format --write . && pnpm biome check --formatter-enabled=false --linter-enabled=false --
|
|
53
|
+
"fmt": "pnpm biome format --write . && pnpm biome check --formatter-enabled=false --linter-enabled=false --write",
|
|
47
54
|
"lint": "pnpm biome lint ./src"
|
|
48
55
|
}
|
|
49
56
|
}
|
package/readme.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"title": "@c15t/dev-tools: Developer Tooling (Work in Progress)",
|
|
3
|
+
"description": "A collection of developer tools and utilities for the c15t ecosystem, currently under active development.",
|
|
4
|
+
"features": [
|
|
5
|
+
"🚧 Experimental developer utilities",
|
|
6
|
+
"React component library with utility tools",
|
|
7
|
+
"Radix UI and Tailwind CSS integration",
|
|
8
|
+
"State management and UI component helpers",
|
|
9
|
+
"Ongoing development and refinement"
|
|
10
|
+
],
|
|
11
|
+
"prerequisites": [
|
|
12
|
+
"Node.js 18.17.0 or later",
|
|
13
|
+
"React 16.8.0 or later",
|
|
14
|
+
"Familiarity with experimental tooling"
|
|
15
|
+
],
|
|
16
|
+
"manualInstallation": [
|
|
17
|
+
"",
|
|
18
|
+
"```bash\npnpm add @c15t/dev-tools\n```",
|
|
19
|
+
"",
|
|
20
|
+
"⚠️ **Note:** This package is experimental and may undergo significant changes."
|
|
21
|
+
],
|
|
22
|
+
"usage": [
|
|
23
|
+
"🚧 Explore the dev tools with caution",
|
|
24
|
+
"Import and use components carefully",
|
|
25
|
+
"Expect potential breaking changes",
|
|
26
|
+
"Feedback and contributions welcome!"
|
|
27
|
+
],
|
|
28
|
+
"docsLink": "https://c15t.com/docs/dev-tools/overview",
|
|
29
|
+
"quickStartLink": "https://c15t.com/docs/dev-tools/quickstart",
|
|
30
|
+
"showCLIGeneration": false
|
|
31
|
+
}
|