@absolutejs/absolute 0.19.0-beta.453 → 0.19.0-beta.454

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/cli/index.js CHANGED
@@ -1072,22 +1072,20 @@ var run = async (name, command) => {
1072
1072
  Found ${errorCount} error${suffix}.`;
1073
1073
  }
1074
1074
  return formatted;
1075
- }, buildVueTscCheck = (cacheDir) => {
1075
+ }, TYPECHECK_EXCLUDE, TYPECHECK_INCLUDE, buildVueTscCheck = (cacheDir) => {
1076
1076
  const vueTscBin = findBin("vue-tsc");
1077
1077
  if (!vueTscBin) {
1078
1078
  console.error("\x1B[31m\u2717\x1B[0m vue-tsc is required for Vue type checking. Install it: bun add -d vue-tsc");
1079
1079
  process.exit(1);
1080
1080
  }
1081
1081
  const vueTsconfigPath = join7(cacheDir, "tsconfig.vue-check.json");
1082
- const exclude = [
1083
- "../**/.absolutejs/**/*",
1084
- "../**/build/**/*",
1085
- "../**/dist/**/*",
1086
- "../**/generated/**/*"
1087
- ];
1088
1082
  return writeFile(vueTsconfigPath, JSON.stringify({
1089
- exclude,
1090
- extends: resolve7("tsconfig.json")
1083
+ compilerOptions: {
1084
+ rootDir: ".."
1085
+ },
1086
+ exclude: TYPECHECK_EXCLUDE,
1087
+ extends: resolve7("tsconfig.json"),
1088
+ include: TYPECHECK_INCLUDE
1091
1089
  }, null, "\t")).then(() => run("vue-tsc", [
1092
1090
  vueTscBin,
1093
1091
  "--noEmit",
@@ -1110,14 +1108,10 @@ Found ${errorCount} error${suffix}.`;
1110
1108
  strictTemplates: true
1111
1109
  },
1112
1110
  compilerOptions: {
1113
- noEmit: true
1111
+ noEmit: true,
1112
+ rootDir: ".."
1114
1113
  },
1115
- exclude: [
1116
- "../**/.absolutejs/**/*",
1117
- "../**/build/**/*",
1118
- "../**/dist/**/*",
1119
- "../**/generated/**/*"
1120
- ],
1114
+ exclude: TYPECHECK_EXCLUDE,
1121
1115
  extends: resolve7("tsconfig.json"),
1122
1116
  include: [`../${angularDir}/**/*`]
1123
1117
  }, null, "\t"));
@@ -1129,15 +1123,13 @@ Found ${errorCount} error${suffix}.`;
1129
1123
  process.exit(1);
1130
1124
  }
1131
1125
  const tscConfigPath = join7(cacheDir, "tsconfig.typecheck.json");
1132
- const exclude = [
1133
- "../**/.absolutejs/**/*",
1134
- "../**/build/**/*",
1135
- "../**/dist/**/*",
1136
- "../**/generated/**/*"
1137
- ];
1138
1126
  return writeFile(tscConfigPath, JSON.stringify({
1139
- exclude,
1140
- extends: resolve7("tsconfig.json")
1127
+ compilerOptions: {
1128
+ rootDir: ".."
1129
+ },
1130
+ exclude: TYPECHECK_EXCLUDE,
1131
+ extends: resolve7("tsconfig.json"),
1132
+ include: TYPECHECK_INCLUDE
1141
1133
  }, null, "\t")).then(() => run("tsc", [
1142
1134
  tscBin,
1143
1135
  "--noEmit",
@@ -1204,6 +1196,14 @@ Found ${errorCount} error${suffix}.`;
1204
1196
  };
1205
1197
  var init_typecheck = __esm(() => {
1206
1198
  init_loadConfig();
1199
+ TYPECHECK_EXCLUDE = [
1200
+ "../node_modules/**/*",
1201
+ "../**/.absolutejs/**/*",
1202
+ "../**/build/**/*",
1203
+ "../**/dist/**/*",
1204
+ "../**/generated/**/*"
1205
+ ];
1206
+ TYPECHECK_INCLUDE = ["../**/*"];
1207
1207
  });
1208
1208
 
1209
1209
  // src/cli/scripts/dev.ts
package/dist/index.js CHANGED
@@ -174546,7 +174546,7 @@ ${registrations}
174546
174546
  ({ tsLibDir } = cached);
174547
174547
  cached.lastUsed = Date.now();
174548
174548
  } else {
174549
- const tsPath = __require.resolve("/home/alexkahn/abs/absolutejs/node_modules/typescript/lib/typescript.js");
174549
+ const tsPath = __require.resolve("typescript");
174550
174550
  const tsRootDir = dirname9(tsPath);
174551
174551
  tsLibDir = tsRootDir.endsWith("lib") ? tsRootDir : resolve18(tsRootDir, "lib");
174552
174552
  const config = readConfiguration("./tsconfig.json");
@@ -188547,5 +188547,5 @@ export {
188547
188547
  ANGULAR_INIT_TIMEOUT_MS
188548
188548
  };
188549
188549
 
188550
- //# debugId=DC9138D23CEB843A64756E2164756E21
188550
+ //# debugId=5808B752CDDA79F864756E2164756E21
188551
188551
  //# sourceMappingURL=index.js.map