@kadanza/extension-sdk 0.0.1 → 0.0.3

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.
@@ -0,0 +1,12 @@
1
+ export declare const createExtensionSDK: () => IExtensionSDK;
2
+
3
+ export declare class ExtensionSDK implements IExtensionSDK {
4
+ wip: boolean;
5
+ constructor();
6
+ }
7
+
8
+ export declare interface IExtensionSDK {
9
+ wip: boolean;
10
+ }
11
+
12
+ export { }
@@ -0,0 +1,12 @@
1
+ export declare const createExtensionSDK: () => IExtensionSDK;
2
+
3
+ export declare class ExtensionSDK implements IExtensionSDK {
4
+ wip: boolean;
5
+ constructor();
6
+ }
7
+
8
+ export declare interface IExtensionSDK {
9
+ wip: boolean;
10
+ }
11
+
12
+ export { }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kadanza/extension-sdk",
3
- "version": "0.0.1",
3
+ "version": "0.0.3",
4
4
  "description": "Helpers for building extensions",
5
5
  "keywords": [
6
6
  "kadanza",
@@ -22,17 +22,17 @@
22
22
  "exports": {
23
23
  ".": {
24
24
  "import": {
25
- "types": "./dist/extension-sdk.d.ts",
25
+ "types": "./dist/index.d.ts",
26
26
  "default": "./dist/extension-sdk.js"
27
27
  },
28
28
  "require": {
29
- "types": "./dist/extension-sdk.d.cts",
29
+ "types": "./dist/index.d.cts",
30
30
  "default": "./dist/extension-sdk.cjs"
31
31
  }
32
32
  }
33
33
  },
34
34
  "main": "./dist/extension-sdk.cjs",
35
- "types": "./dist/extension-sdk.d.ts",
35
+ "types": "./dist/index.d.ts",
36
36
  "files": [
37
37
  "dist"
38
38
  ],
@@ -40,7 +40,8 @@
40
40
  "dev": "vite",
41
41
  "build": "tsc -p tsconfig.lib.json --noEmit && vite build",
42
42
  "preview": "vite preview",
43
- "prepublishOnly": "npm run build"
43
+ "check:types": "npx --yes @arethetypeswrong/cli --pack .",
44
+ "prepublishOnly": "npm run build && npm run check:types"
44
45
  },
45
46
  "devDependencies": {
46
47
  "typescript": "~6.0.2",
@@ -1,3 +0,0 @@
1
- import { IExtensionSDK } from './ExtensionSDK';
2
- export { ExtensionSDK, type IExtensionSDK } from './ExtensionSDK';
3
- export declare const createExtensionSDK: () => IExtensionSDK;
@@ -1,3 +0,0 @@
1
- import { IExtensionSDK } from './ExtensionSDK';
2
- export { ExtensionSDK, type IExtensionSDK } from './ExtensionSDK';
3
- export declare const createExtensionSDK: () => IExtensionSDK;