@rvoh/psychic 0.30.0 → 0.31.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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Env } from '@rvoh/dream';
|
|
2
2
|
declare const EnvInternal: Env<{
|
|
3
|
-
string: "SPEC_SERVER_PORT" | "NODE_ENV"
|
|
3
|
+
string: "SPEC_SERVER_PORT" | "NODE_ENV";
|
|
4
4
|
integer: "PORT";
|
|
5
|
-
boolean: "CLIENT" | "DEBUG" | "
|
|
6
|
-
}, "SPEC_SERVER_PORT" | "NODE_ENV"
|
|
5
|
+
boolean: "CLIENT" | "DEBUG" | "PSYCHIC_DANGEROUSLY_PERMIT_WS_EXCEPTIONS" | "BYPASS_DB_CONNECTIONS_DURING_INIT" | "PSYCHIC_EXPECTING_INTERNAL_SERVER_ERROR";
|
|
6
|
+
}, "SPEC_SERVER_PORT" | "NODE_ENV", "PORT", "CLIENT" | "DEBUG" | "PSYCHIC_DANGEROUSLY_PERMIT_WS_EXCEPTIONS" | "BYPASS_DB_CONNECTIONS_DURING_INIT" | "PSYCHIC_EXPECTING_INTERNAL_SERVER_ERROR">;
|
|
7
7
|
export default EnvInternal;
|
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": "0.
|
|
5
|
+
"version": "0.31.0",
|
|
6
6
|
"author": "RVOHealth",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
|
@@ -24,16 +24,17 @@
|
|
|
24
24
|
],
|
|
25
25
|
"scripts": {
|
|
26
26
|
"client": "yarn --cwd=./client start",
|
|
27
|
-
"
|
|
27
|
+
"client:fspec": "VITE_PSYCHIC_ENV=test BROWSER=none yarn --cwd=./client start",
|
|
28
|
+
"psy": "NODE_ENV=${NODE_ENV:-test} yarn psyts",
|
|
28
29
|
"psyjs": "node ./dist/test-app/src/cli/index.js",
|
|
29
30
|
"psyts": "NODE_ENV=${NODE_ENV:-test} tsx ./test-app/src/cli/index.ts",
|
|
30
|
-
"gpsy": "
|
|
31
|
+
"gpsy": "tsx ./global-cli/main.ts",
|
|
31
32
|
"build": "echo \"building cjs...\" && rm -rf dist && npx tsc -p ./tsconfig.cjs.build.json && echo \"building esm...\" && npx tsc -p ./tsconfig.esm.build.json",
|
|
32
33
|
"build:test-app": "rm -rf dist && echo \"building test app to esm...\" && npx tsc -p ./tsconfig.esm.build.test-app.json && echo \"building test app to cjs...\" && npx tsc -p ./tsconfig.cjs.build.test-app.json",
|
|
33
|
-
"dev": "
|
|
34
|
-
"console": "
|
|
35
|
-
"uspec": "
|
|
36
|
-
"fspec": "
|
|
34
|
+
"dev": "NODE_ENV=development tsx ./test-app/main.ts",
|
|
35
|
+
"console": "tsx ./test-app/src/conf/repl.ts",
|
|
36
|
+
"uspec": "vitest --config ./spec/unit/vite.config.ts",
|
|
37
|
+
"fspec": "vitest run --config=./spec/features/vite.config.ts",
|
|
37
38
|
"format": "yarn run prettier . --write",
|
|
38
39
|
"lint": "yarn run eslint --no-warn-ignored \"src/**/*.ts\" \"spec/**/*.ts\" \"test-app/**/*.ts\" && yarn run prettier . --check",
|
|
39
40
|
"prepack": "yarn build"
|
|
@@ -61,7 +62,7 @@
|
|
|
61
62
|
"@jest-mock/express": "^3.0.0",
|
|
62
63
|
"@rvoh/dream": "^0.39.0",
|
|
63
64
|
"@rvoh/dream-spec-helpers": "^0.2.4",
|
|
64
|
-
"@rvoh/psychic-spec-helpers": "^0.
|
|
65
|
+
"@rvoh/psychic-spec-helpers": "^0.6.0",
|
|
65
66
|
"@types/express": "^5.0.1",
|
|
66
67
|
"@types/lodash-es": "^4",
|
|
67
68
|
"@types/node": "^22.5.1",
|