@builder.io/react 2.0.8-1 → 2.0.8-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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@builder.io/react",
3
- "version": "2.0.8-0",
3
+ "version": "2.0.8-1",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "main": "dist/builder-react.cjs.js",
@@ -26,7 +26,8 @@
26
26
  "docs": "typedoc",
27
27
  "lint": "tslint -t codeFrame '../**/*.ts' 'test/**/*.ts'",
28
28
  "prebuild": "rimraf dist",
29
- "build": "NODE_ENV=production tsc --module commonjs && rollup -c rollup.config.ts",
29
+ "clean": "rimraf dist",
30
+ "build": "NODE_ENV=production npm run clean && tsc --module commonjs && rollup -c rollup.config.ts",
30
31
  "build:docs": "typedoc --out docs --target es6 --theme minimal --mode file src",
31
32
  "start": "rollup -c rollup.config.ts -w",
32
33
  "test": "jest",
@@ -2,6 +2,7 @@
2
2
  var _a;
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  var package_json_1 = require("../../package.json");
5
+ console.log('huh??');
5
6
  if (typeof window !== 'undefined') {
6
7
  (_a = window.parent) === null || _a === void 0 ? void 0 : _a.postMessage({
7
8
  type: 'builder.isReactSdk',
@@ -1 +1 @@
1
- {"version":3,"file":"init-editing.js","sourceRoot":"","sources":["../../../../src/scripts/init-editing.ts"],"names":[],"mappings":";;;AAAA,mDAA6C;AAE7C,IAAI,OAAO,MAAM,KAAK,WAAW,EAAE;IACjC,MAAA,MAAM,CAAC,MAAM,0CAAE,WAAW,CACxB;QACE,IAAI,EAAE,oBAAoB;QAC1B,IAAI,EAAE;YACJ,KAAK,EAAE,IAAI;YACX,oBAAoB,EAAE,IAAI;YAC1B,yBAAyB,EAAE,IAAI;YAC/B,YAAY,EAAE,sBAAO;SACtB;KACF,EACD,GAAG,CACJ,CAAC;CACH"}
1
+ {"version":3,"file":"init-editing.js","sourceRoot":"","sources":["../../../../src/scripts/init-editing.ts"],"names":[],"mappings":";;;AAAA,mDAA6C;AAE7C,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,CAAA;AAEpB,IAAI,OAAO,MAAM,KAAK,WAAW,EAAE;IACjC,MAAA,MAAM,CAAC,MAAM,0CAAE,WAAW,CACxB;QACE,IAAI,EAAE,oBAAoB;QAC1B,IAAI,EAAE;YACJ,KAAK,EAAE,IAAI;YACX,oBAAoB,EAAE,IAAI;YAC1B,yBAAyB,EAAE,IAAI;YAC/B,YAAY,EAAE,sBAAO;SACtB;KACF,EACD,GAAG,CACJ,CAAC;CACH"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@builder.io/react",
3
- "version": "2.0.8-1",
3
+ "version": "2.0.8-2",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "main": "dist/builder-react.cjs.js",
@@ -26,7 +26,8 @@
26
26
  "docs": "typedoc",
27
27
  "lint": "tslint -t codeFrame '../**/*.ts' 'test/**/*.ts'",
28
28
  "prebuild": "rimraf dist",
29
- "build": "NODE_ENV=production tsc --module commonjs && rollup -c rollup.config.ts",
29
+ "clean": "rimraf dist",
30
+ "build": "NODE_ENV=production npm run clean && tsc --module commonjs && rollup -c rollup.config.ts",
30
31
  "build:docs": "typedoc --out docs --target es6 --theme minimal --mode file src",
31
32
  "start": "rollup -c rollup.config.ts -w",
32
33
  "test": "jest",
@@ -1,5 +1,7 @@
1
1
  import { version } from '../../package.json';
2
2
 
3
+ console.log('huh??')
4
+
3
5
  if (typeof window !== 'undefined') {
4
6
  window.parent?.postMessage(
5
7
  {