@builder.io/sdk-qwik 0.0.32 → 0.0.34
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/package.json +8 -7
- package/types-hacks.d.ts +13 -0
package/package.json
CHANGED
|
@@ -1,18 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@builder.io/sdk-qwik",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.34",
|
|
4
4
|
"description": "Builder.io Qwik SDK",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./lib/index.qwik.cjs",
|
|
7
7
|
"module": "./lib/index.qwik.mjs",
|
|
8
8
|
"qwik": "./lib/index.qwik.mjs",
|
|
9
9
|
"types": "./types/index.d.ts",
|
|
10
|
-
"files": [
|
|
11
|
-
"lib",
|
|
12
|
-
"types",
|
|
13
|
-
"README.md",
|
|
14
|
-
"package.json"
|
|
15
|
-
],
|
|
16
10
|
"exports": {
|
|
17
11
|
".": {
|
|
18
12
|
"import": "./lib/index.qwik.mjs",
|
|
@@ -25,6 +19,13 @@
|
|
|
25
19
|
"release:patch": "yarn run build && npm version patch --no-git-tag-version && npm publish --access public",
|
|
26
20
|
"release:dev": "yarn run build && npm version prerelease --no-git-tag-version && npm publish --tag latest --access public"
|
|
27
21
|
},
|
|
22
|
+
"files": [
|
|
23
|
+
"README.md",
|
|
24
|
+
"package.json",
|
|
25
|
+
"types-hacks.d.ts",
|
|
26
|
+
"types",
|
|
27
|
+
"lib"
|
|
28
|
+
],
|
|
28
29
|
"devDependencies": {
|
|
29
30
|
"@types/node": "latest",
|
|
30
31
|
"typescript": "^4",
|
package/types-hacks.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
type Dictionary<T> = Record<string, T>;
|
|
2
|
+
type BuilderContent = any;
|
|
3
|
+
type BuilderBlock = any;
|
|
4
|
+
type RegisteredComponent = any;
|
|
5
|
+
type RegisteredComponents = any;
|
|
6
|
+
declare const builder: { env: 'dev'; apiKey: string };
|
|
7
|
+
// TODO(misko): HACKS to be removed
|
|
8
|
+
declare const get: (obj: any, key: string) => any;
|
|
9
|
+
declare const set: (obj: any, key: string, value: any) => void;
|
|
10
|
+
interface CSSProperties {
|
|
11
|
+
flexDirection: any;
|
|
12
|
+
}
|
|
13
|
+
declare const BuilderBlocks: (props: any) => any;
|