@nordicsemiconductor/pc-nrfconnect-shared 110.0.0 → 111.0.0
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/Changelog.md +16 -1
- package/coverage/cobertura-coverage.xml +7 -6
- package/ipc/MetaFiles.ts +3 -0
- package/package.json +1 -1
- package/scripts/release-shared.ts +3 -0
- package/src/Device/deviceInfo/deviceInfo.ts +1 -1
- package/src/Dialog/dialog.scss +2 -1
- package/typings/generated/ipc/MetaFiles.d.ts +2 -0
- package/typings/generated/ipc/MetaFiles.d.ts.map +1 -1
- package/typings/generated/src/Device/deviceInfo/deviceInfo.d.ts +1 -0
- package/typings/generated/src/Device/deviceInfo/deviceInfo.d.ts.map +1 -1
package/Changelog.md
CHANGED
|
@@ -7,6 +7,20 @@ This project does _not_ adhere to
|
|
|
7
7
|
[Semantic Versioning](https://semver.org/spec/v2.0.0.html) but contrary to it
|
|
8
8
|
every new version is a new major version.
|
|
9
9
|
|
|
10
|
+
## 111 - 2023-09-22
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- Optional property `nrfConnectForDesktop.supportedDevices` in `package.json`.
|
|
15
|
+
Will for now only be used by the Quickstart app.
|
|
16
|
+
- Output link to where in Azure a release should be created.
|
|
17
|
+
|
|
18
|
+
### Fixed
|
|
19
|
+
|
|
20
|
+
- List items in dialog bodies had the wrong size: They inherited the size from
|
|
21
|
+
the document body instead of using the same size as was used in the dialog
|
|
22
|
+
in paragraphs.
|
|
23
|
+
|
|
10
24
|
## 110 - 2023-09-22
|
|
11
25
|
|
|
12
26
|
### Fixed
|
|
@@ -77,7 +91,8 @@ every new version is a new major version.
|
|
|
77
91
|
|
|
78
92
|
### Steps to upgrade
|
|
79
93
|
|
|
80
|
-
- Update `nrfConnectForDesktop.nrfutil` to version 1.4.2 in
|
|
94
|
+
- Update `nrfConnectForDesktop.nrfutil.device` to version 1.4.2 in
|
|
95
|
+
`package.json`
|
|
81
96
|
|
|
82
97
|
## 102 - 2023-09-05
|
|
83
98
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<?xml version="1.0" ?>
|
|
2
2
|
<!DOCTYPE coverage SYSTEM "http://cobertura.sourceforge.net/xml/coverage-04.dtd">
|
|
3
|
-
<coverage lines-valid="
|
|
3
|
+
<coverage lines-valid="3208" lines-covered="1788" line-rate="0.5573" branches-valid="1532" branches-covered="448" branch-rate="0.2924" timestamp="1695416714971" complexity="0" version="0.1">
|
|
4
4
|
<sources>
|
|
5
5
|
<source>/home/vsts/work/1/s</source>
|
|
6
6
|
</sources>
|
|
@@ -1615,9 +1615,9 @@
|
|
|
1615
1615
|
</class>
|
|
1616
1616
|
</classes>
|
|
1617
1617
|
</package>
|
|
1618
|
-
<package name="scripts" line-rate="0.
|
|
1618
|
+
<package name="scripts" line-rate="0.7" branch-rate="0.36">
|
|
1619
1619
|
<classes>
|
|
1620
|
-
<class name="release-shared.ts" filename="scripts/release-shared.ts" line-rate="0.
|
|
1620
|
+
<class name="release-shared.ts" filename="scripts/release-shared.ts" line-rate="0.7" branch-rate="0.36">
|
|
1621
1621
|
<methods>
|
|
1622
1622
|
<method name="(anonymous_7)" hits="0" signature="()V">
|
|
1623
1623
|
<lines>
|
|
@@ -1757,9 +1757,10 @@
|
|
|
1757
1757
|
<line number="197" hits="0" branch="true" condition-coverage="0% (0/2)"/>
|
|
1758
1758
|
<line number="200" hits="0" branch="true" condition-coverage="0% (0/1)"/>
|
|
1759
1759
|
<line number="201" hits="0" branch="false"/>
|
|
1760
|
-
<line number="
|
|
1761
|
-
<line number="
|
|
1762
|
-
<line number="
|
|
1760
|
+
<line number="202" hits="0" branch="false"/>
|
|
1761
|
+
<line number="208" hits="1" branch="false"/>
|
|
1762
|
+
<line number="209" hits="1" branch="true" condition-coverage="0% (0/1)"/>
|
|
1763
|
+
<line number="210" hits="0" branch="false"/>
|
|
1763
1764
|
</lines>
|
|
1764
1765
|
</class>
|
|
1765
1766
|
</classes>
|
package/ipc/MetaFiles.ts
CHANGED
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
* SPDX-License-Identifier: LicenseRef-Nordic-4-Clause
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
+
import { DevicePCA } from '../src/Device/deviceInfo/deviceInfo';
|
|
8
|
+
|
|
7
9
|
export type UrlString = string;
|
|
8
10
|
|
|
9
11
|
export interface SourceJson {
|
|
@@ -43,6 +45,7 @@ interface ObjectContainingOptionalStrings {
|
|
|
43
45
|
}
|
|
44
46
|
|
|
45
47
|
interface NrfConnectForDesktop {
|
|
48
|
+
supportedDevices?: DevicePCA[];
|
|
46
49
|
nrfutil?: NrfutilModules;
|
|
47
50
|
html?: string;
|
|
48
51
|
}
|
package/package.json
CHANGED
|
@@ -199,6 +199,9 @@ const main = () => {
|
|
|
199
199
|
|
|
200
200
|
if (noErrors) {
|
|
201
201
|
doRelease(nextReleaseNumber);
|
|
202
|
+
console.log(
|
|
203
|
+
'All done on GitHub. Now go to Azure and create a release there:\nhttps://dev.azure.com/NordicSemiconductor/Wayland/_release?definitionId=33'
|
|
204
|
+
);
|
|
202
205
|
}
|
|
203
206
|
};
|
|
204
207
|
|
package/src/Dialog/dialog.scss
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { DevicePCA } from '../src/Device/deviceInfo/deviceInfo';
|
|
1
2
|
export type UrlString = string;
|
|
2
3
|
export interface SourceJson {
|
|
3
4
|
name: string;
|
|
@@ -30,6 +31,7 @@ interface ObjectContainingOptionalStrings {
|
|
|
30
31
|
[index: string]: string | undefined;
|
|
31
32
|
}
|
|
32
33
|
interface NrfConnectForDesktop {
|
|
34
|
+
supportedDevices?: DevicePCA[];
|
|
33
35
|
nrfutil?: NrfutilModules;
|
|
34
36
|
html?: string;
|
|
35
37
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MetaFiles.d.ts","sourceRoot":"","sources":["../../../ipc/MetaFiles.ts"],"names":[],"mapp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EAAE,+BAA+B,CAAC;IAClD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,+BAA+B,CAAC;IAC1C,oBAAoB,CAAC,EAAE,oBAAoB,CAAC;IAC5C,KAAK,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAC1B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,gBAAgB,CAAC,EAAE,+BAA+B,CAAC;IACnD,UAAU,CAAC,EAAE;QACT,IAAI,EAAE,MAAM,CAAC;QACb,GAAG,EAAE,SAAS,CAAC;KAClB,CAAC;IACF,OAAO,CAAC,EAAE,+BAA+B,CAAC;CAC7C"}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import { NrfutilDevice } from '../../../nrfutil';
|
|
3
3
|
import type { Device as WrappedDevice } from '../deviceSlice';
|
|
4
4
|
type Device = NrfutilDevice | WrappedDevice;
|
|
5
|
+
export type DevicePCA = 'PCA10028' | 'PCA10031' | 'PCA10040' | 'PCA10056' | 'PCA10059' | 'PCA10090' | 'PCA10095' | 'PCA10100' | 'PCA10121' | 'PCA20020' | 'PCA20035' | 'PCA10143' | 'PCA10152' | 'PCA10153' | 'PCA20049';
|
|
5
6
|
interface DeviceInfo {
|
|
6
7
|
name?: string | null;
|
|
7
8
|
cores?: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deviceInfo.d.ts","sourceRoot":"","sources":["../../../../../src/Device/deviceInfo/deviceInfo.ts"],"names":[],"mappings":";AA8BA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,KAAK,EAAE,MAAM,IAAI,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAY9D,KAAK,MAAM,GAAG,aAAa,GAAG,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"deviceInfo.d.ts","sourceRoot":"","sources":["../../../../../src/Device/deviceInfo/deviceInfo.ts"],"names":[],"mappings":";AA8BA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,KAAK,EAAE,MAAM,IAAI,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAY9D,KAAK,MAAM,GAAG,aAAa,GAAG,aAAa,CAAC;AAE5C,MAAM,MAAM,SAAS,GACf,UAAU,GACV,UAAU,GACV,UAAU,GACV,UAAU,GACV,UAAU,GACV,UAAU,GACV,UAAU,GACV,UAAU,GACV,UAAU,GACV,UAAU,GACV,UAAU,GACV,UAAU,GACV,UAAU,GACV,UAAU,GACV,UAAU,CAAC;AAEjB,UAAU,UAAU;IAChB,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,KAAK,CAAC,WAAW,CAAC;IACxB,OAAO,EAAE;QACL,eAAe,CAAC,EAAE,MAAM,CAAC;QACzB,eAAe,CAAC,EAAE,MAAM,CAAC;KAC5B,CAAC;CACL;AAoLD,eAAO,MAAM,UAAU,WAAY,MAAM,KAAG,UAC2B,CAAC;AASxE,eAAO,MAAM,mBAAmB,WACpB,MAAM;;YAQjB,CAAC;AAEF,eAAO,MAAM,cAAc,WAAY,MAAM,uBAEiC,CAAC;AAE/E,eAAO,MAAM,YAAY,WAAY,MAAM,uBAIrC,CAAC"}
|