@unpackjs/core 0.9.0 → 0.10.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.
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -0
- package/package.json +4 -4
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,OAAO,EAIZ,KAAK,UAAU,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,OAAO,EAIZ,KAAK,UAAU,EAEhB,MAAM,kBAAkB,CAAA;AAIzB,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;AAEvC,MAAM,MAAM,oBAAoB,GAAG;IACjC,OAAO,EAAE,OAAO,CAAA;IAChB,IAAI,EAAE,MAAM,CAAA;IACZ,UAAU,CAAC,EAAE,UAAU,CAAA;CACxB,CAAA;AACD,wBAAsB,aAAa,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,EAAE,oBAAoB,iBA8CtF"}
|
package/dist/index.js
CHANGED
|
@@ -27,6 +27,12 @@ var import_bundler_webpack = require("@unpackjs/bundler-webpack");
|
|
|
27
27
|
var import_bundler_rspack = require("@unpackjs/bundler-rspack");
|
|
28
28
|
var import_config2 = require("./config");
|
|
29
29
|
async function createService({ command, root, cliOptions }) {
|
|
30
|
+
const { npm_execpath } = process.env;
|
|
31
|
+
if (!npm_execpath || npm_execpath.includes("npx-cli") || npm_execpath.includes(".bun") || npm_execpath.includes("yarn")) {
|
|
32
|
+
console.log();
|
|
33
|
+
}
|
|
34
|
+
import_shared.logger.greet(` Unpack v${"0.10.1"}
|
|
35
|
+
`);
|
|
30
36
|
if (command === "build") {
|
|
31
37
|
(0, import_shared.setNodeEnv)(cliOptions.watch ? "development" : "production");
|
|
32
38
|
(0, import_shared.setDevServer)(false);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unpackjs/core",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.10.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -15,9 +15,9 @@
|
|
|
15
15
|
"access": "public"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@unpackjs/bundler-rspack": "^0.
|
|
19
|
-
"@unpackjs/
|
|
20
|
-
"@unpackjs/
|
|
18
|
+
"@unpackjs/bundler-rspack": "^0.10.1",
|
|
19
|
+
"@unpackjs/bundler-webpack": "^0.10.1",
|
|
20
|
+
"@unpackjs/shared": "^0.10.1"
|
|
21
21
|
},
|
|
22
22
|
"scripts": {
|
|
23
23
|
"dev": "modern build --watch",
|