@boltic/swirl 1.0.0 → 1.0.2-sit.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 +34 -0
- package/dist/index.d.ts +3 -2
- package/dist/swirl.es.js +20882 -20776
- package/dist/swirl.umd.js +191 -191
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -385,6 +385,40 @@ Swirl is perfect for building:
|
|
|
385
385
|
|
|
386
386
|
## 📤 Publishing (maintainers)
|
|
387
387
|
|
|
388
|
+
### Branches & release strategy
|
|
389
|
+
|
|
390
|
+
- **`fcz0`** — SIT (System Integration Testing) releases. Publish from this branch for SIT versions.
|
|
391
|
+
- **`fcz5`** — UAT (User Acceptance Testing) releases. Publish from this branch for UAT versions.
|
|
392
|
+
- **`master`** (or main) — Production releases. Publish from this branch for stable `latest` on npm.
|
|
393
|
+
|
|
394
|
+
**Publish SIT from `fcz0`** (version does not become `latest`):
|
|
395
|
+
|
|
396
|
+
```bash
|
|
397
|
+
git checkout fcz0
|
|
398
|
+
npm run build
|
|
399
|
+
npm version prerelease --preid=sit # e.g. 1.0.2-sit.0
|
|
400
|
+
npm publish --access public --tag sit
|
|
401
|
+
```
|
|
402
|
+
|
|
403
|
+
Consumers install SIT: `npm install @boltic/swirl@sit`
|
|
404
|
+
|
|
405
|
+
**Publish UAT from `fcz5`** (version does not become `latest`):
|
|
406
|
+
|
|
407
|
+
```bash
|
|
408
|
+
git checkout fcz5
|
|
409
|
+
npm run build
|
|
410
|
+
npm version prerelease --preid=uat # e.g. 1.0.2-uat.0
|
|
411
|
+
npm publish --access public --tag uat
|
|
412
|
+
```
|
|
413
|
+
|
|
414
|
+
Consumers install UAT: `npm install @boltic/swirl@uat`
|
|
415
|
+
|
|
416
|
+
**Publish production** (from `master`):
|
|
417
|
+
|
|
418
|
+
```bash
|
|
419
|
+
npm publish --access public
|
|
420
|
+
```
|
|
421
|
+
|
|
388
422
|
- **Build before publish**: `prepublishOnly` runs `npm run build` automatically when you run `npm publish`.
|
|
389
423
|
- **Package name**: If the name `swirl` is taken on npm, use a scoped name (e.g. `@boltic/swirl`) and set it in `package.json`.
|
|
390
424
|
- **Private dependencies**: This package depends on `@fynd/intelligence` and `ripple` from Azure DevOps. For **public npm**, installs will fail for users without access to those repos. Options: publish to a **private registry** (e.g. Azure Artifacts) where those deps resolve, or move those deps to `optionalDependencies` and document fallbacks for public npm.
|
package/dist/index.d.ts
CHANGED
|
@@ -9,7 +9,6 @@ export interface WorkflowBuilderProps {
|
|
|
9
9
|
ENTITY_ID: string;
|
|
10
10
|
TOKEN: string;
|
|
11
11
|
openIntegrationDrawer?: (data: any, action?: string) => void;
|
|
12
|
-
[key: string]: any; // Allow additional props
|
|
13
12
|
}
|
|
14
13
|
|
|
15
14
|
export interface ExecutionDataProps {
|
|
@@ -18,9 +17,11 @@ export interface ExecutionDataProps {
|
|
|
18
17
|
TOKEN: string;
|
|
19
18
|
api?: any;
|
|
20
19
|
navigate?: any;
|
|
21
|
-
[key: string]: any;
|
|
22
20
|
openUpgradeModal: () => void;
|
|
23
21
|
currentSubscription: any;
|
|
22
|
+
analytics: any;
|
|
23
|
+
isAccountLevel: boolean;
|
|
24
|
+
USER_DATA: any;
|
|
24
25
|
}
|
|
25
26
|
|
|
26
27
|
export interface IntegrationFormProps {
|