@cedarjs/cli 6.0.0-canary.2798 → 6.0.0-canary.2799
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/lib/exec.js +5 -8
- package/package.json +12 -12
package/dist/lib/exec.js
CHANGED
|
@@ -54,19 +54,16 @@ async function runScriptFunction({
|
|
|
54
54
|
nodeRunnerEnv: {}
|
|
55
55
|
},
|
|
56
56
|
resolve: {
|
|
57
|
+
// `$api/` and `api/` imports are handled by
|
|
58
|
+
// cedarjsResolveCedarStyleImportsPlugin below, which also resolves
|
|
59
|
+
// Cedar's directory named modules (`$api/src/services/posts` ->
|
|
60
|
+
// posts/posts.ts) and leaves an actual `api` npm package alone. The web
|
|
61
|
+
// side equivalents have no plugin support, so they stay aliases
|
|
57
62
|
alias: [
|
|
58
|
-
{
|
|
59
|
-
find: /^\$api\//,
|
|
60
|
-
replacement: getPaths().api.base + "/"
|
|
61
|
-
},
|
|
62
63
|
{
|
|
63
64
|
find: /^\$web\//,
|
|
64
65
|
replacement: getPaths().web.base + "/"
|
|
65
66
|
},
|
|
66
|
-
{
|
|
67
|
-
find: /^api\//,
|
|
68
|
-
replacement: getPaths().api.base + "/"
|
|
69
|
-
},
|
|
70
67
|
{
|
|
71
68
|
find: /^web\//,
|
|
72
69
|
replacement: getPaths().web.base + "/"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cedarjs/cli",
|
|
3
|
-
"version": "6.0.0-canary.
|
|
3
|
+
"version": "6.0.0-canary.2799",
|
|
4
4
|
"description": "The CedarJS Command Line",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -33,17 +33,17 @@
|
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@babel/parser": "7.29.7",
|
|
35
35
|
"@babel/preset-typescript": "7.29.7",
|
|
36
|
-
"@cedarjs/api-server": "6.0.0-canary.
|
|
37
|
-
"@cedarjs/cli-helpers": "6.0.0-canary.
|
|
38
|
-
"@cedarjs/fastify-web": "6.0.0-canary.
|
|
39
|
-
"@cedarjs/internal": "6.0.0-canary.
|
|
40
|
-
"@cedarjs/prerender": "6.0.0-canary.
|
|
41
|
-
"@cedarjs/project-config": "6.0.0-canary.
|
|
42
|
-
"@cedarjs/structure": "6.0.0-canary.
|
|
43
|
-
"@cedarjs/telemetry": "6.0.0-canary.
|
|
44
|
-
"@cedarjs/utils": "6.0.0-canary.
|
|
45
|
-
"@cedarjs/vite": "6.0.0-canary.
|
|
46
|
-
"@cedarjs/web-server": "6.0.0-canary.
|
|
36
|
+
"@cedarjs/api-server": "6.0.0-canary.2799",
|
|
37
|
+
"@cedarjs/cli-helpers": "6.0.0-canary.2799",
|
|
38
|
+
"@cedarjs/fastify-web": "6.0.0-canary.2799",
|
|
39
|
+
"@cedarjs/internal": "6.0.0-canary.2799",
|
|
40
|
+
"@cedarjs/prerender": "6.0.0-canary.2799",
|
|
41
|
+
"@cedarjs/project-config": "6.0.0-canary.2799",
|
|
42
|
+
"@cedarjs/structure": "6.0.0-canary.2799",
|
|
43
|
+
"@cedarjs/telemetry": "6.0.0-canary.2799",
|
|
44
|
+
"@cedarjs/utils": "6.0.0-canary.2799",
|
|
45
|
+
"@cedarjs/vite": "6.0.0-canary.2799",
|
|
46
|
+
"@cedarjs/web-server": "6.0.0-canary.2799",
|
|
47
47
|
"@listr2/prompt-adapter-enquirer": "4.3.0",
|
|
48
48
|
"@opentelemetry/api": "1.9.1",
|
|
49
49
|
"@opentelemetry/core": "1.30.1",
|