@akanjs/devkit 2.3.10-rc.2 → 2.3.11-rc.0

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/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @akanjs/devkit
2
2
 
3
+ ## 2.3.10
4
+
5
+ ### Patch Changes
6
+
7
+ - b92003a: fix: cross-platform path handling using path.resolve/path.join/path.sep
8
+ - Updated dependencies [b92003a]
9
+ - akanjs@2.3.10
10
+
3
11
  ## 2.3.9
4
12
 
5
13
  ### Patch Changes
package/executors.ts CHANGED
@@ -437,9 +437,6 @@ export class Executor {
437
437
  getPath(filePath: string) {
438
438
  if (path.isAbsolute(filePath)) return filePath;
439
439
  if (filePath.startsWith(".")) return path.join(this.cwdPath, filePath);
440
- // Split on both separators so a Windows/mixed cwdPath (e.g. "C:\repo/apps/name") is parsed
441
- // correctly, then rebuild with path.join so the result stays OS-native instead of the
442
- // invalid "/C:\repo/..." the previous forward-slash-only reconstruction produced.
443
440
  const baseParts = this.cwdPath.split(/[\\/]/).filter(Boolean);
444
441
  const targetParts = filePath.split(/[\\/]/).filter(Boolean);
445
442
 
@@ -99,10 +99,6 @@ export class SsrBaseArtifactBuilder {
99
99
  }
100
100
  > {
101
101
  const akanServerPath = await this.#resolveAkanServerPath();
102
- // Normalize entry paths with path.resolve so they match the resolved map keys the bundler
103
- // stores (see ClientEntriesBundler#createOpaqueEntryAliases). Raw string concatenation keeps
104
- // forward slashes, which on Windows fail to match the `\`-separated resolved keys and silently
105
- // yield empty import-map URLs, breaking hydration.
106
102
  const rscClientEntry = path.resolve(akanServerPath, "rscClient.tsx");
107
103
  const rscSegmentOutletEntry = path.resolve(akanServerPath, "rscSegmentOutlet.tsx");
108
104
  const vendorEntries = VENDOR_SPECIFIERS.map((specifier) => ({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akanjs/devkit",
3
- "version": "2.3.10-rc.2",
3
+ "version": "2.3.11-rc.0",
4
4
  "sourceType": "module",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -32,7 +32,7 @@
32
32
  "@langchain/openai": "^1.4.6",
33
33
  "@tailwindcss/node": "^4.3.0",
34
34
  "@trapezedev/project": "^7.1.4",
35
- "akanjs": "2.3.10-rc.2",
35
+ "akanjs": "2.3.11-rc.0",
36
36
  "chalk": "^5.6.2",
37
37
  "commander": "^14.0.3",
38
38
  "daisyui": "5.5.23",