chore: dox

This commit is contained in:
cha0s 2022-03-23 05:29:44 -05:00
parent b9ae5668bf
commit 9a7870793a
3 changed files with 4 additions and 0 deletions

1
.gitignore vendored
View File

@ -117,5 +117,6 @@ dist
# local # local
/dist /dist
/dox
/packages/*/yarn.lock /packages/*/yarn.lock
/universe /universe

View File

@ -39,6 +39,7 @@
'@flecks/db/server': '@flecks/db/server':
port: 32352 port: 32352
'@flecks/docker': {} '@flecks/docker': {}
'@flecks/dox': {}
'@flecks/governor': {} '@flecks/governor': {}
'@flecks/web': {} '@flecks/web': {}
'@flecks/web/client': '@flecks/web/client':

View File

@ -11,6 +11,7 @@
"build:only": "flecks build", "build:only": "flecks build",
"debug": "DEBUG=*,-babel* npm run dev", "debug": "DEBUG=*,-babel* npm run dev",
"dev": "npm run -- build:only -h", "dev": "npm run -- build:only -h",
"dox": "FLECKS_ENV_FLECKS_DOX_SERVER_filenameRewriters=\"{\\\"^@flecks/(.*):([0-9]+):([0-9]+)\\\": \\\"<a href='https://git.hq.cha0s.io/cha0s/flecks/tree/$(git -C ../flecks rev-parse --short HEAD)/packages/\\$1#L\\$2'>@flecks/\\$1:\\$2:\\$3</a>\\\", \\\"^@avocado/(.*):([0-9]+):([0-9]+)\\\": \\\"<a href='https://git.hq.cha0s.io/cha0s/avocado/tree/$(git -C ../avocado rev-parse --short HEAD)/packages/\\$1#L\\$2'>@avocado/\\$1:\\$2:\\$3</a>\\\", \\\"^@humus/(.*):([0-9]+):([0-9]+)\\\": \\\"<a href='https://git.hq.cha0s.io/cha0s/humus/tree/$(git rev-parse --short HEAD)/packages/\\$1#L\\$2'>@humus/\\$1:\\$2:\\$3</a>\\\"}\" yarn flecks dox",
"link-all": "for i in avocado humus; do yarn link $(for j in $(ls node_modules/@$i/); do echo \" @$i/$j\"; done); done", "link-all": "for i in avocado humus; do yarn link $(for j in $(ls node_modules/@$i/); do echo \" @$i/$j\"; done); done",
"postinstall": "patch-package", "postinstall": "patch-package",
"repl": "npx flecks repl --rlwrap", "repl": "npx flecks repl --rlwrap",
@ -39,6 +40,7 @@
"@flecks/core": "^1.4.1", "@flecks/core": "^1.4.1",
"@flecks/create-app": "^1.4.1", "@flecks/create-app": "^1.4.1",
"@flecks/db": "^1.4.1", "@flecks/db": "^1.4.1",
"@flecks/dox": "^1.4.1",
"@flecks/governor": "^1.4.1", "@flecks/governor": "^1.4.1",
"@flecks/react": "^1.4.1", "@flecks/react": "^1.4.1",
"@flecks/redis": "^1.4.1", "@flecks/redis": "^1.4.1",