ReviewOS

also looking at this

stacks/ts-cloud

feat(operations): fleet inventory, attach preflight, and the exports that were missing

#192
Merged glennmichael123 wants to merge feat/fleet-inventory-and-attach-preflight into main
11 files +1313 -5
packages/ts-cloud/build.tsmodified+3-2
Changes to packages/ts-cloud/build.ts
@@ -5,8 +5,8 @@ const __dirname = import.meta.dirname
55async function build() {
66 // Build the library root AND every subpath entry point declared in the
77 // package.json exports map ("./aws", "./deploy", "./dns", "./drivers",
8 // "./push", "./spend", "./protection"). Bundling only src/index.ts leaves
9 // those subpaths as .d.ts-only
8 // "./operations", "./push", "./spend", "./protection"). Bundling only
9 // src/index.ts leaves those subpaths as .d.ts-only
1010 // in dist, so `import '@stacksjs/ts-cloud/drivers'` fails at runtime for
1111 // consumers. Splitting keeps shared code in chunks instead of duplicating
1212 // it into each subpath bundle.
@@ -17,6 +17,7 @@ async function build() {
1717 join(__dirname, 'src/deploy/index.ts'),
1818 join(__dirname, 'src/dns/index.ts'),
1919 join(__dirname, 'src/drivers/index.ts'),
20 join(__dirname, 'src/operations/index.ts'),
2021 join(__dirname, 'src/push/index.ts'),
2122 join(__dirname, 'src/spend/index.ts'),
2223 join(__dirname, 'src/protection/index.ts'),