@embeddable.com/sdk-react 0.0.10 → 0.0.12

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,15 +1,13 @@
1
1
 
2
- > @embeddable.com/sdk-react@0.0.10 build
2
+ > @embeddable.com/sdk-react@0.0.12 build
3
3
  > rollup -c
4
4
 
5
- (node:1884) ExperimentalWarning: Import assertions are not a stable feature of the JavaScript language. Avoid relying on their current behavior and syntax as those might change in a future version of Node.js.
5
+ (node:1869) ExperimentalWarning: Import assertions are not a stable feature of the JavaScript language. Avoid relying on their current behavior and syntax as those might change in a future version of Node.js.
6
6
  (Use `node --trace-warnings ...` to show where the warning was created)
7
- (node:1884) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time
7
+ (node:1869) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time
8
8
  
9
9
  ./src/index.ts → lib/index.umd.js...
10
- (!) Plugin typescript: @rollup/plugin-typescript: Rollup 'sourcemap' option must be set to generate source maps.
11
- created lib/index.umd.js in 2.9s
10
+ created lib/index.umd.js in 2.3s
12
11
  
13
12
  ./src/index.ts → lib/index.cjs.js, lib/index.esm.js...
14
- (!) Plugin typescript: @rollup/plugin-typescript: Rollup 'sourcemap' option must be set to generate source maps.
15
- created lib/index.cjs.js, lib/index.esm.js in 1.7s
13
+ created lib/index.cjs.js, lib/index.esm.js in 1.4s
package/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # @embeddable.com/sdk-react
2
2
 
3
+ ## 0.0.12
4
+
5
+ ### Patch Changes
6
+
7
+ - c8791d9: Improve publishing.
8
+ - Updated dependencies [c8791d9]
9
+ - @embeddable.com/sdk-core@0.0.10
10
+
11
+ ## 0.0.11
12
+
13
+ ### Patch Changes
14
+
15
+ - 9d238b4: Fix loadData.
16
+ - Updated dependencies [9d238b4]
17
+ - @embeddable.com/sdk-core@0.0.7
18
+
3
19
  ## 0.0.10
4
20
 
5
21
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@embeddable.com/sdk-react",
3
- "version": "0.0.10",
3
+ "version": "0.0.12",
4
4
  "description": "Embeddable SDK React plugin/module responsible for React components bundling.",
5
5
  "keywords": [
6
6
  "embeddable",
package/scripts/build.js CHANGED
@@ -1,17 +1,20 @@
1
1
  const path = require("path");
2
2
  const { fork } = require('child_process');
3
- const oraP = import('ora');
4
3
 
5
4
  const {createContext} = require("./createContext");
6
5
  const {prepare} = require("./prepare");
7
6
  const {cleanup} = require("./cleanup");
8
7
 
9
- const generateFork = fork(path.resolve(__dirname, 'generate.js'), [], { silent: true });
8
+ const generateFork = fork(
9
+ path.resolve(__dirname, 'generate.js'),
10
+ [],
11
+ process.env.NODE_ENV === 'dev' ? undefined : { silent: true }
12
+ );
10
13
 
11
14
  async function build() {
12
- const ora = (await oraP).default; // TODO: migrate cli to modules/ts and bundle.
15
+ const ora = await import('ora');
13
16
 
14
- const spinnerPrepare = ora("preparing...").start();
17
+ const spinnerPrepare = ora.default("preparing...").start();
15
18
 
16
19
  const ctx = createContext(path.resolve(__dirname, '..'), process.cwd());
17
20
 
@@ -19,7 +22,7 @@ async function build() {
19
22
  await prepare(ctx);
20
23
  spinnerPrepare.succeed("preparation competed");
21
24
 
22
- const spinnerBuild = ora("building...").start();
25
+ const spinnerBuild = ora.default("building...").start();
23
26
 
24
27
  generateFork.send({ ctx });
25
28
 
package/tsconfig.json CHANGED
@@ -5,7 +5,6 @@
5
5
  "target": "es5",
6
6
  "skipLibCheck": true,
7
7
  "jsx": "react",
8
- "sourceMap": true,
9
8
  "declaration": true,
10
9
  "outDir": "lib",
11
10
  "lib": [