update bin script to work as symlink
This commit is contained in:
parent
71f555bdd8
commit
b950e40915
@ -1,2 +1,2 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
node $(dirname $0)/docs2website.js $*
|
node $(dirname "$(readlink -f "$0")")/docs2website.js $*
|
26
package-lock.json
generated
26
package-lock.json
generated
@ -8,10 +8,10 @@
|
|||||||
"name": "@doc-utils/docs2website",
|
"name": "@doc-utils/docs2website",
|
||||||
"version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@doc-utils/color-themes": "^0.1.1",
|
"@doc-utils/color-themes": "^0.1.14",
|
||||||
"@doc-utils/jsonschema2markdown": "^0.1.0",
|
"@doc-utils/jsonschema2markdown": "^0.1.1",
|
||||||
"@doc-utils/markdown2html": "^0.1.0",
|
"@doc-utils/markdown2html": "^0.1.21",
|
||||||
"glob": "^10.2.2",
|
"glob": "^10.2.3",
|
||||||
"luxon": "^3.3.0",
|
"luxon": "^3.3.0",
|
||||||
"mustache": "^4.2.0",
|
"mustache": "^4.2.0",
|
||||||
"yaml": "^2.2.2"
|
"yaml": "^2.2.2"
|
||||||
@ -20,10 +20,10 @@
|
|||||||
"docs2website": "bin/docs2website"
|
"docs2website": "bin/docs2website"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/jsdom": "^20.0.0",
|
"@types/jsdom": "^20.0.1",
|
||||||
"@types/luxon": "^3.1.0",
|
"@types/luxon": "^3.3.0",
|
||||||
"@types/mustache": "^4.2.2",
|
"@types/mustache": "^4.2.2",
|
||||||
"@types/node": "^18.16.3",
|
"@types/node": "^18.16.9",
|
||||||
"@types/prismjs": "^1.26.0",
|
"@types/prismjs": "^1.26.0",
|
||||||
"typescript": "^5.0.4"
|
"typescript": "^5.0.4"
|
||||||
}
|
}
|
||||||
@ -47,9 +47,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@doc-utils/markdown2html": {
|
"node_modules/@doc-utils/markdown2html": {
|
||||||
"version": "0.1.20",
|
"version": "0.1.21",
|
||||||
"resolved": "https://gitea.jbrumond.me/api/packages/doc-utils/npm/%40doc-utils%2Fmarkdown2html/-/0.1.20/markdown2html-0.1.20.tgz",
|
"resolved": "https://gitea.jbrumond.me/api/packages/doc-utils/npm/%40doc-utils%2Fmarkdown2html/-/0.1.21/markdown2html-0.1.21.tgz",
|
||||||
"integrity": "sha512-kAkGITASEdT4jKPyeAAKZ/9QBmU1sOm0as3nHn9IolkZDydn02pmMIJCi4mrRWbj/3uj/WY5VtRa6T7sqYczNg==",
|
"integrity": "sha512-yoyWrOOm4NNvxvzGn0oFwGgJb8xwmdQcAzgvN2s+xIC2sVL1WBirOlM+iJ1pOhXfAiKEPqzgEim+SE74siWp9Q==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"bytefield-svg": "^1.6.1",
|
"bytefield-svg": "^1.6.1",
|
||||||
"dompurify": "^2.3.6",
|
"dompurify": "^2.3.6",
|
||||||
@ -2469,9 +2469,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@doc-utils/markdown2html": {
|
"@doc-utils/markdown2html": {
|
||||||
"version": "0.1.20",
|
"version": "0.1.21",
|
||||||
"resolved": "https://gitea.jbrumond.me/api/packages/doc-utils/npm/%40doc-utils%2Fmarkdown2html/-/0.1.20/markdown2html-0.1.20.tgz",
|
"resolved": "https://gitea.jbrumond.me/api/packages/doc-utils/npm/%40doc-utils%2Fmarkdown2html/-/0.1.21/markdown2html-0.1.21.tgz",
|
||||||
"integrity": "sha512-kAkGITASEdT4jKPyeAAKZ/9QBmU1sOm0as3nHn9IolkZDydn02pmMIJCi4mrRWbj/3uj/WY5VtRa6T7sqYczNg==",
|
"integrity": "sha512-yoyWrOOm4NNvxvzGn0oFwGgJb8xwmdQcAzgvN2s+xIC2sVL1WBirOlM+iJ1pOhXfAiKEPqzgEim+SE74siWp9Q==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"bytefield-svg": "^1.6.1",
|
"bytefield-svg": "^1.6.1",
|
||||||
"dompurify": "^2.3.6",
|
"dompurify": "^2.3.6",
|
||||||
|
14
package.json
14
package.json
@ -13,18 +13,18 @@
|
|||||||
},
|
},
|
||||||
"main": "./build/index.js",
|
"main": "./build/index.js",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/jsdom": "^20.0.0",
|
"@types/jsdom": "^20.0.1",
|
||||||
"@types/luxon": "^3.1.0",
|
"@types/luxon": "^3.3.0",
|
||||||
"@types/mustache": "^4.2.2",
|
"@types/mustache": "^4.2.2",
|
||||||
"@types/node": "^18.16.3",
|
"@types/node": "^18.16.9",
|
||||||
"@types/prismjs": "^1.26.0",
|
"@types/prismjs": "^1.26.0",
|
||||||
"typescript": "^5.0.4"
|
"typescript": "^5.0.4"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@doc-utils/color-themes": "^0.1.1",
|
"@doc-utils/color-themes": "^0.1.14",
|
||||||
"@doc-utils/jsonschema2markdown": "^0.1.0",
|
"@doc-utils/jsonschema2markdown": "^0.1.1",
|
||||||
"@doc-utils/markdown2html": "^0.1.0",
|
"@doc-utils/markdown2html": "^0.1.21",
|
||||||
"glob": "^10.2.2",
|
"glob": "^10.2.3",
|
||||||
"luxon": "^3.3.0",
|
"luxon": "^3.3.0",
|
||||||
"mustache": "^4.2.0",
|
"mustache": "^4.2.0",
|
||||||
"yaml": "^2.2.2"
|
"yaml": "^2.2.2"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user