From 2f8e42b106dec002f1bc3e81fe76927ea9803a47 Mon Sep 17 00:00:00 2001 From: Daryna Pastushenko Date: Fri, 17 Jul 2026 13:05:32 +0300 Subject: [PATCH 1/2] chore: improve local developmant with marketing-pages --- .gitignore | 3 +++ README.md | 2 ++ package.json | 4 +++- redocly.yaml | 1 + 4 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 4e9d3e648..cd130fb9d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,8 @@ node_modules public/ +# yalc local-dev link to @redocly/marketing-pages (see README "Local development") +.yalc/ +yalc.lock .vscode .idea/ .DS_Store diff --git a/README.md b/README.md index 86fc3a8e6..23970b2a1 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,8 @@ npm start - `npm start` - Start the development server using Redocly CLI preview - `npm run lint:markdown` - Lint markdown files - `npm run lint:markdown:fix` - Fix markdown linting issues +- `npm run link-marketing-pages` - Link a local build of `@redocly/marketing-pages` via yalc +- `npm run unlink-marketing-pages` - Remove the yalc link and restore the registry version ## Project Structure diff --git a/package.json b/package.json index aa9055c49..990f40333 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,9 @@ "lint:markdown": "markdownlint-cli2 '**/*.md'", "lint:markdown:fix": "markdownlint-cli2 '**/*.md' --fix", "recheck": "npx @redocly/recheck run --stats", - "recheck:fix": "npx @redocly/recheck run --stats --fix" + "recheck:fix": "npx @redocly/recheck run --stats --fix", + "link-marketing-pages": "npx -y yalc add --link @redocly/marketing-pages", + "unlink-marketing-pages": "npx -y yalc remove --all" }, "author": "team@redocly.com", "license": "UNLICENSED", diff --git a/redocly.yaml b/redocly.yaml index 6f6ce38eb..9de11b80d 100644 --- a/redocly.yaml +++ b/redocly.yaml @@ -19,6 +19,7 @@ ignore: - 'learn/arazzo/_filesets/**' - '**/code-walkthrough-files/**' - docs/realm/.templates + - '.yalc/**' markdown: From 9ec4c450ed8d24bdf5bd7e738f555e7e6a46633c Mon Sep 17 00:00:00 2001 From: Daryna Pastushenko Date: Fri, 17 Jul 2026 13:06:51 +0300 Subject: [PATCH 2/2] fix: remove comment --- .gitignore | 1 - 1 file changed, 1 deletion(-) diff --git a/.gitignore b/.gitignore index cd130fb9d..019b9491c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,5 @@ node_modules public/ -# yalc local-dev link to @redocly/marketing-pages (see README "Local development") .yalc/ yalc.lock .vscode