@termix-ssh/plugin-sdk 1.0.9 → 1.0.10

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,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.0.10
4
+
5
+ ### Changed
6
+
7
+ - `termix-plugin pack` includes the plugin's `LICENSE` and `NOTICE` files, so third-party notices ship with it
8
+
3
9
  ## 1.0.9
4
10
 
5
11
  ### Added
package/PLUGIN-GUIDE.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Termix plugin guide
2
2
 
3
- SDK 1.0.9 | Plugin API 1.2.0
3
+ SDK 1.0.10 | Plugin API 1.2.0
4
4
 
5
5
  This guide is for anyone, person or AI coding tool, building a Termix plugin. It ships inside
6
6
  `@termix-ssh/plugin-sdk`, so the copy in your `node_modules` always matches the SDK you have installed.
@@ -90,7 +90,7 @@ npm test # termix-plugin test: Vitest
90
90
  npm run typecheck # tsc
91
91
  npm run validate # termix-plugin validate: manifest, files, migrations, changelog, docs
92
92
  npm run migrations # termix-plugin migrations: write migrations after changing tables.ts
93
- npm run pack # termix-plugin pack: write <id>-<version>.tmxplug
93
+ npm run pack # termix-plugin pack: write <id>-<version>.tmxplug (with LICENSE and NOTICE)
94
94
  npm run format # Prettier
95
95
  npm run format:check
96
96
  ```
@@ -11,6 +11,9 @@ export const TMXPLUG_CONTENTS = [
11
11
  "README.md",
12
12
  "CHANGELOG.md",
13
13
  "icon.svg",
14
+ // Licence texts, so third-party notices travel with the plugin.
15
+ "LICENSE",
16
+ "NOTICE",
14
17
  ];
15
18
 
16
19
  const BLOCK = 512;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@termix-ssh/plugin-sdk",
3
- "version": "1.0.9",
3
+ "version": "1.0.10",
4
4
  "description": "The contract between Termix core and a plugin: types, the capability catalog and the manifest schema.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {