@nebula.js/sn-tabbed-container 2.13.0 → 2.16.0
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 +16 -0
- package/api-specification/sn-tabbed-container.json +4536 -0
- package/api-specification/spec.json +1 -1
- package/core/esm/index.js +8 -8
- package/dist/sn-tabbed-container.js +7 -7
- package/dist/sn-tabbed-container.systemjs.js +8 -8
- package/package.json +17 -9
- package/sn-tabbed-container-ext/dist/sn-tabbed-container.js +7 -7
- package/sn-tabbed-container-ext/sn-tabbed-container.qext +1 -1
package/README.md
CHANGED
|
@@ -6,6 +6,22 @@ The tabbed container is a [nebula](https://qlik.dev/extend/set-up-nebula-environ
|
|
|
6
6
|
|
|
7
7
|
Information about developing and contributing can be found in our [contribution guide](../../.github/CONTRIBUTION.md).
|
|
8
8
|
|
|
9
|
+
## Building
|
|
10
|
+
|
|
11
|
+
Run the following commands from this package directory.
|
|
12
|
+
|
|
13
|
+
Run `pnpm generate` to generate the TypeSpec JSON Schema at `tsp-output/@typespec/json-schema/sn-tabbed-container.json`. The `prepare` lifecycle script also runs `pnpm generate` during installation.
|
|
14
|
+
|
|
15
|
+
For a production build, run:
|
|
16
|
+
|
|
17
|
+
```sh
|
|
18
|
+
pnpm build
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
This runs `tools/copy-json-schema.js` before `nebula build`, copying the generated schema to `api-specification/sn-tabbed-container.json`. If the generated schema is missing, the copy script uses the existing schema in `api-specification`; it fails if neither file exists.
|
|
22
|
+
|
|
23
|
+
For a development build, run `pnpm build:dev`. This command does not copy the JSON Schema.
|
|
24
|
+
|
|
9
25
|
## Usage
|
|
10
26
|
|
|
11
27
|
```js
|