From bb76d01942fbf33468b19b7be3262dd8523e6390 Mon Sep 17 00:00:00 2001 From: Juri Date: Fri, 4 Aug 2023 21:45:11 +0200 Subject: [PATCH] docs(core): fix shell formatting which got broken due to style update --- docs/shared/core-features/enforce-module-boundaries.md | 2 +- docs/shared/core-tutorial/02-create-cli.md | 2 +- docs/shared/core-tutorial/03-share-assets.md | 2 +- docs/shared/core-tutorial/04-build-affected-projects.md | 2 +- docs/shared/core-tutorial/05-auto-detect-dependencies.md | 7 +++---- docs/shared/monorepo-nx-enterprise.md | 2 +- 6 files changed, 8 insertions(+), 9 deletions(-) diff --git a/docs/shared/core-features/enforce-module-boundaries.md b/docs/shared/core-features/enforce-module-boundaries.md index 824ac8ae28c41..c29854fcedb35 100644 --- a/docs/shared/core-features/enforce-module-boundaries.md +++ b/docs/shared/core-features/enforce-module-boundaries.md @@ -138,7 +138,7 @@ With these constraints in place, `scope:client` projects can only depend on proj Projects without any tags cannot depend on any other projects. If you try to violate the constraints, you will get an error when linting: -```shell +```plaintext A project tagged with "scope:admin" can only depend on projects tagged with "scoped:shared" or "scope:admin". ``` diff --git a/docs/shared/core-tutorial/02-create-cli.md b/docs/shared/core-tutorial/02-create-cli.md index 17b7a87f94974..4da534451d8ef 100644 --- a/docs/shared/core-tutorial/02-create-cli.md +++ b/docs/shared/core-tutorial/02-create-cli.md @@ -101,7 +101,7 @@ func main() { `packages/cli/src/cow.txt`: -```shell +```plaintext _____ < moo > ----- diff --git a/docs/shared/core-tutorial/03-share-assets.md b/docs/shared/core-tutorial/03-share-assets.md index 895ab05bd7bce..161a611dd2126 100644 --- a/docs/shared/core-tutorial/03-share-assets.md +++ b/docs/shared/core-tutorial/03-share-assets.md @@ -18,7 +18,7 @@ Then move `cow.txt` out of the `cli` project to: `packages/ascii/assets/cow.txt`: -```shell +```plaintext _____ < moo > ----- diff --git a/docs/shared/core-tutorial/04-build-affected-projects.md b/docs/shared/core-tutorial/04-build-affected-projects.md index b2327baaa60ee..f904ba15b267f 100644 --- a/docs/shared/core-tutorial/04-build-affected-projects.md +++ b/docs/shared/core-tutorial/04-build-affected-projects.md @@ -46,7 +46,7 @@ git checkout . Update `packages/ascii/assets/cow.txt`: -```shell +```plaintext _____ < Hi! > ----- diff --git a/docs/shared/core-tutorial/05-auto-detect-dependencies.md b/docs/shared/core-tutorial/05-auto-detect-dependencies.md index fb520e683ae63..8e4d39c85d749 100644 --- a/docs/shared/core-tutorial/05-auto-detect-dependencies.md +++ b/docs/shared/core-tutorial/05-auto-detect-dependencies.md @@ -90,11 +90,10 @@ console.log( Now if you run `nx serve cow`, you'll see this: -```shell -$ node index.js - ______________________________________________________ +```shell {% command="node index.js" %} +______________________________________________________ < Welcome to the Restaurant at the End of the Universe > - ------------------------------------------------------ +------------------------------------------------------ \ ^__^ \ (oo)\_______ (__)\ )\/\ diff --git a/docs/shared/monorepo-nx-enterprise.md b/docs/shared/monorepo-nx-enterprise.md index a6749552b8686..586890ae677a6 100644 --- a/docs/shared/monorepo-nx-enterprise.md +++ b/docs/shared/monorepo-nx-enterprise.md @@ -159,7 +159,7 @@ Since Nx allows us to group apps and libs in directories, those directories can why the structure of an Nx workspace often reflects the structure of an organization. GitHub users can use the `CODEOWNERS` file for that. -```shell +```plaintext /libs/happynrwlapp julie-happynrwlapp-lead /apps/happynrwlapp julie-happynrwlapp-lead /libs/shared/ui hank-the-ui-guy