@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.
- package/dist/extension-sdk.cjs.map +1 -1
- package/dist/extension-sdk.js.map +1 -1
- package/dist/index.d.cts +12 -0
- package/dist/index.d.ts +12 -0
- package/package.json +6 -5
- package/dist/extension-sdk.d.cts +0 -1
- package/dist/extension-sdk.d.ts +0 -1
|
@@ -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","
|
|
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","
|
|
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"}
|
package/dist/index.d.cts
ADDED
package/dist/index.d.ts
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kadanza/extension-sdk",
|
|
3
|
-
"version": "0.0.
|
|
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/
|
|
25
|
+
"types": "./dist/index.d.ts",
|
|
26
26
|
"default": "./dist/extension-sdk.js"
|
|
27
27
|
},
|
|
28
28
|
"require": {
|
|
29
|
-
"types": "./dist/
|
|
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/
|
|
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
|
-
"
|
|
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",
|
package/dist/extension-sdk.d.cts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { }
|
package/dist/extension-sdk.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { }
|