@serwist/cli 9.0.0-preview.14 → 9.0.0-preview.16
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/app.d.ts.map +1 -1
- package/dist/bin.js +2 -3
- package/package.json +5 -5
package/dist/app.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.ts","sourceRoot":"","sources":["../src/app.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"app.d.ts","sourceRoot":"","sources":["../src/app.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,MAAM,IAAI,UAAU,EAAE,MAAM,MAAM,CAAC;AAIjD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAyC/C,eAAO,MAAM,GAAG,WAAkB,WAAW,cAAc,CAAC,KAAG,QAAQ,IAAI,CAiF1E,CAAC"}
|
package/dist/bin.js
CHANGED
|
@@ -2,17 +2,16 @@
|
|
|
2
2
|
import meow from 'meow';
|
|
3
3
|
import updateNotifier from 'update-notifier';
|
|
4
4
|
import assert from 'node:assert';
|
|
5
|
-
import path from 'node:path';
|
|
6
5
|
import { injectManifest } from '@serwist/build';
|
|
7
6
|
import chokidar from 'chokidar';
|
|
8
7
|
import prettyBytes from 'pretty-bytes';
|
|
8
|
+
import upath from 'upath';
|
|
9
9
|
import { oneLine } from 'common-tags';
|
|
10
10
|
import chalk from 'chalk';
|
|
11
11
|
import { statSync, writeFileSync } from 'node:fs';
|
|
12
12
|
import stringifyObject from 'stringify-object';
|
|
13
13
|
import { glob } from 'glob';
|
|
14
14
|
import inquirer from 'inquirer';
|
|
15
|
-
import upath from 'upath';
|
|
16
15
|
|
|
17
16
|
const constants = {
|
|
18
17
|
defaultConfigFile: "serwist.config.js",
|
|
@@ -240,7 +239,7 @@ const app = async (params)=>{
|
|
|
240
239
|
}
|
|
241
240
|
case "inject-manifest":
|
|
242
241
|
{
|
|
243
|
-
const configPath =
|
|
242
|
+
const configPath = upath.resolve(process.cwd(), option || constants.defaultConfigFile);
|
|
244
243
|
let config;
|
|
245
244
|
try {
|
|
246
245
|
config = await readConfig(configPath);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@serwist/cli",
|
|
3
|
-
"version": "9.0.0-preview.
|
|
3
|
+
"version": "9.0.0-preview.16",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "The command line interface of Serwist.",
|
|
6
6
|
"files": [
|
|
@@ -32,13 +32,13 @@
|
|
|
32
32
|
"common-tags": "1.8.2",
|
|
33
33
|
"fs-extra": "11.2.0",
|
|
34
34
|
"glob": "10.3.10",
|
|
35
|
-
"inquirer": "9.2.
|
|
35
|
+
"inquirer": "9.2.16",
|
|
36
36
|
"meow": "13.2.0",
|
|
37
37
|
"pretty-bytes": "6.1.1",
|
|
38
38
|
"stringify-object": "5.0.0",
|
|
39
39
|
"upath": "2.0.1",
|
|
40
40
|
"update-notifier": "7.0.0",
|
|
41
|
-
"@serwist/build": "9.0.0-preview.
|
|
41
|
+
"@serwist/build": "9.0.0-preview.16"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@types/common-tags": "1.8.4",
|
|
@@ -47,8 +47,8 @@
|
|
|
47
47
|
"@types/stringify-object": "4.0.5",
|
|
48
48
|
"@types/update-notifier": "6.0.8",
|
|
49
49
|
"rollup": "4.13.0",
|
|
50
|
-
"typescript": "5.5.0-dev.
|
|
51
|
-
"@serwist/constants": "9.0.0-preview.
|
|
50
|
+
"typescript": "5.5.0-dev.20240323",
|
|
51
|
+
"@serwist/constants": "9.0.0-preview.16"
|
|
52
52
|
},
|
|
53
53
|
"scripts": {
|
|
54
54
|
"build": "rimraf dist && cross-env NODE_ENV=production rollup --config rollup.config.js",
|