From d78e8c0a84be0cc8ee3ccb8a4ac6899706fd9f7b Mon Sep 17 00:00:00 2001 From: michael-scheurer <70939054+michael-scheurer@users.noreply.github.com> Date: Sun, 16 Mar 2025 18:02:26 +0100 Subject: [PATCH 1/2] Update README.md for Directus v 11 --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 318c4e9..02b9241 100644 --- a/README.md +++ b/README.md @@ -13,11 +13,14 @@ - More soon™ ## How to install - 1. Download the latest `index.js` from the [GitHub releases page](https://github.com/maltejur/directus-extension-generate-types/releases). -2. Put this `index.js` file into `/extensions/modules/generate-types/index.js` +2. 2. Put this `index.js` file into `/extensions/modules/generate-types/index.js` 3. Go into the `Project Settings` of your directus project (`/admin/settings/project`) and enable the `Generate Types` module at the bottom of the page. +### Extra steps if using Directus version >= 11 +2. Put the `index.js` file instead into `/extensions/generate-types/dist` +3. Copy and paste the https://github.com/maltejur/directus-extension-generate-types/blob/master/package.json file into `/extensions/generate-types` + ## Contribute Since I don't know all of the typing systems out there, I would greatly appreciate if you From 9873e1eb6bf028e1c2b7193f99da3ee4282e6701 Mon Sep 17 00:00:00 2001 From: michael-scheurer <70939054+michael-scheurer@users.noreply.github.com> Date: Wed, 2 Apr 2025 11:08:10 +0200 Subject: [PATCH 2/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 02b9241..1e0fb0b 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ ## How to install 1. Download the latest `index.js` from the [GitHub releases page](https://github.com/maltejur/directus-extension-generate-types/releases). -2. 2. Put this `index.js` file into `/extensions/modules/generate-types/index.js` +2. Put this `index.js` file into `/extensions/modules/generate-types/index.js` 3. Go into the `Project Settings` of your directus project (`/admin/settings/project`) and enable the `Generate Types` module at the bottom of the page. ### Extra steps if using Directus version >= 11