@coopenomics/notifications 2026.8.8-2 → 2026.8.8-6
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/build.config.ts +16 -0
- package/dist/index.cjs +1156 -199
- package/dist/index.d.cts +1259 -345
- package/dist/index.d.mts +1259 -345
- package/dist/index.d.ts +1259 -345
- package/dist/index.mjs +1156 -199
- package/package.json +2 -2
- package/src/workflows/branch-meeting-reminder/index.ts +47 -0
- package/src/workflows/branch-trusted-requested/index.ts +46 -0
- package/src/workflows/branch-trusted-resolved/index.ts +47 -0
- package/src/workflows/branch-voting-started/index.ts +47 -0
- package/src/workflows/index.ts +75 -0
- package/src/workflows/marketplace-aid-council-decided/index.ts +49 -0
- package/src/workflows/marketplace-aid-payout-confirmed/index.ts +47 -0
- package/src/workflows/marketplace-apl-reception-cancelled-by-supplier/index.ts +45 -0
- package/src/workflows/marketplace-apl-supplier-sign-request/index.ts +49 -0
- package/src/workflows/marketplace-cashier-new-payment/index.ts +49 -0
- package/src/workflows/marketplace-new-order-for-supplier/index.ts +46 -0
- package/src/workflows/marketplace-new-supplier-request/index.ts +47 -0
- package/src/workflows/marketplace-order-declined-by-supplier/index.ts +49 -0
- package/src/workflows/marketplace-order-ready/index.ts +47 -0
- package/src/workflows/marketplace-return-accepted-supplier/index.ts +51 -0
- package/src/workflows/marketplace-return-claim-decided/index.ts +50 -0
- package/src/workflows/marketplace-return-claim-finalized/index.ts +57 -0
- package/src/workflows/marketplace-return-claim-submitted/index.ts +50 -0
- package/src/workflows/marketplace-supplier-approved/index.ts +46 -0
- package/src/workflows/marketplace-supplier-payment-confirmed/index.ts +49 -0
- package/src/workflows/marketplace-supplier-payment-declined/index.ts +49 -0
- package/src/workflows/marketplace-writeoff-authorized/index.ts +47 -0
- package/src/workflows/marketplace-writeoff-draft-built/index.ts +50 -0
- package/src/workflows/marketplace-writeoff-executed/index.ts +47 -0
- package/src/workflows/marketplace-writeoff-proposed/index.ts +49 -0
- package/src/workflows/marketplace-writeoff-rejected/index.ts +46 -0
package/build.config.ts
CHANGED
|
@@ -8,4 +8,20 @@ export default defineBuildConfig({
|
|
|
8
8
|
rollup: {
|
|
9
9
|
emitCJS: true,
|
|
10
10
|
},
|
|
11
|
+
hooks: {
|
|
12
|
+
'rollup:options'(_ctx, options) {
|
|
13
|
+
const prev = options.external
|
|
14
|
+
// chokidar тянет fsevents (.node) — Rollup не может их бандлить.
|
|
15
|
+
// devDep остаётся runtime-зависимостью только для sync --dev.
|
|
16
|
+
options.external = (id: string, importer?: string, isResolved?: boolean) => {
|
|
17
|
+
if (id === 'chokidar' || id === 'fsevents')
|
|
18
|
+
return true
|
|
19
|
+
if (typeof prev === 'function')
|
|
20
|
+
return (prev as (id: string, importer?: string, isResolved?: boolean) => boolean | undefined)(id, importer, isResolved)
|
|
21
|
+
if (Array.isArray(prev))
|
|
22
|
+
return prev.includes(id)
|
|
23
|
+
return undefined
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
},
|
|
11
27
|
})
|