Skip to content
Closed
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
3 changes: 3 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Generated by `npm run tokens` from @octopusdeploy/design-system-tokens.
# Excluded so prettier and the generator don't rewrite each other on every dev run.
public/docs/css/design-tokens.css
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,16 @@
"pnpm": ">=9.10.0"
},
"scripts": {
"dev": "npm-run-all --parallel dev:img dev:dictionary dev:astro dev:watch",
"dev": "npm-run-all dev:tokens --parallel dev:img dev:dictionary dev:astro dev:watch",
"dev:dictionary": "node ./dictionary-sorter.mjs",
"dev:img": "node ./src/themes/octopus/utilities/img.mjs",
"dev:tokens": "npm run tokens",
"dev:astro": "astro dev --mode staging",
"tokens": "node ./src/themes/octopus/utilities/design-tokens.mjs",
"dev:watch": "onchange 'src/**/*.{js,mjs,ts,astro,css}' 'public/docs/js/**/*.js' 'public/docs/css/**/*.css' -- prettier --write --plugin=prettier-plugin-astro {{changed}}",
"astro": "astro",
"snapshot": "node --env-file=.env.production ./scripts/snapshot-shared.mjs",
"prebuild": "npm run tokens",
"build": "astro build",
"crawl": "linkinator ./dist --skip \"^(?!http://localhost)\" --recurse --verbosity error",
"format": "prettier --write --plugin=prettier-plugin-astro 'src/**/*.{js,mjs,ts,astro,css}' 'public/docs/js/**/*.js' 'public/docs/css/**/*.css'",
Expand All @@ -30,6 +33,7 @@
"dependencies": {
"@astrojs/markdown-remark": "7.2.1",
"@astrojs/mdx": "^7.0.3",
"@octopusdeploy/design-system-tokens": "^2026.3.7935",
"astro": "^7.0.9",
"astro-accelerator-utils": "^0.3.84",
"glob": "^13.0.6",
Expand Down
8 changes: 8 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading