@nuxtus/nuxtus 2.2.0 → 2.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 CHANGED
@@ -1,5 +1,14 @@
1
1
  Changelog
2
2
 
3
+ ## [2.2.2](https://github.com/nuxtus/nuxtus/compare/v2.2.1...v2.2.2) (2024-02-23)
4
+
5
+ ## [2.2.1](https://github.com/nuxtus/nuxtus/compare/v2.2.0...v2.2.1) (2024-02-22)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * :bug: env variables were not correctly imported ([fff3c78](https://github.com/nuxtus/nuxtus/commit/fff3c78981f2c634d6a6ac6fa787195cb8aef271))
11
+
3
12
  # [2.2.0](https://github.com/nuxtus/nuxtus/compare/v2.1.0...v2.2.0) (2024-02-21)
4
13
 
5
14
 
package/README.md CHANGED
@@ -23,10 +23,10 @@ It also includes [nuxtus/cli]("https://github.com/nuxtus/cli") which provides a
23
23
 
24
24
  The below shows the Nuxtus projects in order based on packages that depend on each other with generator having no Nuxtus dependencies and create-nuxtus requiring all packages. This assists in development and deployment of new versions.
25
25
 
26
- generator :: creates nuxt pages from Directus collections
27
- nuxt-module :: a Nuxt module that includes generator for creating nuxt pages in a nuxt project during development
28
- nuxt-cli :: a CLI tool to manually generate Nuxt pages rather than using autogeneration, used within a Nuxt project
29
- localtunnel :: a Nuxt module that allows external access to a local Nuxt development project using Local Tunnel
30
- hook :: a Directus webhook extension that handles the automatic creation of Nuxt pages and types when a new collection is created in Directus
31
- nuxtus :: the boilerplate project used by create-nuxtus to generate the Directus server and Nuxtus client
32
- create-nuxtus :: npx package to quickly and easily create a new Nuxtus project
26
+ - generator :: creates nuxt pages from Directus collections
27
+ - nuxt-module :: a Nuxt module that includes generator for creating nuxt pages in a nuxt project during development
28
+ - nuxt-cli :: a CLI tool to manually generate Nuxt pages rather than using autogeneration, used within a Nuxt project
29
+ - localtunnel :: a Nuxt module that allows external access to a local Nuxt development project using Local Tunnel
30
+ - hook :: a Directus webhook extension that handles the automatic creation of Nuxt pages and types when a new collection is created in Directus
31
+ - nuxtus :: the boilerplate project used by create-nuxtus to generate the Directus server and Nuxtus client
32
+ - create-nuxtus :: npx package to quickly and easily create a new Nuxtus project
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,10 +10,13 @@
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.4.0",
14
14
  "nuxt": "^3.10.2"
15
15
  },
16
16
  "dependencies": {
17
17
  "@directus/sdk": "^15.0.1"
18
+ },
19
+ "volta": {
20
+ "node": "20.11.1"
18
21
  }
19
22
  }
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.2",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/nuxtus/nuxtus.git"