update bin script to work as symlink

This commit is contained in:
James Brumond 2023-05-13 22:12:33 -07:00
parent 71f555bdd8
commit b950e40915
Signed by: james
GPG Key ID: E8F2FC44BAA3357A
3 changed files with 21 additions and 21 deletions

View File

@ -1,2 +1,2 @@
#!/bin/sh
node $(dirname $0)/docs2website.js $*
node $(dirname "$(readlink -f "$0")")/docs2website.js $*

26
package-lock.json generated
View File

@ -8,10 +8,10 @@
"name": "@doc-utils/docs2website",
"version": "0.1.0",
"dependencies": {
"@doc-utils/color-themes": "^0.1.1",
"@doc-utils/jsonschema2markdown": "^0.1.0",
"@doc-utils/markdown2html": "^0.1.0",
"glob": "^10.2.2",
"@doc-utils/color-themes": "^0.1.14",
"@doc-utils/jsonschema2markdown": "^0.1.1",
"@doc-utils/markdown2html": "^0.1.21",
"glob": "^10.2.3",
"luxon": "^3.3.0",
"mustache": "^4.2.0",
"yaml": "^2.2.2"
@ -20,10 +20,10 @@
"docs2website": "bin/docs2website"
},
"devDependencies": {
"@types/jsdom": "^20.0.0",
"@types/luxon": "^3.1.0",
"@types/jsdom": "^20.0.1",
"@types/luxon": "^3.3.0",
"@types/mustache": "^4.2.2",
"@types/node": "^18.16.3",
"@types/node": "^18.16.9",
"@types/prismjs": "^1.26.0",
"typescript": "^5.0.4"
}
@ -47,9 +47,9 @@
}
},
"node_modules/@doc-utils/markdown2html": {
"version": "0.1.20",
"resolved": "https://gitea.jbrumond.me/api/packages/doc-utils/npm/%40doc-utils%2Fmarkdown2html/-/0.1.20/markdown2html-0.1.20.tgz",
"integrity": "sha512-kAkGITASEdT4jKPyeAAKZ/9QBmU1sOm0as3nHn9IolkZDydn02pmMIJCi4mrRWbj/3uj/WY5VtRa6T7sqYczNg==",
"version": "0.1.21",
"resolved": "https://gitea.jbrumond.me/api/packages/doc-utils/npm/%40doc-utils%2Fmarkdown2html/-/0.1.21/markdown2html-0.1.21.tgz",
"integrity": "sha512-yoyWrOOm4NNvxvzGn0oFwGgJb8xwmdQcAzgvN2s+xIC2sVL1WBirOlM+iJ1pOhXfAiKEPqzgEim+SE74siWp9Q==",
"dependencies": {
"bytefield-svg": "^1.6.1",
"dompurify": "^2.3.6",
@ -2469,9 +2469,9 @@
}
},
"@doc-utils/markdown2html": {
"version": "0.1.20",
"resolved": "https://gitea.jbrumond.me/api/packages/doc-utils/npm/%40doc-utils%2Fmarkdown2html/-/0.1.20/markdown2html-0.1.20.tgz",
"integrity": "sha512-kAkGITASEdT4jKPyeAAKZ/9QBmU1sOm0as3nHn9IolkZDydn02pmMIJCi4mrRWbj/3uj/WY5VtRa6T7sqYczNg==",
"version": "0.1.21",
"resolved": "https://gitea.jbrumond.me/api/packages/doc-utils/npm/%40doc-utils%2Fmarkdown2html/-/0.1.21/markdown2html-0.1.21.tgz",
"integrity": "sha512-yoyWrOOm4NNvxvzGn0oFwGgJb8xwmdQcAzgvN2s+xIC2sVL1WBirOlM+iJ1pOhXfAiKEPqzgEim+SE74siWp9Q==",
"requires": {
"bytefield-svg": "^1.6.1",
"dompurify": "^2.3.6",

View File

@ -13,18 +13,18 @@
},
"main": "./build/index.js",
"devDependencies": {
"@types/jsdom": "^20.0.0",
"@types/luxon": "^3.1.0",
"@types/jsdom": "^20.0.1",
"@types/luxon": "^3.3.0",
"@types/mustache": "^4.2.2",
"@types/node": "^18.16.3",
"@types/node": "^18.16.9",
"@types/prismjs": "^1.26.0",
"typescript": "^5.0.4"
},
"dependencies": {
"@doc-utils/color-themes": "^0.1.1",
"@doc-utils/jsonschema2markdown": "^0.1.0",
"@doc-utils/markdown2html": "^0.1.0",
"glob": "^10.2.2",
"@doc-utils/color-themes": "^0.1.14",
"@doc-utils/jsonschema2markdown": "^0.1.1",
"@doc-utils/markdown2html": "^0.1.21",
"glob": "^10.2.3",
"luxon": "^3.3.0",
"mustache": "^4.2.0",
"yaml": "^2.2.2"