@todesktop/shared 7.194.0 → 7.195.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
@@ -1,5 +1,12 @@
1
1
  # @todesktop/shared
2
2
 
3
+ ## 7.195.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 56627a8: Add support for custom plugins from ToDesktop Builder (including
8
+ private npm packages)
9
+
3
10
  ## 7.194.0
4
11
 
5
12
  ### Minor Changes
@@ -1,5 +1,10 @@
1
1
  type AjvJSONSchemaType = object;
2
2
  export interface DesktopAppPlugin {
3
+ /**
4
+ * Specifies if the plugin requires authentication to npm for installation.
5
+ * If true, the npm token will be retrieved from Azure KeyVault during the build.
6
+ */
7
+ npmAuthRequired?: boolean;
3
8
  /**
4
9
  * Package name, including version information.
5
10
  * e.g. "@todesktop/plugin-foo", "@todesktop/plugin-baz@1.0.0"
@@ -1,5 +1,10 @@
1
1
  type AjvJSONSchemaType = object;
2
2
  export interface DesktopAppPlugin {
3
+ /**
4
+ * Specifies if the plugin requires authentication to npm for installation.
5
+ * If true, the npm token will be retrieved from Azure KeyVault during the build.
6
+ */
7
+ npmAuthRequired?: boolean;
3
8
  /**
4
9
  * Package name, including version information.
5
10
  * e.g. "@todesktop/plugin-foo", "@todesktop/plugin-baz@1.0.0"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@todesktop/shared",
3
- "version": "7.194.0",
3
+ "version": "7.195.0",
4
4
  "description": "",
5
5
  "main": "./lib/cjs/index.js",
6
6
  "module": "./lib/esm/index.js",
package/src/plugin.ts CHANGED
@@ -1,5 +1,11 @@
1
1
  type AjvJSONSchemaType = object;
2
2
  export interface DesktopAppPlugin {
3
+ /**
4
+ * Specifies if the plugin requires authentication to npm for installation.
5
+ * If true, the npm token will be retrieved from Azure KeyVault during the build.
6
+ */
7
+ npmAuthRequired?: boolean;
8
+
3
9
  /**
4
10
  * Package name, including version information.
5
11
  * e.g. "@todesktop/plugin-foo", "@todesktop/plugin-baz@1.0.0"
@@ -0,0 +1,8 @@
1
+ // eslint-disable-next-line import-x/no-extraneous-dependencies
2
+ import { defineConfig } from 'vitest/config';
3
+
4
+ export default defineConfig({
5
+ test: {
6
+ exclude: ['**/node_modules/**', '**/lib/**'],
7
+ },
8
+ });