@cedarjs/vite 6.0.0-canary.2682 → 6.0.0-canary.2683
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.
|
@@ -54,11 +54,10 @@ function getMergedConfig(cedarConfig, cedarPaths) {
|
|
|
54
54
|
resolve: {
|
|
55
55
|
alias: {
|
|
56
56
|
...workspaceAliases,
|
|
57
|
-
//
|
|
58
|
-
//
|
|
59
|
-
//
|
|
60
|
-
//
|
|
61
|
-
$api: cedarPaths.api.base,
|
|
57
|
+
// $api/ bare specifiers (e.g. "from '$api/src/lib/db'") are
|
|
58
|
+
// resolved by cedarjsResolveCedarStyleImportsPlugin, which is
|
|
59
|
+
// always included alongside this config in cedar()'s plugin list
|
|
60
|
+
// (see packages/vite/src/index.ts) — no alias needed here too.
|
|
62
61
|
// In test mode, register the virtual module alias so that
|
|
63
62
|
// MockProviders can resolve the user's Routes file
|
|
64
63
|
...env.mode === "test" ? { "~__CEDAR__USER_ROUTES_FOR_MOCK": cedarPaths.web.routes } : {}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getMergedConfig.d.ts","sourceRoot":"","sources":["../../src/lib/getMergedConfig.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AAE9D,OAAO,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,yBAAyB,CAAA;AAS5D;;;;;;GAMG;AACH,wBAAgB,eAAe,CAAC,WAAW,EAAE,MAAM,EAAE,UAAU,EAAE,KAAK,IAC5D,YAAY,cAAc,EAAE,KAAK,SAAS,KAAG,cAAc,
|
|
1
|
+
{"version":3,"file":"getMergedConfig.d.ts","sourceRoot":"","sources":["../../src/lib/getMergedConfig.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AAE9D,OAAO,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,yBAAyB,CAAA;AAS5D;;;;;;GAMG;AACH,wBAAgB,eAAe,CAAC,WAAW,EAAE,MAAM,EAAE,UAAU,EAAE,KAAK,IAC5D,YAAY,cAAc,EAAE,KAAK,SAAS,KAAG,cAAc,CAgIpE"}
|
|
@@ -25,11 +25,10 @@ function getMergedConfig(cedarConfig, cedarPaths) {
|
|
|
25
25
|
resolve: {
|
|
26
26
|
alias: {
|
|
27
27
|
...workspaceAliases,
|
|
28
|
-
//
|
|
29
|
-
//
|
|
30
|
-
//
|
|
31
|
-
//
|
|
32
|
-
$api: cedarPaths.api.base,
|
|
28
|
+
// $api/ bare specifiers (e.g. "from '$api/src/lib/db'") are
|
|
29
|
+
// resolved by cedarjsResolveCedarStyleImportsPlugin, which is
|
|
30
|
+
// always included alongside this config in cedar()'s plugin list
|
|
31
|
+
// (see packages/vite/src/index.ts) — no alias needed here too.
|
|
33
32
|
// In test mode, register the virtual module alias so that
|
|
34
33
|
// MockProviders can resolve the user's Routes file
|
|
35
34
|
...env.mode === "test" ? { "~__CEDAR__USER_ROUTES_FOR_MOCK": cedarPaths.web.routes } : {}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cedarjs/vite",
|
|
3
|
-
"version": "6.0.0-canary.
|
|
3
|
+
"version": "6.0.0-canary.2683",
|
|
4
4
|
"description": "Vite configuration package for CedarJS",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -63,15 +63,15 @@
|
|
|
63
63
|
"@babel/parser": "7.29.7",
|
|
64
64
|
"@babel/traverse": "7.29.7",
|
|
65
65
|
"@babel/types": "7.29.7",
|
|
66
|
-
"@cedarjs/api": "6.0.0-canary.
|
|
67
|
-
"@cedarjs/babel-config": "6.0.0-canary.
|
|
68
|
-
"@cedarjs/context": "6.0.0-canary.
|
|
69
|
-
"@cedarjs/cookie-jar": "6.0.0-canary.
|
|
70
|
-
"@cedarjs/graphql-server": "6.0.0-canary.
|
|
71
|
-
"@cedarjs/internal": "6.0.0-canary.
|
|
72
|
-
"@cedarjs/project-config": "6.0.0-canary.
|
|
73
|
-
"@cedarjs/server-store": "6.0.0-canary.
|
|
74
|
-
"@cedarjs/testing": "6.0.0-canary.
|
|
66
|
+
"@cedarjs/api": "6.0.0-canary.2683",
|
|
67
|
+
"@cedarjs/babel-config": "6.0.0-canary.2683",
|
|
68
|
+
"@cedarjs/context": "6.0.0-canary.2683",
|
|
69
|
+
"@cedarjs/cookie-jar": "6.0.0-canary.2683",
|
|
70
|
+
"@cedarjs/graphql-server": "6.0.0-canary.2683",
|
|
71
|
+
"@cedarjs/internal": "6.0.0-canary.2683",
|
|
72
|
+
"@cedarjs/project-config": "6.0.0-canary.2683",
|
|
73
|
+
"@cedarjs/server-store": "6.0.0-canary.2683",
|
|
74
|
+
"@cedarjs/testing": "6.0.0-canary.2683",
|
|
75
75
|
"@fastify/url-data": "6.0.3",
|
|
76
76
|
"@swc/core": "1.15.41",
|
|
77
77
|
"@universal-deploy/store": "^0.2.1",
|
|
@@ -108,9 +108,9 @@
|
|
|
108
108
|
},
|
|
109
109
|
"devDependencies": {
|
|
110
110
|
"@arethetypeswrong/cli": "0.18.5",
|
|
111
|
-
"@cedarjs/auth": "6.0.0-canary.
|
|
112
|
-
"@cedarjs/router": "6.0.0-canary.
|
|
113
|
-
"@cedarjs/web": "6.0.0-canary.
|
|
111
|
+
"@cedarjs/auth": "6.0.0-canary.2683",
|
|
112
|
+
"@cedarjs/router": "6.0.0-canary.2683",
|
|
113
|
+
"@cedarjs/web": "6.0.0-canary.2683",
|
|
114
114
|
"@hyrious/esbuild-plugin-commonjs": "0.2.6",
|
|
115
115
|
"@jridgewell/trace-mapping": "0.3.31",
|
|
116
116
|
"@types/aws-lambda": "8.10.162",
|