@manojkmfsi/monodog 1.1.14 → 1.1.16

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 CHANGED
@@ -1,5 +1,17 @@
1
1
  # @manojkmfsi/monoapp
2
2
 
3
+ ## 1.1.16
4
+
5
+ ### Patch Changes
6
+
7
+ - updated baseurl
8
+
9
+ ## 1.1.15
10
+
11
+ ### Patch Changes
12
+
13
+ - undo last version
14
+
3
15
  ## 1.1.14
4
16
 
5
17
  ### Patch Changes
package/dist/setup.js CHANGED
@@ -37,6 +37,20 @@ fs_1.default.cpSync(packageRoot, destinationPath, {
37
37
  });
38
38
  // 2. Fix package.json (standalone app)
39
39
  fixPackageJson(destinationPath);
40
+ function ensureWorkspace(rootDir) {
41
+ const wsPath = path_1.default.join(rootDir, 'pnpm-workspace.yaml');
42
+ if (!fs_1.default.existsSync(wsPath)) {
43
+ console.log('pnpm-workspace.yaml does not exist');
44
+ return;
45
+ }
46
+ const content = fs_1.default.readFileSync(wsPath, 'utf8');
47
+ if (content.includes('monodog'))
48
+ return;
49
+ const updated = content.replace(/packages:\s*\n/, `packages:\n - monodog\n`);
50
+ fs_1.default.writeFileSync(wsPath, updated);
51
+ }
52
+ // 3. Install deps
53
+ ensureWorkspace(process.cwd());
40
54
  (0, child_process_1.execSync)('pnpm install', { stdio: 'inherit' });
41
55
  (0, child_process_1.execSync)('pnpm --filter monodog-app migrate:reset', { stdio: 'inherit' });
42
56
  console.log(`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@manojkmfsi/monodog",
3
- "version": "1.1.14",
3
+ "version": "1.1.16",
4
4
  "description": "App for monodog monorepo",
5
5
  "license": "MIT",
6
6
  "author": "Mindfiredigital",