@revition/e2e-fixture-plugin 0.0.0 → 0.0.1

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/README.md CHANGED
@@ -3,5 +3,6 @@
3
3
  Test fixture, not for use.
4
4
 
5
5
  This package exists only so the Revition CLI's plugin checks (signature, provenance, registered publisher, org
6
- allowlist) can be proven end to end. It will be unpublished, or deprecated if npm refuses, within 72 hours of its
7
- first CI publish.
6
+ allowlist) can be proven end to end with a real signed package (REVITION-CLI-PLAN T4.2.3). It is published by
7
+ `.github/workflows/release.yml` through npm trusted publishing, and is unpublished, or deprecated if npm refuses,
8
+ within 72 hours of that publish.
package/dist/hello.mjs ADDED
@@ -0,0 +1,5 @@
1
+ // Test fixture, not for use: the smallest Revition CLI plugin command. It asks for no permission and prints one line.
2
+ export async function run(ctx) {
3
+ ctx.print('e2e-fixture-plugin: hello');
4
+ return 0;
5
+ }
package/package.json CHANGED
@@ -1,13 +1,17 @@
1
1
  {
2
2
  "name": "@revition/e2e-fixture-plugin",
3
- "version": "0.0.0",
3
+ "version": "0.0.1",
4
4
  "description": "Test fixture for the Revition CLI plugin checks. Not for use.",
5
5
  "license": "Apache-2.0",
6
+ "type": "module",
6
7
  "repository": {
7
8
  "type": "git",
8
- "url": "git+https://github.com/Revition/revition-cli.git"
9
+ "url": "git+https://github.com/Revition/revition-cli.git",
10
+ "directory": "fixtures/e2e-fixture-plugin"
9
11
  },
10
12
  "files": [
11
- "README.md"
13
+ "README.md",
14
+ "revition-plugin.json",
15
+ "dist/hello.mjs"
12
16
  ]
13
17
  }
@@ -0,0 +1,10 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "commands": {
4
+ "hello": {
5
+ "entry": "dist/hello.mjs",
6
+ "summary": "Print one fixed line (test fixture)"
7
+ }
8
+ },
9
+ "permissions": ["exec:none", "network:none", "fs:none"]
10
+ }