@nesso-how/plugin 0.1.0 → 0.1.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/example/README.md CHANGED
@@ -2,10 +2,10 @@
2
2
 
3
3
  Uppercases labels in the invoked view with one undoable batch. Shared concepts change in every view containing them.
4
4
 
5
- Copy this directory outside the workspace, [pack the SDK](../README.md#sdk-development), then build:
5
+ Copy this directory outside the workspace, then install the published SDK and build:
6
6
 
7
7
  ```sh
8
- npm install --ignore-scripts --save-dev /absolute/path/to/artifacts/nesso-plugin-0.0.0.tgz
8
+ npm install --save-dev @nesso-how/plugin@^0.1.0
9
9
  npm run build
10
10
  ```
11
11
 
@@ -11,7 +11,7 @@
11
11
  "build": "npm run check && esbuild src/index.ts --bundle --format=esm --platform=browser --target=es2022 --outfile=dist/index.js"
12
12
  },
13
13
  "devDependencies": {
14
- "@nesso-how/plugin": "0.0.0",
14
+ "@nesso-how/plugin": "^0.1.0",
15
15
  "esbuild": "^0.28.2",
16
16
  "typescript": "~7.0.2"
17
17
  },
package/package.json CHANGED
@@ -1,27 +1,35 @@
1
1
  {
2
2
  "name": "@nesso-how/plugin",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Types, validation, and asynchronous clients for isolated Nesso plugins",
5
5
  "license": "MIT",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/nesso-how/nesso.git",
9
+ "directory": "packages/plugin"
10
+ },
6
11
  "type": "module",
7
- "files": ["dist", "example"],
12
+ "files": [
13
+ "dist",
14
+ "example"
15
+ ],
8
16
  "types": "./dist/index.d.ts",
9
17
  "exports": {
10
- ".": "./src/index.ts",
11
- "./runtime": "./src/runtime.ts",
12
- "./package": "./src/package.ts"
13
- },
14
- "publishConfig": {
15
- "access": "public",
16
- "exports": {
17
- ".": { "types": "./dist/index.d.ts", "default": "./dist/index.js" },
18
- "./runtime": { "types": "./dist/runtime.d.ts", "default": "./dist/runtime.js" },
19
- "./package": { "types": "./dist/package.d.ts", "default": "./dist/package.js" }
18
+ ".": {
19
+ "types": "./dist/index.d.ts",
20
+ "default": "./dist/index.js"
21
+ },
22
+ "./runtime": {
23
+ "types": "./dist/runtime.d.ts",
24
+ "default": "./dist/runtime.js"
25
+ },
26
+ "./package": {
27
+ "types": "./dist/package.d.ts",
28
+ "default": "./dist/package.js"
20
29
  }
21
30
  },
22
- "scripts": {
23
- "build": "tsc -p ../../tsconfig.plugin.json && tsdown",
24
- "prepack": "pnpm run build"
31
+ "publishConfig": {
32
+ "access": "public"
25
33
  },
26
34
  "dependencies": {
27
35
  "semver": "^7.8.5",
@@ -29,11 +37,14 @@
29
37
  "zod": "^4.6.5"
30
38
  },
31
39
  "devDependencies": {
32
- "@nesso-how/errors": "workspace:*",
33
- "@nesso-how/i18n": "workspace:*",
34
- "@nesso-how/schema": "workspace:*",
40
+ "@nesso-how/errors": "0.0.0",
41
+ "@nesso-how/i18n": "0.0.0",
42
+ "@nesso-how/schema": "0.0.0",
35
43
  "@types/semver": "^7.8.0",
36
44
  "@types/validate-npm-package-name": "^4.0.2",
37
45
  "tsdown": "^0.23.1"
46
+ },
47
+ "scripts": {
48
+ "build": "tsc -p ../../tsconfig.plugin.json && tsdown"
38
49
  }
39
- }
50
+ }