Repository navigation
Restructure as a starter with a Directus template - #150
Merged
Merged
Conversation
- Move Nuxt frontend into nuxt/ subdirectory - Move .directus/ to directus/ and update to Directus 11.15.4 - Add extracted Directus template data in directus/template/ - Add root package.json with directus:template config for CLI compatibility - Update README with new project structure and quick start
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
- Rewrite README for directus/ + nuxt/ monorepo layout - Update repo references to directus-labs/agency-os - Update deploy buttons with root-directory=nuxt - Fix CI workflows to run in nuxt/ working directory - Bump GH actions to v4 - Fill in directus/ and template READMEs Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Lets
directus-template-cli initset up AgencyOS from this repo, staying on Directus 11.nuxt/(allgit mv, history kept).directus/todirectus/, with Docker setup matching the starters, pinned to Directus 11.17.4 (last v11)directus/template(replaces.directus/templatefrom Move the Directus template into this repo #152)package.jsonwithdirectus:templatesoinitfinds the template and the Nuxt frontendnuxt/.env.examplepoints athttp://localhost:8055, so a freshinittalks to the local instanceinit, manual setup, andapplyfrom the new template pathStaying on 11 because AgencyOS has 71 collections and the Directus 12 core tier allows 25, so on 12 it needs a license.
CI fixes
nuxt/eslint.config.mjs, same rules,typescript-eslintv8). Lint never ran before because ESLint 9 ignored.eslintrc.js.useDirectustyped commands against a schema that didn't exist, so every query lost its types. Fixing that surfaced ~200 real mismatches innuxt/typesand the pages, now fixed without changing what's requested.directus/.env.exampleleaves cookie domains empty. Browsers reject cookies forlocalhost, which broke portal sign-in locally.nuxt/package.jsonand runs on Node 22.nuxt(done).Quick Start
Then create a static token for the admin user and set
DIRECTUS_SERVER_TOKENinnuxt/.env.Test plan
directus/, applydirectus/templatewith the same argsinituses: applies cleanly (71 collections, 20 flows, 3 dashboards, no errors)/posts, a post,/projects,/help,/manifesto,/team,/services,/contact-us,/portal,/auth/signinall renderinitrun on a machine with port 8055 free (ran its steps by hand on another port)pnpm buildand lint/typecheck pass locally and in CI