@utoo/pack 0.0.1-alpha.51 → 0.0.1-alpha.53

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/cjs/util.js CHANGED
@@ -15,9 +15,9 @@ exports.debounce = debounce;
15
15
  exports.blockStdout = blockStdout;
16
16
  exports.getPackPath = getPackPath;
17
17
  const code_frame_1 = require("@babel/code-frame");
18
+ const path_1 = __importDefault(require("path"));
18
19
  const picocolors_1 = require("picocolors");
19
20
  const magicIdentifier_1 = require("./magicIdentifier");
20
- const path_1 = __importDefault(require("path"));
21
21
  class ModuleBuildError extends Error {
22
22
  constructor() {
23
23
  super(...arguments);
@@ -244,5 +244,5 @@ function blockStdout() {
244
244
  }
245
245
  }
246
246
  function getPackPath() {
247
- return path_1.default.resolve(__dirname, '..');
247
+ return path_1.default.resolve(__dirname, "..");
248
248
  }
package/esm/build.js CHANGED
@@ -4,7 +4,7 @@ import { nanoid } from "nanoid";
4
4
  import { join } from "path";
5
5
  import { findRootDir } from "./find-root";
6
6
  import { projectFactory } from "./project";
7
- import { blockStdout, createDefineEnv, formatIssue, isRelevantWarning, getPackPath, } from "./util";
7
+ import { blockStdout, createDefineEnv, formatIssue, getPackPath, isRelevantWarning, } from "./util";
8
8
  import { compatOptionsFromWebpack } from "./webpackCompat";
9
9
  import { xcodeProfilingReady } from "./xcodeProfile";
10
10
  export function build(options, projectPath, rootPath) {
package/esm/util.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { codeFrameColumns } from "@babel/code-frame";
2
+ import path from "path";
2
3
  import { bold, green, magenta, red } from "picocolors";
3
4
  import { decodeMagicIdentifier, MAGIC_IDENTIFIER_REGEX, } from "./magicIdentifier";
4
- import path from 'path';
5
5
  export class ModuleBuildError extends Error {
6
6
  constructor() {
7
7
  super(...arguments);
@@ -227,5 +227,5 @@ export function blockStdout() {
227
227
  }
228
228
  }
229
229
  export function getPackPath() {
230
- return path.resolve(__dirname, '..');
230
+ return path.resolve(__dirname, "..");
231
231
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@utoo/pack",
3
- "version": "0.0.1-alpha.51",
3
+ "version": "0.0.1-alpha.53",
4
4
  "main": "cjs/index.js",
5
5
  "module": "esm/index.js",
6
6
  "exports": {
@@ -85,12 +85,12 @@
85
85
  },
86
86
  "repository": "git@github.com:utooland/utoo.git",
87
87
  "optionalDependencies": {
88
- "@utoo/pack-darwin-arm64": "0.0.1-alpha.51",
89
- "@utoo/pack-darwin-x64": "0.0.1-alpha.51",
90
- "@utoo/pack-linux-arm64-gnu": "0.0.1-alpha.51",
91
- "@utoo/pack-linux-arm64-musl": "0.0.1-alpha.51",
92
- "@utoo/pack-linux-x64-gnu": "0.0.1-alpha.51",
93
- "@utoo/pack-linux-x64-musl": "0.0.1-alpha.51",
94
- "@utoo/pack-win32-x64-msvc": "0.0.1-alpha.51"
88
+ "@utoo/pack-darwin-arm64": "0.0.1-alpha.53",
89
+ "@utoo/pack-darwin-x64": "0.0.1-alpha.53",
90
+ "@utoo/pack-linux-arm64-gnu": "0.0.1-alpha.53",
91
+ "@utoo/pack-linux-arm64-musl": "0.0.1-alpha.53",
92
+ "@utoo/pack-linux-x64-gnu": "0.0.1-alpha.53",
93
+ "@utoo/pack-linux-x64-musl": "0.0.1-alpha.53",
94
+ "@utoo/pack-win32-x64-msvc": "0.0.1-alpha.53"
95
95
  }
96
96
  }