Skip to content

Commit b6fc2c2

Browse files
committed
feat: update preview component styles and improve package scripts
1 parent 92706a3 commit b6fc2c2

File tree

6 files changed

+26
-12
lines changed

6 files changed

+26
-12
lines changed

.npmrc

Lines changed: 0 additions & 2 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ THX to [antfu / Vitesse Nuxt3](https://github.com/antfu/vitesse-nuxt3) for start
2121
- [State Management via Pinia](https://pinia.esm.dev)
2222
- [TipTap](https://tiptap.dev) - Headless Editor
2323
- [Vitest](https://vitest.dev/) - Blazing Fast Unit Test Framework ([Getting started](https://vitest.dev/guide))
24+
- [Compodium](https://github.com/romhml/compodium) - A plug and play component playground for Vue and Nuxt. ([Getting started](https://compodium.dev/getting-started/installation))
2425

2526
## Nuxt Modules (included in formkit-primevue-nuxt)
2627

compodium/preview.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
</div>
1111
</template>
1212

13-
<style lang='scss'>
13+
<style lang='scss' scoped>
1414
@use '../app/App.scss';
1515
1616
#workspace {

package.json

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,18 @@
44
"version": "2.3.2",
55
"license": "MIT",
66
"scripts": {
7-
"build": "nuxi build",
8-
"dev": "nuxi dev",
9-
"info": "nuxi info",
10-
"generate": "nuxi generate",
11-
"preview": "nuxi preview",
12-
"module": "nuxi init -t module my-module",
7+
"build": "nuxt build",
8+
"dev": "nuxt dev",
9+
"generate": "nuxt generate",
10+
"preview": "nuxt preview",
11+
"postinstall": "nuxt prepare",
1312
"start": "node .output/server/index.mjs",
1413
"lint": "eslint ./app",
1514
"lint:fix": "eslint --fix ./app",
1615
"test:ui": "vitest --ui",
1716
"test:unit": "vitest --run --reporter verbose",
1817
"test:ci": "vitest --run --reporter verbose",
1918
"test:coverage": "vitest run --coverage",
20-
"postinstall": "nuxt prepare",
2119
"release": "npm run lint && npm run build && changelogen --patch --release && git push --follow-tags"
2220
},
2321
"devDependencies": {

pnpm-workspace.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
shamefullyHoist: true
2+
strictPeerDependencies: true

tsconfig.json

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
11
{
2-
"extends": "./.nuxt/tsconfig.json"
3-
}
2+
// https://nuxt.com/docs/guide/concepts/typescript
3+
"files": [],
4+
"references": [
5+
{
6+
"path": "./.nuxt/tsconfig.app.json"
7+
},
8+
{
9+
"path": "./.nuxt/tsconfig.server.json"
10+
},
11+
{
12+
"path": "./.nuxt/tsconfig.shared.json"
13+
},
14+
{
15+
"path": "./.nuxt/tsconfig.node.json"
16+
}
17+
]
18+
}

0 commit comments

Comments
 (0)