@cedarjs/vite 5.0.0-canary.2391 → 5.0.0-canary.2392

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 +1 @@
1
- {"version":3,"file":"buildApp.d.ts","sourceRoot":"","sources":["../src/buildApp.ts"],"names":[],"mappings":"AA4BA,MAAM,WAAW,oBAAoB;IACnC,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,SAAS,CAAC,EAAE,MAAM,EAAE,CAAA;CACrB;AAED;;;;;;;;GAQG;AACH,wBAAsB,aAAa,CAAC,EAClC,OAAe,EACf,SAA0B,GAC3B,GAAE,oBAAyB,iBA4K3B"}
1
+ {"version":3,"file":"buildApp.d.ts","sourceRoot":"","sources":["../src/buildApp.ts"],"names":[],"mappings":"AA4BA,MAAM,WAAW,oBAAoB;IACnC,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,SAAS,CAAC,EAAE,MAAM,EAAE,CAAA;CACrB;AAED;;;;;;;;GAQG;AACH,wBAAsB,aAAa,CAAC,EAClC,OAAe,EACf,SAA0B,GAC3B,GAAE,oBAAyB,iBAyL3B"}
package/dist/buildApp.js CHANGED
@@ -61,15 +61,15 @@ async function buildCedarApp({
61
61
  external: (id) => {
62
62
  if (id.startsWith("node:")) {
63
63
  return true;
64
- }
65
- if (!id.startsWith(".") && !path.isAbsolute(id)) {
64
+ } else if (!id.startsWith(".") && !path.isAbsolute(id)) {
66
65
  return true;
67
66
  }
68
67
  return false;
69
68
  },
70
- // which Rollup can't interpret (only valid before call/new expressions).
71
- // Tracked upstream: https://github.com/graphql-hive/graphql-scalars/issues/2869
72
69
  onwarn(warning, warn) {
70
+ if (warning.code === "EVAL" && warning.id?.includes("@prisma/internals")) {
71
+ return;
72
+ }
73
73
  if (warning.code === "INVALID_ANNOTATION" && warning.id?.includes("graphql-scalars")) {
74
74
  return;
75
75
  }
@@ -91,15 +91,15 @@ async function buildCedarApp({
91
91
  external: (id) => {
92
92
  if (id.startsWith("node:")) {
93
93
  return true;
94
- }
95
- if (!id.startsWith(".") && !import_node_path.default.isAbsolute(id)) {
94
+ } else if (!id.startsWith(".") && !import_node_path.default.isAbsolute(id)) {
96
95
  return true;
97
96
  }
98
97
  return false;
99
98
  },
100
- // which Rollup can't interpret (only valid before call/new expressions).
101
- // Tracked upstream: https://github.com/graphql-hive/graphql-scalars/issues/2869
102
99
  onwarn(warning, warn) {
100
+ if (warning.code === "EVAL" && warning.id?.includes("@prisma/internals")) {
101
+ return;
102
+ }
103
103
  if (warning.code === "INVALID_ANNOTATION" && warning.id?.includes("graphql-scalars")) {
104
104
  return;
105
105
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cedarjs/vite",
3
- "version": "5.0.0-canary.2391",
3
+ "version": "5.0.0-canary.2392",
4
4
  "description": "Vite configuration package for CedarJS",
5
5
  "repository": {
6
6
  "type": "git",
@@ -69,17 +69,17 @@
69
69
  "@babel/generator": "7.29.1",
70
70
  "@babel/parser": "7.29.3",
71
71
  "@babel/traverse": "7.29.0",
72
- "@cedarjs/api": "5.0.0-canary.2391",
73
- "@cedarjs/auth": "5.0.0-canary.2391",
74
- "@cedarjs/babel-config": "5.0.0-canary.2391",
75
- "@cedarjs/context": "5.0.0-canary.2391",
76
- "@cedarjs/cookie-jar": "5.0.0-canary.2391",
77
- "@cedarjs/graphql-server": "5.0.0-canary.2391",
78
- "@cedarjs/internal": "5.0.0-canary.2391",
79
- "@cedarjs/project-config": "5.0.0-canary.2391",
80
- "@cedarjs/server-store": "5.0.0-canary.2391",
81
- "@cedarjs/testing": "5.0.0-canary.2391",
82
- "@cedarjs/web": "5.0.0-canary.2391",
72
+ "@cedarjs/api": "5.0.0-canary.2392",
73
+ "@cedarjs/auth": "5.0.0-canary.2392",
74
+ "@cedarjs/babel-config": "5.0.0-canary.2392",
75
+ "@cedarjs/context": "5.0.0-canary.2392",
76
+ "@cedarjs/cookie-jar": "5.0.0-canary.2392",
77
+ "@cedarjs/graphql-server": "5.0.0-canary.2392",
78
+ "@cedarjs/internal": "5.0.0-canary.2392",
79
+ "@cedarjs/project-config": "5.0.0-canary.2392",
80
+ "@cedarjs/server-store": "5.0.0-canary.2392",
81
+ "@cedarjs/testing": "5.0.0-canary.2392",
82
+ "@cedarjs/web": "5.0.0-canary.2392",
83
83
  "@fastify/url-data": "6.0.3",
84
84
  "@swc/core": "1.15.33",
85
85
  "@universal-deploy/store": "^0.2.1",