@nordicsemiconductor/pc-nrfconnect-shared 152.0.0 → 154.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 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
+ ## 154.0.0 - 2024-02-05
11
+
12
+ ### Changed
13
+
14
+ - `packageJsonLegacyApp` type for `supportedDevices` is now `string[]`.
15
+
16
+ ## 153.0.0 - 2024-02-05
17
+
18
+ ### Added
19
+
20
+ - Added `9151 DK` to known devices.
21
+ - `openFileLocation` utility function.
22
+ - `openLogFileLocation` function in `logger` object.
23
+
10
24
  ## 152.0.0 - 2024-01-26
11
25
 
12
26
  ### Updated
package/ipc/device.ts CHANGED
@@ -21,6 +21,7 @@ export const knownDevicePcas = [
21
21
  'PCA10153',
22
22
  'PCA10165',
23
23
  'PCA20049',
24
+ 'PCA10171',
24
25
  ] as const;
25
26
 
26
27
  export type KnownDevicePCA = (typeof knownDevicePcas)[number];
@@ -63,6 +63,7 @@ export const parsePackageJsonApp =
63
63
  // and the html in it can also be undefined, so there we need to use this legacy variant
64
64
  const packageJsonLegacyApp = packageJsonApp.extend({
65
65
  nrfConnectForDesktop: nrfConnectForDesktop
66
+ .extend({ supportedDevices: z.array(z.string()).nonempty().optional() })
66
67
  .partial({ html: true })
67
68
  .optional(),
68
69
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nordicsemiconductor/pc-nrfconnect-shared",
3
- "version": "152.0.0",
3
+ "version": "154.0.0",
4
4
  "description": "Shared commodities for developing pc-nrfconnect-* packages",
5
5
  "repository": {
6
6
  "type": "git",