Skip to content

Commit 0a318c7

Browse files
committed
chore(release): add unjs / changelogen
1 parent 865b72f commit 0a318c7

File tree

3 files changed

+494
-226
lines changed

3 files changed

+494
-226
lines changed

dev/pages/inputs/InputText.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const schema
1414
{
1515
$formkit: 'primeInputText',
1616
id: 'icon',
17-
name: 'icon',
17+
name: 'iconLeft',
1818
label: 'Icon Left',
1919
help: '',
2020
placeholder: 'icon',
@@ -23,7 +23,7 @@ const schema
2323
},
2424
{
2525
$formkit: 'primeInputText',
26-
name: 'icon',
26+
name: 'iconRight',
2727
label: 'Icon Right (Disabled)',
2828
help: 'Right Icon Demo',
2929
icon: 'pi pi-check',
@@ -32,7 +32,7 @@ const schema
3232
3333
]
3434
35-
const data = { name: 'tom', icon: 'Some Text ...' }
35+
const data = { name: 'Harry Potter', iconLeft: 'Some Text ...', iconRight: 'Another Text ...' }
3636
</script>
3737

3838
<template>

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@
6161
"dev": "vite serve dev",
6262
"dev:build": "vite build dev",
6363
"dev:preview": "vite preview dev",
64+
"release": "npm run lint && npm run build && changelogen --release && npm publish --access public && git push --follow-tags",
6465
"lint": "eslint .",
6566
"lint:fix": "eslint . --fix",
6667
"prepublishOnly": "pnpm build",
@@ -93,6 +94,7 @@
9394
"@vuedx/typescript-plugin-vue": "~0.7.6",
9495
"@vueuse/core": "^10.9.0",
9596
"@vueuse/head": "^2.0.0",
97+
"changelogen": "^0.5.5",
9698
"chart.js": "^4.4.2",
9799
"consola": "^3.2.3",
98100
"eslint": "^8.57.0",

0 commit comments

Comments
 (0)