gant-core 0.1.9 → 0.1.10
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/lib/cli/index.js
CHANGED
|
@@ -51357,7 +51357,7 @@ var createModule = async () => {
|
|
|
51357
51357
|
createCwdConfig(packagePath, info.name, vue);
|
|
51358
51358
|
fs$6.mkdirSync(path$5.resolve(packagePath, 'public'));
|
|
51359
51359
|
fs$6.mkdirSync(path$5.resolve(packagePath, 'src'));
|
|
51360
|
-
fs$6.writeFileSync(path$5.resolve(packagePath, 'package.json'), templatelateConfig(info));
|
|
51360
|
+
fs$6.writeFileSync(path$5.resolve(packagePath, 'package.json'), templatelateConfig({ ...info, coreVersion: pkg.version }));
|
|
51361
51361
|
fs$6.writeFileSync(path$5.resolve(packagePath, 'tsconfig.json'), `{
|
|
51362
51362
|
"extends": ["./src/.gant/tsconfig.json"]
|
|
51363
51363
|
}`);
|