@nuxtus/nuxtus 2.2.0 → 2.2.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 CHANGED
@@ -1,5 +1,12 @@
1
1
  Changelog
2
2
 
3
+ ## [2.2.1](https://github.com/nuxtus/nuxtus/compare/v2.2.0...v2.2.1) (2024-02-22)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * :bug: env variables were not correctly imported ([fff3c78](https://github.com/nuxtus/nuxtus/commit/fff3c78981f2c634d6a6ac6fa787195cb8aef271))
9
+
3
10
  # [2.2.0](https://github.com/nuxtus/nuxtus/compare/v2.1.0...v2.2.0) (2024-02-21)
4
11
 
5
12
 
package/TODO CHANGED
@@ -11,6 +11,8 @@ Todo:
11
11
  ✔ Node needs to be 20 everywhere now! (Otherwise Directus won't start) @done(24-02-19 15:14)
12
12
  ✔ Write some docs on "permissions" - options being a publicly accessible read of collections OR a token. Put this in a quickstart and in more detail @done(24-02-19 08:12)
13
13
  ✔ Fix breaking tests @done(24-02-20 21:08)
14
+ ☐ Update all readme's to give more detail on Nuxtus overall.
15
+ ☐ Create or find an extension for Directus that can auto assign read to public user
14
16
 
15
17
  Future features:
16
18
  ☐ Add a nuxtus.config.json file that allows include/exclude of collections to create, perhaps also if they are components or pages?
@@ -20,10 +20,11 @@ export default {
20
20
  },
21
21
  public: {
22
22
  nuxtus: {
23
- authDirectus: process.env.NUXTUS_DIRECTUS_AUTH,
23
+ authDirectus: process.env.NUXTUS_DIRECTUS_AUTH === "true",
24
24
  // If you are not using Nuxt SSR then these credentials will be public, give user read one access
25
25
  directus: {
26
26
  token: "",
27
+ url: process.env.DIRECTUS_URL,
27
28
  },
28
29
  },
29
30
  },
@@ -10,7 +10,7 @@
10
10
  "@nuxtjs/google-fonts": "3.1.3",
11
11
  "@nuxtjs/tailwindcss": "6.11.4",
12
12
  "@nuxtus/cli": "2.1.0",
13
- "@nuxtus/nuxt-module": "2.3.0",
13
+ "@nuxtus/nuxt-module": "2.3.1",
14
14
  "nuxt": "^3.10.2"
15
15
  },
16
16
  "dependencies": {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nuxtus/nuxtus",
3
3
  "description": "Directus/Nuxt boilerplate with Tailwind CSS.",
4
- "version": "2.2.0",
4
+ "version": "2.2.1",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/nuxtus/nuxtus.git"