Skip to content

Commit

Permalink
doc: remove the jsdoc system
Browse files Browse the repository at this point in the history
  • Loading branch information
wmertens committed Mar 3, 2023
1 parent 055a282 commit 6f0a0d6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
13 changes: 0 additions & 13 deletions package-scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,6 @@ const scripts = {
babel: `${runBabel} src/`,
watch: `${runBabel} --watch src/`,
git: `sh build-git.sh v${version.split('.')[0]}`,
doc: series(
`echo '# API' > API.md`,
`echo >> API.md`,
`jsdoc2md -f src/*.js src/**/*js >> API.md`,
`echo >> API.md`,
`git log -n1 --format=format:"_Generated from %H, %cI_" >> API.md`,
`prettier --write API.md`
),
types: series(
`jsdoc -t node_modules/tsd-jsdoc/dist -r src -d dist`,
// https://github.com/englercj/tsd-jsdoc/issues/64
`echo 'export const DB: DB; export const EventSourcingDB: EventSourcingDB; export const SQLite: SQLite; export const EventQueue: EventQueue; export const applyResult: applyResult; export const ESModel: ESModel; export const JsonModel: JsonModel;' >> dist/types.d.ts`
),
},
lint: {
default: 'eslint .',
Expand Down
3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,9 @@
"eslint-plugin-unicorn": "^44.0.2",
"fs-extra": "^10.1.0",
"jest-cli": "^29.2.0",
"jsdoc": "3.6.11",
"jsdoc-to-markdown": "7.1.1",
"nps-utils": "^1.7.0",
"prettier": "^2.7.1",
"tmp-promise": "3.0.3",
"tsd-jsdoc": "^2.5.0",
"typescript": "^4.8.4"
},
"jest": {
Expand Down

0 comments on commit 6f0a0d6

Please sign in to comment.