@yumerijs/loader 1.1.0-alpha.5 → 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/dist/index.js +6 -6
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -41,13 +41,13 @@ const child_process_1 = require("child_process");
41
41
  const tsNode = __importStar(require("ts-node"));
42
42
  const execAsync = (0, util_1.promisify)(child_process_1.exec);
43
43
  class PluginLoader {
44
+ pluginCache = {};
45
+ core = null;
46
+ config = null;
47
+ isDev = false;
48
+ pluginsDir = 'plugins'; // Default plugins directory
49
+ logger = new core_1.Logger('loader');
44
50
  constructor(core, config, pluginsDir = 'plugins') {
45
- this.pluginCache = {};
46
- this.core = null;
47
- this.config = null;
48
- this.isDev = false;
49
- this.pluginsDir = 'plugins'; // Default plugins directory
50
- this.logger = new core_1.Logger('loader');
51
51
  this.pluginCache = {};
52
52
  this.core = core || null;
53
53
  this.config = config || null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yumerijs/loader",
3
- "version": "1.1.0-alpha.5",
3
+ "version": "1.1.0",
4
4
  "description": "Module loader for yumeri",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -31,7 +31,7 @@
31
31
  "typescript": "^5.8.2"
32
32
  },
33
33
  "dependencies": {
34
- "@yumerijs/core": "1.1.0-alpha.5",
34
+ "@yumerijs/core": "1.1.0",
35
35
  "chokidar": "^4.0.3",
36
36
  "semver": "^7.7.1",
37
37
  "ts-node": "^10.9.2"