Skip to content

Commit

Permalink
➕ add pinia store #70
Browse files Browse the repository at this point in the history
  • Loading branch information
trydofor committed Oct 22, 2024
1 parent 1a8746c commit ffa8942
Show file tree
Hide file tree
Showing 11 changed files with 1,344 additions and 677 deletions.
6 changes: 6 additions & 0 deletions .changeset/lazy-sloths-fold.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@fessional/razor-common": patch
"@fessional/razor-mobile": patch
---

➕ pinia store #70
25 changes: 20 additions & 5 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,27 @@
{
"recommendations": [
"ionic.ionic",
"EditorConfig.EditorConfig",
"dbaeumer.vscode-eslint",
"lokalise.i18n-ally",
"antfu.array-index-inlay",
"antfu.iconify",
"antfu.pnpm-catalog-lens",
"antfu.smart-clicks",
"antfu.unocss",
"dbaeumer.vscode-eslint",
"EditorConfig.EditorConfig",
"ionic.ionic",
"ipatalas.vscode-postfix-ts",
"johnpapa.vscode-peacock",
"lokalise.i18n-ally",
"meganrogge.template-string-converter",
"mhutchie.git-graph",
"naumovs.color-highlight",
"Nuxtr.nuxt-vscode-extentions",
"oderwat.indent-rainbow",
"pkief.material-icon-theme",
"pmneo.tsimporter",
"qcz.text-power-tools",
"seatonjiang.gitmoji-vscode",
"streetsidesoftware.code-spell-checker",
"vitest.explorer",
"zt5.http-server",
]
}
}
19 changes: 13 additions & 6 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,27 +13,34 @@
"files.encoding": "utf8bom",
"files.autoGuessEncoding": true,
"cSpell.words": [
"composables",
"devs",
"antfu",
"composable",
"Datetime",
"dev",
"dropoff",
"esbuild",
"fessional",
"iconify",
"imagetools",
"imagetool",
"ionicons",
"jsdom",
"movingkite",
"nuxi",
"Nuxt",
"nuxt",
"nuxtjs",
"pinia",
"pnpmfile",
"revi",
"rimraf",
"serv",
"servs",
"taze",
"typecheck",
"unocss",
"vite",
"vitejs",
"vitest"
]
"vitest",
"vueuse"
],
"cSpell.allowCompoundWords": true
}
4 changes: 4 additions & 0 deletions hoist-layer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@
"dependencies": {
"@vueuse/core": "catalog:common",
"@vueuse/nuxt": "catalog:common",
"pinia": "catalog:common",
"vue": "catalog:common"
},
"devDependencies": {
"@iconify-json/mdi": "catalog:commonDev",
"@nuxt/eslint": "catalog:commonDev",
"@nuxt/test-utils": "catalog:commonDev",
"@pinia/nuxt": "catalog:commonDev",
"@unocss/core": "catalog:commonDev",
"@unocss/nuxt": "catalog:commonDev",
"@unocss/preset-icons": "catalog:commonDev",
Expand All @@ -35,6 +37,7 @@
"ionicons": "catalog:mobile",
"@vueuse/core": "catalog:common",
"@vueuse/nuxt": "catalog:common",
"pinia": "catalog:common",
"vue": "catalog:common"
},
"devDependencies": {
Expand All @@ -43,6 +46,7 @@
"@iconify-json/mdi": "catalog:commonDev",
"@nuxt/eslint": "catalog:commonDev",
"@nuxt/test-utils": "catalog:commonDev",
"@pinia/nuxt": "catalog:commonDev",
"@unocss/core": "catalog:commonDev",
"@unocss/nuxt": "catalog:commonDev",
"@unocss/preset-icons": "catalog:commonDev",
Expand Down
2 changes: 1 addition & 1 deletion layers/common/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export default defineNuxtConfig({
},
compatibilityDate: '2024-09-17',
devtools: { enabled: true },
modules: ['@unocss/nuxt', '@nuxt/eslint', '@nuxt/test-utils/module'],
modules: ['@unocss/nuxt', '@nuxt/eslint', '@nuxt/test-utils/module', '@pinia/nuxt'],
// https://unocss.dev/integrations/nuxt
unocss: {
nuxtLayers: true,
Expand Down
4 changes: 3 additions & 1 deletion layers/common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"@iconify-json/mdi": "catalog:commonDev",
"@nuxt/eslint": "catalog:commonDev",
"@nuxt/test-utils": "catalog:commonDev",
"@pinia/nuxt": "catalog:commonDev",
"@unocss/core": "catalog:commonDev",
"@unocss/nuxt": "catalog:commonDev",
"@unocss/preset-icons": "catalog:commonDev",
Expand All @@ -35,6 +36,7 @@
"dependencies": {
"@vueuse/core": "catalog:common",
"@vueuse/nuxt": "catalog:common",
"pinia": "catalog:common",
"vue": "catalog:common"
}
}
}
Loading

0 comments on commit ffa8942

Please sign in to comment.