@martel/calyx 1.13.1 → 1.13.2
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 +7 -0
- package/package.json +1 -1
- package/src/cli/index.ts +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [1.13.2](https://github.com/bmartel/calyx/compare/v1.13.1...v1.13.2) (2026-07-01)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **cli:** correct dev-mode workspace detection in new project generator ([13deec4](https://github.com/bmartel/calyx/commit/13deec4b1246e461d4445599f30a76e0f23a25c8))
|
|
7
|
+
|
|
1
8
|
## [1.13.1](https://github.com/bmartel/calyx/compare/v1.13.0...v1.13.1) (2026-07-01)
|
|
2
9
|
|
|
3
10
|
|
package/package.json
CHANGED
package/src/cli/index.ts
CHANGED
|
@@ -129,7 +129,8 @@ function runNew(name: string) {
|
|
|
129
129
|
|
|
130
130
|
let isDevMode = process.env.CALYX_DEV === 'true';
|
|
131
131
|
const selfPkgPath = join(import.meta.dir, '../../package.json');
|
|
132
|
-
|
|
132
|
+
const gitPath = join(import.meta.dir, '../../.git');
|
|
133
|
+
if (existsSync(selfPkgPath) && existsSync(gitPath)) {
|
|
133
134
|
isDevMode = true; // Auto-detect workspace dev environment
|
|
134
135
|
}
|
|
135
136
|
|