@cedarjs/api-server 1.0.0-canary.12780 → 1.0.0-canary.12781
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.
- package/dist/cjs/watch.d.ts.map +1 -1
- package/dist/cjs/watch.js +2 -1
- package/dist/watch.d.ts.map +1 -1
- package/dist/watch.js +3 -2
- package/package.json +9 -9
package/dist/cjs/watch.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"watch.d.ts","sourceRoot":"","sources":["../../src/watch.ts"],"names":[],"mappings":"AAuEA;;;;GAIG;AACH,wBAAsB,UAAU,
|
|
1
|
+
{"version":3,"file":"watch.d.ts","sourceRoot":"","sources":["../../src/watch.ts"],"names":[],"mappings":"AAuEA;;;;GAIG;AACH,wBAAsB,UAAU,kBA+E/B"}
|
package/dist/cjs/watch.js
CHANGED
|
@@ -252,12 +252,13 @@ async function validateSdls() {
|
|
|
252
252
|
}
|
|
253
253
|
}
|
|
254
254
|
async function startWatch() {
|
|
255
|
+
const dbDir = await (0, import_project_config2.getDbDir)(cedarPaths.api.prismaConfig);
|
|
255
256
|
const ignoredApiPaths = [
|
|
256
257
|
// use this, because using cedarPaths.api.dist seems to not ignore on first
|
|
257
258
|
// build
|
|
258
259
|
"api/dist",
|
|
259
260
|
cedarPaths.api.types,
|
|
260
|
-
|
|
261
|
+
dbDir
|
|
261
262
|
].map((path3) => (0, import_project_config2.ensurePosixPath)(path3));
|
|
262
263
|
const ignoredExtensions = [
|
|
263
264
|
".DS_Store",
|
package/dist/watch.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"watch.d.ts","sourceRoot":"","sources":["../src/watch.ts"],"names":[],"mappings":"AAuEA;;;;GAIG;AACH,wBAAsB,UAAU,
|
|
1
|
+
{"version":3,"file":"watch.d.ts","sourceRoot":"","sources":["../src/watch.ts"],"names":[],"mappings":"AAuEA;;;;GAIG;AACH,wBAAsB,UAAU,kBA+E/B"}
|
package/dist/watch.js
CHANGED
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
rebuildApi
|
|
12
12
|
} from "@cedarjs/internal/dist/build/api";
|
|
13
13
|
import { loadAndValidateSdls } from "@cedarjs/internal/dist/validateSchema";
|
|
14
|
-
import { ensurePosixPath, getPaths as getPaths2 } from "@cedarjs/project-config";
|
|
14
|
+
import { ensurePosixPath, getPaths as getPaths2, getDbDir } from "@cedarjs/project-config";
|
|
15
15
|
|
|
16
16
|
// src/utils.ts
|
|
17
17
|
function debounce(func, wait) {
|
|
@@ -223,12 +223,13 @@ async function validateSdls() {
|
|
|
223
223
|
}
|
|
224
224
|
}
|
|
225
225
|
async function startWatch() {
|
|
226
|
+
const dbDir = await getDbDir(cedarPaths.api.prismaConfig);
|
|
226
227
|
const ignoredApiPaths = [
|
|
227
228
|
// use this, because using cedarPaths.api.dist seems to not ignore on first
|
|
228
229
|
// build
|
|
229
230
|
"api/dist",
|
|
230
231
|
cedarPaths.api.types,
|
|
231
|
-
|
|
232
|
+
dbDir
|
|
232
233
|
].map((path3) => ensurePosixPath(path3));
|
|
233
234
|
const ignoredExtensions = [
|
|
234
235
|
".DS_Store",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cedarjs/api-server",
|
|
3
|
-
"version": "1.0.0-canary.
|
|
3
|
+
"version": "1.0.0-canary.12781+3646d1b08",
|
|
4
4
|
"description": "CedarJS's HTTP server for Serverless Functions",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -107,11 +107,11 @@
|
|
|
107
107
|
"test:watch": "vitest watch"
|
|
108
108
|
},
|
|
109
109
|
"dependencies": {
|
|
110
|
-
"@cedarjs/context": "1.0.0-canary.
|
|
111
|
-
"@cedarjs/fastify-web": "1.0.0-canary.
|
|
112
|
-
"@cedarjs/internal": "1.0.0-canary.
|
|
113
|
-
"@cedarjs/project-config": "1.0.0-canary.
|
|
114
|
-
"@cedarjs/web-server": "1.0.0-canary.
|
|
110
|
+
"@cedarjs/context": "1.0.0-canary.12781",
|
|
111
|
+
"@cedarjs/fastify-web": "1.0.0-canary.12781",
|
|
112
|
+
"@cedarjs/internal": "1.0.0-canary.12781",
|
|
113
|
+
"@cedarjs/project-config": "1.0.0-canary.12781",
|
|
114
|
+
"@cedarjs/web-server": "1.0.0-canary.12781",
|
|
115
115
|
"@fastify/multipart": "9.0.3",
|
|
116
116
|
"@fastify/url-data": "6.0.3",
|
|
117
117
|
"ansis": "4.1.0",
|
|
@@ -128,7 +128,7 @@
|
|
|
128
128
|
"yargs": "17.7.2"
|
|
129
129
|
},
|
|
130
130
|
"devDependencies": {
|
|
131
|
-
"@cedarjs/framework-tools": "1.0.0-canary.
|
|
131
|
+
"@cedarjs/framework-tools": "1.0.0-canary.12781",
|
|
132
132
|
"@types/aws-lambda": "8.10.152",
|
|
133
133
|
"@types/dotenv-defaults": "^2.0.4",
|
|
134
134
|
"@types/qs": "6.9.16",
|
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
"vitest": "3.2.4"
|
|
142
142
|
},
|
|
143
143
|
"peerDependencies": {
|
|
144
|
-
"@cedarjs/graphql-server": "1.0.0-canary.
|
|
144
|
+
"@cedarjs/graphql-server": "1.0.0-canary.12781"
|
|
145
145
|
},
|
|
146
146
|
"peerDependenciesMeta": {
|
|
147
147
|
"@cedarjs/graphql-server": {
|
|
@@ -151,5 +151,5 @@
|
|
|
151
151
|
"publishConfig": {
|
|
152
152
|
"access": "public"
|
|
153
153
|
},
|
|
154
|
-
"gitHead": "
|
|
154
|
+
"gitHead": "3646d1b08789be1ee38792889bc71cf331de1435"
|
|
155
155
|
}
|