fixed dependencies for main

This commit is contained in:
Sean Meininger 2022-10-09 21:30:21 -07:00
parent 3eae507c57
commit e519aba738
3 changed files with 6 additions and 6 deletions

7
package-lock.json generated
View file

@ -15,7 +15,8 @@
"@types/node": "^18.8.2",
"@vscode/ripgrep": "^1.14.2",
"ts-node": "^10.9.1",
"ts-node-dev": "^2.0.0"
"ts-node-dev": "^2.0.0",
"typescript": "^4.8.4"
}
},
"node_modules/@cspotcode/source-map-support": {
@ -749,7 +750,6 @@
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.8.4.tgz",
"integrity": "sha512-QCh+85mCy+h0IGff8r5XWzOVSbBO+KfeYrMQh7NJ58QujwcE22u+NUSmUxqF+un70P9GXKxa2HCNiTTMJknyjQ==",
"dev": true,
"peer": true,
"bin": {
"tsc": "bin/tsc",
"tsserver": "bin/tsserver"
@ -1336,8 +1336,7 @@
"version": "4.8.4",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.8.4.tgz",
"integrity": "sha512-QCh+85mCy+h0IGff8r5XWzOVSbBO+KfeYrMQh7NJ58QujwcE22u+NUSmUxqF+un70P9GXKxa2HCNiTTMJknyjQ==",
"dev": true,
"peer": true
"dev": true
},
"v8-compile-cache-lib": {
"version": "3.0.1",

View file

@ -9,7 +9,8 @@
"@types/node": "^18.8.2",
"@vscode/ripgrep": "^1.14.2",
"ts-node": "^10.9.1",
"ts-node-dev": "^2.0.0"
"ts-node-dev": "^2.0.0",
"typescript": "^4.8.4"
},
"scripts": {
"start": "ts-node ./src/main.ts",

View file

@ -1,6 +1,6 @@
#!/usr/bin/env node
// Most of the Typescript essentials are from: https://www.section.io/engineering-education/how-to-use-typescript-with-nodejs/
const fs = require("fs");
import {generateHereDoc, functionUrls} from "./lib/configHeredoc";
import {ripGrep} from "./lib/ripGrep";
import { ensureFileExists } from "lib/fileOperations";