@kadanza/extension-sdk 0.0.2 → 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.
@@ -1 +1 @@
1
- {"version":3,"file":"extension-sdk.cjs","names":[],"sources":["../src/ExtensionSDK.ts","../src/index.ts"],"sourcesContent":["export interface IExtensionSDK {\n wip: boolean;\n}\n\nexport class ExtensionSDK implements IExtensionSDK {\n wip = true;\n\n constructor() {}\n}\n","export { ExtensionSDK, type IExtensionSDK } from \"./ExtensionSDK\";\n\nimport { ExtensionSDK } from \"./ExtensionSDK\";\nimport type { IExtensionSDK } from \"./ExtensionSDK\";\n\nexport const createExtensionSDK = (): IExtensionSDK => {\n return new ExtensionSDK();\n};\n"],"mappings":"mEAIA,IAAa,EAAb,KAAmD,CACjD,IAAM,GAEN,aAAc,CAAC,CACjB,ECHa,MACJ,IAAI"}
1
+ {"version":3,"file":"extension-sdk.cjs","names":[],"sources":["../src/ExtensionSDK.ts","../src/index.ts"],"sourcesContent":["export interface IExtensionSDK {\n wip: boolean;\n}\n\nexport class ExtensionSDK implements IExtensionSDK {\n wip = true;\n\n constructor() {}\n}\n","import { ExtensionSDK, type IExtensionSDK } from \"./ExtensionSDK\";\n\nexport { ExtensionSDK, type IExtensionSDK } from \"./ExtensionSDK\";\n\nexport const createExtensionSDK = (): IExtensionSDK => {\n return new ExtensionSDK();\n};\n"],"mappings":"mEAIA,IAAa,EAAb,KAAmD,CACjD,IAAM,GAEN,aAAc,CAAC,CACjB,ECJa,MACJ,IAAI"}
@@ -1 +1 @@
1
- {"version":3,"file":"extension-sdk.js","names":[],"sources":["../src/ExtensionSDK.ts","../src/index.ts"],"sourcesContent":["export interface IExtensionSDK {\n wip: boolean;\n}\n\nexport class ExtensionSDK implements IExtensionSDK {\n wip = true;\n\n constructor() {}\n}\n","export { ExtensionSDK, type IExtensionSDK } from \"./ExtensionSDK\";\n\nimport { ExtensionSDK } from \"./ExtensionSDK\";\nimport type { IExtensionSDK } from \"./ExtensionSDK\";\n\nexport const createExtensionSDK = (): IExtensionSDK => {\n return new ExtensionSDK();\n};\n"],"mappings":";AAIA,IAAa,IAAb,MAAmD;CACjD,MAAM;CAEN,cAAc,CAAC;AACjB,GCHa,UACJ,IAAI,EAAa"}
1
+ {"version":3,"file":"extension-sdk.js","names":[],"sources":["../src/ExtensionSDK.ts","../src/index.ts"],"sourcesContent":["export interface IExtensionSDK {\n wip: boolean;\n}\n\nexport class ExtensionSDK implements IExtensionSDK {\n wip = true;\n\n constructor() {}\n}\n","import { ExtensionSDK, type IExtensionSDK } from \"./ExtensionSDK\";\n\nexport { ExtensionSDK, type IExtensionSDK } from \"./ExtensionSDK\";\n\nexport const createExtensionSDK = (): IExtensionSDK => {\n return new ExtensionSDK();\n};\n"],"mappings":";AAIA,IAAa,IAAb,MAAmD;CACjD,MAAM;CAEN,cAAc,CAAC;AACjB,GCJa,UACJ,IAAI,EAAa"}
@@ -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.2",
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 +0,0 @@
1
- export { }
@@ -1 +0,0 @@
1
- export { }