Skip to content

Commit

Permalink
fix(build): use @buschtoens/documentation
Browse files Browse the repository at this point in the history
Fixes emberjs#596.

Includes a fix for building from `.ts` source files.

documentationjs/documentation#1484
  • Loading branch information
buschtoens committed Feb 27, 2022
1 parent 11701c1 commit ad08e73
Show file tree
Hide file tree
Showing 2 changed files with 1,199 additions and 1,535 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"prepack": "yarn build && run-s build:*:verify",
"postpack": "yarn clean",
"build": "run-p --aggregate-output build:*",
"build:docs": "documentation build --document-exported \"addon-test-support/@ember/test-helpers/index.js\" --config documentation.yml --markdown-toc-max-depth 3 -f md -o API.md",
"build:docs": "documentation build --pe .ts --pe .d.ts --document-exported \"addon-test-support/@ember/test-helpers/index.ts\" --config documentation.yml --markdown-toc-max-depth 3 -f md -o API.md",
"build:docs:verify": "git diff --quiet API.md || (echo '`API.md` has changed, please run `yarn build:docs` & commit the changes to update the API documentation' && exit 1)",
"build:js": "yarn babel --extensions '.ts' --presets @babel/preset-typescript addon-test-support --out-dir addon-test-support/ --ignore '**/*.d.ts'",
"clean": "run-p --aggregate-output clean:*",
Expand Down Expand Up @@ -61,7 +61,7 @@
"@typescript-eslint/parser": "^4.29.0",
"broccoli-babel-preset-typescript": "^1.0.1",
"broccoli-merge-trees": "^4.2.0",
"documentation": "^13.2.5",
"documentation": "npm:@buschtoens/documentation@13.2.6",
"ember-auto-import": "^2.2.0",
"ember-cli": "~3.28.3",
"ember-cli-dependency-checker": "^3.2.0",
Expand Down
Loading

0 comments on commit ad08e73

Please sign in to comment.