- Introduced `UnpublishedShare` component for displaying empty state with actions for assigning and viewing history. - Added `PublicationOperationSummary` component to summarize publication context and actions based on the current state. - Implemented `CompanyNetworkShareDetail` to manage and display network share details for companies. - Created `NetworkShareResourceTitle` for collapsible display of resource names with accessibility features. - Developed `ResourceDetailActions` for managing resource actions like edit, activate/deactivate, and delete. - Added `ResourceRevisionHistory` to display the history of resource revisions with detailed information. - Implemented a comprehensive audit script for network share detail UI, including accessibility checks and error handling.
19 lines
617 B
TypeScript
19 lines
617 B
TypeScript
import { defineConfig } from "tsup";
|
|
|
|
export default defineConfig({
|
|
entry: ["src/index.ts"],
|
|
format: ["esm"],
|
|
target: "node24",
|
|
platform: "node",
|
|
bundle: true,
|
|
// sharp resuelve binarios nativos desde su propio paquete, no desde el bundle.
|
|
external: ["sharp"],
|
|
noExternal: [/^@metis\//, "@repo/rdx-utils", "@repo/rdx-ddd"],
|
|
// El código CommonJS de dependencias empaquetadas necesita require en la salida ESM.
|
|
banner: {
|
|
js: 'import { createRequire as createServerRequire } from "node:module"; const require = createServerRequire(import.meta.url);',
|
|
},
|
|
clean: true,
|
|
sourcemap: true,
|
|
});
|