@cedarjs/cli 1.0.0-canary.13102 → 1.0.0-canary.13103
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.
|
@@ -3,7 +3,9 @@ import path from "node:path";
|
|
|
3
3
|
import { paramCase, camelCase } from "change-case";
|
|
4
4
|
import execa from "execa";
|
|
5
5
|
import { Listr } from "listr2";
|
|
6
|
+
import { terminalLink } from "termi-link";
|
|
6
7
|
import { recordTelemetryAttributes } from "@cedarjs/cli-helpers";
|
|
8
|
+
import { getConfig } from "@cedarjs/project-config";
|
|
7
9
|
import { errorTelemetry } from "@cedarjs/telemetry";
|
|
8
10
|
import c from "../../../lib/colors.js";
|
|
9
11
|
import { getPaths, writeFilesTask } from "../../../lib/index.js";
|
|
@@ -53,6 +55,18 @@ const handler = async ({ name, force, ...rest }) => {
|
|
|
53
55
|
`Invalid package name "${name}". Package names can have at most one slash.`
|
|
54
56
|
);
|
|
55
57
|
}
|
|
58
|
+
if (!getConfig().experimental.packagesWorkspace.enabled) {
|
|
59
|
+
const releaseNotes = terminalLink(
|
|
60
|
+
"release notes",
|
|
61
|
+
"https://github.com/cedarjs/cedar/releases"
|
|
62
|
+
);
|
|
63
|
+
console.error(
|
|
64
|
+
"This is an experimental feature. Please enable it in your redwood.toml file and then run this command again."
|
|
65
|
+
);
|
|
66
|
+
console.error();
|
|
67
|
+
console.error(`See the ${releaseNotes} for instructions on how to enable.`);
|
|
68
|
+
return;
|
|
69
|
+
}
|
|
56
70
|
let packageFiles = {};
|
|
57
71
|
const tasks = new Listr(
|
|
58
72
|
/** @type {import('listr2').ListrTask<ListrContext>[]} */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cedarjs/cli",
|
|
3
|
-
"version": "1.0.0-canary.
|
|
3
|
+
"version": "1.0.0-canary.13103+4239492c8",
|
|
4
4
|
"description": "The CedarJS Command Line",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -32,15 +32,15 @@
|
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@babel/preset-typescript": "7.28.5",
|
|
34
34
|
"@babel/runtime-corejs3": "7.28.4",
|
|
35
|
-
"@cedarjs/api-server": "1.0.0-canary.
|
|
36
|
-
"@cedarjs/cli-helpers": "1.0.0-canary.
|
|
37
|
-
"@cedarjs/fastify-web": "1.0.0-canary.
|
|
38
|
-
"@cedarjs/internal": "1.0.0-canary.
|
|
39
|
-
"@cedarjs/prerender": "1.0.0-canary.
|
|
40
|
-
"@cedarjs/project-config": "1.0.0-canary.
|
|
41
|
-
"@cedarjs/structure": "1.0.0-canary.
|
|
42
|
-
"@cedarjs/telemetry": "1.0.0-canary.
|
|
43
|
-
"@cedarjs/web-server": "1.0.0-canary.
|
|
35
|
+
"@cedarjs/api-server": "1.0.0-canary.13103",
|
|
36
|
+
"@cedarjs/cli-helpers": "1.0.0-canary.13103",
|
|
37
|
+
"@cedarjs/fastify-web": "1.0.0-canary.13103",
|
|
38
|
+
"@cedarjs/internal": "1.0.0-canary.13103",
|
|
39
|
+
"@cedarjs/prerender": "1.0.0-canary.13103",
|
|
40
|
+
"@cedarjs/project-config": "1.0.0-canary.13103",
|
|
41
|
+
"@cedarjs/structure": "1.0.0-canary.13103",
|
|
42
|
+
"@cedarjs/telemetry": "1.0.0-canary.13103",
|
|
43
|
+
"@cedarjs/web-server": "1.0.0-canary.13103",
|
|
44
44
|
"@listr2/prompt-adapter-enquirer": "2.0.16",
|
|
45
45
|
"@opentelemetry/api": "1.8.0",
|
|
46
46
|
"@opentelemetry/core": "1.22.0",
|
|
@@ -102,5 +102,5 @@
|
|
|
102
102
|
"publishConfig": {
|
|
103
103
|
"access": "public"
|
|
104
104
|
},
|
|
105
|
-
"gitHead": "
|
|
105
|
+
"gitHead": "4239492c87fd30f05cf9e57a5ab4c95f117cbdfa"
|
|
106
106
|
}
|