zumito-framework 1.1.55 → 1.1.56

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.
@@ -1,26 +0,0 @@
1
- #!/usr/bin/env node --experimental-modules --no-warnings
2
- import path from "node:path";
3
- import minimist from "minimist";
4
- import { Plop, run } from "plop";
5
-
6
- const args = process.argv.slice(2);
7
- const argv = minimist(args);
8
-
9
- import { dirname } from "node:path";
10
- import { fileURLToPath } from "node:url";
11
-
12
- const __dirname = dirname(fileURLToPath(import.meta.url));
13
-
14
- Plop.prepare({
15
- cwd: process.cwd(),
16
- configPath: path.join(__dirname, 'plopfile.js'),
17
- preload: argv.preload || [],
18
- completion: argv.completion,
19
- dest: process.cwd()
20
- }, env => Plop.execute(env, (env) => {
21
- const options = {
22
- ...env,
23
- dest: process.cwd() // this will make the destination path to be based on the cwd when calling the wrapper
24
- }
25
- return run(options, undefined, true)
26
- }));