create-microact-app 1.0.2 → 1.1.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.
Files changed (2) hide show
  1. package/index.js +0 -21
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -64,27 +64,6 @@ function main() {
64
64
  fs.writeFileSync(packageJsonPath, content, 'utf8');
65
65
  }
66
66
 
67
- // --- Start of new logic ---
68
- // Check if we're in the monorepo for local development
69
- const isLocalDev = fs.existsSync(path.join(__dirname, '../microact'));
70
-
71
- if (isLocalDev) {
72
- console.log('Local development mode detected. Adjusting dependencies...');
73
- const appPackageJsonPath = path.join(root, 'package.json');
74
- if (fs.existsSync(appPackageJsonPath)) {
75
- const appPkg = JSON.parse(fs.readFileSync(appPackageJsonPath, 'utf8'));
76
-
77
- if (appPkg.dependencies['@monygroupcorp/microact']) {
78
- appPkg.dependencies['@monygroupcorp/microact'] = 'file:../microact';
79
- }
80
- if (appPkg.dependencies['@monygroupcorp/micro-web3']) {
81
- appPkg.dependencies['@monygroupcorp/micro-web3'] = 'file:../micro-web3';
82
- }
83
-
84
- fs.writeFileSync(appPackageJsonPath, JSON.stringify(appPkg, null, 2));
85
- }
86
- }
87
- // --- End of new logic ---
88
67
 
89
68
  console.log('\nDone. Now run:');
90
69
  console.log(` cd ${projectName}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-microact-app",
3
- "version": "1.0.2",
3
+ "version": "1.1.0",
4
4
  "type": "module",
5
5
  "description": "A CLI tool to scaffold Microact and Micro-Web3 applications.",
6
6
  "main": "index.js",