ugly-app 0.1.774 → 0.1.775
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/cli/publish/packageManager.d.ts +4 -3
- package/dist/cli/publish/packageManager.d.ts.map +1 -1
- package/dist/cli/publish/packageManager.js +5 -4
- package/dist/cli/publish/packageManager.js.map +1 -1
- package/dist/cli/version.d.ts +1 -1
- package/dist/cli/version.js +1 -1
- package/package.json +1 -1
- package/src/cli/publish/packageManager.ts +5 -4
- package/src/cli/version.ts +1 -1
|
@@ -7,9 +7,10 @@ export type PackageManager = 'pnpm' | 'yarn' | 'npm';
|
|
|
7
7
|
*/
|
|
8
8
|
export declare function projectPackageManager(dir: string): PackageManager;
|
|
9
9
|
/**
|
|
10
|
-
* The command + args to
|
|
11
|
-
*
|
|
12
|
-
* `
|
|
10
|
+
* The command + args to fetch-and-run a bin that may NOT be a project dependency
|
|
11
|
+
* (e.g. `wrangler`) — the equivalent of `npx <bin>`, which auto-downloads it.
|
|
12
|
+
* pnpm/yarn use `dlx` (NOT `exec`, which only runs an already-installed bin);
|
|
13
|
+
* npm uses `npx`. Returns `[cmd, args]` for `spawn`.
|
|
13
14
|
*/
|
|
14
15
|
export declare function pmExec(pm: PackageManager, bin: string, args: string[]): [string, string[]];
|
|
15
16
|
//# sourceMappingURL=packageManager.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"packageManager.d.ts","sourceRoot":"","sources":["../../../src/cli/publish/packageManager.ts"],"names":[],"mappings":"AAGA,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,MAAM,GAAG,KAAK,CAAC;AAErD;;;;;GAKG;AACH,wBAAgB,qBAAqB,CAAC,GAAG,EAAE,MAAM,GAAG,cAAc,CAIjE;AAED
|
|
1
|
+
{"version":3,"file":"packageManager.d.ts","sourceRoot":"","sources":["../../../src/cli/publish/packageManager.ts"],"names":[],"mappings":"AAGA,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,MAAM,GAAG,KAAK,CAAC;AAErD;;;;;GAKG;AACH,wBAAgB,qBAAqB,CAAC,GAAG,EAAE,MAAM,GAAG,cAAc,CAIjE;AAED;;;;;GAKG;AACH,wBAAgB,MAAM,CAAC,EAAE,EAAE,cAAc,EAAE,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAG1F"}
|
|
@@ -14,13 +14,14 @@ export function projectPackageManager(dir) {
|
|
|
14
14
|
return 'npm';
|
|
15
15
|
}
|
|
16
16
|
/**
|
|
17
|
-
* The command + args to
|
|
18
|
-
*
|
|
19
|
-
* `
|
|
17
|
+
* The command + args to fetch-and-run a bin that may NOT be a project dependency
|
|
18
|
+
* (e.g. `wrangler`) — the equivalent of `npx <bin>`, which auto-downloads it.
|
|
19
|
+
* pnpm/yarn use `dlx` (NOT `exec`, which only runs an already-installed bin);
|
|
20
|
+
* npm uses `npx`. Returns `[cmd, args]` for `spawn`.
|
|
20
21
|
*/
|
|
21
22
|
export function pmExec(pm, bin, args) {
|
|
22
23
|
if (pm === 'npm')
|
|
23
24
|
return ['npx', [bin, ...args]];
|
|
24
|
-
return [pm, ['
|
|
25
|
+
return [pm, ['dlx', bin, ...args]];
|
|
25
26
|
}
|
|
26
27
|
//# sourceMappingURL=packageManager.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"packageManager.js","sourceRoot":"","sources":["../../../src/cli/publish/packageManager.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,IAAI,MAAM,WAAW,CAAC;AAI7B;;;;;GAKG;AACH,MAAM,UAAU,qBAAqB,CAAC,GAAW;IAC/C,IAAI,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,gBAAgB,CAAC,CAAC;QAAE,OAAO,MAAM,CAAC;IAChE,IAAI,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,WAAW,CAAC,CAAC;QAAE,OAAO,MAAM,CAAC;IAC3D,OAAO,KAAK,CAAC;AACf,CAAC;AAED
|
|
1
|
+
{"version":3,"file":"packageManager.js","sourceRoot":"","sources":["../../../src/cli/publish/packageManager.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,IAAI,MAAM,WAAW,CAAC;AAI7B;;;;;GAKG;AACH,MAAM,UAAU,qBAAqB,CAAC,GAAW;IAC/C,IAAI,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,gBAAgB,CAAC,CAAC;QAAE,OAAO,MAAM,CAAC;IAChE,IAAI,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,WAAW,CAAC,CAAC;QAAE,OAAO,MAAM,CAAC;IAC3D,OAAO,KAAK,CAAC;AACf,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,MAAM,CAAC,EAAkB,EAAE,GAAW,EAAE,IAAc;IACpE,IAAI,EAAE,KAAK,KAAK;QAAE,OAAO,CAAC,KAAK,EAAE,CAAC,GAAG,EAAE,GAAG,IAAI,CAAC,CAAC,CAAC;IACjD,OAAO,CAAC,EAAE,EAAE,CAAC,KAAK,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC,CAAC,CAAC;AACrC,CAAC"}
|
package/dist/cli/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const CLI_VERSION = "0.1.
|
|
1
|
+
export declare const CLI_VERSION = "0.1.775";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/dist/cli/version.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ugly-app",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.775",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"comment:files": "Allowlist what ships to npm. dist = runtime; src = sourcemap targets (dist/*.js.map reference ../../src/); templates = CLI scaffold. Everything else at repo root (.pgdata local Postgres, coverage, assets/icons sources, test/, test-results/) is excluded by omission. The !negations strip the scaffold's installed deps + cruft (templates/node_modules is 200MB+ and must never ship). package.json/README/LICENSE ship automatically.",
|
|
6
6
|
"files": [
|
|
@@ -16,11 +16,12 @@ export function projectPackageManager(dir: string): PackageManager {
|
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
|
-
* The command + args to
|
|
20
|
-
*
|
|
21
|
-
* `
|
|
19
|
+
* The command + args to fetch-and-run a bin that may NOT be a project dependency
|
|
20
|
+
* (e.g. `wrangler`) — the equivalent of `npx <bin>`, which auto-downloads it.
|
|
21
|
+
* pnpm/yarn use `dlx` (NOT `exec`, which only runs an already-installed bin);
|
|
22
|
+
* npm uses `npx`. Returns `[cmd, args]` for `spawn`.
|
|
22
23
|
*/
|
|
23
24
|
export function pmExec(pm: PackageManager, bin: string, args: string[]): [string, string[]] {
|
|
24
25
|
if (pm === 'npm') return ['npx', [bin, ...args]];
|
|
25
|
-
return [pm, ['
|
|
26
|
+
return [pm, ['dlx', bin, ...args]];
|
|
26
27
|
}
|
package/src/cli/version.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Auto-generated by prebuild — do not edit manually
|
|
2
|
-
export const CLI_VERSION = "0.1.
|
|
2
|
+
export const CLI_VERSION = "0.1.775";
|