@nuxtus/nuxtus 2.1.0 → 2.2.0
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/.github/workflows/release.yml +3 -3
- package/CHANGELOG.md +13 -0
- package/README.md +15 -4
- package/TODO +19 -4
- package/client/interfaces/nuxtus.ts +6085 -0
- package/client/nuxt.config.ts +15 -14
- package/client/package.json +7 -7
- package/package.json +28 -5
- package/server/package.json +1 -1
- package/templates/env-nuxt.liquid +6 -3
package/client/nuxt.config.ts
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
// https://v3.nuxtjs.org/api/configuration/nuxt.config
|
|
2
2
|
export default {
|
|
3
|
-
buildModules: [
|
|
4
|
-
|
|
5
|
-
],
|
|
6
|
-
modules: ["@nuxtjs/tailwindcss", "nuxt-directus", "@nuxtus/nuxt-module"],
|
|
3
|
+
buildModules: ["@nuxtjs/google-fonts"],
|
|
4
|
+
modules: ["@nuxtjs/tailwindcss", "@nuxtus/nuxt-module"],
|
|
7
5
|
googleFonts: {
|
|
8
6
|
families: {
|
|
9
7
|
Inter: true,
|
|
@@ -13,18 +11,21 @@ export default {
|
|
|
13
11
|
// Options
|
|
14
12
|
// jit: true,
|
|
15
13
|
},
|
|
16
|
-
directus: {},
|
|
17
|
-
nuxtus: {
|
|
18
|
-
authDirectus: true,
|
|
19
|
-
},
|
|
20
14
|
runtimeConfig: {
|
|
15
|
+
nuxtus: {
|
|
16
|
+
directus: {
|
|
17
|
+
email: process.env.NUXTUS_DIRECTUS_ADMIN_EMAIL,
|
|
18
|
+
password: process.env.NUXTUS_DIRECTUS_ADMIN_PASSWORD,
|
|
19
|
+
},
|
|
20
|
+
},
|
|
21
21
|
public: {
|
|
22
22
|
nuxtus: {
|
|
23
|
+
authDirectus: process.env.NUXTUS_DIRECTUS_AUTH,
|
|
24
|
+
// If you are not using Nuxt SSR then these credentials will be public, give user read one access
|
|
23
25
|
directus: {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
}
|
|
26
|
+
token: "",
|
|
27
|
+
},
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
},
|
|
30
31
|
}
|
package/client/package.json
CHANGED
|
@@ -7,13 +7,13 @@
|
|
|
7
7
|
"preview": "nuxt preview"
|
|
8
8
|
},
|
|
9
9
|
"devDependencies": {
|
|
10
|
-
"@nuxtjs/google-fonts": "
|
|
11
|
-
"@nuxtjs/tailwindcss": "6.
|
|
12
|
-
"@nuxtus/cli": "2.
|
|
13
|
-
"@nuxtus/nuxt-module": "2.
|
|
14
|
-
"nuxt": "3.
|
|
10
|
+
"@nuxtjs/google-fonts": "3.1.3",
|
|
11
|
+
"@nuxtjs/tailwindcss": "6.11.4",
|
|
12
|
+
"@nuxtus/cli": "2.1.0",
|
|
13
|
+
"@nuxtus/nuxt-module": "2.3.0",
|
|
14
|
+
"nuxt": "^3.10.2"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"
|
|
17
|
+
"@directus/sdk": "^15.0.1"
|
|
18
18
|
}
|
|
19
|
-
}
|
|
19
|
+
}
|
package/package.json
CHANGED
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuxtus/nuxtus",
|
|
3
3
|
"description": "Directus/Nuxt boilerplate with Tailwind CSS.",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "git+https://github.com/nuxtus/nuxtus.git"
|
|
8
8
|
},
|
|
9
|
+
"engines": {
|
|
10
|
+
"node": "20"
|
|
11
|
+
},
|
|
9
12
|
"keywords": [
|
|
10
13
|
"Directus",
|
|
11
14
|
"Nuxt",
|
|
@@ -31,10 +34,10 @@
|
|
|
31
34
|
"devDependencies": {
|
|
32
35
|
"@semantic-release/changelog": "^6.0.1",
|
|
33
36
|
"@semantic-release/git": "^10.0.1",
|
|
34
|
-
"@semantic-release/github": "^
|
|
35
|
-
"@semantic-release/release-notes-generator": "^
|
|
36
|
-
"concurrently": "
|
|
37
|
-
"semantic-release": "^
|
|
37
|
+
"@semantic-release/github": "^9.0.0",
|
|
38
|
+
"@semantic-release/release-notes-generator": "^12.0.0",
|
|
39
|
+
"concurrently": "8.2.2",
|
|
40
|
+
"semantic-release": "^23.0.0"
|
|
38
41
|
},
|
|
39
42
|
"release": {
|
|
40
43
|
"branches": "main",
|
|
@@ -43,6 +46,14 @@
|
|
|
43
46
|
"@semantic-release/commit-analyzer",
|
|
44
47
|
{
|
|
45
48
|
"releaseRules": [
|
|
49
|
+
{
|
|
50
|
+
"breaking": true,
|
|
51
|
+
"release": "major"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"type": "feat",
|
|
55
|
+
"release": "minor"
|
|
56
|
+
},
|
|
46
57
|
{
|
|
47
58
|
"type": "revert",
|
|
48
59
|
"release": "patch"
|
|
@@ -54,6 +65,15 @@
|
|
|
54
65
|
{
|
|
55
66
|
"type": "fix",
|
|
56
67
|
"release": "patch"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"type": "docs",
|
|
71
|
+
"scope": "README",
|
|
72
|
+
"release": "patch"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"type": "chore",
|
|
76
|
+
"release": "patch"
|
|
57
77
|
}
|
|
58
78
|
]
|
|
59
79
|
}
|
|
@@ -69,5 +89,8 @@
|
|
|
69
89
|
"@semantic-release/git",
|
|
70
90
|
"@semantic-release/github"
|
|
71
91
|
]
|
|
92
|
+
},
|
|
93
|
+
"volta": {
|
|
94
|
+
"node": "20.11.1"
|
|
72
95
|
}
|
|
73
96
|
}
|
package/server/package.json
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
# nuxt-directus required values
|
|
2
1
|
DIRECTUS_URL="{{ directus_url }}"
|
|
3
2
|
# Nuxtus values
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
## Used to generate types
|
|
4
|
+
NUXTUS_DIRECTUS_ADMIN_EMAIL="{{ email }}"
|
|
5
|
+
NUXTUS_DIRECTUS_ADMIN_PASSWORD="{{ password }}"
|
|
6
|
+
## Public configuration
|
|
7
|
+
NUXTUS_DIRECTUS_AUTH=false
|
|
8
|
+
NUXTUS_DIRECTUS_STATIC_TOKEN=
|