create-pkgbld 1.0.2 → 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.
- package/dist/index.cjs +2 -0
- package/dist/index.js +2 -0
- package/dist/index.mjs +2 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -21,6 +21,8 @@ var degit__default = /*#__PURE__*/_interopDefaultLegacy(degit);
|
|
|
21
21
|
async function execute() {
|
|
22
22
|
var _a, _b;
|
|
23
23
|
var _c;
|
|
24
|
+
const myPkg = await readPackage(path__default["default"].resolve(process.cwd(), '..'));
|
|
25
|
+
console.log('create-pkgbld ' + myPkg.pkg.version);
|
|
24
26
|
const parsedArgs = minimist__default["default"](process.argv.slice(2));
|
|
25
27
|
const packageName = parsedArgs._[0];
|
|
26
28
|
const dir = packageName !== null && packageName !== void 0 ? packageName : '.';
|
package/dist/index.js
CHANGED
|
@@ -22,6 +22,8 @@ var degit__default = /*#__PURE__*/_interopDefaultLegacy(degit);
|
|
|
22
22
|
async function execute() {
|
|
23
23
|
var _a, _b;
|
|
24
24
|
var _c;
|
|
25
|
+
const myPkg = await readPackage(path__default["default"].resolve(process.cwd(), '..'));
|
|
26
|
+
console.log('create-pkgbld ' + myPkg.pkg.version);
|
|
25
27
|
const parsedArgs = minimist__default["default"](process.argv.slice(2));
|
|
26
28
|
const packageName = parsedArgs._[0];
|
|
27
29
|
const dir = packageName !== null && packageName !== void 0 ? packageName : '.';
|
package/dist/index.mjs
CHANGED
|
@@ -9,6 +9,8 @@ import degit from 'degit';
|
|
|
9
9
|
async function execute() {
|
|
10
10
|
var _a, _b;
|
|
11
11
|
var _c;
|
|
12
|
+
const myPkg = await readPackage(path.resolve(process.cwd(), '..'));
|
|
13
|
+
console.log('create-pkgbld ' + myPkg.pkg.version);
|
|
12
14
|
const parsedArgs = minimist(process.argv.slice(2));
|
|
13
15
|
const packageName = parsedArgs._[0];
|
|
14
16
|
const dir = packageName !== null && packageName !== void 0 ? packageName : '.';
|
package/package.json
CHANGED