Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
node_modules
public/
.yalc/
yalc.lock
.vscode
.idea/
.DS_Store
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Severity: Low

The script is named unlink-marketing-pages, but uses --all which removes all yalc-linked packages. Consider using npx -y yalc remove @redocly/marketing-pages to only remove this specific package, avoiding unintended removal of other linked packages.

},
"author": "team@redocly.com",
"license": "UNLICENSED",
Expand Down
1 change: 1 addition & 0 deletions redocly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ ignore:
- 'learn/arazzo/_filesets/**'
- '**/code-walkthrough-files/**'
- docs/realm/.templates
- '.yalc/**'


markdown:
Expand Down
Loading