nuxt-directus-sdk 4.0.1 → 4.0.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/README.md +2 -2
- package/dist/module.json +1 -1
- package/dist/module.mjs +1 -1
- package/package.json +3 -7
package/README.md
CHANGED
|
@@ -62,11 +62,11 @@ DIRECTUS_URL=https://your-directus-url.com
|
|
|
62
62
|
DIRECTUS_ADMIN_TOKEN=your_admin_token # Optional: for type generation
|
|
63
63
|
```
|
|
64
64
|
|
|
65
|
-
4. **Configure your Directus backend** for cross-domain authentication (see [Authentication Guide](https://nuxt-directus-sdk.rolley.io/guide/authentication))
|
|
65
|
+
4. **Configure your Directus backend** for cross-domain authentication (see [Authentication Guide](https://nuxt-directus-sdk.rolley.io/guide/authentication.html))
|
|
66
66
|
|
|
67
67
|
That's it! You can now use Directus within your Nuxt app ✨
|
|
68
68
|
|
|
69
|
-
For cross-domain setups (e.g., `app.example.com` ↔ `api.example.com`), see the [Authentication Guide](https://nuxt-directus-sdk.rolley.io/guide/authentication).
|
|
69
|
+
For cross-domain setups (e.g., `app.example.com` ↔ `api.example.com`), see the [Authentication Guide](https://nuxt-directus-sdk.rolley.io/guide/authentication.html).
|
|
70
70
|
|
|
71
71
|
## Development
|
|
72
72
|
|
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -5,7 +5,7 @@ import { generateTypes } from '../dist/runtime/types/index.js';
|
|
|
5
5
|
import { useUrl } from '../dist/runtime/utils/index.js';
|
|
6
6
|
|
|
7
7
|
const name = "nuxt-directus-sdk";
|
|
8
|
-
const version = "4.0.
|
|
8
|
+
const version = "4.0.2";
|
|
9
9
|
|
|
10
10
|
const configKey = "directus";
|
|
11
11
|
const logger = useLogger("nuxt-directus-sdk");
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nuxt-directus-sdk",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "4.0.
|
|
4
|
+
"version": "4.0.2",
|
|
5
5
|
"description": "A Directus nuxt module that uses the Directus SDK",
|
|
6
6
|
"author": "Matthew Rollinson <matt@rolley.io>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -29,15 +29,12 @@
|
|
|
29
29
|
"docs:build": "bun run dev:prepare && vitepress build docs",
|
|
30
30
|
"docs:preview": "vitepress preview docs"
|
|
31
31
|
},
|
|
32
|
-
"peerDependencies": {
|
|
33
|
-
"@nuxt/image": "^1.11.0",
|
|
34
|
-
"@nuxt/kit": "^3.0.0 || ^4.0.0",
|
|
35
|
-
"nuxt": "^3.0.0 || ^4.0.0"
|
|
36
|
-
},
|
|
37
32
|
"dependencies": {
|
|
38
33
|
"@directus/sdk": "^20.0.0",
|
|
39
34
|
"@directus/types": "^13.0.0",
|
|
40
35
|
"@directus/visual-editing": "^1.1.0",
|
|
36
|
+
"@nuxt/image": "^1.11.0",
|
|
37
|
+
"@nuxt/kit": "^4.1.2",
|
|
41
38
|
"change-case": "^4.1.2",
|
|
42
39
|
"defu": "^6.1.1",
|
|
43
40
|
"http-proxy": "^1.18.1",
|
|
@@ -47,7 +44,6 @@
|
|
|
47
44
|
"devDependencies": {
|
|
48
45
|
"@antfu/eslint-config": "^4.10.0",
|
|
49
46
|
"@nuxt/devtools": "latest",
|
|
50
|
-
"@nuxt/kit": "^4.1.2",
|
|
51
47
|
"@nuxt/module-builder": "^1.0.2",
|
|
52
48
|
"@nuxt/schema": "^4.1.2",
|
|
53
49
|
"@nuxt/test-utils": "^3.19.2",
|