@concavejs/cli 0.0.1-alpha.6 → 0.0.1-alpha.7
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/assets/dashboard/dashboard.js +1 -1
- package/dist/assets/manifest.json +14 -14
- package/dist/assets/runtime-bun/server/index.js +512 -110
- package/dist/assets/runtime-cf/runtime.bundle.js +21217 -437
- package/dist/assets/runtime-node/server/index.js +544 -120
- package/dist/cli.js +2 -9
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -6611,6 +6611,7 @@ async function bundleProject(projectRoot, _verbose) {
|
|
|
6611
6611
|
sourcemap: false,
|
|
6612
6612
|
logLevel: "silent",
|
|
6613
6613
|
absWorkingDir: buildDir,
|
|
6614
|
+
external: ["node:*"],
|
|
6614
6615
|
plugins: [componentDefinitionPlugin()]
|
|
6615
6616
|
});
|
|
6616
6617
|
if (buildResult.errors.length > 0) {
|
|
@@ -10097,7 +10098,7 @@ function setupAuthEnvironment(keys, siteUrl, options = {}) {
|
|
|
10097
10098
|
setEnv("AUTH_SKIP_VERIFICATION", "true");
|
|
10098
10099
|
}
|
|
10099
10100
|
// package.json
|
|
10100
|
-
var version = "0.0.1-alpha.
|
|
10101
|
+
var version = "0.0.1-alpha.7";
|
|
10101
10102
|
|
|
10102
10103
|
// src/cli/cli.ts
|
|
10103
10104
|
var WATCH_IGNORE_PATTERNS = [
|
|
@@ -10248,14 +10249,6 @@ async function ensurePackageJsonWithConvexDependency(projectRoot) {
|
|
|
10248
10249
|
};
|
|
10249
10250
|
}
|
|
10250
10251
|
async function canResolveConvexRuntime(projectRoot) {
|
|
10251
|
-
const nodeModulesConvex = path15.join(projectRoot, "node_modules", "convex", "package.json");
|
|
10252
|
-
if (existsSync2(nodeModulesConvex)) {
|
|
10253
|
-
return true;
|
|
10254
|
-
}
|
|
10255
|
-
const hasYarnPnp = existsSync2(path15.join(projectRoot, ".pnp.cjs")) || existsSync2(path15.join(projectRoot, ".pnp.js"));
|
|
10256
|
-
if (!hasYarnPnp) {
|
|
10257
|
-
return false;
|
|
10258
|
-
}
|
|
10259
10252
|
const requireFromProject = createRequire3(path15.join(projectRoot, "__concave__.js"));
|
|
10260
10253
|
try {
|
|
10261
10254
|
requireFromProject.resolve("convex/values");
|