@pnpm/plugin-commands-config 1000.0.9 → 1000.0.11
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/lib/configList.js +2 -5
- package/lib/configList.js.map +1 -1
- package/package.json +6 -6
package/lib/configList.js
CHANGED
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
3
|
exports.configList = configList;
|
|
7
4
|
const ini_1 = require("ini");
|
|
8
|
-
const
|
|
5
|
+
const object_key_sorting_1 = require("@pnpm/object.key-sorting");
|
|
9
6
|
async function configList(opts) {
|
|
10
|
-
const sortedConfig = (0,
|
|
7
|
+
const sortedConfig = (0, object_key_sorting_1.sortDirectKeys)(opts.rawConfig);
|
|
11
8
|
if (opts.json) {
|
|
12
9
|
return JSON.stringify(sortedConfig, null, 2);
|
|
13
10
|
}
|
package/lib/configList.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"configList.js","sourceRoot":"","sources":["../src/configList.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"configList.js","sourceRoot":"","sources":["../src/configList.ts"],"names":[],"mappings":";;AAIA,gCAMC;AAVD,6BAA4B;AAC5B,iEAAyD;AAGlD,KAAK,UAAU,UAAU,CAAE,IAA0B;IAC1D,MAAM,YAAY,GAAG,IAAA,mCAAc,EAAC,IAAI,CAAC,SAAS,CAAC,CAAA;IACnD,IAAI,IAAI,CAAC,IAAI,EAAE,CAAC;QACd,OAAO,IAAI,CAAC,SAAS,CAAC,YAAY,EAAE,IAAI,EAAE,CAAC,CAAC,CAAA;IAC9C,CAAC;IACD,OAAO,IAAA,YAAM,EAAC,YAAY,CAAC,CAAA;AAC7B,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pnpm/plugin-commands-config",
|
|
3
|
-
"version": "1000.0.
|
|
3
|
+
"version": "1000.0.11",
|
|
4
4
|
"description": "Commands for reading and writing settings to/from config files",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -26,19 +26,19 @@
|
|
|
26
26
|
"ini": "4.1.1",
|
|
27
27
|
"read-ini-file": "4.0.0",
|
|
28
28
|
"render-help": "^1.0.3",
|
|
29
|
-
"sort-keys": "^4.2.0",
|
|
30
29
|
"write-ini-file": "4.0.1",
|
|
31
|
-
"@pnpm/
|
|
32
|
-
"@pnpm/
|
|
30
|
+
"@pnpm/config": "1002.4.0",
|
|
31
|
+
"@pnpm/cli-utils": "1000.0.11",
|
|
33
32
|
"@pnpm/error": "1000.0.2",
|
|
33
|
+
"@pnpm/object.key-sorting": "1000.0.0",
|
|
34
34
|
"@pnpm/run-npm": "1000.0.0"
|
|
35
35
|
},
|
|
36
36
|
"funding": "https://opencollective.com/pnpm",
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@types/ini": "1.3.31",
|
|
39
|
-
"@pnpm/plugin-commands-config": "1000.0.9",
|
|
40
39
|
"@pnpm/logger": "1000.0.0",
|
|
41
|
-
"@pnpm/
|
|
40
|
+
"@pnpm/plugin-commands-config": "1000.0.11",
|
|
41
|
+
"@pnpm/prepare": "0.0.112"
|
|
42
42
|
},
|
|
43
43
|
"exports": {
|
|
44
44
|
".": "./lib/index.js"
|