create-blocklet 0.7.0 → 0.7.1

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.
Files changed (33) hide show
  1. package/package.json +1 -1
  2. package/templates/react-dapp/api/dev.js +3 -2
  3. package/templates/react-dapp/package.json +1 -1
  4. package/templates/react-dapp-ts/api/dev.ts +3 -4
  5. package/templates/react-dapp-ts/package.json +1 -1
  6. package/templates/react-dapp-ts/tsconfig.json +5 -2
  7. package/templates/react-gun-dapp/api/dev.js +3 -2
  8. package/templates/react-gun-dapp/package.json +1 -1
  9. package/templates/react-static/package.json +1 -1
  10. package/templates/solidjs-dapp/api/dev.js +3 -2
  11. package/templates/solidjs-dapp/package.json +1 -1
  12. package/templates/solidjs-static/package.json +1 -1
  13. package/templates/svelte-dapp/api/dev.js +3 -2
  14. package/templates/svelte-dapp/package.json +1 -1
  15. package/templates/svelte-static/package.json +1 -1
  16. package/templates/vue-dapp/api/dev.js +3 -2
  17. package/templates/vue-dapp/package.json +1 -1
  18. package/templates/vue-static/package.json +1 -1
  19. package/templates/vue2-dapp/api/dev.js +3 -2
  20. package/templates/vue2-dapp/package.json +1 -1
  21. package/templates/vue2-static/package.json +1 -1
  22. /package/templates/react-dapp/{vite.config.js → vite.config.mjs} +0 -0
  23. /package/templates/react-dapp-ts/{vite.config.ts → vite.config.mts} +0 -0
  24. /package/templates/react-gun-dapp/{vite.config.js → vite.config.mjs} +0 -0
  25. /package/templates/react-static/{vite.config.js → vite.config.mjs} +0 -0
  26. /package/templates/solidjs-dapp/{vite.config.js → vite.config.mjs} +0 -0
  27. /package/templates/solidjs-static/{vite.config.js → vite.config.mjs} +0 -0
  28. /package/templates/svelte-dapp/{vite.config.js → vite.config.mjs} +0 -0
  29. /package/templates/svelte-static/{vite.config.js → vite.config.mjs} +0 -0
  30. /package/templates/vue-dapp/{vite.config.js → vite.config.mjs} +0 -0
  31. /package/templates/vue-static/{vite.config.js → vite.config.mjs} +0 -0
  32. /package/templates/vue2-dapp/{vite.config.js → vite.config.mjs} +0 -0
  33. /package/templates/vue2-static/{vite.config.js → vite.config.mjs} +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-blocklet",
3
- "version": "0.7.0",
3
+ "version": "0.7.1",
4
4
  "exports": "./index.js",
5
5
  "type": "module",
6
6
  "repository": "git@github.com:blocklet/create-blocklet.git",
@@ -1,4 +1,5 @@
1
- const { setupClient } = require('vite-plugin-blocklet');
2
1
  const { app } = require('./index');
3
2
 
4
- setupClient(app);
3
+ import('vite-plugin-blocklet').then(({ setupClient }) => {
4
+ setupClient(app);
5
+ });
@@ -69,7 +69,7 @@
69
69
  "npm-run-all": "^4.1.5",
70
70
  "prettier": "^3.1.1",
71
71
  "vite": "^5.0.10",
72
- "vite-plugin-blocklet": "^0.7.0",
72
+ "vite-plugin-blocklet": "^0.7.1",
73
73
  "vite-plugin-svgr": "^4.2.0",
74
74
  "zx": "^7.2.3"
75
75
  }
@@ -1,6 +1,5 @@
1
- // eslint-disable-next-line import/no-extraneous-dependencies
2
- import { setupClient } from 'vite-plugin-blocklet';
3
-
4
1
  import { app } from './src';
5
2
 
6
- setupClient(app);
3
+ import('vite-plugin-blocklet').then(({ setupClient }) => {
4
+ setupClient(app);
5
+ });
@@ -79,7 +79,7 @@
79
79
  "ts-node": "^10.9.2",
80
80
  "typescript": "^5.3.3",
81
81
  "vite": "^5.0.10",
82
- "vite-plugin-blocklet": "^0.7.0",
82
+ "vite-plugin-blocklet": "^0.7.1",
83
83
  "vite-plugin-svgr": "^4.2.0",
84
84
  "zx": "^7.2.3"
85
85
  },
@@ -1,6 +1,9 @@
1
1
  {
2
2
  "ts-node": {
3
- "files": true
3
+ "files": true,
4
+ "compilerOptions": {
5
+ "module": "Node16"
6
+ }
4
7
  },
5
8
  "compilerOptions": {
6
9
  /* Visit https://aka.ms/tsconfig to read more about this file */
@@ -51,7 +54,7 @@
51
54
  // "removeComments": true, /* Disable emitting comments. */
52
55
  "noEmit": true /* Disable emitting files from a compilation. */,
53
56
  // "importHelpers": true, /* Allow importing helper functions from tslib once per project, instead of including them per-file. */
54
- "importsNotUsedAsValues": "error",
57
+ "ignoreDeprecations": "5.0",
55
58
  // "importsNotUsedAsValues": "remove", /* Specify emit/checking behavior for imports that are only used for types. */
56
59
  // "downlevelIteration": true, /* Emit more compliant, but verbose and less performant JavaScript for iteration. */
57
60
  // "sourceRoot": "", /* Specify the root path for debuggers to find the reference source code. */
@@ -1,4 +1,5 @@
1
- const { setupClient } = require('vite-plugin-blocklet');
2
1
  const { app } = require('./index');
3
2
 
4
- setupClient(app);
3
+ import('vite-plugin-blocklet').then(({ setupClient }) => {
4
+ setupClient(app);
5
+ });
@@ -70,7 +70,7 @@
70
70
  "prettier": "^3.1.1",
71
71
  "rimraf": "^3.0.2",
72
72
  "vite": "^5.0.10",
73
- "vite-plugin-blocklet": "^0.7.0",
73
+ "vite-plugin-blocklet": "^0.7.1",
74
74
  "vite-plugin-svgr": "^4.2.0",
75
75
  "zx": "^7.2.3"
76
76
  }
@@ -53,7 +53,7 @@
53
53
  "prettier": "^3.1.1",
54
54
  "rimraf": "^3.0.2",
55
55
  "vite": "^5.0.10",
56
- "vite-plugin-blocklet": "^0.7.0",
56
+ "vite-plugin-blocklet": "^0.7.1",
57
57
  "vite-plugin-svgr": "^4.2.0",
58
58
  "zx": "^7.2.3"
59
59
  }
@@ -1,4 +1,5 @@
1
- const { setupClient } = require('vite-plugin-blocklet');
2
1
  const { app } = require('./index');
3
2
 
4
- setupClient(app);
3
+ import('vite-plugin-blocklet').then(({ setupClient }) => {
4
+ setupClient(app);
5
+ });
@@ -33,7 +33,7 @@
33
33
  "prettier": "^3.1.1",
34
34
  "rimraf": "^3.0.2",
35
35
  "vite": "^5.0.10",
36
- "vite-plugin-blocklet": "^0.7.0",
36
+ "vite-plugin-blocklet": "^0.7.1",
37
37
  "vite-plugin-solid": "^2.8.0",
38
38
  "zx": "^7.2.3"
39
39
  },
@@ -29,7 +29,7 @@
29
29
  "prettier": "^3.1.1",
30
30
  "rimraf": "^3.0.2",
31
31
  "vite": "^5.0.10",
32
- "vite-plugin-blocklet": "^0.7.0",
32
+ "vite-plugin-blocklet": "^0.7.1",
33
33
  "vite-plugin-solid": "^2.8.0",
34
34
  "zx": "^7.2.3"
35
35
  },
@@ -1,4 +1,5 @@
1
- const { setupClient } = require('vite-plugin-blocklet');
2
1
  const { app } = require('./index');
3
2
 
4
- setupClient(app);
3
+ import('vite-plugin-blocklet').then(({ setupClient }) => {
4
+ setupClient(app);
5
+ });
@@ -45,7 +45,7 @@
45
45
  "rimraf": "^3.0.2",
46
46
  "svelte": "^4.2.8",
47
47
  "vite": "^5.0.10",
48
- "vite-plugin-blocklet": "^0.7.0",
48
+ "vite-plugin-blocklet": "^0.7.1",
49
49
  "zx": "^7.2.3"
50
50
  },
51
51
  "lint-staged": {
@@ -30,7 +30,7 @@
30
30
  "rimraf": "^3.0.2",
31
31
  "svelte": "^4.2.8",
32
32
  "vite": "^5.0.10",
33
- "vite-plugin-blocklet": "^0.7.0",
33
+ "vite-plugin-blocklet": "^0.7.1",
34
34
  "zx": "^7.2.3"
35
35
  },
36
36
  "lint-staged": {
@@ -1,4 +1,5 @@
1
- const { setupClient } = require('vite-plugin-blocklet');
2
1
  const { app } = require('./index');
3
2
 
4
- setupClient(app);
3
+ import('vite-plugin-blocklet').then(({ setupClient }) => {
4
+ setupClient(app);
5
+ });
@@ -47,7 +47,7 @@
47
47
  "prettier": "^3.1.1",
48
48
  "rimraf": "^3.0.2",
49
49
  "vite": "^5.0.10",
50
- "vite-plugin-blocklet": "^0.7.0",
50
+ "vite-plugin-blocklet": "^0.7.1",
51
51
  "zx": "^7.2.3"
52
52
  },
53
53
  "lint-staged": {
@@ -31,7 +31,7 @@
31
31
  "prettier": "^3.1.1",
32
32
  "rimraf": "^3.0.2",
33
33
  "vite": "^5.0.10",
34
- "vite-plugin-blocklet": "^0.7.0",
34
+ "vite-plugin-blocklet": "^0.7.1",
35
35
  "zx": "^7.2.3"
36
36
  },
37
37
  "lint-staged": {
@@ -1,4 +1,5 @@
1
- const { setupClient } = require('vite-plugin-blocklet');
2
1
  const { app } = require('./index');
3
2
 
4
- setupClient(app);
3
+ import('vite-plugin-blocklet').then(({ setupClient }) => {
4
+ setupClient(app);
5
+ });
@@ -47,7 +47,7 @@
47
47
  "prettier": "^3.1.1",
48
48
  "rimraf": "^3.0.2",
49
49
  "vite": "^5.0.10",
50
- "vite-plugin-blocklet": "^0.7.0",
50
+ "vite-plugin-blocklet": "^0.7.1",
51
51
  "zx": "^7.2.3"
52
52
  },
53
53
  "lint-staged": {
@@ -31,7 +31,7 @@
31
31
  "prettier": "^3.1.1",
32
32
  "rimraf": "^3.0.2",
33
33
  "vite": "^5.0.10",
34
- "vite-plugin-blocklet": "^0.7.0",
34
+ "vite-plugin-blocklet": "^0.7.1",
35
35
  "zx": "^7.2.3"
36
36
  },
37
37
  "lint-staged": {