Skip to content

Commit

Permalink
test: initialize test
Browse files Browse the repository at this point in the history
  • Loading branch information
SegaraRai committed Dec 23, 2023
1 parent 2eb635e commit 9263291
Show file tree
Hide file tree
Showing 5 changed files with 1,651 additions and 1,192 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ jobs:
- name: Check code formatting
run: pnpm prettier -c .

- name: Test
run: pnpm nuxt test

- name: Build
run: pnpm build

Expand Down
2 changes: 1 addition & 1 deletion nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import path from "node:path";
import { createNitroSWPreset } from "./nitroSWPreset";

const nitro: {} =
process.env.NODE_ENV === "development"
process.env.NODE_ENV === "development" || process.env.NODE_ENV === "test"
? {}
: {
...createNitroSWPreset({
Expand Down
38 changes: 20 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,23 @@
"icons": "tsx buildLuontoIcons.mts"
},
"devDependencies": {
"@auth/core": "^0.18.4",
"@auth/core": "^0.19.0",
"@hebilicious/authjs-nuxt": "^0.3.5",
"@iconify-json/material-symbols": "^1.1.65",
"@iconify-json/mdi": "^1.1.58",
"@iconify-json/mingcute": "^1.1.13",
"@iconify-json/ph": "^1.1.8",
"@iconify-json/solar": "^1.1.8",
"@minify-html/node": "^0.11.1",
"@iconify-json/material-symbols": "^1.1.68",
"@iconify-json/mdi": "^1.1.63",
"@iconify-json/mingcute": "^1.1.14",
"@iconify-json/ph": "^1.1.9",
"@iconify-json/solar": "^1.1.9",
"@minify-html/node": "^0.11.2",
"@nuxt/devtools": "latest",
"@nuxt/eslint-config": "^0.2.0",
"@nuxt/ui": "^2.11.0",
"@nuxt/test-utils": "^3.9.0",
"@nuxt/ui": "^2.11.1",
"@nuxtjs/pwa": "^3.3.5",
"@types/mime-types": "^2.1.4",
"@vueuse/nuxt": "^10.6.1",
"@vueuse/nuxt": "^10.7.0",
"defu": "^6.1.3",
"eslint": "^8.55.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-define-config": "^2.0.0",
"fast-glob": "^3.3.2",
Expand All @@ -35,19 +36,20 @@
"lru-cache": "^10.1.0",
"mime-types": "^2.1.35",
"nuxt": "^3.8.2",
"prettier": "^3.1.0",
"svgo": "^3.0.5",
"prettier": "^3.1.1",
"svgo": "^3.1.0",
"taze": "^0.13.0",
"tsx": "^4.6.2",
"typescript": "^5.3.2",
"valibot": "^0.22.0",
"vue": "^3.3.10",
"tsx": "^4.7.0",
"typescript": "^5.3.3",
"valibot": "^0.24.1",
"vitest": "^1.1.0",
"vue": "^3.3.13",
"vue-router": "^4.2.5",
"vue-tsc": "^1.8.24",
"vue-tsc": "^1.8.26",
"workbox-build": "^7.0.0",
"workbox-precaching": "^7.0.0",
"workbox-routing": "^7.0.0",
"workbox-strategies": "^7.0.0",
"wrangler": "^3.18.0"
"wrangler": "^3.22.1"
}
}
Loading

0 comments on commit 9263291

Please sign in to comment.