Commit ce6a501
committed
🤖 fix: Set rootDir in tsconfig.main.json and update VS Code extension imports
- Add rootDir: "src" to tsconfig.main.json so tsc outputs to dist/cli/index.js instead of dist/src/cli/index.js
- Update VS Code extension imports to new structure:
- cmux/utils/ui/dateTime → cmux/browser/utils/ui/dateTime
- cmux/config → cmux/node/config
- cmux/types/workspace → cmux/common/types/workspace
- cmux/utils/extensionMetadata → cmux/node/utils/extensionMetadata
- cmux/utils/runtime/helpers → cmux/node/utils/runtime/helpers
- cmux/runtime/runtimeFactory → cmux/node/runtime/runtimeFactory
Fixes electron-builder error: Application entry file "dist/cli/index.js" does not exist
Fixes VS Code extension build errors: Cannot read file at old paths1 parent b244d3c commit ce6a501
File tree
5 files changed
+94
-6
lines changed- tests
- vscode/src
5 files changed
+94
-6
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
0 commit comments