summary refs log tree commit diff
path: root/bundle
diff options
context:
space:
mode:
authorTheArcaneBrony <myrainbowdash949@gmail.com>2022-08-12 03:24:51 +0200
committerTheArcaneBrony <myrainbowdash949@gmail.com>2022-08-13 21:57:51 +0200
commit1d52b0d0721094d7f8dfaabddedd9f08a5e456a5 (patch)
tree1136d2550f7f47f4eebd560251353f9c0cd98a6f /bundle
parentPush local state... (diff)
downloadserver-ts-1d52b0d0721094d7f8dfaabddedd9f08a5e456a5.tar.xz
Fix updated client stuff...
Diffstat (limited to 'bundle')
-rw-r--r--bundle/package.json3
-rw-r--r--bundle/scripts/update_schemas.js2
2 files changed, 3 insertions, 2 deletions
diff --git a/bundle/package.json b/bundle/package.json

index b67598b8..7431a96f 100644 --- a/bundle/package.json +++ b/bundle/package.json
@@ -9,10 +9,11 @@ "depcheck": "node scripts/depcheck.js", "syncdeps": "node scripts/install.js", "build": "node scripts/build.js", + "genschemas": "node scripts/update_schemas.js", "start": "node scripts/build.js && node --enable-source-maps dist/bundle/src/start.js", "start:bundle": "node --enable-source-maps dist/bundle/src/start.js", "start:bundle:dbg": "node --enable-source-maps --inspect dist/bundle/src/start.js", - "start:bundle:vscode-dbg": "npm run build clean logerrors pretty-errors && node --enable-source-maps --inspect dist/bundle/src/start.js", + "start:bundle:vscode-dbg": "npm run genschemas && npm run build clean logerrors pretty-errors && node --enable-source-maps --inspect dist/bundle/src/start.js", "test": "echo \"Error: no test specified\" && exit 1", "migrate": "cd ../util/ && npm i && node --require ts-node/register node_modules/typeorm/cli.js -f ../util/ormconfig.json migration:run", "tsnode": "npx ts-node --transpile-only -P tsnode.tsconfig.json src/start.ts" diff --git a/bundle/scripts/update_schemas.js b/bundle/scripts/update_schemas.js
index 516b9592..a018120b 100644 --- a/bundle/scripts/update_schemas.js +++ b/bundle/scripts/update_schemas.js
@@ -6,4 +6,4 @@ const { argv, stdout, exit } = require("process"); const { execIn, getLines, parts } = require("./utils"); -execIn("node scripts/generate_schema.js", path.join("..", "..", "api")); \ No newline at end of file +execIn("node scripts/generate_schema.js", path.join("..", "api")); \ No newline at end of file