@charpente-ui/vue 1.0.0-beta.4 → 1.1.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/LICENSE.md +21 -0
- package/README.md +68 -12
- package/dist/charpente.js +4 -4
- package/dist/charpente.umd.cjs +1 -1
- package/dist/components/BaseCheckbox.d.ts +4 -4
- package/dist/components/BaseForm.d.ts +21 -0
- package/dist/components/BaseRadio.d.ts +4 -4
- package/dist/components/BaseSelect.d.ts +3 -3
- package/dist/components/__tests__/BaseButton.spec.d.ts +1 -0
- package/dist/components/__tests__/BaseCheckbox.spec.d.ts +1 -0
- package/dist/components/__tests__/BaseForm.spec.d.ts +1 -0
- package/dist/components/__tests__/BaseInput.spec.d.ts +1 -0
- package/dist/components/__tests__/BaseLabel.spec.d.ts +1 -0
- package/dist/components/__tests__/BaseSelect.spec.d.ts +1 -0
- package/dist/components/__tests__/BaseTextarea.spec.d.ts +1 -0
- package/package.json +31 -1
package/LICENSE.md
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Front Factory
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -6,7 +6,23 @@
|
|
|
6
6
|
|
|
7
7
|
## Introduction
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
A logic-first, headless UI library for Vue 3. The accessibility and logic you need, without the CSS you don't.
|
|
10
|
+
|
|
11
|
+
## Philosophy: Don't Reinvent the Wheel
|
|
12
|
+
|
|
13
|
+
**Charpente UI** is built on a simple promise: We handle the boring stuff, you handle the design.
|
|
14
|
+
|
|
15
|
+
Most UI libraries are bloated because they try to impose a visual style. **Charpente UI** is headless. We provide the
|
|
16
|
+
"chassis" _(HTML structure and complex input logic)_ and you bring the "paint" _(Tailwind, CSS Modules, or
|
|
17
|
+
Styled Components)_.
|
|
18
|
+
|
|
19
|
+
### Core Principles:
|
|
20
|
+
|
|
21
|
+
* **Zero Style:** No CSS included. Total freedom for your UI.
|
|
22
|
+
* **Transparent Wrapper:** We don't hide native HTML. Attributes like type, placeholder, or required work exactly like
|
|
23
|
+
standard HTML via attribute inheritance.
|
|
24
|
+
* **Smart Logic:** Complex components like `CCheckbox` or `CRadio` handle array management and state internally so you
|
|
25
|
+
don't have to "take the lead" on complex boilerplate.
|
|
10
26
|
|
|
11
27
|
## Installing
|
|
12
28
|
|
|
@@ -17,21 +33,61 @@ npm install @charpente-ui/vue
|
|
|
17
33
|
## Usage
|
|
18
34
|
|
|
19
35
|
```vue
|
|
20
|
-
|
|
36
|
+
<script setup>
|
|
37
|
+
import { ref } from 'vue';
|
|
38
|
+
import { CInput, CButton, CLabel } from '@charpente-ui/vue';
|
|
39
|
+
|
|
40
|
+
const email = ref('');
|
|
41
|
+
</script>
|
|
21
42
|
|
|
22
43
|
<template>
|
|
23
|
-
<
|
|
44
|
+
<div class="form-group">
|
|
45
|
+
<CLabel for="email-field">Email Address</CLabel>
|
|
46
|
+
|
|
47
|
+
<CInput id="email-field" v-model="email" type="email" placeholder="hello@world.com"
|
|
48
|
+
class="my-custom-input-style"/>
|
|
49
|
+
|
|
50
|
+
<CButton @click="submit" class="btn-primary">
|
|
51
|
+
Subscribe
|
|
52
|
+
</CButton>
|
|
53
|
+
</div>
|
|
24
54
|
</template>
|
|
25
55
|
```
|
|
26
56
|
|
|
57
|
+
## Component Reference
|
|
58
|
+
|
|
59
|
+
1. **Form Inputs** **(CInput, CTextarea, CSelect)**
|
|
60
|
+
|
|
61
|
+
These components are thin wrappers around native elements. They use `v-model` and automatically link with labels via
|
|
62
|
+
`useId()`. Full attribute inheritance.
|
|
63
|
+
|
|
64
|
+
2. **Selection Logic** _(CCheckbox, CRadio)_
|
|
65
|
+
|
|
66
|
+
Managing checkbox arrays in Vue can be repetitive. **Charpente UI** simplifies this:
|
|
67
|
+
|
|
68
|
+
```vue
|
|
69
|
+
<CCheckbox v-model="tags" value="foo"/>
|
|
70
|
+
<CCheckbox v-model="tags" value="bar"/>
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
3. **Polymorphic Elements** _(CButton)_
|
|
74
|
+
|
|
75
|
+
The button can change its HTML tag while keeping its behavior.
|
|
76
|
+
|
|
77
|
+
```vue
|
|
78
|
+
<CButton as="a" href="/login">Login Link</CButton>
|
|
79
|
+
<CButton as="RouterLink" to="/dashboard">Dashboard</CButton>
|
|
80
|
+
```
|
|
81
|
+
|
|
27
82
|
## Components
|
|
28
83
|
|
|
29
|
-
| Name |
|
|
30
|
-
|
|
31
|
-
| Button |
|
|
32
|
-
|
|
|
33
|
-
|
|
|
34
|
-
|
|
|
35
|
-
|
|
|
36
|
-
| Radio |
|
|
37
|
-
| Select |
|
|
84
|
+
| Name | Core Logic | Tag | Status |
|
|
85
|
+
|----------|----------------------------------------------------------------------------------|-------------|--------|
|
|
86
|
+
| Button | **Polymorphic:** Switches tags _(a, button, etc...)_ while keeping logic. | `CButton` | Ready |
|
|
87
|
+
| Checkbox | **Smart Toggle:** Handles array state and booleans natively. | `CCheckbox` | Ready |
|
|
88
|
+
| Form | **Auto-Submit:** Integrated `preventDefault` and event handling. | `CForm` | Ready |
|
|
89
|
+
| Input | **Auto-ID:** Auto-links to labels via `useId()` and full attributes inheritance. | `CInput` | Ready |
|
|
90
|
+
| Label | **Context-Aware:** Simple, accessible binding for any input. | `CLabel` | Ready |
|
|
91
|
+
| Radio | **Selection:** Minimalist wrapper for native radio input. | `CRadio` | Ready |
|
|
92
|
+
| Select | **Native Wrapper:** Easy option management without the boilerplate. | `CSelect` | Ready |
|
|
93
|
+
| Textarea | **Flexible Binding:** Auto-ID and reactive model management. | `CTextarea` | Ready |
|
package/dist/charpente.js
CHANGED
|
@@ -113,10 +113,10 @@ const T = /* @__PURE__ */ n({
|
|
|
113
113
|
emits: ["update:modelValue"],
|
|
114
114
|
setup(t) {
|
|
115
115
|
const e = m(t, "modelValue"), o = c(), s = p(() => o.id || v());
|
|
116
|
-
return (l, a) => _((u(), d("textarea", i({
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
}
|
|
116
|
+
return (l, a) => _((u(), d("textarea", i(l.$attrs, {
|
|
117
|
+
"onUpdate:modelValue": a[0] || (a[0] = (r) => e.value = r),
|
|
118
|
+
id: s.value
|
|
119
|
+
}), null, 16, D)), [
|
|
120
120
|
[I, e.value]
|
|
121
121
|
]);
|
|
122
122
|
}
|
package/dist/charpente.umd.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(n,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(n=typeof globalThis<"u"?globalThis:n||self,e(n.Charpente={},n.Vue))})(this,(function(n,e){"use strict";const i=e.defineComponent({inheritAttrs:!1,__name:"BaseButton",props:{as:{default:"button"}},setup(o){return(t,s)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o.as),e.normalizeProps(e.guardReactiveProps(t.$attrs)),{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3},16))}}),m=["id","value"],c=e.defineComponent({inheritAttrs:!1,__name:"BaseCheckbox",props:e.mergeModels({value:{}},{modelValue:{type:[Boolean,Array]},modelModifiers:{}}),emits:["update:modelValue"],setup(o){const t=e.useModel(o,"modelValue"),s=e.useAttrs(),r=e.computed(()=>s.id||e.useId());return(a,l)=>e.withDirectives((e.openBlock(),e.createElementBlock("input",e.mergeProps({type:"checkbox"},a.$attrs,{"onUpdate:modelValue":l[0]||(l[0]=d=>t.value=d),id:r.value,value:o.value}),null,16,m)),[[e.vModelCheckbox,t.value]])}}),p=["id"],u=e.defineComponent({inheritAttrs:!1,__name:"BaseInput",props:{modelValue:{},modelModifiers:{}},emits:["update:modelValue"],setup(o){const t=e.useModel(o,"modelValue"),s=e.useAttrs(),r=e.computed(()=>s.id||e.useId());return(a,l)=>e.withDirectives((e.openBlock(),e.createElementBlock("input",e.mergeProps(a.$attrs,{"onUpdate:modelValue":l[0]||(l[0]=d=>t.value=d),id:r.value}),null,16,p)),[[e.vModelDynamic,t.value]])}}),f=["for"],_=e.defineComponent({inheritAttrs:!1,__name:"BaseLabel",props:{for:{}},setup(o){const t=o;return(s,r)=>(e.openBlock(),e.createElementBlock("label",e.mergeProps(s.$attrs,{for:t.for}),[e.renderSlot(s.$slots,"default")],16,f))}}),h=["id","value"],B=e.defineComponent({inheritAttrs:!1,__name:"BaseRadio",props:e.mergeModels({value:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(o){const t=e.useModel(o,"modelValue"),s=e.useAttrs(),r=e.computed(()=>s.id||e.useId());return(a,l)=>e.withDirectives((e.openBlock(),e.createElementBlock("input",e.mergeProps({type:"radio"},a.$attrs,{"onUpdate:modelValue":l[0]||(l[0]=d=>t.value=d),id:r.value,value:o.value}),null,16,h)),[[e.vModelRadio,t.value]])}}),V=["id"],$=e.defineComponent({inheritAttrs:!1,__name:"BaseSelect",props:{modelValue:{},modelModifiers:{}},emits:["update:modelValue"],setup(o){const t=e.useModel(o,"modelValue"),s=e.useAttrs(),r=e.computed(()=>s.id||e.useId());return(a,l)=>e.withDirectives((e.openBlock(),e.createElementBlock("select",e.mergeProps(a.$attrs,{"onUpdate:modelValue":l[0]||(l[0]=d=>t.value=d),id:r.value}),[e.renderSlot(a.$slots,"default")],16,V)),[[e.vModelSelect,t.value]])}}),C=["id"],k=e.defineComponent({inheritAttrs:!1,__name:"BaseTextarea",props:{modelValue:{},modelModifiers:{}},emits:["update:modelValue"],setup(o){const t=e.useModel(o,"modelValue"),s=e.useAttrs(),r=e.computed(()=>s.id||e.useId());return(a,l)=>e.withDirectives((e.openBlock(),e.createElementBlock("textarea",e.mergeProps({
|
|
1
|
+
(function(n,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(n=typeof globalThis<"u"?globalThis:n||self,e(n.Charpente={},n.Vue))})(this,(function(n,e){"use strict";const i=e.defineComponent({inheritAttrs:!1,__name:"BaseButton",props:{as:{default:"button"}},setup(o){return(t,s)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o.as),e.normalizeProps(e.guardReactiveProps(t.$attrs)),{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3},16))}}),m=["id","value"],c=e.defineComponent({inheritAttrs:!1,__name:"BaseCheckbox",props:e.mergeModels({value:{}},{modelValue:{type:[Boolean,Array]},modelModifiers:{}}),emits:["update:modelValue"],setup(o){const t=e.useModel(o,"modelValue"),s=e.useAttrs(),r=e.computed(()=>s.id||e.useId());return(a,l)=>e.withDirectives((e.openBlock(),e.createElementBlock("input",e.mergeProps({type:"checkbox"},a.$attrs,{"onUpdate:modelValue":l[0]||(l[0]=d=>t.value=d),id:r.value,value:o.value}),null,16,m)),[[e.vModelCheckbox,t.value]])}}),p=["id"],u=e.defineComponent({inheritAttrs:!1,__name:"BaseInput",props:{modelValue:{},modelModifiers:{}},emits:["update:modelValue"],setup(o){const t=e.useModel(o,"modelValue"),s=e.useAttrs(),r=e.computed(()=>s.id||e.useId());return(a,l)=>e.withDirectives((e.openBlock(),e.createElementBlock("input",e.mergeProps(a.$attrs,{"onUpdate:modelValue":l[0]||(l[0]=d=>t.value=d),id:r.value}),null,16,p)),[[e.vModelDynamic,t.value]])}}),f=["for"],_=e.defineComponent({inheritAttrs:!1,__name:"BaseLabel",props:{for:{}},setup(o){const t=o;return(s,r)=>(e.openBlock(),e.createElementBlock("label",e.mergeProps(s.$attrs,{for:t.for}),[e.renderSlot(s.$slots,"default")],16,f))}}),h=["id","value"],B=e.defineComponent({inheritAttrs:!1,__name:"BaseRadio",props:e.mergeModels({value:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(o){const t=e.useModel(o,"modelValue"),s=e.useAttrs(),r=e.computed(()=>s.id||e.useId());return(a,l)=>e.withDirectives((e.openBlock(),e.createElementBlock("input",e.mergeProps({type:"radio"},a.$attrs,{"onUpdate:modelValue":l[0]||(l[0]=d=>t.value=d),id:r.value,value:o.value}),null,16,h)),[[e.vModelRadio,t.value]])}}),V=["id"],$=e.defineComponent({inheritAttrs:!1,__name:"BaseSelect",props:{modelValue:{},modelModifiers:{}},emits:["update:modelValue"],setup(o){const t=e.useModel(o,"modelValue"),s=e.useAttrs(),r=e.computed(()=>s.id||e.useId());return(a,l)=>e.withDirectives((e.openBlock(),e.createElementBlock("select",e.mergeProps(a.$attrs,{"onUpdate:modelValue":l[0]||(l[0]=d=>t.value=d),id:r.value}),[e.renderSlot(a.$slots,"default")],16,V)),[[e.vModelSelect,t.value]])}}),C=["id"],k=e.defineComponent({inheritAttrs:!1,__name:"BaseTextarea",props:{modelValue:{},modelModifiers:{}},emits:["update:modelValue"],setup(o){const t=e.useModel(o,"modelValue"),s=e.useAttrs(),r=e.computed(()=>s.id||e.useId());return(a,l)=>e.withDirectives((e.openBlock(),e.createElementBlock("textarea",e.mergeProps(a.$attrs,{"onUpdate:modelValue":l[0]||(l[0]=d=>t.value=d),id:r.value}),null,16,C)),[[e.vModelText,t.value]])}});n.CButton=i,n.CCheckbox=c,n.CInput=u,n.CLabel=_,n.CRadio=B,n.CSelect=$,n.CTextarea=k,Object.defineProperty(n,Symbol.toStringTag,{value:"Module"})}));
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
|
-
value?:
|
|
2
|
+
value?: unknown;
|
|
3
3
|
};
|
|
4
4
|
type __VLS_PublicProps = {
|
|
5
|
-
modelValue?: boolean |
|
|
5
|
+
modelValue?: boolean | unknown[];
|
|
6
6
|
} & __VLS_Props;
|
|
7
7
|
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
8
|
-
"update:modelValue": (value: boolean |
|
|
8
|
+
"update:modelValue": (value: boolean | unknown[]) => any;
|
|
9
9
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
10
|
-
"onUpdate:modelValue"?: ((value: boolean |
|
|
10
|
+
"onUpdate:modelValue"?: ((value: boolean | unknown[]) => any) | undefined;
|
|
11
11
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
12
12
|
export default _default;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: {
|
|
4
|
+
default?(_: {}): any;
|
|
5
|
+
};
|
|
6
|
+
refs: {};
|
|
7
|
+
rootEl: any;
|
|
8
|
+
};
|
|
9
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
10
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
11
|
+
submit: (event: Event) => any;
|
|
12
|
+
}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
|
|
13
|
+
onSubmit?: ((event: Event) => any) | undefined;
|
|
14
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
15
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
18
|
+
new (): {
|
|
19
|
+
$slots: S;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
|
-
value:
|
|
2
|
+
value: unknown;
|
|
3
3
|
};
|
|
4
4
|
type __VLS_PublicProps = {
|
|
5
|
-
modelValue?:
|
|
5
|
+
modelValue?: unknown;
|
|
6
6
|
} & __VLS_Props;
|
|
7
7
|
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
8
|
-
"update:modelValue": (value:
|
|
8
|
+
"update:modelValue": (value: unknown) => any;
|
|
9
9
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
10
|
-
"onUpdate:modelValue"?: ((value:
|
|
10
|
+
"onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
|
|
11
11
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
12
12
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
type __VLS_PublicProps = {
|
|
2
|
-
modelValue?:
|
|
2
|
+
modelValue?: unknown;
|
|
3
3
|
};
|
|
4
4
|
declare function __VLS_template(): {
|
|
5
5
|
attrs: Partial<{}>;
|
|
@@ -11,9 +11,9 @@ declare function __VLS_template(): {
|
|
|
11
11
|
};
|
|
12
12
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
13
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
14
|
-
"update:modelValue": (value:
|
|
14
|
+
"update:modelValue": (value: unknown) => any;
|
|
15
15
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
16
|
-
"onUpdate:modelValue"?: ((value:
|
|
16
|
+
"onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
|
|
17
17
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
18
18
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
19
19
|
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@charpente-ui/vue",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "Charpente UI is a headless CSS Vue component library.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
7
|
+
"lint:js": "eslint --fix .",
|
|
8
|
+
"lint": "npm-run-all --parallel lint:*",
|
|
7
9
|
"build": "vite build",
|
|
10
|
+
"test": "vitest",
|
|
11
|
+
"test:coverage": "vitest run --coverage",
|
|
8
12
|
"prepare": "husky && npm run build",
|
|
9
13
|
"release": "semantic-release"
|
|
10
14
|
},
|
|
@@ -24,17 +28,43 @@
|
|
|
24
28
|
"devDependencies": {
|
|
25
29
|
"@commitlint/cli": "^20.4.2",
|
|
26
30
|
"@commitlint/config-conventional": "^20.4.2",
|
|
31
|
+
"@front-factory/eslint-config": "^1.3.1",
|
|
27
32
|
"@semantic-release/changelog": "^6.0.3",
|
|
28
33
|
"@semantic-release/git": "^10.0.1",
|
|
29
34
|
"@semantic-release/github": "^12.0.6",
|
|
30
35
|
"@vitejs/plugin-vue": "^6.0.4",
|
|
36
|
+
"@vitest/coverage-v8": "^4.0.18",
|
|
37
|
+
"@vue/test-utils": "^2.4.6",
|
|
31
38
|
"conventional-changelog-conventionalcommits": "^9.1.0",
|
|
39
|
+
"eslint": "^10.0.2",
|
|
40
|
+
"eslint-plugin-vue": "^10.8.0",
|
|
32
41
|
"husky": "^9.1.7",
|
|
42
|
+
"jsdom": "^28.1.0",
|
|
43
|
+
"npm-run-all2": "^8.0.4",
|
|
33
44
|
"semantic-release": "^25.0.3",
|
|
45
|
+
"typescript-eslint": "^8.56.1",
|
|
34
46
|
"vite": "^7.3.1",
|
|
35
47
|
"vite-plugin-dts": "^4.5.4",
|
|
48
|
+
"vitest": "^4.0.18",
|
|
36
49
|
"vue": "^3.5.29"
|
|
37
50
|
},
|
|
51
|
+
"keywords": [
|
|
52
|
+
"vue",
|
|
53
|
+
"components",
|
|
54
|
+
"framework",
|
|
55
|
+
"charpente",
|
|
56
|
+
"ui",
|
|
57
|
+
"headless"
|
|
58
|
+
],
|
|
59
|
+
"license": "MIT",
|
|
60
|
+
"homepage": "https://github.com/charpente-ui/vue",
|
|
61
|
+
"bugs": {
|
|
62
|
+
"url": "https://github.com/charpente-ui/vue/issues"
|
|
63
|
+
},
|
|
64
|
+
"repository": {
|
|
65
|
+
"type": "git",
|
|
66
|
+
"url": "git+https://github.com/charpente-ui/vue.git"
|
|
67
|
+
},
|
|
38
68
|
"files": [
|
|
39
69
|
"dist"
|
|
40
70
|
],
|