@cedarjs/cli 7.0.0-canary.3063 → 7.0.0-canary.3065

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,7 +1,7 @@
1
1
  import fs from "node:fs";
2
2
  import path from "node:path";
3
3
  import { colors as c } from "@cedarjs/cli-helpers";
4
- import { importStatementPath } from "@cedarjs/project-config";
4
+ import { getConfig, importStatementPath } from "@cedarjs/project-config";
5
5
  import { getPaths } from "../../lib/index.js";
6
6
  async function getPackageWatchCommands(packageWorkspaces) {
7
7
  const cedarPaths = getPaths();
@@ -17,6 +17,7 @@ async function getPackageWatchCommands(packageWorkspaces) {
17
17
  }
18
18
  return importStatementPath(workspacePath);
19
19
  });
20
+ const packagesWorkspaceConfig = getConfig().experimental.packagesWorkspace;
20
21
  const watchablePackages = [];
21
22
  const packagesWithoutWatch = [];
22
23
  for (const workspacePath of workspacePaths) {
@@ -29,7 +30,11 @@ async function getPackageWatchCommands(packageWorkspaces) {
29
30
  if (packageJson.scripts?.watch) {
30
31
  watchablePackages.push(workspacePath);
31
32
  } else {
32
- packagesWithoutWatch.push(packageName);
33
+ const packageConfig = packageName && packagesWorkspaceConfig[packageName];
34
+ const skipWatchWarning = typeof packageConfig === "object" && packageConfig.skipWatchWarning;
35
+ if (!skipWatchWarning) {
36
+ packagesWithoutWatch.push(packageName);
37
+ }
33
38
  }
34
39
  }
35
40
  if (packagesWithoutWatch.length > 0) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cedarjs/cli",
3
- "version": "7.0.0-canary.3063",
3
+ "version": "7.0.0-canary.3065",
4
4
  "description": "The CedarJS Command Line",
5
5
  "repository": {
6
6
  "type": "git",
@@ -36,17 +36,17 @@
36
36
  "@babel/preset-typescript": "7.29.7",
37
37
  "@babel/traverse": "7.29.8",
38
38
  "@babel/types": "7.29.8",
39
- "@cedarjs/api-server": "7.0.0-canary.3063",
40
- "@cedarjs/babel-config": "7.0.0-canary.3063",
41
- "@cedarjs/cli-helpers": "7.0.0-canary.3063",
42
- "@cedarjs/internal": "7.0.0-canary.3063",
43
- "@cedarjs/prerender": "7.0.0-canary.3063",
44
- "@cedarjs/project-config": "7.0.0-canary.3063",
45
- "@cedarjs/structure": "7.0.0-canary.3063",
46
- "@cedarjs/telemetry": "7.0.0-canary.3063",
47
- "@cedarjs/utils": "7.0.0-canary.3063",
48
- "@cedarjs/vite": "7.0.0-canary.3063",
49
- "@cedarjs/web-server": "7.0.0-canary.3063",
39
+ "@cedarjs/api-server": "7.0.0-canary.3065",
40
+ "@cedarjs/babel-config": "7.0.0-canary.3065",
41
+ "@cedarjs/cli-helpers": "7.0.0-canary.3065",
42
+ "@cedarjs/internal": "7.0.0-canary.3065",
43
+ "@cedarjs/prerender": "7.0.0-canary.3065",
44
+ "@cedarjs/project-config": "7.0.0-canary.3065",
45
+ "@cedarjs/structure": "7.0.0-canary.3065",
46
+ "@cedarjs/telemetry": "7.0.0-canary.3065",
47
+ "@cedarjs/utils": "7.0.0-canary.3065",
48
+ "@cedarjs/vite": "7.0.0-canary.3065",
49
+ "@cedarjs/web-server": "7.0.0-canary.3065",
50
50
  "@listr2/prompt-adapter-enquirer": "4.3.0",
51
51
  "@opentelemetry/api": "1.9.1",
52
52
  "@opentelemetry/core": "1.30.1",
@@ -85,7 +85,7 @@
85
85
  "smol-toml": "1.8.0",
86
86
  "srvx": "0.12.7",
87
87
  "string-env-interpolation": "1.0.1",
88
- "systeminformation": "5.33.4",
88
+ "systeminformation": "5.33.5",
89
89
  "termi-link": "1.1.0",
90
90
  "title-case": "3.0.3",
91
91
  "unionfs": "4.6.0",
@@ -94,7 +94,7 @@
94
94
  "yargs": "17.7.3"
95
95
  },
96
96
  "devDependencies": {
97
- "@cedarjs/framework-tools": "7.0.0-canary.3063",
97
+ "@cedarjs/framework-tools": "7.0.0-canary.3065",
98
98
  "@prisma/dmmf": "7.10.0",
99
99
  "@types/archiver": "^7.0.0",
100
100
  "memfs": "4.68.1",