@opentabs-dev/create-plugin 0.0.54 → 0.0.55
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/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { scaffoldPlugin, promptForMissingArgs, ScaffoldError } from '@opentabs-dev/cli/scaffold';
|
|
3
|
-
import { Command } from 'commander';
|
|
4
|
-
import pc from 'picocolors';
|
|
5
2
|
import { readFile } from 'node:fs/promises';
|
|
6
3
|
import { dirname, join } from 'node:path';
|
|
7
4
|
import { fileURLToPath } from 'node:url';
|
|
5
|
+
import { promptForMissingArgs, ScaffoldError, scaffoldPlugin } from '@opentabs-dev/cli/scaffold';
|
|
6
|
+
import { Command } from 'commander';
|
|
7
|
+
import pc from 'picocolors';
|
|
8
8
|
const cliDir = dirname(fileURLToPath(import.meta.url));
|
|
9
9
|
const pkgJson = JSON.parse(await readFile(join(cliDir, '..', 'package.json'), 'utf-8'));
|
|
10
10
|
const program = new Command('create-opentabs-plugin')
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,EAAE,oBAAoB,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AACjG,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,E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