diff --git a/.codedoc/package-lock.json b/.codedoc/package-lock.json index 4069654..2b282c1 100644 --- a/.codedoc/package-lock.json +++ b/.codedoc/package-lock.json @@ -11,9 +11,9 @@ } }, "@codedoc/core": { - "version": "0.1.63", - "resolved": "https://registry.npmjs.org/@codedoc/core/-/core-0.1.63.tgz", - "integrity": "sha512-wdptyBzExDcLJ+rCg2KZflrY/9PF9lDow1XAaMvjPwt7v7WoWfJt+9dff3cFnSBJyOGg0rUeeKr8X9uG1YDkiQ==", + "version": "0.2.15", + "resolved": "https://registry.npmjs.org/@codedoc/core/-/core-0.2.15.tgz", + "integrity": "sha512-cfZTM67x4j9wRyUqT54MCe52ZH8sgN7ySZtkHp7pFEUXKZgcDjQ8CX9mblRL6tUsNHsLXmSPBkuY7NSMMu+3UA==", "requires": { "@connectv/html": "^0.2.6", "@connectv/jss-theme": "^0.2.0", @@ -21,17 +21,21 @@ "@connectv/sdh": "^0.2.8", "@types/color": "^3.0.1", "@types/express": "^4.17.4", + "@types/express-ws": "^3.0.0", "@types/katex": "^0.11.0", "@types/prismjs": "^1.16.0", + "ansi_up": "^4.0.4", "chalk": "^4.0.0", "color": "^3.1.2", "express": "^4.17.1", + "express-ws": "^4.0.0", "jss": "^10.1.1", "jss-preset-default": "^10.1.1", "katex": "^0.11.1", + "node-watch": "^0.6.4", "prismjs": "^1.19.0", "rxjs": "^6.5.5", - "rxline": "^0.9.2", + "rxline": "^0.9.4", "select": "^1.1.2" } }, @@ -156,6 +160,16 @@ "@types/range-parser": "*" } }, + "@types/express-ws": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@types/express-ws/-/express-ws-3.0.0.tgz", + "integrity": "sha512-GxsWec7Vp6h7sJuK0PwnZHeXNZnOwQn8kHAbCfvii66it5jXHTWzSg5cgHVtESwJfBLOe9SJ5wmM7C6gsDoyQw==", + "requires": { + "@types/express": "*", + "@types/express-serve-static-core": "*", + "@types/ws": "*" + } + }, "@types/jsdom": { "version": "16.2.5", "resolved": "https://registry.npmjs.org/@types/jsdom/-/jsdom-16.2.5.tgz", @@ -289,6 +303,14 @@ } } }, + "@types/ws": { + "version": "7.2.9", + "resolved": "https://registry.npmjs.org/@types/ws/-/ws-7.2.9.tgz", + "integrity": "sha512-gmXYAXr7G4BrRMnkGQGkGonc3ArVro9VZd//C1uns/qqsJyl2dxaJdlPMhZbcq5MTxFFC+ttFWtHSfVW5+hlRA==", + "requires": { + "@types/node": "*" + } + }, "@webassemblyjs/ast": { "version": "1.9.0", "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.9.0.tgz", @@ -518,6 +540,11 @@ "color-convert": "^1.9.0" } }, + "ansi_up": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/ansi_up/-/ansi_up-4.0.4.tgz", + "integrity": "sha512-vRxC8q6QY918MbehO869biJW4tiunJdjOhi5fpY6NLOliBQlZhOkKgABJKJqH+JZfb/WfjvjN1chLWI6tODerw==" + }, "anymatch": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.1.tgz", @@ -624,6 +651,11 @@ "integrity": "sha512-z/WhQ5FPySLdvREByI2vZiTWwCnF0moMJ1hK9YQwDTHKh6I7/uSckMetoRGb5UBZPC1z0jlw+n/XCgjeH7y1AQ==", "optional": true }, + "async-limiter": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/async-limiter/-/async-limiter-1.0.1.tgz", + "integrity": "sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ==" + }, "asynckit": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", @@ -1695,6 +1727,24 @@ } } }, + "express-ws": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/express-ws/-/express-ws-4.0.0.tgz", + "integrity": "sha512-KEyUw8AwRET2iFjFsI1EJQrJ/fHeGiJtgpYgEWG3yDv4l/To/m3a2GaYfeGyB3lsWdvbesjF5XCMx+SVBgAAYw==", + "requires": { + "ws": "^5.2.0" + }, + "dependencies": { + "ws": { + "version": "5.2.2", + "resolved": "https://registry.npmjs.org/ws/-/ws-5.2.2.tgz", + "integrity": "sha512-jaHFD6PFv6UgoIVda6qZllptQsMlDEJkTQcybzzXDYM1XO9Y8em691FGMPmM46WGyLU4z9KMgQN+qrux/nhlHA==", + "requires": { + "async-limiter": "~1.0.0" + } + } + } + }, "extend": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", @@ -2893,6 +2943,11 @@ } } }, + "node-watch": { + "version": "0.6.4", + "resolved": "https://registry.npmjs.org/node-watch/-/node-watch-0.6.4.tgz", + "integrity": "sha512-cI6CHzivIFESe8djiK3Wh90CtWQBxLwMem8x8S+2GSvCvFgoMuOKVlfJtQ/2v3Afg3wOnHl/+tXotEs8z5vOrg==" + }, "normalize-path": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", diff --git a/.codedoc/package.json b/.codedoc/package.json index ea11560..29e823b 100644 --- a/.codedoc/package.json +++ b/.codedoc/package.json @@ -1,5 +1,5 @@ { "dependencies": { - "@codedoc/core": "^0.1.63" + "@codedoc/core": "^0.2.15" } } diff --git a/package.json b/package.json index f61d737..e468ae9 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "dev": "tsnd --no-notify --respawn ./src/autorestic.ts", "move": "mv bin/autorestic-linux bin/autorestic_linux_x64 && mv bin/autorestic-macos bin/autorestic_macos_x64", "bin": "yarn run build && pkg lib/autorestic.js --targets latest-macos-x64,latest-linux-x64 --out-path bin && yarn run move", - "docs:build": "codedoc build", + "docs:build": "codedoc install && codedoc build", "docs:dev": "codedoc serve" }, "devDependencies": { @@ -22,6 +22,7 @@ "axios": "0.19.x", "clitastic": "0.0.1", "colors": "1.x.x", + "commander": "^6.2.0", "cron-parser": "2.x.x", "js-yaml": "3.x.x", "minimist": "1.x.x",