nuxt-ignis 0.2.0 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -2
- package/README.md +2 -1
- package/assets/lang/en.json +3 -1
- package/components/AppFeatureList.vue +9 -0
- package/content.config.ts +12 -0
- package/features.ts +1 -0
- package/package.json +28 -6
- package/pages/second.vue +0 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,8 +1,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.2.2 (2025-02-25)
|
|
4
|
+
- build: bump `nuxt-spec` and `nuxt-neon`
|
|
5
|
+
- build: return `postcss-jit-props` dependency after a [bug gets fixed](https://github.com/GoogleChromeLabs/postcss-jit-props/commit/0c98b5367935b9c048a547400ee8346cb6c07b00)
|
|
6
|
+
|
|
7
|
+
## 0.2.1 (2025-02-17)
|
|
8
|
+
- feat: `@nuxt/fonts` included into built-in dependencies
|
|
9
|
+
- fix: added default content.config.ts to avoid warning on startup
|
|
10
|
+
- build: fixed couple of version issues in lock file
|
|
11
|
+
|
|
3
12
|
## 0.2.0 (2025-02-09)
|
|
4
|
-
- feat: breaking change update to
|
|
5
|
-
- feat:
|
|
13
|
+
- feat: breaking change update to `@nuxt/content v3` - in case of problems, see [migration guide](https://content.nuxt.com/docs/getting-started/migration)
|
|
14
|
+
- feat: `@nuxt/scripts` included into built-in dependencies
|
|
6
15
|
- build: Vite and Nuxt Kit version fix
|
|
7
16
|
|
|
8
17
|
## 0.1.10 (2025-02-06)
|
package/README.md
CHANGED
|
@@ -20,7 +20,7 @@ Aside from being "forked", `nuxt-ignis` is also available as [NPM package](https
|
|
|
20
20
|
|
|
21
21
|
1) Add following dependency into your `package.json`:
|
|
22
22
|
```
|
|
23
|
-
"nuxt-ignis": "0.2.
|
|
23
|
+
"nuxt-ignis": "0.2.2"
|
|
24
24
|
```
|
|
25
25
|
|
|
26
26
|
2) Add following section into your `nuxt.config.ts`:
|
|
@@ -61,6 +61,7 @@ Without this workaround the project builds and deploys but will hit runtime erro
|
|
|
61
61
|
- de-facto standard state management library for Vue apps via [`@pinia/nuxt`](https://pinia.vuejs.org/ssr/nuxt.html)
|
|
62
62
|
- integration with utility functions library for Vue apps via [`@vueuse/nuxt`](https://vueuse.org/nuxt/README.html)
|
|
63
63
|
- handful tools for working with images via [`@nuxt/image`](https://image.nuxt.com/)
|
|
64
|
+
- simple integration of various fonts via [`@nuxt/fonts`](https://fonts.nuxt.com/)
|
|
64
65
|
- optimized scripts loading via [`@nuxt/scripts`](https://scripts.nuxt.com/)
|
|
65
66
|
- SSR-friendly component for rendering dynamic date/time via [`nuxt-time`](https://nuxt.com/modules/time)
|
|
66
67
|
- logging via [`consola](https://github.com/unjs/consola)
|
package/assets/lang/en.json
CHANGED
|
@@ -8,7 +8,9 @@
|
|
|
8
8
|
"features" : {
|
|
9
9
|
"nuxt" : "Nuxt application framework atop Vue.js",
|
|
10
10
|
"security" : "Nuxt Security module helping with OWASP patterns",
|
|
11
|
-
"image" : "
|
|
11
|
+
"image" : "Nuxt Image to optimize use of images",
|
|
12
|
+
"scripts" : "Nuxt Scripts to allow simple execution of external scripts",
|
|
13
|
+
"fonts" : "Nuxt Fonts to allow simple integration of various fonts",
|
|
12
14
|
"pinia" : "Pinia for state management",
|
|
13
15
|
"vueuse" : "VueUse utils available",
|
|
14
16
|
"i18n" : "I18n for translations",
|
|
@@ -14,6 +14,8 @@
|
|
|
14
14
|
<AppFeature :text="useT('features.nuxt')" />
|
|
15
15
|
<AppFeature :text="useT('features.security')" />
|
|
16
16
|
<AppFeature :text="useT('features.image')" />
|
|
17
|
+
<AppFeature :text="useT('features.scripts')" />
|
|
18
|
+
<AppFeature :text="useT('features.fonts')" class="fonts" />
|
|
17
19
|
<AppFeature :text="useT('features.pinia')" />
|
|
18
20
|
<AppFeature :text="useT('features.vueuse')" />
|
|
19
21
|
<AppFeature :text="useT('features.consola')" />
|
|
@@ -48,3 +50,10 @@ const content = setup.content
|
|
|
48
50
|
const openprops = setup.openprops
|
|
49
51
|
const pages = setup.pages
|
|
50
52
|
</script>
|
|
53
|
+
|
|
54
|
+
<style scoped>
|
|
55
|
+
/* demo for @nuxt/fonts */
|
|
56
|
+
.fonts {
|
|
57
|
+
font-family: "Kurale";
|
|
58
|
+
}
|
|
59
|
+
</style>
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { defineCollection, defineContentConfig } from '@nuxt/content'
|
|
2
|
+
|
|
3
|
+
export default defineContentConfig({
|
|
4
|
+
// while it is not strictily necessary to have a default config file
|
|
5
|
+
// it produces warning during startup when not presented
|
|
6
|
+
collections: {
|
|
7
|
+
content: defineCollection({
|
|
8
|
+
source: '**',
|
|
9
|
+
type: 'page',
|
|
10
|
+
}),
|
|
11
|
+
},
|
|
12
|
+
})
|
package/features.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,11 +1,29 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nuxt-ignis",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "Enhanced and customizable Nuxt application starter pack",
|
|
5
|
-
"
|
|
5
|
+
"keywords": [
|
|
6
|
+
"nuxt",
|
|
7
|
+
"nuxtjs",
|
|
8
|
+
"nuxt3",
|
|
9
|
+
"starter"
|
|
10
|
+
],
|
|
11
|
+
"author": "Alois Seckar <alois.seckar@gmail.com>",
|
|
12
|
+
"homepage": "https://github.com/AloisSeckar/nuxt-ignis",
|
|
13
|
+
"repository": {
|
|
14
|
+
"type": "git",
|
|
15
|
+
"url": "git+https://github.com/AloisSeckar/nuxt-ignis.git"
|
|
16
|
+
},
|
|
17
|
+
"bugs": {
|
|
18
|
+
"url": "https://github.com/AloisSeckar/nuxt-ignis/issues",
|
|
19
|
+
"email": "alois.seckar@gmail.com"
|
|
20
|
+
},
|
|
6
21
|
"license": "MIT",
|
|
7
22
|
"type": "module",
|
|
8
23
|
"main": "./nuxt.config.ts",
|
|
24
|
+
"engines": {
|
|
25
|
+
"node": ">=18.0.0"
|
|
26
|
+
},
|
|
9
27
|
"scripts": {
|
|
10
28
|
"analyze": "nuxt analyze",
|
|
11
29
|
"eslint": "eslint .",
|
|
@@ -20,7 +38,9 @@
|
|
|
20
38
|
"@formkit/nuxt": "1.6.9",
|
|
21
39
|
"@nuxt/content": "3.1.0",
|
|
22
40
|
"@nuxt/eslint": "0.7.6",
|
|
41
|
+
"@nuxt/fonts": "0.10.3",
|
|
23
42
|
"@nuxt/image": "1.9.0",
|
|
43
|
+
"@nuxt/scripts": "0.10.1",
|
|
24
44
|
"@nuxt/ui": "2.21.0",
|
|
25
45
|
"@nuxtjs/i18n": "9.1.1",
|
|
26
46
|
"@nuxtjs/supabase": "1.4.6",
|
|
@@ -31,20 +51,22 @@
|
|
|
31
51
|
"consola": "3.4.0",
|
|
32
52
|
"defu": "6.1.4",
|
|
33
53
|
"elrh-pslo": "1.1.6",
|
|
34
|
-
"nuxt-neon": "0.
|
|
35
|
-
"@nuxt/scripts": "0.10.1",
|
|
54
|
+
"nuxt-neon": "0.4.0",
|
|
36
55
|
"nuxt-security": "2.1.5",
|
|
37
|
-
"nuxt-spec": "0.0.
|
|
56
|
+
"nuxt-spec": "0.0.4",
|
|
38
57
|
"nuxt-time": "1.0.3",
|
|
39
58
|
"open-props": "1.7.12",
|
|
40
59
|
"pinia": "2.3.1",
|
|
41
|
-
"postcss-jit-props": "1.0.
|
|
60
|
+
"postcss-jit-props": "1.0.16",
|
|
42
61
|
"typescript": "latest",
|
|
43
62
|
"vue": "latest",
|
|
44
63
|
"vue-router": "latest"
|
|
45
64
|
},
|
|
46
65
|
"pnpm": {
|
|
47
66
|
"overrides": {
|
|
67
|
+
"esbuild": "^0.25.0",
|
|
68
|
+
"ioredis": "^5.4.2",
|
|
69
|
+
"koa": "^2.15.4",
|
|
48
70
|
"vite": "^6.1.0",
|
|
49
71
|
"@nuxtjs/mdc": "^0.13.3",
|
|
50
72
|
"@nuxt/kit": "3.15.4"
|
package/pages/second.vue
CHANGED
|
@@ -53,8 +53,6 @@ const processedText = pslo(rawText)
|
|
|
53
53
|
|
|
54
54
|
// data for nuxt-content rendering
|
|
55
55
|
const content = useRuntimeConfig().public.ignis.content
|
|
56
|
-
const route = useRoute()
|
|
57
|
-
console.log(route.path)
|
|
58
56
|
const { data: contentData } = await useAsyncData('second', () => {
|
|
59
57
|
return queryCollection('content').path('/second').first()
|
|
60
58
|
})
|