@majkapp/plugin-kit 3.6.1 → 3.6.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/dist/generator/cli.js +6 -2
- package/package.json +1 -1
package/dist/generator/cli.js
CHANGED
|
@@ -270,8 +270,12 @@ async function saveCapabilitiesForMarket(metadata) {
|
|
|
270
270
|
}
|
|
271
271
|
}
|
|
272
272
|
else {
|
|
273
|
-
//
|
|
274
|
-
|
|
273
|
+
// Create files array with .majk + dist (most common setup)
|
|
274
|
+
// Note: .majk is in .gitignore so it won't be published without explicit files array
|
|
275
|
+
const indent = detectIndent(content);
|
|
276
|
+
pkg.files = ['dist', '.majk'];
|
|
277
|
+
fs.writeFileSync(pkgPath, JSON.stringify(pkg, null, indent) + '\n');
|
|
278
|
+
console.log(' ✓ Created files array with dist and .majk in package.json (commit this change)');
|
|
275
279
|
}
|
|
276
280
|
}
|
|
277
281
|
// 4. Check for service implementations
|
package/package.json
CHANGED