Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
bab52b7
feat(preset-nuxt-ui): add Nuxt UI preset
AmmarKaraja Sep 21, 2025
53ee795
refactor(playground): externalize schema & sample schemaComponents to…
AmmarKaraja Sep 24, 2025
e902953
feat(playground): add Nuxt UI 3.3.4 & Tailwind v4
AmmarKaraja Sep 24, 2025
334b498
update: cleanup
AmmarKaraja Sep 26, 2025
1d62c2c
fix access to nuxt ui components from preset-nuxt-ui
mariusheine Oct 13, 2025
74b3942
use FormField instead of FormGroup
mariusheine Oct 13, 2025
0d06f9f
fix: structural and styling adjustments for Nuxt UI components
AmmarKaraja Oct 14, 2025
c141f58
fix: structural and styling adjustments for Nuxt UI components
Oct 17, 2025
55a5ad6
feat: add preset switcher (Nuxt UI ⇄ Sample) & external style config
Oct 21, 2025
7597e3c
feat: switchable schema components (Sample/Nuxt) + auto-reset
Oct 22, 2025
e358a5b
fix(repeater): make “Add item” not full-width + visible button borders
Oct 22, 2025
4aa5de7
fix: Lint + Typecheck
Oct 23, 2025
41af73f
fix: Lint + Typecheck
Oct 23, 2025
f0d02c8
fix(playground): Lint + Typecheck
Oct 23, 2025
3a2238f
fix(preset-nuxt-ui): "i" was missing in the name
Oct 23, 2025
1d2efad
update: removing unnessery lines
Oct 23, 2025
1b319a0
update: removing unnessery lines
Oct 23, 2025
53a134e
update(preset-nuxt-ui): rename the Package back to "preset-nuxt-ui)"
Oct 23, 2025
d2e31bd
fix(preset-nuxt-ui): lint
Oct 23, 2025
9988599
update(preset-nuxt-ui): rename package to "@former-ui/preset-nuxt-ui"
Oct 23, 2025
67b30f4
fix: exports/build
Oct 23, 2025
32d0052
fix: lint
Oct 23, 2025
063cff5
fix: lint
Oct 23, 2025
4c7007a
update: add release-nuxt-ui-preset.yaml
Oct 24, 2025
c507d67
fix: lint
Oct 24, 2025
fbe3a3b
chore: general app tweaks, update Nuxt UI preset & release workflow
Oct 27, 2025
6b5b337
chore(deps): pin @unhead/vue to 2.0.19
Oct 27, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
68 changes: 68 additions & 0 deletions .github/workflows/release-nuxt-ui-preset.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
name: Release (preset-nuxt-ui)

on:
pull_request:
branches: [main]
push:
branches: [main]
tags:
- 'v*'

jobs:
release:
name: Release preset
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup git user
run: |
git config --global user.name "$(git --no-pager log --format=format:'%an' -n 1)"
git config --global user.email "$(git --no-pager log --format=format:'%ae' -n 1)"

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '22'
registry-url: 'https://registry.npmjs.org'

- name: Cache pnpm modules
uses: actions/cache@v4
with:
path: ~/.pnpm-store
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-

- uses: pnpm/action-setup@v4
with:
version: 9
run_install: true

- name: Build preset
working-directory: packages/preset-nuxt-ui
run: pnpm build

- name: Extract version from tag
if: github.ref_type == 'tag'
run: echo "PKG_VERSION=${GITHUB_REF_NAME#nuxt-ui-preset-}" >> $GITHUB_ENV

- name: Set version in package.json
if: github.ref_type == 'tag'
working-directory: packages/preset-nuxt-ui
run: pnpm version "${PKG_VERSION}" --no-commit-hooks --no-git-tag-version

- name: Publish to npm
if: github.ref_type == 'tag'
working-directory: packages/preset-nuxt-ui
run: pnpm version "${PKG_VERSION}" --no-commit-hooks --no-git-tag-version

- name: Publish to npm
if: github.ref_type == 'tag'
working-directory: packages/preset-nuxt-ui
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: pnpm publish --no-git-checks --access public
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,7 @@ test-results/
playwright-report/

.vite/

# Auto-generated type declarations
auto-imports.d.ts
components.d.ts
2 changes: 1 addition & 1 deletion packages/playground/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<title>Former Playground</title>
</head>
<body>
<div id="app"></div>
<div id="app" class="isolate"></div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>
11 changes: 8 additions & 3 deletions packages/playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,26 @@
"preview": "vite preview"
},
"dependencies": {
"@former-ui/preset-nuxt-ui": "workspace:*",
"@nuxt/ui": "3.3.4",
"@unhead/vue": "2.0.19",
"@vueuse/core": "12.0.0",
"former-ui": "workspace:*",
"vue": "^3.5.13"
"vue": "3.5.13",
"vue-router": "4.5.1"
},
"devDependencies": {
"@tailwindcss/postcss": "^4.1.13",
"@tsconfig/node22": "22.0.0",
"@types/lodash": "4.17.13",
"@types/node": "22.10.1",
"@vitejs/plugin-vue": "5.2.1",
"@vue/tsconfig": "0.7.0",
"@vueuse/core": "12.0.0",
"autoprefixer": "10.4.20",
"tailwindcss": "3.4.16",
"tailwindcss": "4.1.13",
"typescript": "5.7.2",
"vite": "6.1.6",
"vite": "^6.1.6",
"vite-plugin-css-injected-by-js": "3.5.2",
"vitest": "2.1.9",
"vue": "3.5.13",
Expand Down
8 changes: 3 additions & 5 deletions packages/playground/src/App.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<template>
<Playground />
<UApp>
<RouterView />
</UApp>
</template>

<script lang="ts" setup>
import Playground from './Playground.vue';
</script>
Loading
Loading