@makeswift/runtime 0.2.0 → 0.2.2

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/next.cjs.js CHANGED
@@ -218,7 +218,7 @@ class Document extends NextDocument__default["default"] {
218
218
  });
219
219
  }
220
220
  }
221
- const version = "0.2.0";
221
+ const version = "0.2.2";
222
222
  function MakeswiftApiHandler(apiKey, { appOrigin = "https://app.makeswift.com" } = {}) {
223
223
  const cors = Cors__default["default"]({ origin: appOrigin });
224
224
  const previewModeProxy = httpProxy.createProxyServer();
package/dist/next.es.js CHANGED
@@ -211,7 +211,7 @@ class Document extends NextDocument {
211
211
  });
212
212
  }
213
213
  }
214
- const version = "0.2.0";
214
+ const version = "0.2.2";
215
215
  function MakeswiftApiHandler(apiKey, { appOrigin = "https://app.makeswift.com" } = {}) {
216
216
  const cors = Cors({ origin: appOrigin });
217
217
  const previewModeProxy = createProxyServer();
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@makeswift/runtime",
3
- "version": "0.2.0",
3
+ "version": "0.2.2",
4
4
  "license": "MIT",
5
5
  "main": "dist/main.cjs",
6
6
  "module": "dist/main.es",
7
- "types": "dist/types",
7
+ "types": "dist/types/src",
8
8
  "files": [
9
9
  "dist",
10
10
  "prop-controllers.js",
@@ -59,34 +59,35 @@
59
59
  "typesVersions": {
60
60
  "*": {
61
61
  "prop-controllers": [
62
- "dist/types/prop-controllers/index.d.ts"
62
+ "dist/types/src/prop-controllers/index.d.ts"
63
63
  ],
64
64
  "react": [
65
- "dist/types/react.d.ts"
65
+ "dist/types/src/react.d.ts"
66
66
  ],
67
67
  "box-model": [
68
- "dist/types/box-model.d.ts"
68
+ "dist/types/src/box-model.d.ts"
69
69
  ],
70
70
  "components": [
71
- "dist/types/components/index.d.ts"
71
+ "dist/types/src/components/index.d.ts"
72
72
  ],
73
73
  "api": [
74
- "dist/types/api/index.d.ts"
74
+ "dist/types/src/api/index.d.ts"
75
75
  ],
76
76
  "next": [
77
77
  "dist/types/src/next/index.d.ts"
78
78
  ],
79
79
  "builder": [
80
- "dist/types/builder/index.d.ts"
80
+ "dist/types/src/builder/index.d.ts"
81
81
  ],
82
82
  "controls": [
83
- "dist/types/controls/index.d.ts"
83
+ "dist/types/src/controls/index.d.ts"
84
84
  ]
85
85
  }
86
86
  },
87
87
  "scripts": {
88
88
  "dev": "concurrently -k 'tsc --watch --preserveWatchOutput' 'vite build --watch'",
89
- "build": "tsc && vite build",
89
+ "clean": "rm -rf dist",
90
+ "build": "yarn clean && tsc && vite build",
90
91
  "preview": "vite preview",
91
92
  "prepare": "yarn build",
92
93
  "generate": "graphql-codegen --config codegen.yml",
@@ -102,7 +103,7 @@
102
103
  "@convertkit/slate-lists": "^0.2.4",
103
104
  "@emotion/css": "^11.9.0",
104
105
  "@emotion/server": "^11.4.0",
105
- "@makeswift/next-plugin": "0.1.2",
106
+ "@makeswift/next-plugin": "0.1.3",
106
107
  "@popmotion/popcorn": "^0.4.4",
107
108
  "@types/cookie": "^0.5.1",
108
109
  "@types/http-proxy": "^1.17.9",