Skip to content

Commit c226034

Browse files
Brian MadisonBrian Madison
authored andcommitted
Remove _module-installer pattern for declarative directory creation
- Delete src/_module-installer folder (security risk: arbitrary code execution) - Remove chalk, fs-extra from dependencies (no longer needed) - Update eslint.config.mjs to remove _module-installer CommonJS overrides - Add directories key with variable references to module.yaml
1 parent 0142c72 commit c226034

3 files changed

Lines changed: 1 addition & 108 deletions

File tree

eslint.config.mjs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -114,17 +114,6 @@ export default [
114114
},
115115
},
116116

117-
// Module installer scripts use CommonJS for compatibility
118-
{
119-
files: ['**/_module-installer/**/*.js'],
120-
rules: {
121-
// Allow CommonJS patterns for installer scripts
122-
'unicorn/prefer-module': 'off',
123-
'n/no-missing-require': 'off',
124-
'n/no-unpublished-require': 'off',
125-
},
126-
},
127-
128117
// ESLint config file should not be checked for publish-related Node rules
129118
{
130119
files: ['eslint.config.mjs'],

package.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"$schema": "https://json.schemastore.org/package.json",
33
"name": "bmad-creative-intelligence-suite",
4-
"type": "module",
54
"version": "0.1.4",
65
"description": "A BMad MEthod Core Module that offers a suite of very creative agents and workflows",
76
"keywords": [
@@ -14,6 +13,7 @@
1413
},
1514
"license": "MIT",
1615
"author": "Brian (BMad) Madison",
16+
"type": "module",
1717
"main": "",
1818
"bin": {},
1919
"scripts": {
@@ -51,10 +51,6 @@
5151
"markdownlint-cli2"
5252
]
5353
},
54-
"dependencies": {
55-
"chalk": "^4.1.2",
56-
"fs-extra": "^11.3.0"
57-
},
5854
"devDependencies": {
5955
"@astrojs/sitemap": "^3.6.0",
6056
"@astrojs/starlight": "^0.37.0",

src/_module-installer/installer.js

Lines changed: 0 additions & 92 deletions
This file was deleted.

0 commit comments

Comments
 (0)