Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
210 lines (210 loc) · 13.9 KB
/
Copy pathpackage.json
File metadata and controls
210 lines (210 loc) · 13.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
{
"name": "awcms",
"version": "10.5.0",
"private": true,
"description": "AWCMS \u2014 basis/fondasi modular monolith untuk pengembangan ERP & solusi bisnis (Bun + Astro + PostgreSQL)",
"license": "MIT",
"author": "AhliWeb",
"homepage": "https://github.com/ahliweb/awcms#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/ahliweb/awcms.git"
},
"bugs": {
"url": "https://github.com/ahliweb/awcms/issues"
},
"keywords": [
"erp",
"modular-monolith",
"bun",
"astro",
"postgresql",
"multi-tenant",
"rbac",
"abac",
"rls",
"offline-first",
"business-integration"
],
"type": "module",
"packageManager": "bun@1.4.2",
"engines": {
"bun": ">=1.3.0"
},
"scripts": {
"dev": "bun --bun astro dev",
"build": "bun run build:clean && bun --bun astro build && bun run build:server-entry && bun run build:asset-budget:check && bun run build:inline-scripts:check",
"build:clean": "rm -rf dist",
"build:inline-scripts:check": "bun scripts/build-inline-script-check.ts",
"build:server-entry": "bun build src/lib/server/standalone-entry.ts --target=bun --outfile=dist/standalone-entry.mjs",
"build:asset-budget:check": "bun scripts/client-asset-budget.ts",
"build:preview-overlay": "bun scripts/build-preview-overlay.ts",
"build:preview-overlay:check": "bun scripts/build-preview-overlay.ts --check",
"preview": "bun --bun astro preview",
"start": "bun ./dist/standalone-entry.mjs",
"db:migrate": "bun scripts/db-migrate.ts",
"domain-events:deliveries:purge": "bun scripts/domain-event-deliveries-purge.ts",
"domain-events:dispatch": "bun scripts/domain-events-dispatch.ts",
"sync:objects:purge": "bun scripts/object-queue-purge.ts",
"sync:objects:dispatch": "bun scripts/object-sync-dispatch.ts",
"workflow:escalations:dispatch": "bun scripts/workflow-escalations-dispatch.ts",
"push:dispatch": "bun scripts/push-dispatch.ts",
"push:queue:purge": "bun scripts/push-queue-purge.ts",
"push:vapid:generate": "bun scripts/push-vapid-generate.ts",
"identity-access:business-scope:expiry": "bun scripts/identity-access-business-scope-expiry.ts",
"identity-access:delegated-access:expiry": "bun scripts/identity-access-delegated-access-expiry.ts",
"identity-access:subscription-lifecycle": "bun scripts/identity-access-subscription-lifecycle.ts",
"identity:principals:preflight": "bun scripts/identity-access-principal-preflight.ts",
"identity:mfa-collisions:preflight": "bun scripts/identity-mfa-collisions-preflight.ts",
"identity-access:permissions:backfill": "bun scripts/identity-access-owner-permission-backfill.ts",
"entitlements:backfill": "bun scripts/identity-access-entitlement-backfill.ts",
"blog:publish:scheduled": "bun scripts/blog-scheduled-publish.ts",
"blog:portable-text:backfill": "bun scripts/blog-portable-text-backfill.ts",
"blog:legacy:import": "bun scripts/blog-legacy-import.ts",
"blog:legacy:redirects:import": "bun scripts/blog-legacy-redirects-import.ts",
"blog:legacy:cutover:verify": "bun scripts/blog-legacy-cutover-verify.ts",
"blog:legacy:rubrik-redirects": "bun scripts/blog-legacy-rubrik-redirects.ts",
"blog:legacy:article-paths": "bun scripts/blog-legacy-article-paths.ts",
"blog:legacy:edge:verify": "bun scripts/blog-legacy-edge-verify.ts",
"blog:ads:ingest": "bun scripts/blog-ads-ingest.ts",
"blog:ads:drop-readiness": "bun scripts/blog-ads-drop-readiness.ts",
"news-media:reconcile": "bun scripts/news-media-r2-reconcile.ts",
"logs:audit:purge": "bun scripts/audit-log-purge.ts",
"data-lifecycle:archive-purge": "bun scripts/data-lifecycle-archive-purge.ts",
"form-drafts:purge": "bun scripts/form-draft-purge.ts",
"site-search:reconcile": "bun scripts/site-search-reconcile.ts",
"idn-regions:import": "bun scripts/idn-regions-import.ts",
"idn-regions:activate": "bun scripts/idn-regions-activate.ts",
"idn-regions:rollback": "bun scripts/idn-regions-rollback.ts",
"site-search:sources:check": "bun scripts/site-search-sources-check.ts",
"comments:resources:check": "bun scripts/comments-resources-check.ts",
"comments:retention": "bun scripts/comments-retention.ts",
"tenant-domain:dns:sync": "bun scripts/tenant-domain-dns-sync.ts",
"edge-cache:surfaces:check": "bun scripts/edge-cache-surfaces-check.ts",
"skills:check": "bun scripts/skills-check.ts",
"graph:artifacts:check": "bun scripts/graph-artifacts-check.ts",
"knowledge:graph:update": "graphify update .",
"knowledge:graph:check": "bun run graph:artifacts:check",
"knowledge:obsidian:pull": "graphify export obsidian --dir graphify-out/obsidian-staging",
"knowledge:obsidian:export": "bun scripts/knowledge-obsidian-sync.ts",
"knowledge:check": "bun run graph:artifacts:check && bun scripts/knowledge-obsidian-sync.ts --check",
"i18n:compile": "bun scripts/i18n-compile.ts",
"i18n:catalog:check": "bun scripts/i18n-catalog-check.ts",
"i18n:screens:check": "bun scripts/i18n-screen-coverage-check.ts",
"design:token-contrast:check": "bun scripts/design-token-contrast-check.ts",
"deps:audit:check": "bun scripts/dependency-audit-check.ts",
"access:chokepoint:check": "bun scripts/access-chokepoint-check.ts",
"access:decision-log:coverage:check": "bun scripts/access-decision-log-coverage-check.ts",
"access:grant-readers:check": "bun scripts/access-grant-readers-check.ts",
"access:entitlement:deny-only:check": "bun scripts/access-entitlement-deny-only-check.ts",
"identity:session-readers:check": "bun scripts/session-readers-check.ts",
"identity:principal-access:check": "bun scripts/identity-principal-access-check.ts",
"admin:screen-coverage:check": "bun scripts/admin-screen-coverage-check.ts",
"check:astro-scripts:check": "bun scripts/astro-script-typecheck.ts",
"check:astro-frontmatter:check": "bun scripts/astro-frontmatter-typecheck.ts",
"edge-cache:purge": "bun scripts/edge-cache-purge.ts",
"data-lifecycle:registry:check": "bun scripts/data-lifecycle-registry-check.ts",
"subject-data:coverage:check": "bun scripts/subject-data-coverage-check.ts",
"subject-data:registry:check": "bun scripts/subject-data-registry-check.ts",
"data-lifecycle:worker-grants:check": "bun scripts/data-lifecycle-worker-grants-check.ts",
"data-lifecycle:table-coverage:check": "bun scripts/data-lifecycle-table-coverage-check.ts",
"analytics:rollup": "bun scripts/visitor-analytics-rollup.ts",
"analytics:purge": "bun scripts/visitor-analytics-purge.ts",
"omes:repository-progress:poll": "bun scripts/omes-repository-progress-poll.ts",
"email:dispatch": "bun scripts/email-dispatch.ts",
"email:provider:health": "bun scripts/email-provider-health.ts",
"email:queue:purge": "bun scripts/email-queue-purge.ts",
"email:templates:seed-defaults": "bun scripts/email-templates-seed-defaults.ts",
"reporting:projections:refresh": "bun scripts/reporting-projections-refresh.ts",
"reporting:projections:registry:check": "bun scripts/reporting-projection-registry-check.ts",
"access:permissions:enforcement:check": "bun scripts/permission-enforcement-check.ts",
"identity-access:sod-registry:check": "bun scripts/identity-access-sod-registry-check.ts",
"family:conformance:check": "bun scripts/family-conformance-check.ts",
"reporting:exports:dispatch": "bun scripts/reporting-exports-dispatch.ts",
"check:docs": "bun scripts/check-docs.mjs",
"check:docs:translation": "bun scripts/check-docs-translation.mjs",
"memory:docs:sync": "bun scripts/sync-agent-memory.ts --sync",
"memory:docs:restore": "bun scripts/sync-agent-memory.ts --restore",
"memory:docs:check": "bun scripts/sync-agent-memory.ts --check",
"openapi:bundle": "bun scripts/openapi-bundle.ts",
"api:spec:check": "bun scripts/api-spec-check.ts",
"api:docs:generate": "bun scripts/api-docs-generate.ts",
"api:consumer-contract:generate": "bun scripts/api-consumer-contract.ts --generate",
"api:consumer-contract:check": "bun scripts/api-consumer-contract.ts",
"api:docs:check": "bun scripts/api-docs-check.ts",
"contracts:omes:sync": "bun scripts/sync-omes-contracts.ts",
"contracts:omes:sync:check": "bun scripts/sync-omes-contracts.ts --check",
"db:pool:health": "bun scripts/db-pool-health.ts",
"redis:health": "bun scripts/redis-health.ts",
"changesets:policy:check": "bun scripts/changeset-policy-check.ts",
"version:check": "bun scripts/version-check.ts",
"release:verify": "bun scripts/release-verify.ts",
"modules:dag:check": "bun scripts/validate-module-graph.ts",
"modules:routes:check": "bun scripts/validate-module-routes.ts",
"modules:table-writes:check": "bun scripts/table-write-ownership-check.ts",
"jobs:crontab:generate": "bun scripts/jobs-crontab.ts",
"jobs:env-allowlist:generate": "bun scripts/jobs-env-allowlist.ts",
"jobs:env-allowlist:check": "bun scripts/jobs-env-allowlist.ts --check",
"jobs:crontab:check": "bun scripts/jobs-crontab.ts --check",
"modules:jobs:check": "bun scripts/module-job-registry-check.ts",
"modules:compose:check": "bun scripts/validate-module-composition.ts",
"modules:composition:inventory:generate": "bun scripts/module-composition-inventory-generate.ts",
"modules:composition:inventory:check": "bun scripts/module-composition-inventory-check.ts",
"logging:lint:check": "bun scripts/logging-lint-check.ts",
"site-origin:check": "bun scripts/site-origin-check.ts",
"api:tenant-route:check": "bun scripts/tenant-route-factory-check.ts",
"api:body-limit:check": "bun scripts/request-body-limit-check.ts",
"db:tenant-context:check": "bun scripts/tenant-context-usage-check.ts",
"db:work-class:generate": "bun scripts/work-class-registry-generate.ts",
"db:jsonb-binding:check": "bun scripts/jsonb-binding-check.ts",
"db:fk-index:check": "bun scripts/db-fk-index-check.ts",
"db:work-class:check": "bun scripts/work-class-registry-check.ts",
"config:env:coverage:check": "bun scripts/env-contract-coverage-check.ts",
"config:validate": "bun scripts/validate-env.ts",
"repo:inventory:generate": "bun scripts/repo-inventory.ts",
"repo:inventory:check": "bun scripts/repo-inventory.ts --check",
"project-state:inventory:generate": "bun scripts/project-state-inventory.ts",
"project-state:inventory:check": "bun scripts/project-state-inventory.ts --check",
"scripts:inventory:generate": "bun scripts/scripts-inventory.ts",
"scripts:inventory:check": "bun scripts/scripts-inventory.ts --check",
"security:readiness": "bun scripts/security-readiness.ts",
"lint": "prettier --check \"**/*.md\" \"**/*.{json,yml,yaml}\" \"**/*.{ts,mjs,astro}\"",
"format": "prettier --write \"**/*.md\" \"**/*.{json,yml,yaml}\" \"**/*.{ts,mjs,astro}\"",
"typecheck": "tsc --noEmit",
"test": "bun test",
"test:coverage": "bun test --coverage",
"test:e2e": "bun --bun playwright test",
"test:e2e:install": "bun --bun playwright install --with-deps chromium",
"perf:cwv:lab": "bun --bun playwright test tests/e2e/cwv-lab.e2e.ts",
"check": "bun run lint && bun run check:docs && bun run check:docs:translation && bun run memory:docs:check && bun run docs:i18n:stamp:check && bun run scripts:inventory:check && bun run repo:inventory:check && bun run project-state:inventory:check && bun run config:env:coverage:check && bun run api:spec:check && bun run api:docs:check && bun run api:consumer-contract:check && bun run contracts:omes:sync:check && bun run modules:dag:check && bun run modules:routes:check && bun run modules:table-writes:check && bun run jobs:crontab:check && bun run jobs:env-allowlist:check && bun run modules:jobs:check && bun run modules:compose:check && bun run modules:composition:inventory:check && bun run reporting:projections:registry:check && bun run identity-access:sod-registry:check && bun run access:permissions:enforcement:check && bun run access:chokepoint:check && bun run access:decision-log:coverage:check && bun run access:grant-readers:check && bun run access:entitlement:deny-only:check && bun run identity:principal-access:check && bun run identity:session-readers:check && bun run admin:screen-coverage:check && bun run data-lifecycle:registry:check && bun run data-lifecycle:worker-grants:check && bun run data-lifecycle:table-coverage:check && bun run subject-data:coverage:check && bun run subject-data:registry:check && bun run site-search:sources:check && bun run comments:resources:check && bun run edge-cache:surfaces:check && bun run skills:check && bun run knowledge:check && bun run version:check && bun run i18n:catalog:check && bun run i18n:screens:check && bun run design:token-contrast:check && bun run deps:audit:check && bun run family:conformance:check && bun run logging:lint:check && bun run site-origin:check && bun run api:tenant-route:check && bun run api:body-limit:check && bun run db:tenant-context:check && bun run db:work-class:check && bun run db:fk-index:check && bun run db:jsonb-binding:check && bun run build:preview-overlay:check && bun run typecheck && bun run check:astro-scripts:check && bun run check:astro-frontmatter:check && bun run test && bun run build",
"changeset": "changeset",
"changeset:version": "changeset version",
"changeset:status": "changeset status",
"docs:i18n:stamp": "bun scripts/docs-i18n-stamp.mjs",
"docs:i18n:stamp:check": "bun scripts/docs-i18n-stamp.mjs --check"
},
"devDependencies": {
"@axe-core/playwright": "^4.13.0",
"@changesets/cli": "^3.0.3",
"@playwright/test": "^1.63.0",
"@types/bun": "^1.4.2",
"prettier": "^3.9.9",
"prettier-plugin-astro": "^1.1.0",
"typescript": "^7.0.2",
"yaml": "^2.9.1"
},
"overrides": {
"postcss": "^8.5.23",
"nanoid": "^3.3.17",
"js-yaml": "^4.3.2",
"read-yaml-file": "^2.1.0",
"smol-toml": "^1.7.1",
"svgo": "^4.1.0",
"devalue": "^5.9.4",
"undici": "^8.10.2"
},
"dependencies": {
"@astrojs/node": "^11.1.6",
"astro": "^7.3.5"
}
}