@nuxtus/nuxtus 1.9.1 → 2.0.1
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 +24 -0
- package/TODO +4 -1
- package/client/nuxt.config.ts +12 -6
- package/client/package.json +1 -1
- package/package.json +1 -1
- package/server/package.json +1 -1
- package/templates/env-nuxt.liquid +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
Changelog
|
|
2
2
|
|
|
3
|
+
## [2.0.1](https://github.com/nuxtus/nuxtus/compare/v2.0.0...v2.0.1) (2022-11-18)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* :bug: Move Directus credentials to public configuration variables ([fb85d82](https://github.com/nuxtus/nuxtus/commit/fb85d8216c9d2949e927606e6bdf3fbb5e2b14d2))
|
|
9
|
+
|
|
10
|
+
# [2.0.0](https://github.com/nuxtus/nuxtus/compare/v1.9.1...v2.0.0) (2022-11-18)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* :bug: Update to Nuxt 3.0.0 runtime config ([73b0f2e](https://github.com/nuxtus/nuxtus/commit/73b0f2e087eef704a766910b583d02f465a8ceb5))
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### chore
|
|
19
|
+
|
|
20
|
+
* :memo: Update TODO ([4d4135b](https://github.com/nuxtus/nuxtus/commit/4d4135b37dee893ccec47db64b6b259bf27b16b8))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
### BREAKING CHANGES
|
|
24
|
+
|
|
25
|
+
* Directus credentials are now stored in different variable names in nuxt.config.ts and .env
|
|
26
|
+
|
|
3
27
|
## [1.9.1](https://github.com/nuxtus/nuxtus/compare/v1.9.0...v1.9.1) (2022-11-17)
|
|
4
28
|
|
|
5
29
|
|
package/TODO
CHANGED
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
|
|
2
2
|
Todo:
|
|
3
|
-
✔ Make opening browser window on start optional using npm run start (not possible) @done(22-09-14 16:44)
|
|
4
3
|
☐ GraphQL?
|
|
5
4
|
☐ Websockets (https://github.com/br41nslug/directus-websocket-subscribe)
|
|
6
5
|
☐ Nuxtus website should actually pull data from Directus!
|
|
7
6
|
☐ Detect when Directus is not running and show error message
|
|
7
|
+
☐ Use nuxt.config in generator login.ts instead of env
|
|
8
|
+
☐ Move the Directus email/password and token to private server variables and use a server middleware (https://nuxt.com/docs/guide/directory-structure/server#server-middleware) to login and provide AUTH_TOKEN back to client. This workflow only needed if not rendering a static site.
|
|
8
9
|
|
|
9
10
|
Archive:
|
|
11
|
+
✔ Make opening browser window on start optional using npm run start (not possible) @done(22-09-14 16:44) @project(Todo)
|
|
12
|
+
✔ Update to Nuxt 3.0.0 @done(22-11-18 11:33) @project(Todo)
|
|
10
13
|
✔ Look at https://renovatebot.com/ @done(22-09-12 16:20) @project(Todo)
|
|
11
14
|
✔ Remove Google Fonts module (replace with fonts.bunny.net?) - won't do @done(22-09-14 15:55) @project(Todo)
|
|
12
15
|
✔ Look into nx for running as monorepo instead of concurrent @done(22-09-11 15:50) @project(Todo)
|
package/client/nuxt.config.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// https://v3.nuxtjs.org/api/configuration/nuxt.config
|
|
2
2
|
export default {
|
|
3
3
|
buildModules: [
|
|
4
|
-
|
|
4
|
+
'@nuxtjs/google-fonts'
|
|
5
5
|
],
|
|
6
|
-
modules: ["nuxt-directus", "@nuxtus/nuxt-module"],
|
|
6
|
+
modules: ["@nuxtjs/tailwindcss", "nuxt-directus", "@nuxtus/nuxt-module"],
|
|
7
7
|
googleFonts: {
|
|
8
8
|
families: {
|
|
9
9
|
Inter: true,
|
|
@@ -17,8 +17,14 @@ export default {
|
|
|
17
17
|
nuxtus: {
|
|
18
18
|
authDirectus: true,
|
|
19
19
|
},
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
20
|
+
runtimeConfig: {
|
|
21
|
+
public: {
|
|
22
|
+
nuxtus: {
|
|
23
|
+
directus: {
|
|
24
|
+
email: '',
|
|
25
|
+
password: ''
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
24
30
|
}
|
package/client/package.json
CHANGED
package/package.json
CHANGED
package/server/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# nuxt-directus required values
|
|
2
2
|
DIRECTUS_URL="{{ directus_url }}"
|
|
3
3
|
# Nuxtus values
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
NUXT_PUBLIC_NUXTUS_DIRECTUS_EMAIL="{{ email }}"
|
|
5
|
+
NUXT_PUBLIC_NUXTUS_DIRECTUS_PASSWORD="{{ password }}"
|