@rvoh/psychic 1.14.0-beta.5 → 1.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -138,9 +138,10 @@ class PsychicCLI {
|
|
|
138
138
|
program
|
|
139
139
|
.command('sync')
|
|
140
140
|
.description('sync introspects your database, updating your schema to reflect, and then syncs the new schema with the installed dream node module, allowing it provide your schema to the underlying kysely integration')
|
|
141
|
+
.option('--ignore-errors')
|
|
141
142
|
.option('--schema-only')
|
|
142
|
-
.action(async (options
|
|
143
|
-
await initializePsychicApp({ bypassDreamIntegrityChecks:
|
|
143
|
+
.action(async (options) => {
|
|
144
|
+
await initializePsychicApp({ bypassDreamIntegrityChecks: options.ignoreErrors || options.schemaOnly });
|
|
144
145
|
await index_js_1.default.sync(options);
|
|
145
146
|
process.exit();
|
|
146
147
|
});
|
|
@@ -133,9 +133,10 @@ export default class PsychicCLI {
|
|
|
133
133
|
program
|
|
134
134
|
.command('sync')
|
|
135
135
|
.description('sync introspects your database, updating your schema to reflect, and then syncs the new schema with the installed dream node module, allowing it provide your schema to the underlying kysely integration')
|
|
136
|
+
.option('--ignore-errors')
|
|
136
137
|
.option('--schema-only')
|
|
137
|
-
.action(async (options
|
|
138
|
-
await initializePsychicApp({ bypassDreamIntegrityChecks:
|
|
138
|
+
.action(async (options) => {
|
|
139
|
+
await initializePsychicApp({ bypassDreamIntegrityChecks: options.ignoreErrors || options.schemaOnly });
|
|
139
140
|
await PsychicBin.sync(options);
|
|
140
141
|
process.exit();
|
|
141
142
|
});
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"type": "module",
|
|
3
3
|
"name": "@rvoh/psychic",
|
|
4
4
|
"description": "Typescript web framework",
|
|
5
|
-
"version": "1.14.0
|
|
5
|
+
"version": "1.14.0",
|
|
6
6
|
"author": "RVOHealth",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"devDependencies": {
|
|
64
64
|
"@eslint/js": "^9.19.0",
|
|
65
65
|
"@jest-mock/express": "^3.0.0",
|
|
66
|
-
"@rvoh/dream": "^1.13.0
|
|
66
|
+
"@rvoh/dream": "^1.13.0",
|
|
67
67
|
"@rvoh/dream-spec-helpers": "^1.2.1",
|
|
68
68
|
"@rvoh/psychic-spec-helpers": "^1.1.6",
|
|
69
69
|
"@types/express": "^5.0.1",
|