Skip to content

Commit

Permalink
ensure diplan build contains docs on release
Browse files Browse the repository at this point in the history
  • Loading branch information
warm-coolguy committed Feb 13, 2025
1 parent 4599778 commit ab566a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"pages:build:serve": "http-server pages -o index.html",
"clean": "nx reset && rimraf --glob packages/**/{.cache,dist,docs} && rimraf --glob {.cache,dist} && node ./scripts/clean",
"docs:afm": "tsx ./scripts/makeDocs afm",
"docs:diplan": "tsx ./scripts/makeDocs diplan && npm run diplan:build && cp -r ./packages/clients/diplan/dist ./packages/clients/diplan/example ./packages/clients/diplan/docs",
"docs:diplan": "npm run diplan:build && cp -r ./packages/clients/diplan/dist ./packages/clients/diplan/example ./packages/clients/diplan/docs",
"docs:generic": "tsx ./scripts/makeDocs generic",
"docs:meldemichel": "tsx ./scripts/makeDocs meldemichel && npm run meldemichel:build && cp -r ./packages/clients/meldemichel/dist ./packages/clients/meldemichel/example ./packages/clients/meldemichel/docs",
"docs:snowbox": "tsx ./scripts/makeDocs snowbox",
Expand Down
2 changes: 1 addition & 1 deletion packages/clients/diplan/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
],
"scripts": {
"postversion": "npm run build",
"build": "npm run precompile && rimraf dist && vite build",
"build": "npm run precompile && rimraf dist && vite build && cd ../../../ && tsx ./scripts/makeDocs diplan",
"dev": "npm run precompile && vite --host",
"precompile": "node ../../../scripts/precompileSvg.js ../../../node_modules/diplanung-style/src/icons/dpsIcons.svg ./assets/dist/iconMap.ts && node ../../../scripts/precompileCss.js ../../../node_modules/diplanung-style/dist/style.css ./assets/dist/cssVariables.ts"
},
Expand Down

0 comments on commit ab566a4

Please sign in to comment.