docs(nx-dev): extract example repos

This commit is contained in:
Miroslav Jonas 2023-07-24 11:42:27 +02:00 committed by Juri Strumpflohner
parent 09b70521e7
commit a8bc69b61e
7 changed files with 316 additions and 286 deletions

View File

@ -2250,95 +2250,6 @@
} }
], ],
"disableCollapsible": false "disableCollapsible": false
},
{
"name": "Example Repos",
"path": "/recipes/example-repos",
"id": "example-repos",
"isExternal": false,
"children": [
{
"name": "Powering Up React Development With Nx",
"path": "/recipes/example-repos/react-nx",
"id": "react-nx",
"isExternal": false,
"children": [],
"disableCollapsible": false
},
{
"name": "Using Apollo GraphQL",
"path": "/recipes/example-repos/apollo-react",
"id": "apollo-react",
"isExternal": false,
"children": [],
"disableCollapsible": false
},
{
"name": "Using Prisma with NestJS",
"path": "/recipes/example-repos/nestjs-prisma",
"id": "nestjs-prisma",
"isExternal": false,
"children": [],
"disableCollapsible": false
},
{
"name": "Using Mongo with Fastify",
"path": "/recipes/example-repos/mongo-fastify",
"id": "mongo-fastify",
"isExternal": false,
"children": [],
"disableCollapsible": false
},
{
"name": "Using Redis with Fastify",
"path": "/recipes/example-repos/redis-fastify",
"id": "redis-fastify",
"isExternal": false,
"children": [],
"disableCollapsible": false
},
{
"name": "Using Postgres with Fastify",
"path": "/recipes/example-repos/postgres-fastify",
"id": "postgres-fastify",
"isExternal": false,
"children": [],
"disableCollapsible": false
},
{
"name": "Using PlanetScale with Serverless Fastify",
"path": "/recipes/example-repos/serverless-fastify-planetscale",
"id": "serverless-fastify-planetscale",
"isExternal": false,
"children": [],
"disableCollapsible": false
},
{
"name": "Large Repo and Caching",
"path": "/recipes/example-repos/caching",
"id": "caching",
"isExternal": false,
"children": [],
"disableCollapsible": false
},
{
"name": "Large Repo and DTE",
"path": "/recipes/example-repos/dte",
"id": "dte",
"isExternal": false,
"children": [],
"disableCollapsible": false
},
{
"name": "Nx Micro-Frontend Example",
"path": "/recipes/example-repos/mfe",
"id": "mfe",
"isExternal": false,
"children": [],
"disableCollapsible": false
}
],
"disableCollapsible": false
} }
], ],
"disableCollapsible": false "disableCollapsible": false
@ -3580,15 +3491,113 @@
"children": [], "children": [],
"disableCollapsible": false "disableCollapsible": false
}, },
{
"name": "Showcase",
"path": "/showcase",
"id": "showcase",
"isExternal": false,
"children": [
{
"name": "Example Repos",
"path": "/showcase/example-repos",
"id": "example-repos",
"isExternal": false,
"children": [
{
"name": "Powering Up React Development With Nx",
"path": "/showcase/example-repos/react-nx",
"id": "react-nx",
"isExternal": false,
"children": [],
"disableCollapsible": false
},
{
"name": "Using Apollo GraphQL",
"path": "/showcase/example-repos/apollo-react",
"id": "apollo-react",
"isExternal": false,
"children": [],
"disableCollapsible": false
},
{
"name": "Using Prisma with NestJS",
"path": "/showcase/example-repos/nestjs-prisma",
"id": "nestjs-prisma",
"isExternal": false,
"children": [],
"disableCollapsible": false
},
{
"name": "Using Mongo with Fastify",
"path": "/showcase/example-repos/mongo-fastify",
"id": "mongo-fastify",
"isExternal": false,
"children": [],
"disableCollapsible": false
},
{
"name": "Using Redis with Fastify",
"path": "/showcase/example-repos/redis-fastify",
"id": "redis-fastify",
"isExternal": false,
"children": [],
"disableCollapsible": false
},
{
"name": "Using Postgres with Fastify",
"path": "/showcase/example-repos/postgres-fastify",
"id": "postgres-fastify",
"isExternal": false,
"children": [],
"disableCollapsible": false
},
{
"name": "Using PlanetScale with Serverless Fastify",
"path": "/showcase/example-repos/serverless-fastify-planetscale",
"id": "serverless-fastify-planetscale",
"isExternal": false,
"children": [],
"disableCollapsible": false
},
{
"name": "Large Repo and Caching",
"path": "/showcase/example-repos/caching",
"id": "caching",
"isExternal": false,
"children": [],
"disableCollapsible": false
},
{
"name": "Large Repo and DTE",
"path": "/showcase/example-repos/dte",
"id": "dte",
"isExternal": false,
"children": [],
"disableCollapsible": false
},
{
"name": "Nx Micro-Frontend Example",
"path": "/showcase/example-repos/mfe",
"id": "mfe",
"isExternal": false,
"children": [],
"disableCollapsible": false
}
],
"disableCollapsible": false
}
],
"disableCollapsible": false
},
{ {
"name": "Example Repos", "name": "Example Repos",
"path": "/recipes/example-repos", "path": "/showcase/example-repos",
"id": "example-repos", "id": "example-repos",
"isExternal": false, "isExternal": false,
"children": [ "children": [
{ {
"name": "Powering Up React Development With Nx", "name": "Powering Up React Development With Nx",
"path": "/recipes/example-repos/react-nx", "path": "/showcase/example-repos/react-nx",
"id": "react-nx", "id": "react-nx",
"isExternal": false, "isExternal": false,
"children": [], "children": [],
@ -3596,7 +3605,7 @@
}, },
{ {
"name": "Using Apollo GraphQL", "name": "Using Apollo GraphQL",
"path": "/recipes/example-repos/apollo-react", "path": "/showcase/example-repos/apollo-react",
"id": "apollo-react", "id": "apollo-react",
"isExternal": false, "isExternal": false,
"children": [], "children": [],
@ -3604,7 +3613,7 @@
}, },
{ {
"name": "Using Prisma with NestJS", "name": "Using Prisma with NestJS",
"path": "/recipes/example-repos/nestjs-prisma", "path": "/showcase/example-repos/nestjs-prisma",
"id": "nestjs-prisma", "id": "nestjs-prisma",
"isExternal": false, "isExternal": false,
"children": [], "children": [],
@ -3612,7 +3621,7 @@
}, },
{ {
"name": "Using Mongo with Fastify", "name": "Using Mongo with Fastify",
"path": "/recipes/example-repos/mongo-fastify", "path": "/showcase/example-repos/mongo-fastify",
"id": "mongo-fastify", "id": "mongo-fastify",
"isExternal": false, "isExternal": false,
"children": [], "children": [],
@ -3620,7 +3629,7 @@
}, },
{ {
"name": "Using Redis with Fastify", "name": "Using Redis with Fastify",
"path": "/recipes/example-repos/redis-fastify", "path": "/showcase/example-repos/redis-fastify",
"id": "redis-fastify", "id": "redis-fastify",
"isExternal": false, "isExternal": false,
"children": [], "children": [],
@ -3628,7 +3637,7 @@
}, },
{ {
"name": "Using Postgres with Fastify", "name": "Using Postgres with Fastify",
"path": "/recipes/example-repos/postgres-fastify", "path": "/showcase/example-repos/postgres-fastify",
"id": "postgres-fastify", "id": "postgres-fastify",
"isExternal": false, "isExternal": false,
"children": [], "children": [],
@ -3636,7 +3645,7 @@
}, },
{ {
"name": "Using PlanetScale with Serverless Fastify", "name": "Using PlanetScale with Serverless Fastify",
"path": "/recipes/example-repos/serverless-fastify-planetscale", "path": "/showcase/example-repos/serverless-fastify-planetscale",
"id": "serverless-fastify-planetscale", "id": "serverless-fastify-planetscale",
"isExternal": false, "isExternal": false,
"children": [], "children": [],
@ -3644,7 +3653,7 @@
}, },
{ {
"name": "Large Repo and Caching", "name": "Large Repo and Caching",
"path": "/recipes/example-repos/caching", "path": "/showcase/example-repos/caching",
"id": "caching", "id": "caching",
"isExternal": false, "isExternal": false,
"children": [], "children": [],
@ -3652,7 +3661,7 @@
}, },
{ {
"name": "Large Repo and DTE", "name": "Large Repo and DTE",
"path": "/recipes/example-repos/dte", "path": "/showcase/example-repos/dte",
"id": "dte", "id": "dte",
"isExternal": false, "isExternal": false,
"children": [], "children": [],
@ -3660,7 +3669,7 @@
}, },
{ {
"name": "Nx Micro-Frontend Example", "name": "Nx Micro-Frontend Example",
"path": "/recipes/example-repos/mfe", "path": "/showcase/example-repos/mfe",
"id": "mfe", "id": "mfe",
"isExternal": false, "isExternal": false,
"children": [], "children": [],
@ -3671,7 +3680,7 @@
}, },
{ {
"name": "Powering Up React Development With Nx", "name": "Powering Up React Development With Nx",
"path": "/recipes/example-repos/react-nx", "path": "/showcase/example-repos/react-nx",
"id": "react-nx", "id": "react-nx",
"isExternal": false, "isExternal": false,
"children": [], "children": [],
@ -3679,7 +3688,7 @@
}, },
{ {
"name": "Using Apollo GraphQL", "name": "Using Apollo GraphQL",
"path": "/recipes/example-repos/apollo-react", "path": "/showcase/example-repos/apollo-react",
"id": "apollo-react", "id": "apollo-react",
"isExternal": false, "isExternal": false,
"children": [], "children": [],
@ -3687,7 +3696,7 @@
}, },
{ {
"name": "Using Prisma with NestJS", "name": "Using Prisma with NestJS",
"path": "/recipes/example-repos/nestjs-prisma", "path": "/showcase/example-repos/nestjs-prisma",
"id": "nestjs-prisma", "id": "nestjs-prisma",
"isExternal": false, "isExternal": false,
"children": [], "children": [],
@ -3695,7 +3704,7 @@
}, },
{ {
"name": "Using Mongo with Fastify", "name": "Using Mongo with Fastify",
"path": "/recipes/example-repos/mongo-fastify", "path": "/showcase/example-repos/mongo-fastify",
"id": "mongo-fastify", "id": "mongo-fastify",
"isExternal": false, "isExternal": false,
"children": [], "children": [],
@ -3703,7 +3712,7 @@
}, },
{ {
"name": "Using Redis with Fastify", "name": "Using Redis with Fastify",
"path": "/recipes/example-repos/redis-fastify", "path": "/showcase/example-repos/redis-fastify",
"id": "redis-fastify", "id": "redis-fastify",
"isExternal": false, "isExternal": false,
"children": [], "children": [],
@ -3711,7 +3720,7 @@
}, },
{ {
"name": "Using Postgres with Fastify", "name": "Using Postgres with Fastify",
"path": "/recipes/example-repos/postgres-fastify", "path": "/showcase/example-repos/postgres-fastify",
"id": "postgres-fastify", "id": "postgres-fastify",
"isExternal": false, "isExternal": false,
"children": [], "children": [],
@ -3719,7 +3728,7 @@
}, },
{ {
"name": "Using PlanetScale with Serverless Fastify", "name": "Using PlanetScale with Serverless Fastify",
"path": "/recipes/example-repos/serverless-fastify-planetscale", "path": "/showcase/example-repos/serverless-fastify-planetscale",
"id": "serverless-fastify-planetscale", "id": "serverless-fastify-planetscale",
"isExternal": false, "isExternal": false,
"children": [], "children": [],
@ -3727,7 +3736,7 @@
}, },
{ {
"name": "Large Repo and Caching", "name": "Large Repo and Caching",
"path": "/recipes/example-repos/caching", "path": "/showcase/example-repos/caching",
"id": "caching", "id": "caching",
"isExternal": false, "isExternal": false,
"children": [], "children": [],
@ -3735,7 +3744,7 @@
}, },
{ {
"name": "Large Repo and DTE", "name": "Large Repo and DTE",
"path": "/recipes/example-repos/dte", "path": "/showcase/example-repos/dte",
"id": "dte", "id": "dte",
"isExternal": false, "isExternal": false,
"children": [], "children": [],
@ -3743,7 +3752,7 @@
}, },
{ {
"name": "Nx Micro-Frontend Example", "name": "Nx Micro-Frontend Example",
"path": "/recipes/example-repos/mfe", "path": "/showcase/example-repos/mfe",
"id": "mfe", "id": "mfe",
"isExternal": false, "isExternal": false,
"children": [], "children": [],

View File

@ -2801,117 +2801,6 @@
"isExternal": false, "isExternal": false,
"path": "/recipes/other", "path": "/recipes/other",
"tags": [] "tags": []
},
{
"id": "example-repos",
"name": "Example Repos",
"description": "Examples of different ways to use Nx",
"file": "",
"itemList": [
{
"id": "react-nx",
"name": "Powering Up React Development With Nx",
"description": "",
"file": "shared/examples/react-nx",
"itemList": [],
"isExternal": false,
"path": "/recipes/example-repos/react-nx",
"tags": []
},
{
"id": "apollo-react",
"name": "Using Apollo GraphQL",
"description": "",
"file": "shared/examples/apollo-react",
"itemList": [],
"isExternal": false,
"path": "/recipes/example-repos/apollo-react",
"tags": []
},
{
"id": "nestjs-prisma",
"name": "Using Prisma with NestJS",
"description": "",
"file": "shared/recipes/database/nestjs-prisma",
"itemList": [],
"isExternal": false,
"path": "/recipes/example-repos/nestjs-prisma",
"tags": ["database", "node"]
},
{
"id": "mongo-fastify",
"name": "Using Mongo with Fastify",
"description": "",
"file": "shared/recipes/database/mongo-fastify",
"itemList": [],
"isExternal": false,
"path": "/recipes/example-repos/mongo-fastify",
"tags": ["database", "node"]
},
{
"id": "redis-fastify",
"name": "Using Redis with Fastify",
"description": "",
"file": "shared/recipes/database/redis-fastify",
"itemList": [],
"isExternal": false,
"path": "/recipes/example-repos/redis-fastify",
"tags": ["database", "node"]
},
{
"id": "postgres-fastify",
"name": "Using Postgres with Fastify",
"description": "",
"file": "shared/recipes/database/postgres-fastify",
"itemList": [],
"isExternal": false,
"path": "/recipes/example-repos/postgres-fastify",
"tags": ["database", "node"]
},
{
"id": "serverless-fastify-planetscale",
"name": "Using PlanetScale with Serverless Fastify",
"description": "",
"file": "shared/recipes/database/serverless-fastify-planetscale",
"itemList": [],
"isExternal": false,
"path": "/recipes/example-repos/serverless-fastify-planetscale",
"tags": ["database", "node", "serverless"]
},
{
"id": "caching",
"name": "Large Repo and Caching",
"description": "",
"file": "shared/examples/caching",
"itemList": [],
"isExternal": false,
"path": "/recipes/example-repos/caching",
"tags": []
},
{
"id": "dte",
"name": "Large Repo and DTE",
"description": "",
"file": "shared/examples/dte",
"itemList": [],
"isExternal": false,
"path": "/recipes/example-repos/dte",
"tags": []
},
{
"id": "mfe",
"name": "Nx Micro-Frontend Example",
"description": "",
"file": "shared/examples/nx-examples",
"itemList": [],
"isExternal": false,
"path": "/recipes/example-repos/mfe",
"tags": []
}
],
"isExternal": false,
"path": "/recipes/example-repos",
"tags": []
} }
], ],
"isExternal": false, "isExternal": false,
@ -4461,7 +4350,129 @@
"path": "/recipes/other/rescope", "path": "/recipes/other/rescope",
"tags": [] "tags": []
}, },
"/recipes/example-repos": { "/showcase": {
"id": "showcase",
"name": "Showcase",
"description": "Discover our selection of examples and benchmarks.",
"file": "",
"itemList": [
{
"id": "example-repos",
"name": "Example Repos",
"description": "Examples of different ways to use Nx",
"file": "",
"itemList": [
{
"id": "react-nx",
"name": "Powering Up React Development With Nx",
"description": "",
"file": "shared/examples/react-nx",
"itemList": [],
"isExternal": false,
"path": "/showcase/example-repos/react-nx",
"tags": []
},
{
"id": "apollo-react",
"name": "Using Apollo GraphQL",
"description": "",
"file": "shared/examples/apollo-react",
"itemList": [],
"isExternal": false,
"path": "/showcase/example-repos/apollo-react",
"tags": []
},
{
"id": "nestjs-prisma",
"name": "Using Prisma with NestJS",
"description": "",
"file": "shared/recipes/database/nestjs-prisma",
"itemList": [],
"isExternal": false,
"path": "/showcase/example-repos/nestjs-prisma",
"tags": ["database", "node"]
},
{
"id": "mongo-fastify",
"name": "Using Mongo with Fastify",
"description": "",
"file": "shared/recipes/database/mongo-fastify",
"itemList": [],
"isExternal": false,
"path": "/showcase/example-repos/mongo-fastify",
"tags": ["database", "node"]
},
{
"id": "redis-fastify",
"name": "Using Redis with Fastify",
"description": "",
"file": "shared/recipes/database/redis-fastify",
"itemList": [],
"isExternal": false,
"path": "/showcase/example-repos/redis-fastify",
"tags": ["database", "node"]
},
{
"id": "postgres-fastify",
"name": "Using Postgres with Fastify",
"description": "",
"file": "shared/recipes/database/postgres-fastify",
"itemList": [],
"isExternal": false,
"path": "/showcase/example-repos/postgres-fastify",
"tags": ["database", "node"]
},
{
"id": "serverless-fastify-planetscale",
"name": "Using PlanetScale with Serverless Fastify",
"description": "",
"file": "shared/recipes/database/serverless-fastify-planetscale",
"itemList": [],
"isExternal": false,
"path": "/showcase/example-repos/serverless-fastify-planetscale",
"tags": ["database", "node", "serverless"]
},
{
"id": "caching",
"name": "Large Repo and Caching",
"description": "",
"file": "shared/examples/caching",
"itemList": [],
"isExternal": false,
"path": "/showcase/example-repos/caching",
"tags": []
},
{
"id": "dte",
"name": "Large Repo and DTE",
"description": "",
"file": "shared/examples/dte",
"itemList": [],
"isExternal": false,
"path": "/showcase/example-repos/dte",
"tags": []
},
{
"id": "mfe",
"name": "Nx Micro-Frontend Example",
"description": "",
"file": "shared/examples/nx-examples",
"itemList": [],
"isExternal": false,
"path": "/showcase/example-repos/mfe",
"tags": []
}
],
"isExternal": false,
"path": "/showcase/example-repos",
"tags": []
}
],
"isExternal": false,
"path": "/showcase",
"tags": []
},
"/showcase/example-repos": {
"id": "example-repos", "id": "example-repos",
"name": "Example Repos", "name": "Example Repos",
"description": "Examples of different ways to use Nx", "description": "Examples of different ways to use Nx",
@ -4474,7 +4485,7 @@
"file": "shared/examples/react-nx", "file": "shared/examples/react-nx",
"itemList": [], "itemList": [],
"isExternal": false, "isExternal": false,
"path": "/recipes/example-repos/react-nx", "path": "/showcase/example-repos/react-nx",
"tags": [] "tags": []
}, },
{ {
@ -4484,7 +4495,7 @@
"file": "shared/examples/apollo-react", "file": "shared/examples/apollo-react",
"itemList": [], "itemList": [],
"isExternal": false, "isExternal": false,
"path": "/recipes/example-repos/apollo-react", "path": "/showcase/example-repos/apollo-react",
"tags": [] "tags": []
}, },
{ {
@ -4494,7 +4505,7 @@
"file": "shared/recipes/database/nestjs-prisma", "file": "shared/recipes/database/nestjs-prisma",
"itemList": [], "itemList": [],
"isExternal": false, "isExternal": false,
"path": "/recipes/example-repos/nestjs-prisma", "path": "/showcase/example-repos/nestjs-prisma",
"tags": ["database", "node"] "tags": ["database", "node"]
}, },
{ {
@ -4504,7 +4515,7 @@
"file": "shared/recipes/database/mongo-fastify", "file": "shared/recipes/database/mongo-fastify",
"itemList": [], "itemList": [],
"isExternal": false, "isExternal": false,
"path": "/recipes/example-repos/mongo-fastify", "path": "/showcase/example-repos/mongo-fastify",
"tags": ["database", "node"] "tags": ["database", "node"]
}, },
{ {
@ -4514,7 +4525,7 @@
"file": "shared/recipes/database/redis-fastify", "file": "shared/recipes/database/redis-fastify",
"itemList": [], "itemList": [],
"isExternal": false, "isExternal": false,
"path": "/recipes/example-repos/redis-fastify", "path": "/showcase/example-repos/redis-fastify",
"tags": ["database", "node"] "tags": ["database", "node"]
}, },
{ {
@ -4524,7 +4535,7 @@
"file": "shared/recipes/database/postgres-fastify", "file": "shared/recipes/database/postgres-fastify",
"itemList": [], "itemList": [],
"isExternal": false, "isExternal": false,
"path": "/recipes/example-repos/postgres-fastify", "path": "/showcase/example-repos/postgres-fastify",
"tags": ["database", "node"] "tags": ["database", "node"]
}, },
{ {
@ -4534,7 +4545,7 @@
"file": "shared/recipes/database/serverless-fastify-planetscale", "file": "shared/recipes/database/serverless-fastify-planetscale",
"itemList": [], "itemList": [],
"isExternal": false, "isExternal": false,
"path": "/recipes/example-repos/serverless-fastify-planetscale", "path": "/showcase/example-repos/serverless-fastify-planetscale",
"tags": ["database", "node", "serverless"] "tags": ["database", "node", "serverless"]
}, },
{ {
@ -4544,7 +4555,7 @@
"file": "shared/examples/caching", "file": "shared/examples/caching",
"itemList": [], "itemList": [],
"isExternal": false, "isExternal": false,
"path": "/recipes/example-repos/caching", "path": "/showcase/example-repos/caching",
"tags": [] "tags": []
}, },
{ {
@ -4554,7 +4565,7 @@
"file": "shared/examples/dte", "file": "shared/examples/dte",
"itemList": [], "itemList": [],
"isExternal": false, "isExternal": false,
"path": "/recipes/example-repos/dte", "path": "/showcase/example-repos/dte",
"tags": [] "tags": []
}, },
{ {
@ -4564,112 +4575,112 @@
"file": "shared/examples/nx-examples", "file": "shared/examples/nx-examples",
"itemList": [], "itemList": [],
"isExternal": false, "isExternal": false,
"path": "/recipes/example-repos/mfe", "path": "/showcase/example-repos/mfe",
"tags": [] "tags": []
} }
], ],
"isExternal": false, "isExternal": false,
"path": "/recipes/example-repos", "path": "/showcase/example-repos",
"tags": [] "tags": []
}, },
"/recipes/example-repos/react-nx": { "/showcase/example-repos/react-nx": {
"id": "react-nx", "id": "react-nx",
"name": "Powering Up React Development With Nx", "name": "Powering Up React Development With Nx",
"description": "", "description": "",
"file": "shared/examples/react-nx", "file": "shared/examples/react-nx",
"itemList": [], "itemList": [],
"isExternal": false, "isExternal": false,
"path": "/recipes/example-repos/react-nx", "path": "/showcase/example-repos/react-nx",
"tags": [] "tags": []
}, },
"/recipes/example-repos/apollo-react": { "/showcase/example-repos/apollo-react": {
"id": "apollo-react", "id": "apollo-react",
"name": "Using Apollo GraphQL", "name": "Using Apollo GraphQL",
"description": "", "description": "",
"file": "shared/examples/apollo-react", "file": "shared/examples/apollo-react",
"itemList": [], "itemList": [],
"isExternal": false, "isExternal": false,
"path": "/recipes/example-repos/apollo-react", "path": "/showcase/example-repos/apollo-react",
"tags": [] "tags": []
}, },
"/recipes/example-repos/nestjs-prisma": { "/showcase/example-repos/nestjs-prisma": {
"id": "nestjs-prisma", "id": "nestjs-prisma",
"name": "Using Prisma with NestJS", "name": "Using Prisma with NestJS",
"description": "", "description": "",
"file": "shared/recipes/database/nestjs-prisma", "file": "shared/recipes/database/nestjs-prisma",
"itemList": [], "itemList": [],
"isExternal": false, "isExternal": false,
"path": "/recipes/example-repos/nestjs-prisma", "path": "/showcase/example-repos/nestjs-prisma",
"tags": ["database", "node"] "tags": ["database", "node"]
}, },
"/recipes/example-repos/mongo-fastify": { "/showcase/example-repos/mongo-fastify": {
"id": "mongo-fastify", "id": "mongo-fastify",
"name": "Using Mongo with Fastify", "name": "Using Mongo with Fastify",
"description": "", "description": "",
"file": "shared/recipes/database/mongo-fastify", "file": "shared/recipes/database/mongo-fastify",
"itemList": [], "itemList": [],
"isExternal": false, "isExternal": false,
"path": "/recipes/example-repos/mongo-fastify", "path": "/showcase/example-repos/mongo-fastify",
"tags": ["database", "node"] "tags": ["database", "node"]
}, },
"/recipes/example-repos/redis-fastify": { "/showcase/example-repos/redis-fastify": {
"id": "redis-fastify", "id": "redis-fastify",
"name": "Using Redis with Fastify", "name": "Using Redis with Fastify",
"description": "", "description": "",
"file": "shared/recipes/database/redis-fastify", "file": "shared/recipes/database/redis-fastify",
"itemList": [], "itemList": [],
"isExternal": false, "isExternal": false,
"path": "/recipes/example-repos/redis-fastify", "path": "/showcase/example-repos/redis-fastify",
"tags": ["database", "node"] "tags": ["database", "node"]
}, },
"/recipes/example-repos/postgres-fastify": { "/showcase/example-repos/postgres-fastify": {
"id": "postgres-fastify", "id": "postgres-fastify",
"name": "Using Postgres with Fastify", "name": "Using Postgres with Fastify",
"description": "", "description": "",
"file": "shared/recipes/database/postgres-fastify", "file": "shared/recipes/database/postgres-fastify",
"itemList": [], "itemList": [],
"isExternal": false, "isExternal": false,
"path": "/recipes/example-repos/postgres-fastify", "path": "/showcase/example-repos/postgres-fastify",
"tags": ["database", "node"] "tags": ["database", "node"]
}, },
"/recipes/example-repos/serverless-fastify-planetscale": { "/showcase/example-repos/serverless-fastify-planetscale": {
"id": "serverless-fastify-planetscale", "id": "serverless-fastify-planetscale",
"name": "Using PlanetScale with Serverless Fastify", "name": "Using PlanetScale with Serverless Fastify",
"description": "", "description": "",
"file": "shared/recipes/database/serverless-fastify-planetscale", "file": "shared/recipes/database/serverless-fastify-planetscale",
"itemList": [], "itemList": [],
"isExternal": false, "isExternal": false,
"path": "/recipes/example-repos/serverless-fastify-planetscale", "path": "/showcase/example-repos/serverless-fastify-planetscale",
"tags": ["database", "node", "serverless"] "tags": ["database", "node", "serverless"]
}, },
"/recipes/example-repos/caching": { "/showcase/example-repos/caching": {
"id": "caching", "id": "caching",
"name": "Large Repo and Caching", "name": "Large Repo and Caching",
"description": "", "description": "",
"file": "shared/examples/caching", "file": "shared/examples/caching",
"itemList": [], "itemList": [],
"isExternal": false, "isExternal": false,
"path": "/recipes/example-repos/caching", "path": "/showcase/example-repos/caching",
"tags": [] "tags": []
}, },
"/recipes/example-repos/dte": { "/showcase/example-repos/dte": {
"id": "dte", "id": "dte",
"name": "Large Repo and DTE", "name": "Large Repo and DTE",
"description": "", "description": "",
"file": "shared/examples/dte", "file": "shared/examples/dte",
"itemList": [], "itemList": [],
"isExternal": false, "isExternal": false,
"path": "/recipes/example-repos/dte", "path": "/showcase/example-repos/dte",
"tags": [] "tags": []
}, },
"/recipes/example-repos/mfe": { "/showcase/example-repos/mfe": {
"id": "mfe", "id": "mfe",
"name": "Nx Micro-Frontend Example", "name": "Nx Micro-Frontend Example",
"description": "", "description": "",
"file": "shared/examples/nx-examples", "file": "shared/examples/nx-examples",
"itemList": [], "itemList": [],
"isExternal": false, "isExternal": false,
"path": "/recipes/example-repos/mfe", "path": "/showcase/example-repos/mfe",
"tags": [] "tags": []
}, },
"/reference": { "/reference": {

View File

@ -797,35 +797,35 @@
"file": "shared/recipes/database/nestjs-prisma", "file": "shared/recipes/database/nestjs-prisma",
"id": "nestjs-prisma", "id": "nestjs-prisma",
"name": "Using Prisma with NestJS", "name": "Using Prisma with NestJS",
"path": "/recipes/example-repos/nestjs-prisma" "path": "/showcase/example-repos/nestjs-prisma"
}, },
{ {
"description": "", "description": "",
"file": "shared/recipes/database/mongo-fastify", "file": "shared/recipes/database/mongo-fastify",
"id": "mongo-fastify", "id": "mongo-fastify",
"name": "Using Mongo with Fastify", "name": "Using Mongo with Fastify",
"path": "/recipes/example-repos/mongo-fastify" "path": "/showcase/example-repos/mongo-fastify"
}, },
{ {
"description": "", "description": "",
"file": "shared/recipes/database/redis-fastify", "file": "shared/recipes/database/redis-fastify",
"id": "redis-fastify", "id": "redis-fastify",
"name": "Using Redis with Fastify", "name": "Using Redis with Fastify",
"path": "/recipes/example-repos/redis-fastify" "path": "/showcase/example-repos/redis-fastify"
}, },
{ {
"description": "", "description": "",
"file": "shared/recipes/database/postgres-fastify", "file": "shared/recipes/database/postgres-fastify",
"id": "postgres-fastify", "id": "postgres-fastify",
"name": "Using Postgres with Fastify", "name": "Using Postgres with Fastify",
"path": "/recipes/example-repos/postgres-fastify" "path": "/showcase/example-repos/postgres-fastify"
}, },
{ {
"description": "", "description": "",
"file": "shared/recipes/database/serverless-fastify-planetscale", "file": "shared/recipes/database/serverless-fastify-planetscale",
"id": "serverless-fastify-planetscale", "id": "serverless-fastify-planetscale",
"name": "Using PlanetScale with Serverless Fastify", "name": "Using PlanetScale with Serverless Fastify",
"path": "/recipes/example-repos/serverless-fastify-planetscale" "path": "/showcase/example-repos/serverless-fastify-planetscale"
} }
], ],
"storybook": [ "storybook": [
@ -907,35 +907,35 @@
"file": "shared/recipes/database/nestjs-prisma", "file": "shared/recipes/database/nestjs-prisma",
"id": "nestjs-prisma", "id": "nestjs-prisma",
"name": "Using Prisma with NestJS", "name": "Using Prisma with NestJS",
"path": "/recipes/example-repos/nestjs-prisma" "path": "/showcase/example-repos/nestjs-prisma"
}, },
{ {
"description": "", "description": "",
"file": "shared/recipes/database/mongo-fastify", "file": "shared/recipes/database/mongo-fastify",
"id": "mongo-fastify", "id": "mongo-fastify",
"name": "Using Mongo with Fastify", "name": "Using Mongo with Fastify",
"path": "/recipes/example-repos/mongo-fastify" "path": "/showcase/example-repos/mongo-fastify"
}, },
{ {
"description": "", "description": "",
"file": "shared/recipes/database/redis-fastify", "file": "shared/recipes/database/redis-fastify",
"id": "redis-fastify", "id": "redis-fastify",
"name": "Using Redis with Fastify", "name": "Using Redis with Fastify",
"path": "/recipes/example-repos/redis-fastify" "path": "/showcase/example-repos/redis-fastify"
}, },
{ {
"description": "", "description": "",
"file": "shared/recipes/database/postgres-fastify", "file": "shared/recipes/database/postgres-fastify",
"id": "postgres-fastify", "id": "postgres-fastify",
"name": "Using Postgres with Fastify", "name": "Using Postgres with Fastify",
"path": "/recipes/example-repos/postgres-fastify" "path": "/showcase/example-repos/postgres-fastify"
}, },
{ {
"description": "", "description": "",
"file": "shared/recipes/database/serverless-fastify-planetscale", "file": "shared/recipes/database/serverless-fastify-planetscale",
"id": "serverless-fastify-planetscale", "id": "serverless-fastify-planetscale",
"name": "Using PlanetScale with Serverless Fastify", "name": "Using PlanetScale with Serverless Fastify",
"path": "/recipes/example-repos/serverless-fastify-planetscale" "path": "/showcase/example-repos/serverless-fastify-planetscale"
} }
], ],
"serverless": [ "serverless": [
@ -944,7 +944,7 @@
"file": "shared/recipes/database/serverless-fastify-planetscale", "file": "shared/recipes/database/serverless-fastify-planetscale",
"id": "serverless-fastify-planetscale", "id": "serverless-fastify-planetscale",
"name": "Using PlanetScale with Serverless Fastify", "name": "Using PlanetScale with Serverless Fastify",
"path": "/recipes/example-repos/serverless-fastify-planetscale" "path": "/showcase/example-repos/serverless-fastify-planetscale"
} }
] ]
} }

View File

@ -978,7 +978,14 @@
"file": "shared/recipes/rescope" "file": "shared/recipes/rescope"
} }
] ]
}, }
]
},
{
"name": "Showcase",
"id": "showcase",
"description": "Discover our selection of examples and benchmarks.",
"itemList": [
{ {
"name": "Example Repos", "name": "Example Repos",
"id": "example-repos", "id": "example-repos",

View File

@ -170,17 +170,18 @@
- [Serverless deployment with Deno Deploy](/recipes/other/deno-deploy) - [Serverless deployment with Deno Deploy](/recipes/other/deno-deploy)
- [Add and Deploy Netlify Edge Functions with Deno](/recipes/other/deno-netlify-functions) - [Add and Deploy Netlify Edge Functions with Deno](/recipes/other/deno-netlify-functions)
- [Rescope Packages from @nrwl to @nx](/recipes/other/rescope) - [Rescope Packages from @nrwl to @nx](/recipes/other/rescope)
- [Example Repos](/recipes/example-repos) - [Showcase](/showcase)
- [Powering Up React Development With Nx](/recipes/example-repos/react-nx) - [Example Repos](/showcase/example-repos)
- [Using Apollo GraphQL](/recipes/example-repos/apollo-react) - [Powering Up React Development With Nx](/showcase/example-repos/react-nx)
- [Using Prisma with NestJS](/recipes/example-repos/nestjs-prisma) - [Using Apollo GraphQL](/showcase/example-repos/apollo-react)
- [Using Mongo with Fastify](/recipes/example-repos/mongo-fastify) - [Using Prisma with NestJS](/showcase/example-repos/nestjs-prisma)
- [Using Redis with Fastify](/recipes/example-repos/redis-fastify) - [Using Mongo with Fastify](/showcase/example-repos/mongo-fastify)
- [Using Postgres with Fastify](/recipes/example-repos/postgres-fastify) - [Using Redis with Fastify](/showcase/example-repos/redis-fastify)
- [Using PlanetScale with Serverless Fastify](/recipes/example-repos/serverless-fastify-planetscale) - [Using Postgres with Fastify](/showcase/example-repos/postgres-fastify)
- [Large Repo and Caching](/recipes/example-repos/caching) - [Using PlanetScale with Serverless Fastify](/showcase/example-repos/serverless-fastify-planetscale)
- [Large Repo and DTE](/recipes/example-repos/dte) - [Large Repo and Caching](/showcase/example-repos/caching)
- [Nx Micro-Frontend Example](/recipes/example-repos/mfe) - [Large Repo and DTE](/showcase/example-repos/dte)
- [Nx Micro-Frontend Example](/showcase/example-repos/mfe)
- [Reference](/reference) - [Reference](/reference)
- [Commands](/reference/commands) - [Commands](/reference/commands)
- [nx.json](/reference/nx-json) - [nx.json](/reference/nx-json)

View File

@ -12,6 +12,7 @@ export function getBasicNxSection(items: MenuItem[]): MenuSection {
m.id === 'core-features' || m.id === 'core-features' ||
m.id === 'concepts' || m.id === 'concepts' ||
m.id === 'recipes' || m.id === 'recipes' ||
m.id === 'showcase' ||
m.id === 'reference' m.id === 'reference'
) )
.map((m) => { .map((m) => {

View File

@ -361,10 +361,10 @@ const recipesUrls = {
'/recipes/enforce-module-boundaries/ban-external-imports', '/recipes/enforce-module-boundaries/ban-external-imports',
'/recipes/other/tags-allow-list': '/recipes/other/tags-allow-list':
'/recipes/enforce-module-boundaries/tags-allow-list', '/recipes/enforce-module-boundaries/tags-allow-list',
'/recipes/other/react-nx': '/recipes/example-repos/react-nx', '/recipes/other/react-nx': '/showcase/example-repos/react-nx',
'/recipes/other/apollo-react': '/recipes/example-repos/apollo-react', '/recipes/other/apollo-react': '/showcase/example-repos/apollo-react',
'/recipes/other/caching': '/recipes/example-repos/caching', '/recipes/other/caching': '/showcase/example-repos/caching',
'/recipes/other/dte': '/recipes/example-repos/dte', '/recipes/other/dte': '/showcase/example-repos/dte',
'/recipes/other/deploy-nextjs-to-vercel': '/recipes/other/deploy-nextjs-to-vercel':
'/recipes/deployment/deploy-nextjs-to-vercel', '/recipes/deployment/deploy-nextjs-to-vercel',
'/recipes/other/root-level-scripts': '/recipes/other/root-level-scripts':
@ -771,14 +771,15 @@ const latestRecipesRefactoring = {
'/recipes/node/node-serverless-functions-netlify', '/recipes/node/node-serverless-functions-netlify',
'/recipes/deployment/node-aws-lambda': '/recipes/node/node-aws-lambda', '/recipes/deployment/node-aws-lambda': '/recipes/node/node-aws-lambda',
// examples // examples
'/recipes/module-federation/nx-examples': '/recipes/example-repos/mfe', '/recipes/module-federation/nx-examples': '/showcase/example-repos/mfe',
'/recipes/database/nestjs-prisma': '/recipes/example-repos/nestjs-prisma', '/recipes/database/nestjs-prisma': '/showcase/example-repos/nestjs-prisma',
'/recipes/database/mongo-fastify': '/recipes/example-repos/mongo-fastify', '/recipes/database/mongo-fastify': '/showcase/example-repos/mongo-fastify',
'/recipes/database/redis-fastify': '/recipes/example-repos/redis-fastify', '/recipes/database/redis-fastify': '/showcase/example-repos/redis-fastify',
'/recipes/database/postgres-fastify': '/recipes/database/postgres-fastify':
'/recipes/example-repos/postgres-fastify', '/showcase/example-repos/postgres-fastify',
'/recipes/database/serverless-fastify-planetscale': '/recipes/database/serverless-fastify-planetscale':
'/recipes/example-repos/serverless-fastify-planetscale', '/showcase/example-repos/serverless-fastify-planetscale',
'/recipes/example-repos/:path*': '/showcase/example-repos/:path*',
// troubleshooting // troubleshooting
'/recipes/other/resolve-circular-dependencies': '/recipes/other/resolve-circular-dependencies':
'/recipes/troubleshooting/resolve-circular-dependencies', '/recipes/troubleshooting/resolve-circular-dependencies',