@camunda/ccma-saas-frontend 0.18.6 → 0.18.7
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 +24 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -16,6 +16,30 @@ pnpm start
|
|
|
16
16
|
pnpm build
|
|
17
17
|
```
|
|
18
18
|
|
|
19
|
+
Turbo builds the workspace dependencies before C4. Outside Turbo, `pnpm build`
|
|
20
|
+
also builds the API and shared-types packages.
|
|
21
|
+
|
|
22
|
+
## Tests
|
|
23
|
+
|
|
24
|
+
Build the workspace dependencies before the first test run:
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
pnpm --filter @camunda/ccma-api... build
|
|
28
|
+
pnpm --filter @camunda/camunda-composite-components build
|
|
29
|
+
pnpm --filter @camunda/ccma-saas-frontend test
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
The full suite uses up to two isolated fork workers, capped at half the available
|
|
33
|
+
CPU capacity. A two-core runner uses one worker. The `node` project runs an explicit
|
|
34
|
+
list of DOM-free tests without browser setup. All other tests use the `dom`
|
|
35
|
+
project with jsdom and the existing browser setup.
|
|
36
|
+
|
|
37
|
+
For worker benchmarks, override the limit with `--maxWorkers=1` or `2`:
|
|
38
|
+
|
|
39
|
+
```bash
|
|
40
|
+
pnpm --filter @camunda/ccma-saas-frontend test --maxWorkers=2
|
|
41
|
+
```
|
|
42
|
+
|
|
19
43
|
## Release
|
|
20
44
|
|
|
21
45
|
Bump version in `package.json` and create a [new release](https://github.com/camunda-cloud/camunda-console-composite-components/releases/new). This will start a github action to publish the package to the github package repository.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camunda/ccma-saas-frontend",
|
|
3
|
-
"version": "0.18.
|
|
3
|
+
"version": "0.18.7",
|
|
4
4
|
"description": "Camunda Composite Components",
|
|
5
5
|
"bugs": {
|
|
6
6
|
"url": "https://github.com/camunda/camunda-cloud-management-apps/issues"
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
},
|
|
107
107
|
"scripts": {
|
|
108
108
|
"clean": "rimraf lib/",
|
|
109
|
-
"build": "pnpm clean && pnpm --filter @camunda/ccma-api build && pnpm --filter @camunda/ccma-shared-types build && tsc --project ./tsconfig.build.json && node copy-static-assets.mjs && node fix-esm-imports.mjs",
|
|
109
|
+
"build": "pnpm clean && if [ -z \"$TURBO_HASH\" ]; then pnpm --filter @camunda/ccma-api build && pnpm --filter @camunda/ccma-shared-types build; fi && tsc --project ./tsconfig.build.json && node copy-static-assets.mjs && node fix-esm-imports.mjs",
|
|
110
110
|
"start": "storybook dev -p 6006",
|
|
111
111
|
"test": "vitest run --config ./testing-library.config.ts",
|
|
112
112
|
"test:ts": "tsc --noEmit --project ./tsconfig.json",
|