solid-panes 3.6.3-eeaeb580 → 3.7.0-08197f32
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/coverage/clover.xml +2 -2
- package/coverage/lcov-report/block-navigation.js +1 -1
- package/coverage/lcov-report/index.html +1 -1
- package/coverage/lcov-report/outline/index.html +1 -1
- package/coverage/lcov-report/outline/outlineIcons.js.html +1 -1
- package/coverage/lcov-report/outline/propertyViews.ts.html +1 -1
- package/coverage/lcov-report/outline/viewAsImage.ts.html +1 -1
- package/coverage/lcov-report/outline/viewAsMbox.ts.html +1 -1
- package/coverage/lcov-report/sorter.js +21 -7
- package/coverage/lcov-report/trustedApplications/index.html +1 -1
- package/coverage/lcov-report/trustedApplications/trustedApplications.utils.ts.html +1 -1
- package/lib/mainPage/header.js +5 -8
- package/lib/mainPage/header.js.map +1 -1
- package/lib/outline/manager.js +3 -4
- package/lib/outline/manager.js.map +1 -1
- package/lib/schedule/formsForSchedule.js +5 -1
- package/lib/schedule/formsForSchedule.js.map +1 -1
- package/lib/versionInfo.d.ts +2 -1
- package/lib/versionInfo.d.ts.map +1 -1
- package/lib/versionInfo.js +28 -27
- package/lib/versionInfo.js.map +1 -1
- package/package.json +9 -9
- package/src/schedule/formsForSchedule.js +1 -1
- package/src/trustedApplications/__snapshots__/trustedApplications.test.ts.snap +1 -1
- package/src/versionInfo.ts +30 -30
- package/timestamp.sh +10 -4
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _default = exports["default"] = "\n@prefix dc: <http://purl.org/dc/elements/1.1/>.\n@prefix foaf: <http://xmlns.com/foaf/0.1/>.\n@prefix cal: <http://www.w3.org/2002/12/cal/ical#>.\n@prefix ui: <http://www.w3.org/ns/ui#>.\n@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.\n@prefix sched: <http://www.w3.org/ns/pim/schedule#>.\n\n cal:Vevent ui:annotationForm <#form2>, <#form3>; ui:creationForm <#form1> .\n\n<#bigForm>\n dc:title\n \"Schedule event (single form).\";\n a ui:Group;\n ui:parts ( <#form1> <#form2> <#form3> ).\n\n<#form1>\n dc:title\n \"Schedule an event (wizard)\";\n a ui:Form;\n ui:parts (\n <#form1header>\n <#eventTitle>\n <#eventLocation>\n <#eventType>\n <#eventSwitch>\n <#eventComment>\n <#eventAuthor> ).\n\n<#form1header> a ui:Heading; ui:contents \"Schedule an event\" .\n\n<#eventTitle>\n a ui:SingleLineTextField;\n ui:maxLength\n \"128\";\n ui:property\n cal:summary;\n ui:size\n \"40\".\n\n<#eventLocation>\n a ui:SingleLineTextField;\n ui:maxLength\n \"512\";\n ui:property\n cal:location;\n ui:size\n \"40\".\n\n<#eventType> a ui:BooleanField;\n ui:property sched:allDay;\n ui:default true . # Used to be the only way\n\n<#eventSwitch> a ui:Options;\n ui:dependingOn sched:allDay;\n ui:case [ ui:for true; ui:use <#AllDayForm> ];\n ui:case [ ui:for false; ui:use <#NotAllDayForm> ].\n\n <#AllDayForm> a ui:IntegerField ;\n ui:property sched:durationInDays;\n ui:label \"How many days?\";\n ui:min 1;\n ui:default 1 .\n\n <#NotAllDayForm> a ui:IntegerField ;\n ui:property sched:durationInMinutes;\n ui:label \"Duration (mins)\";\n ui:min 5;\n ui:default 55 .\n\n<#eventComment>\n a ui:MultiLineTextField;\n# ui:maxLength\n# \"1048\";\n# ui:size\n# \"40\".\n ui:property\n cal:comment.\n\n<#eventAuthor>\n a ui:Multiple; ui:min 1; ui:part <#eventAuthorGroup>; ui:property dc:author.\n\n <#eventAuthorGroup> a ui:Group; ui:parts ( <#authorName> <#authorEmail> ) .\n <#authorName> a ui:SingleLineTextField; ui:property foaf:name .\n <#authorEmail> a ui:EmailField; ui:label \"email\"; ui:property foaf:mbox .\n\n\n#####################\n\n<#form2> dc:title \"Select possible days or times\"; a ui:Form;\n ui:parts ( <#id1118132113134> <#possibleSwitch> ).\n\n <#id1118132113134> a ui:Heading; ui:contents \"Time proposals\" .\n\n <#possibleSwitch> a ui:Options;\n ui:dependingOn sched:allDay;\n ui:case [ ui:for true; ui:use <#AllDayForm2> ];\n ui:case [ ui:for false; ui:use <#NotAllDayForm2> ].\n\n <#AllDayForm2>\n a ui:Multiple; ui:min 2; ui:part <#posssibleDate>; ui:property sched:option.\n <#posssibleDate> a ui:DateField; ui:property cal:dtstart; ui:label \"date\".\n\n <#NotAllDayForm2>\n a ui:Multiple; ui:min 2; ui:part <#posssibleTime>; ui:property sched:option.\n <#posssibleTime> a ui:DateTimeField; ui:property cal:dtstart; ui:label \"date and time\".\n\n ##################################\n\n <#form3> dc:title \"Select invited people\"; a ui:Form; ui:parts ( <#id1118132113135> <#id1417314641301b> ) .\n<#id1417314641301b>\n a ui:Multiple; ui:min 1; ui:part <#id1417314674292b>; ui:property sched:invitee.\n <#id1417314674292b> a ui:EmailField; ui:label \"email\"; ui:property foaf:mbox .\n <#id1118132113135> a ui:Heading; ui:contents \"Who to invite\" .\n\n# ENDS\n";
|
|
4
8
|
//# sourceMappingURL=formsForSchedule.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"formsForSchedule.js","names":[
|
|
1
|
+
{"version":3,"file":"formsForSchedule.js","names":[],"sources":["../../src/schedule/formsForSchedule.js"],"sourcesContent":["export default `\n@prefix dc: <http://purl.org/dc/elements/1.1/>.\n@prefix foaf: <http://xmlns.com/foaf/0.1/>.\n@prefix cal: <http://www.w3.org/2002/12/cal/ical#>.\n@prefix ui: <http://www.w3.org/ns/ui#>.\n@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.\n@prefix sched: <http://www.w3.org/ns/pim/schedule#>.\n\n cal:Vevent ui:annotationForm <#form2>, <#form3>; ui:creationForm <#form1> .\n\n<#bigForm>\n dc:title\n \"Schedule event (single form).\";\n a ui:Group;\n ui:parts ( <#form1> <#form2> <#form3> ).\n\n<#form1>\n dc:title\n \"Schedule an event (wizard)\";\n a ui:Form;\n ui:parts (\n <#form1header>\n <#eventTitle>\n <#eventLocation>\n <#eventType>\n <#eventSwitch>\n <#eventComment>\n <#eventAuthor> ).\n\n<#form1header> a ui:Heading; ui:contents \"Schedule an event\" .\n\n<#eventTitle>\n a ui:SingleLineTextField;\n ui:maxLength\n \"128\";\n ui:property\n cal:summary;\n ui:size\n \"40\".\n\n<#eventLocation>\n a ui:SingleLineTextField;\n ui:maxLength\n \"512\";\n ui:property\n cal:location;\n ui:size\n \"40\".\n\n<#eventType> a ui:BooleanField;\n ui:property sched:allDay;\n ui:default true . # Used to be the only way\n\n<#eventSwitch> a ui:Options;\n ui:dependingOn sched:allDay;\n ui:case [ ui:for true; ui:use <#AllDayForm> ];\n ui:case [ ui:for false; ui:use <#NotAllDayForm> ].\n\n <#AllDayForm> a ui:IntegerField ;\n ui:property sched:durationInDays;\n ui:label \"How many days?\";\n ui:min 1;\n ui:default 1 .\n\n <#NotAllDayForm> a ui:IntegerField ;\n ui:property sched:durationInMinutes;\n ui:label \"Duration (mins)\";\n ui:min 5;\n ui:default 55 .\n\n<#eventComment>\n a ui:MultiLineTextField;\n# ui:maxLength\n# \"1048\";\n# ui:size\n# \"40\".\n ui:property\n cal:comment.\n\n<#eventAuthor>\n a ui:Multiple; ui:min 1; ui:part <#eventAuthorGroup>; ui:property dc:author.\n\n <#eventAuthorGroup> a ui:Group; ui:parts ( <#authorName> <#authorEmail> ) .\n <#authorName> a ui:SingleLineTextField; ui:property foaf:name .\n <#authorEmail> a ui:EmailField; ui:label \"email\"; ui:property foaf:mbox .\n\n\n#####################\n\n<#form2> dc:title \"Select possible days or times\"; a ui:Form;\n ui:parts ( <#id1118132113134> <#possibleSwitch> ).\n\n <#id1118132113134> a ui:Heading; ui:contents \"Time proposals\" .\n\n <#possibleSwitch> a ui:Options;\n ui:dependingOn sched:allDay;\n ui:case [ ui:for true; ui:use <#AllDayForm2> ];\n ui:case [ ui:for false; ui:use <#NotAllDayForm2> ].\n\n <#AllDayForm2>\n a ui:Multiple; ui:min 2; ui:part <#posssibleDate>; ui:property sched:option.\n <#posssibleDate> a ui:DateField; ui:property cal:dtstart; ui:label \"date\".\n\n <#NotAllDayForm2>\n a ui:Multiple; ui:min 2; ui:part <#posssibleTime>; ui:property sched:option.\n <#posssibleTime> a ui:DateTimeField; ui:property cal:dtstart; ui:label \"date and time\".\n\n ##################################\n\n <#form3> dc:title \"Select invited people\"; a ui:Form; ui:parts ( <#id1118132113135> <#id1417314641301b> ) .\n<#id1417314641301b>\n a ui:Multiple; ui:min 1; ui:part <#id1417314674292b>; ui:property sched:invitee.\n <#id1417314674292b> a ui:EmailField; ui:label \"email\"; ui:property foaf:mbox .\n <#id1118132113135> a ui:Heading; ui:contents \"Who to invite\" .\n\n# ENDS\n`\n"],"mappings":"","ignoreList":[]}
|
package/lib/versionInfo.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ declare const _default: {
|
|
|
2
2
|
buildTime: string;
|
|
3
3
|
commit: string;
|
|
4
4
|
npmInfo: {
|
|
5
|
-
'solid-panes': string;
|
|
5
|
+
"'solid-panes'": string;
|
|
6
6
|
npm: string;
|
|
7
7
|
node: string;
|
|
8
8
|
acorn: string;
|
|
@@ -27,6 +27,7 @@ declare const _default: {
|
|
|
27
27
|
uvwasi: string;
|
|
28
28
|
v8: string;
|
|
29
29
|
zlib: string;
|
|
30
|
+
"}": string;
|
|
30
31
|
};
|
|
31
32
|
};
|
|
32
33
|
export default _default;
|
package/lib/versionInfo.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"versionInfo.d.ts","sourceRoot":"","sources":["../src/versionInfo.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"versionInfo.d.ts","sourceRoot":"","sources":["../src/versionInfo.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBA+BE"}
|
package/lib/versionInfo.js
CHANGED
|
@@ -5,34 +5,35 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports["default"] = void 0;
|
|
7
7
|
var _default = exports["default"] = {
|
|
8
|
-
buildTime: "2025-08-
|
|
9
|
-
commit: "
|
|
8
|
+
buildTime: "2025-08-29T07:35:55Z",
|
|
9
|
+
commit: "08197f3285d607740e19790076e3dfa43d982b80",
|
|
10
10
|
npmInfo: {
|
|
11
|
-
'solid-panes': '3.
|
|
12
|
-
npm: '8.19.4',
|
|
13
|
-
node: '20.19.4',
|
|
14
|
-
acorn: '8.14.0',
|
|
15
|
-
ada: '2.9.2',
|
|
16
|
-
ares: '1.34.5',
|
|
17
|
-
brotli: '1.1.0',
|
|
18
|
-
cjs_module_lexer: '1.4.1',
|
|
19
|
-
cldr: '47.0',
|
|
20
|
-
icu: '77.1',
|
|
21
|
-
llhttp: '9.2.1',
|
|
22
|
-
modules: '115',
|
|
23
|
-
napi: '9',
|
|
24
|
-
nghttp2: '1.61.0',
|
|
25
|
-
nghttp3: '0.7.0',
|
|
26
|
-
ngtcp2: '1.1.0',
|
|
27
|
-
openssl: '3.0.15+quic',
|
|
28
|
-
simdutf: '6.4.2',
|
|
29
|
-
tz: '2025b',
|
|
30
|
-
undici: '6.21.2',
|
|
31
|
-
unicode: '16.0',
|
|
32
|
-
uv: '1.46.0',
|
|
33
|
-
uvwasi: '0.0.21',
|
|
34
|
-
v8: '11.3.244.8-node.29',
|
|
35
|
-
zlib: '1.3.0.1-motley-82a5fec'
|
|
11
|
+
"'solid-panes'": "'3.7.0',",
|
|
12
|
+
"npm": "'8.19.4',",
|
|
13
|
+
"node": "'20.19.4',",
|
|
14
|
+
"acorn": "'8.14.0',",
|
|
15
|
+
"ada": "'2.9.2',",
|
|
16
|
+
"ares": "'1.34.5',",
|
|
17
|
+
"brotli": "'1.1.0',",
|
|
18
|
+
"cjs_module_lexer": "'1.4.1',",
|
|
19
|
+
"cldr": "'47.0',",
|
|
20
|
+
"icu": "'77.1',",
|
|
21
|
+
"llhttp": "'9.2.1',",
|
|
22
|
+
"modules": "'115',",
|
|
23
|
+
"napi": "'9',",
|
|
24
|
+
"nghttp2": "'1.61.0',",
|
|
25
|
+
"nghttp3": "'0.7.0',",
|
|
26
|
+
"ngtcp2": "'1.1.0',",
|
|
27
|
+
"openssl": "'3.0.15+quic',",
|
|
28
|
+
"simdutf": "'6.4.2',",
|
|
29
|
+
"tz": "'2025b',",
|
|
30
|
+
"undici": "'6.21.2',",
|
|
31
|
+
"unicode": "'16.0',",
|
|
32
|
+
"uv": "'1.46.0',",
|
|
33
|
+
"uvwasi": "'0.0.21',",
|
|
34
|
+
"v8": "'11.3.244.8-node.29',",
|
|
35
|
+
"zlib": "'1.3.0.1-motley-82a5fec'",
|
|
36
|
+
"}": "}"
|
|
36
37
|
}
|
|
37
38
|
};
|
|
38
39
|
//# sourceMappingURL=versionInfo.js.map
|
package/lib/versionInfo.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"versionInfo.js","names":["buildTime","commit","npmInfo"
|
|
1
|
+
{"version":3,"file":"versionInfo.js","names":["buildTime","commit","npmInfo"],"sources":["../src/versionInfo.ts"],"sourcesContent":["export default {\nbuildTime: \"2025-08-29T07:35:55Z\",\ncommit: \"08197f3285d607740e19790076e3dfa43d982b80\",\n npmInfo: {\n \"'solid-panes'\": \"'3.7.0',\",\n \"npm\": \"'8.19.4',\",\n \"node\": \"'20.19.4',\",\n \"acorn\": \"'8.14.0',\",\n \"ada\": \"'2.9.2',\",\n \"ares\": \"'1.34.5',\",\n \"brotli\": \"'1.1.0',\",\n \"cjs_module_lexer\": \"'1.4.1',\",\n \"cldr\": \"'47.0',\",\n \"icu\": \"'77.1',\",\n \"llhttp\": \"'9.2.1',\",\n \"modules\": \"'115',\",\n \"napi\": \"'9',\",\n \"nghttp2\": \"'1.61.0',\",\n \"nghttp3\": \"'0.7.0',\",\n \"ngtcp2\": \"'1.1.0',\",\n \"openssl\": \"'3.0.15+quic',\",\n \"simdutf\": \"'6.4.2',\",\n \"tz\": \"'2025b',\",\n \"undici\": \"'6.21.2',\",\n \"unicode\": \"'16.0',\",\n \"uv\": \"'1.46.0',\",\n \"uvwasi\": \"'0.0.21',\",\n \"v8\": \"'11.3.244.8-node.29',\",\n \"zlib\": \"'1.3.0.1-motley-82a5fec'\",\n \"}\": \"}\",\n }\n};\n"],"mappings":";;;;;;oCAAe;EACfA,SAAS,EAAE,sBAAsB;EACjCC,MAAM,EAAE,0CAA0C;EAChDC,OAAO,EAAE;IACP,eAAe,EAAE,UAAU;IAC3B,KAAK,EAAE,WAAW;IAClB,MAAM,EAAE,YAAY;IACpB,OAAO,EAAE,WAAW;IACpB,KAAK,EAAE,UAAU;IACjB,MAAM,EAAE,WAAW;IACnB,QAAQ,EAAE,UAAU;IACpB,kBAAkB,EAAE,UAAU;IAC9B,MAAM,EAAE,SAAS;IACjB,KAAK,EAAE,SAAS;IAChB,QAAQ,EAAE,UAAU;IACpB,SAAS,EAAE,QAAQ;IACnB,MAAM,EAAE,MAAM;IACd,SAAS,EAAE,WAAW;IACtB,SAAS,EAAE,UAAU;IACrB,QAAQ,EAAE,UAAU;IACpB,SAAS,EAAE,gBAAgB;IAC3B,SAAS,EAAE,UAAU;IACrB,IAAI,EAAE,UAAU;IAChB,QAAQ,EAAE,WAAW;IACrB,SAAS,EAAE,SAAS;IACpB,IAAI,EAAE,WAAW;IACjB,QAAQ,EAAE,WAAW;IACrB,IAAI,EAAE,uBAAuB;IAC7B,MAAM,EAAE,0BAA0B;IAClC,GAAG,EAAE;EACP;AACF,CAAC","ignoreList":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "solid-panes",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.7.0-08197f32",
|
|
4
4
|
"description": "Solid-compatible Panes: applets and views for the mashlib and databrowser",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -47,18 +47,18 @@
|
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"@solid/better-simple-slideshow": "^0.1.0",
|
|
49
49
|
"activitystreams-pane": "^0.6.14",
|
|
50
|
-
"chat-pane": "^2.
|
|
51
|
-
"contacts-pane": "^2.
|
|
52
|
-
"folder-pane": "^2.
|
|
53
|
-
"issue-pane": "^2.
|
|
50
|
+
"chat-pane": "^2.5.0",
|
|
51
|
+
"contacts-pane": "^2.7.0",
|
|
52
|
+
"folder-pane": "^2.5.0",
|
|
53
|
+
"issue-pane": "^2.6.0",
|
|
54
54
|
"marked": "^16.1.2",
|
|
55
|
-
"meeting-pane": "^2.
|
|
55
|
+
"meeting-pane": "^2.5.0",
|
|
56
56
|
"mime-types": "^3.0.1",
|
|
57
57
|
"profile-pane": "^1.1.2",
|
|
58
|
-
"rdflib": "^2.2.
|
|
58
|
+
"rdflib": "^2.2.37",
|
|
59
59
|
"solid-namespace": "^0.5.4",
|
|
60
|
-
"solid-ui": "^2.
|
|
61
|
-
"source-pane": "^2.
|
|
60
|
+
"solid-ui": "^2.6.0",
|
|
61
|
+
"source-pane": "^2.3.0"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
64
|
"@babel/cli": "^7.28.0",
|
package/src/versionInfo.ts
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
export default {
|
|
2
|
-
buildTime: "2025-08-
|
|
3
|
-
commit: "
|
|
4
|
-
npmInfo:
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
}
|
|
2
|
+
buildTime: "2025-08-29T07:35:55Z",
|
|
3
|
+
commit: "08197f3285d607740e19790076e3dfa43d982b80",
|
|
4
|
+
npmInfo: {
|
|
5
|
+
"'solid-panes'": "'3.7.0',",
|
|
6
|
+
"npm": "'8.19.4',",
|
|
7
|
+
"node": "'20.19.4',",
|
|
8
|
+
"acorn": "'8.14.0',",
|
|
9
|
+
"ada": "'2.9.2',",
|
|
10
|
+
"ares": "'1.34.5',",
|
|
11
|
+
"brotli": "'1.1.0',",
|
|
12
|
+
"cjs_module_lexer": "'1.4.1',",
|
|
13
|
+
"cldr": "'47.0',",
|
|
14
|
+
"icu": "'77.1',",
|
|
15
|
+
"llhttp": "'9.2.1',",
|
|
16
|
+
"modules": "'115',",
|
|
17
|
+
"napi": "'9',",
|
|
18
|
+
"nghttp2": "'1.61.0',",
|
|
19
|
+
"nghttp3": "'0.7.0',",
|
|
20
|
+
"ngtcp2": "'1.1.0',",
|
|
21
|
+
"openssl": "'3.0.15+quic',",
|
|
22
|
+
"simdutf": "'6.4.2',",
|
|
23
|
+
"tz": "'2025b',",
|
|
24
|
+
"undici": "'6.21.2',",
|
|
25
|
+
"unicode": "'16.0',",
|
|
26
|
+
"uv": "'1.46.0',",
|
|
27
|
+
"uvwasi": "'0.0.21',",
|
|
28
|
+
"v8": "'11.3.244.8-node.29',",
|
|
29
|
+
"zlib": "'1.3.0.1-motley-82a5fec'",
|
|
30
|
+
"}": "}",
|
|
31
|
+
}
|
|
32
32
|
};
|
package/timestamp.sh
CHANGED
|
@@ -1,7 +1,13 @@
|
|
|
1
|
-
|
|
1
|
+
#!/bin/bash
|
|
2
|
+
|
|
2
3
|
echo "export default {"
|
|
3
4
|
date -u '+buildTime: "%Y-%m-%dT%H:%M:%SZ",'
|
|
4
5
|
git log | grep commit | head -1 | sed -e 's/ /: "/' | sed -e 's/$/",/'
|
|
5
|
-
echo npmInfo:
|
|
6
|
-
npm version
|
|
7
|
-
echo "
|
|
6
|
+
echo " npmInfo: {"
|
|
7
|
+
npm version | sed 's/\x1b\[[0-9;:]*[mG]//g' | grep -v '^{' | while read line; do
|
|
8
|
+
key=$(echo "$line" | cut -d ':' -f 1 | tr -d ' ')
|
|
9
|
+
value=$(echo "$line" | cut -d ':' -f 2- | tr -d ' ')
|
|
10
|
+
echo " \"${key}\": \"${value}\","
|
|
11
|
+
done
|
|
12
|
+
echo " }"
|
|
13
|
+
echo "};"
|