create-agentic-dev-env 0.2.8 → 1.0.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/bin/create.js +2 -0
- package/package.json +1 -1
- package/template/package.json +1 -1
package/bin/create.js
CHANGED
|
@@ -36,6 +36,8 @@ if (selfRepo && selfRepo.includes('FILL_ME')) selfRepo = null
|
|
|
36
36
|
const destPkgPath = path.join(dest, 'package.json')
|
|
37
37
|
const destPkg = JSON.parse(fs.readFileSync(destPkgPath, 'utf8'))
|
|
38
38
|
destPkg.ade.upstream = selfRepo ? selfRepo.replace(/^git\+/, '') : null
|
|
39
|
+
// 鎖精確版本:ADE repo 建立後即與上游迭代解耦,升級是 ADE repo 內顯式改版號的決定
|
|
40
|
+
destPkg.dependencies['create-agentic-dev-env'] = require('../package.json').version
|
|
39
41
|
fs.writeFileSync(destPkgPath, JSON.stringify(destPkg, null, 2) + '\n')
|
|
40
42
|
|
|
41
43
|
execSync('git init', { cwd: dest, stdio: 'inherit' })
|
package/package.json
CHANGED