create-appsemble 0.20.18 → 0.20.20
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/README.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
#  Appsemble Create
|
|
2
2
|
|
|
3
3
|
> Bootstrap an Appsemble block
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/create-appsemble)
|
|
6
|
-
[](https://gitlab.com/appsemble/appsemble/-/releases/0.20.20)
|
|
7
|
+
[](https://codecov.io/gl/appsemble/appsemble)
|
|
8
8
|
[](https://prettier.io)
|
|
9
9
|
|
|
10
10
|
## Usage
|
|
@@ -31,5 +31,5 @@ npm init appsemble block
|
|
|
31
31
|
|
|
32
32
|
## License
|
|
33
33
|
|
|
34
|
-
[LGPL-3.0-only](https://gitlab.com/appsemble/appsemble/-/blob/0.20.
|
|
34
|
+
[LGPL-3.0-only](https://gitlab.com/appsemble/appsemble/-/blob/0.20.20/LICENSE.md) ©
|
|
35
35
|
[Appsemble](https://appsemble.com)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-appsemble",
|
|
3
|
-
"version": "0.20.
|
|
3
|
+
"version": "0.20.20",
|
|
4
4
|
"description": "Bootstrap an Appsemble project",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"app",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"test": "NODE_OPTIONS=--experimental-vm-modules jest"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@appsemble/node-utils": "0.20.
|
|
36
|
+
"@appsemble/node-utils": "0.20.20",
|
|
37
37
|
"inquirer": "^9.0.0",
|
|
38
38
|
"type-fest": "^2.0.0",
|
|
39
39
|
"yargs": "^17.0.0"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// `src/index.tsx` is the initial entry
|
|
1
|
+
// `src/index.tsx` is the initial entry point of the block source code run. For small blocks this
|
|
2
2
|
// often contains the entire logic of the block. Bigger blocks are often split into smaller modules.
|
|
3
3
|
import { bootstrap } from '@appsemble/sdk';
|
|
4
4
|
|
|
@@ -8,7 +8,7 @@ import styles from './index.module.css';
|
|
|
8
8
|
// editor’s autocomplete to see which variables are available.
|
|
9
9
|
bootstrap(({ events, parameters: { fields }, utils: { fa, formatMessage, remap } }) => {
|
|
10
10
|
/**
|
|
11
|
-
* The wrapper element is used to assign data to when it has loaded
|
|
11
|
+
* The wrapper element is used to assign data to when it has loaded asynchronously.
|
|
12
12
|
*/
|
|
13
13
|
const wrapper = (
|
|
14
14
|
// In this template the JSX is handled by mini-jsx (https://gitlab.com/appsemble/mini-jsx).
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// `src/index.tsx` is the initial entry
|
|
1
|
+
// `src/index.tsx` is the initial entry point of the block source code run. For small blocks this
|
|
2
2
|
// often contains the entire logic of the block. Bigger blocks are often split into smaller modules.
|
|
3
3
|
|
|
4
4
|
// Normally bootstrap is imported from @appsemble/sdk. When using preact, it must be imported from
|