diff --git a/.gitignore b/.gitignore index 4e9d3e64..019b9491 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,7 @@ node_modules public/ +.yalc/ +yalc.lock .vscode .idea/ .DS_Store diff --git a/README.md b/README.md index 86fc3a8e..23970b2a 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 ad065d20..41b15421 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 6f6ce38e..9de11b80 100644 --- a/redocly.yaml +++ b/redocly.yaml @@ -19,6 +19,7 @@ ignore: - 'learn/arazzo/_filesets/**' - '**/code-walkthrough-files/**' - docs/realm/.templates + - '.yalc/**' markdown: