create-pkgbld 1.8.0 → 1.8.1

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.mjs +2 -0
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -9,6 +9,7 @@ import { parseArgsStringToArgv } from 'string-argv';
9
9
  import childProcess from 'node:child_process';
10
10
  import util from 'node:util';
11
11
  import isEqual from 'lodash/isEqual.js';
12
+ import { fileURLToPath } from 'url';
12
13
 
13
14
  async function getGitRoot() {
14
15
  const exec = util.promisify(childProcess.exec);
@@ -231,6 +232,7 @@ function toFormattedJson(json) {
231
232
  return JSON.stringify(json, null, 2) + '\n';
232
233
  }
233
234
 
235
+ const __dirname = path.dirname(fileURLToPath(import.meta.url));
234
236
  const done = Symbol('done');
235
237
  const formats = ['amd', 'cjs', 'es', 'iife', 'system', 'umd'];
236
238
  const pkgbldBinaries = ['pkgbld', 'pkgbld-internal', 'node ../pkgbld/dist/index.js'];
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.8.0",
2
+ "version": "1.8.1",
3
3
  "name": "create-pkgbld",
4
4
  "license": "MIT",
5
5
  "author": "Konstantin Shutkin",