@trebired/bundler 3.0.0 → 3.1.1
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/CHANGELOG.md +14 -0
- package/README.md +94 -11
- package/dist/backend/utils/normalize.d.ts +2 -0
- package/dist/backend/utils/normalize.d.ts.map +1 -0
- package/dist/backend/utils/normalize.js +4 -0
- package/dist/backend/utils/normalize.js.map +1 -0
- package/dist/backend/utils/object.d.ts +3 -0
- package/dist/backend/utils/object.d.ts.map +1 -0
- package/dist/backend/utils/object.js +12 -0
- package/dist/backend/utils/object.js.map +1 -0
- package/dist/backend/utils/time.d.ts +3 -0
- package/dist/backend/utils/time.d.ts.map +1 -0
- package/dist/backend/utils/time.js +7 -0
- package/dist/backend/utils/time.js.map +1 -0
- package/dist/cli/run-cli.d.ts.map +1 -1
- package/dist/cli/run-cli.js +40 -36
- package/dist/cli/run-cli.js.map +1 -1
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js.map +1 -1
- package/dist/config/index.d.ts +1 -1
- package/dist/config/index.d.ts.map +1 -1
- package/dist/config/index.js.map +1 -1
- package/dist/constants.d.ts.map +1 -1
- package/dist/constants.js.map +1 -1
- package/dist/core/asset-manifest.d.ts +1 -4
- package/dist/core/asset-manifest.d.ts.map +1 -1
- package/dist/core/asset-manifest.js +1 -254
- package/dist/core/asset-manifest.js.map +1 -1
- package/dist/core/asset_manifest/runtime.d.ts +5 -0
- package/dist/core/asset_manifest/runtime.d.ts.map +1 -0
- package/dist/core/asset_manifest/runtime.js +252 -0
- package/dist/core/asset_manifest/runtime.js.map +1 -0
- package/dist/core/build.d.ts +1 -1
- package/dist/core/build.d.ts.map +1 -1
- package/dist/core/build.js +2 -2
- package/dist/core/build.js.map +1 -1
- package/dist/core/derive-manifest.d.ts +2 -9
- package/dist/core/derive-manifest.d.ts.map +1 -1
- package/dist/core/derive-manifest.js +1 -153
- package/dist/core/derive-manifest.js.map +1 -1
- package/dist/core/derive_manifest/runtime.d.ts +10 -0
- package/dist/core/derive_manifest/runtime.d.ts.map +1 -0
- package/dist/core/derive_manifest/runtime.js +133 -0
- package/dist/core/derive_manifest/runtime.js.map +1 -0
- package/dist/core/discovery/aggregate.d.ts +32 -0
- package/dist/core/discovery/aggregate.d.ts.map +1 -0
- package/dist/core/discovery/aggregate.js +124 -0
- package/dist/core/discovery/aggregate.js.map +1 -0
- package/dist/core/discovery/emit.d.ts +22 -0
- package/dist/core/discovery/emit.d.ts.map +1 -0
- package/dist/core/discovery/emit.js +37 -0
- package/dist/core/discovery/emit.js.map +1 -0
- package/dist/core/discovery/normalize.d.ts +8 -0
- package/dist/core/discovery/normalize.d.ts.map +1 -0
- package/dist/core/discovery/normalize.js +130 -0
- package/dist/core/discovery/normalize.js.map +1 -0
- package/dist/core/discovery/public.d.ts +5 -0
- package/dist/core/discovery/public.d.ts.map +1 -0
- package/dist/core/discovery/public.js +25 -0
- package/dist/core/discovery/public.js.map +1 -0
- package/dist/core/discovery/resolve.d.ts +9 -0
- package/dist/core/discovery/resolve.d.ts.map +1 -0
- package/dist/core/discovery/resolve.js +235 -0
- package/dist/core/discovery/resolve.js.map +1 -0
- package/dist/core/discovery/scan.d.ts +29 -0
- package/dist/core/discovery/scan.d.ts.map +1 -0
- package/dist/core/discovery/scan.js +105 -0
- package/dist/core/discovery/scan.js.map +1 -0
- package/dist/core/discovery/shared.d.ts +100 -0
- package/dist/core/discovery/shared.d.ts.map +1 -0
- package/dist/core/discovery/shared.js +187 -0
- package/dist/core/discovery/shared.js.map +1 -0
- package/dist/core/discovery-watch.d.ts +1 -8
- package/dist/core/discovery-watch.d.ts.map +1 -1
- package/dist/core/discovery-watch.js +1 -100
- package/dist/core/discovery-watch.js.map +1 -1
- package/dist/core/discovery.d.ts +4 -31
- package/dist/core/discovery.d.ts.map +1 -1
- package/dist/core/discovery.js +3 -468
- package/dist/core/discovery.js.map +1 -1
- package/dist/core/discovery_watch/runtime.d.ts +9 -0
- package/dist/core/discovery_watch/runtime.d.ts.map +1 -0
- package/dist/core/discovery_watch/runtime.js +127 -0
- package/dist/core/discovery_watch/runtime.js.map +1 -0
- package/dist/core/esbuild-options.d.ts +1 -1
- package/dist/core/esbuild-options.d.ts.map +1 -1
- package/dist/core/esbuild-options.js +38 -38
- package/dist/core/esbuild-options.js.map +1 -1
- package/dist/core/import-graph.d.ts +1 -3
- package/dist/core/import-graph.d.ts.map +1 -1
- package/dist/core/import-graph.js +1 -409
- package/dist/core/import-graph.js.map +1 -1
- package/dist/core/import_graph/parse.d.ts +6 -0
- package/dist/core/import_graph/parse.d.ts.map +1 -0
- package/dist/core/import_graph/parse.js +134 -0
- package/dist/core/import_graph/parse.js.map +1 -0
- package/dist/core/import_graph/resolve.d.ts +4 -0
- package/dist/core/import_graph/resolve.d.ts.map +1 -0
- package/dist/core/import_graph/resolve.js +105 -0
- package/dist/core/import_graph/resolve.js.map +1 -0
- package/dist/core/import_graph/shared.d.ts +21 -0
- package/dist/core/import_graph/shared.d.ts.map +1 -0
- package/dist/core/import_graph/shared.js +27 -0
- package/dist/core/import_graph/shared.js.map +1 -0
- package/dist/core/import_graph/tsconfig.d.ts +7 -0
- package/dist/core/import_graph/tsconfig.d.ts.map +1 -0
- package/dist/core/import_graph/tsconfig.js +111 -0
- package/dist/core/import_graph/tsconfig.js.map +1 -0
- package/dist/core/manifest.d.ts +1 -1
- package/dist/core/manifest.d.ts.map +1 -1
- package/dist/core/manifest.js.map +1 -1
- package/dist/core/shared.d.ts +5 -4
- package/dist/core/shared.d.ts.map +1 -1
- package/dist/core/shared.js +12 -4
- package/dist/core/shared.js.map +1 -1
- package/dist/core/watch.d.ts +1 -1
- package/dist/core/watch.d.ts.map +1 -1
- package/dist/core/watch.js +143 -135
- package/dist/core/watch.js.map +1 -1
- package/dist/frontend/js/utils/text.d.ts +2 -0
- package/dist/frontend/js/utils/text.d.ts.map +1 -0
- package/dist/frontend/js/utils/text.js +4 -0
- package/dist/frontend/js/utils/text.js.map +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/logging.d.ts.map +1 -1
- package/dist/logging.js.map +1 -1
- package/dist/plugins/scss.d.ts +1 -1
- package/dist/plugins/scss.d.ts.map +1 -1
- package/dist/plugins/scss.js.map +1 -1
- package/dist/plugins/source-annotations.d.ts +1 -1
- package/dist/plugins/source-annotations.d.ts.map +1 -1
- package/dist/plugins/source-annotations.js.map +1 -1
- package/dist/plugins/virtual-entries.d.ts +1 -1
- package/dist/plugins/virtual-entries.d.ts.map +1 -1
- package/dist/plugins/virtual-entries.js +1 -1
- package/dist/plugins/virtual-entries.js.map +1 -1
- package/dist/src/backend/utils/normalize.d.ts +2 -0
- package/dist/src/backend/utils/normalize.d.ts.map +1 -0
- package/dist/src/backend/utils/normalize.js +4 -0
- package/dist/src/backend/utils/normalize.js.map +1 -0
- package/dist/src/backend/utils/object.d.ts +3 -0
- package/dist/src/backend/utils/object.d.ts.map +1 -0
- package/dist/src/backend/utils/object.js +12 -0
- package/dist/src/backend/utils/object.js.map +1 -0
- package/dist/src/backend/utils/time.d.ts +3 -0
- package/dist/src/backend/utils/time.d.ts.map +1 -0
- package/dist/src/backend/utils/time.js +7 -0
- package/dist/src/backend/utils/time.js.map +1 -0
- package/dist/src/cli/run-cli.d.ts +14 -0
- package/dist/src/cli/run-cli.d.ts.map +1 -0
- package/dist/src/cli/run-cli.js +108 -0
- package/dist/src/cli/run-cli.js.map +1 -0
- package/dist/src/cli.d.ts +5 -0
- package/dist/src/cli.d.ts.map +1 -0
- package/dist/src/cli.js +10 -0
- package/dist/src/cli.js.map +1 -0
- package/dist/src/config/index.d.ts +5 -0
- package/dist/src/config/index.d.ts.map +1 -0
- package/dist/src/config/index.js +32 -0
- package/dist/src/config/index.js.map +1 -0
- package/dist/src/constants.d.ts +4 -0
- package/dist/src/constants.d.ts.map +1 -0
- package/dist/src/constants.js +4 -0
- package/dist/src/constants.js.map +1 -0
- package/dist/src/core/asset-manifest.d.ts +2 -0
- package/dist/src/core/asset-manifest.d.ts.map +1 -0
- package/dist/src/core/asset-manifest.js +2 -0
- package/dist/src/core/asset-manifest.js.map +1 -0
- package/dist/src/core/asset_manifest/runtime.d.ts +5 -0
- package/dist/src/core/asset_manifest/runtime.d.ts.map +1 -0
- package/dist/src/core/asset_manifest/runtime.js +252 -0
- package/dist/src/core/asset_manifest/runtime.js.map +1 -0
- package/dist/src/core/build.d.ts +4 -0
- package/dist/src/core/build.d.ts.map +1 -0
- package/dist/src/core/build.js +49 -0
- package/dist/src/core/build.js.map +1 -0
- package/dist/src/core/derive-manifest.d.ts +3 -0
- package/dist/src/core/derive-manifest.d.ts.map +1 -0
- package/dist/src/core/derive-manifest.js +2 -0
- package/dist/src/core/derive-manifest.js.map +1 -0
- package/dist/src/core/derive_manifest/runtime.d.ts +10 -0
- package/dist/src/core/derive_manifest/runtime.d.ts.map +1 -0
- package/dist/src/core/derive_manifest/runtime.js +133 -0
- package/dist/src/core/derive_manifest/runtime.js.map +1 -0
- package/dist/src/core/discovery/aggregate.d.ts +32 -0
- package/dist/src/core/discovery/aggregate.d.ts.map +1 -0
- package/dist/src/core/discovery/aggregate.js +124 -0
- package/dist/src/core/discovery/aggregate.js.map +1 -0
- package/dist/src/core/discovery/emit.d.ts +22 -0
- package/dist/src/core/discovery/emit.d.ts.map +1 -0
- package/dist/src/core/discovery/emit.js +37 -0
- package/dist/src/core/discovery/emit.js.map +1 -0
- package/dist/src/core/discovery/normalize.d.ts +8 -0
- package/dist/src/core/discovery/normalize.d.ts.map +1 -0
- package/dist/src/core/discovery/normalize.js +130 -0
- package/dist/src/core/discovery/normalize.js.map +1 -0
- package/dist/src/core/discovery/public.d.ts +5 -0
- package/dist/src/core/discovery/public.d.ts.map +1 -0
- package/dist/src/core/discovery/public.js +25 -0
- package/dist/src/core/discovery/public.js.map +1 -0
- package/dist/src/core/discovery/resolve.d.ts +9 -0
- package/dist/src/core/discovery/resolve.d.ts.map +1 -0
- package/dist/src/core/discovery/resolve.js +235 -0
- package/dist/src/core/discovery/resolve.js.map +1 -0
- package/dist/src/core/discovery/scan.d.ts +29 -0
- package/dist/src/core/discovery/scan.d.ts.map +1 -0
- package/dist/src/core/discovery/scan.js +105 -0
- package/dist/src/core/discovery/scan.js.map +1 -0
- package/dist/src/core/discovery/shared.d.ts +100 -0
- package/dist/src/core/discovery/shared.d.ts.map +1 -0
- package/dist/src/core/discovery/shared.js +187 -0
- package/dist/src/core/discovery/shared.js.map +1 -0
- package/dist/src/core/discovery-watch.d.ts +2 -0
- package/dist/src/core/discovery-watch.d.ts.map +1 -0
- package/dist/src/core/discovery-watch.js +2 -0
- package/dist/src/core/discovery-watch.js.map +1 -0
- package/dist/src/core/discovery.d.ts +5 -0
- package/dist/src/core/discovery.d.ts.map +1 -0
- package/dist/src/core/discovery.js +4 -0
- package/dist/src/core/discovery.js.map +1 -0
- package/dist/src/core/discovery_watch/runtime.d.ts +9 -0
- package/dist/src/core/discovery_watch/runtime.d.ts.map +1 -0
- package/dist/src/core/discovery_watch/runtime.js +127 -0
- package/dist/src/core/discovery_watch/runtime.js.map +1 -0
- package/dist/src/core/esbuild-options.d.ts +30 -0
- package/dist/src/core/esbuild-options.d.ts.map +1 -0
- package/dist/src/core/esbuild-options.js +93 -0
- package/dist/src/core/esbuild-options.js.map +1 -0
- package/dist/src/core/import-graph.d.ts +2 -0
- package/dist/src/core/import-graph.d.ts.map +1 -0
- package/dist/src/core/import-graph.js +2 -0
- package/dist/src/core/import-graph.js.map +1 -0
- package/dist/src/core/import_graph/parse.d.ts +6 -0
- package/dist/src/core/import_graph/parse.d.ts.map +1 -0
- package/dist/src/core/import_graph/parse.js +134 -0
- package/dist/src/core/import_graph/parse.js.map +1 -0
- package/dist/src/core/import_graph/resolve.d.ts +4 -0
- package/dist/src/core/import_graph/resolve.d.ts.map +1 -0
- package/dist/src/core/import_graph/resolve.js +105 -0
- package/dist/src/core/import_graph/resolve.js.map +1 -0
- package/dist/src/core/import_graph/shared.d.ts +21 -0
- package/dist/src/core/import_graph/shared.d.ts.map +1 -0
- package/dist/src/core/import_graph/shared.js +27 -0
- package/dist/src/core/import_graph/shared.js.map +1 -0
- package/dist/src/core/import_graph/tsconfig.d.ts +7 -0
- package/dist/src/core/import_graph/tsconfig.d.ts.map +1 -0
- package/dist/src/core/import_graph/tsconfig.js +111 -0
- package/dist/src/core/import_graph/tsconfig.js.map +1 -0
- package/dist/src/core/manifest.d.ts +15 -0
- package/dist/src/core/manifest.d.ts.map +1 -0
- package/dist/src/core/manifest.js +29 -0
- package/dist/src/core/manifest.js.map +1 -0
- package/dist/src/core/shared.d.ts +17 -0
- package/dist/src/core/shared.d.ts.map +1 -0
- package/dist/src/core/shared.js +71 -0
- package/dist/src/core/shared.js.map +1 -0
- package/dist/src/core/watch.d.ts +4 -0
- package/dist/src/core/watch.d.ts.map +1 -0
- package/dist/src/core/watch.js +185 -0
- package/dist/src/core/watch.js.map +1 -0
- package/dist/src/frontend/js/utils/text.d.ts +2 -0
- package/dist/src/frontend/js/utils/text.d.ts.map +1 -0
- package/dist/src/frontend/js/utils/text.js +4 -0
- package/dist/src/frontend/js/utils/text.js.map +1 -0
- package/dist/src/index.d.ts +14 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/index.js +13 -0
- package/dist/src/index.js.map +1 -0
- package/dist/src/logging.d.ts +5 -0
- package/dist/src/logging.d.ts.map +1 -0
- package/dist/src/logging.js +35 -0
- package/dist/src/logging.js.map +1 -0
- package/dist/src/plugins/scss.d.ts +11 -0
- package/dist/src/plugins/scss.d.ts.map +1 -0
- package/dist/src/plugins/scss.js +44 -0
- package/dist/src/plugins/scss.js.map +1 -0
- package/dist/src/plugins/source-annotations.d.ts +17 -0
- package/dist/src/plugins/source-annotations.d.ts.map +1 -0
- package/dist/src/plugins/source-annotations.js +78 -0
- package/dist/src/plugins/source-annotations.js.map +1 -0
- package/dist/src/plugins/virtual-entries.d.ts +11 -0
- package/dist/src/plugins/virtual-entries.d.ts.map +1 -0
- package/dist/src/plugins/virtual-entries.js +39 -0
- package/dist/src/plugins/virtual-entries.js.map +1 -0
- package/dist/src/types/discovery.d.ts +91 -0
- package/dist/src/types/discovery.d.ts.map +1 -0
- package/dist/src/types/discovery.js +2 -0
- package/dist/src/types/discovery.js.map +1 -0
- package/dist/src/types/import_graph.d.ts +29 -0
- package/dist/src/types/import_graph.d.ts.map +1 -0
- package/dist/src/types/import_graph.js +2 -0
- package/dist/src/types/import_graph.js.map +1 -0
- package/dist/src/types/logging.d.ts +9 -0
- package/dist/src/types/logging.d.ts.map +1 -0
- package/dist/src/types/logging.js +2 -0
- package/dist/src/types/logging.js.map +1 -0
- package/dist/src/types/manifest.d.ts +106 -0
- package/dist/src/types/manifest.d.ts.map +1 -0
- package/dist/src/types/manifest.js +2 -0
- package/dist/src/types/manifest.js.map +1 -0
- package/dist/src/types/runtime.d.ts +53 -0
- package/dist/src/types/runtime.d.ts.map +1 -0
- package/dist/src/types/runtime.js +2 -0
- package/dist/src/types/runtime.js.map +1 -0
- package/dist/src/types.d.ts +6 -0
- package/dist/src/types.d.ts.map +1 -0
- package/dist/src/types.js +2 -0
- package/dist/src/types.js.map +1 -0
- package/dist/types/discovery.d.ts +91 -0
- package/dist/types/discovery.d.ts.map +1 -0
- package/dist/types/discovery.js +2 -0
- package/dist/types/discovery.js.map +1 -0
- package/dist/types/import_graph.d.ts +29 -0
- package/dist/types/import_graph.d.ts.map +1 -0
- package/dist/types/import_graph.js +2 -0
- package/dist/types/import_graph.js.map +1 -0
- package/dist/types/logging.d.ts +9 -0
- package/dist/types/logging.d.ts.map +1 -0
- package/dist/types/logging.js +2 -0
- package/dist/types/logging.js.map +1 -0
- package/dist/types/manifest.d.ts +106 -0
- package/dist/types/manifest.d.ts.map +1 -0
- package/dist/types/manifest.js +2 -0
- package/dist/types/manifest.js.map +1 -0
- package/dist/types/runtime.d.ts +53 -0
- package/dist/types/runtime.d.ts.map +1 -0
- package/dist/types/runtime.js +2 -0
- package/dist/types/runtime.js.map +1 -0
- package/dist/types.d.ts +5 -216
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js.map +1 -1
- package/package.json +119 -41
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"discovery.d.ts","sourceRoot":"","sources":["../../../src/types/discovery.ts"],"names":[],"mappings":"AAAA,KAAK,yBAAyB,GAAG,KAAK,GAAG,IAAI,CAAC;AAC9C,KAAK,2BAA2B,GAAG,OAAO,GAAG,QAAQ,GAAG,QAAQ,GAAG,WAAW,CAAC;AAC/E,KAAK,gBAAgB,GAAG,OAAO,GAAG,QAAQ,CAAC;AAC3C,KAAK,kBAAkB,GAAG,UAAU,GAAG,UAAU,CAAC;AAClD,KAAK,oBAAoB,GAAG,YAAY,CAAC;AAEzC,KAAK,gCAAgC,GAAG;IACtC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,KAAK,yBAAyB,GAAG;IAC/B,IAAI,EAAE,YAAY,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,WAAW,CAAC,EAAE,eAAe,CAAC;IAC9B,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,OAAO,CAAC,EAAE,gCAAgC,CAAC;CAC5C,CAAC;AAEF,KAAK,wBAAwB,GAAG;IAC9B,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,QAAQ,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,KAAK,yBAAyB,GAAG;IAC/B,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,E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IACZ,IAAI,EAAE,gBAAgB,CAAC;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,kBAAkB,CAAC;IAC3B,QAAQ,EAAE,OAAO,CAAC,2BAA2B,EAAE,QAAQ,CAAC,CAAC;IACzD,aAAa,CAAC,EAAE,yBAAyB,CAAC;CAC3C,CAAC;AAEF,KAAK,mBAAmB,GAAG;IACzB,SAAS,CAAC,EAAE,4BAA4B,CAAC;IACzC,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,cAAc,EAAE,MAAM,EAAE,CAAC;IACzB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,2BAA2B,CAAC;CACvC,CAAC;AAEF,KAAK,wBAAwB,GAAG;IAC9B,OAAO,EAAE,kBAAkB,EAAE,CAAC;IAC9B,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,mBAAmB,CAAC,CAAC;IAC3C,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACtC,CAAC;AAEF,YAAY,EACV,6BAA6B,EAC7B,oBAAoB,EACpB,yBAAyB,EACzB,gCAAgC,EAChC,4BAA4B,EAC5B,4BAA4B,EAC5B,yBAAyB,EACzB,wBAAwB,EACxB,yBAAyB,EACzB,sBAAsB,EACtB,mBAAmB,EACnB,2BAA2B,EAC3B,gBAAgB,EAChB,kBAAkB,EAClB,kBAAkB,EAClB,wBAAwB,EACxB,mBAAmB,EACnB,yBAAyB,GAC1B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"discovery.js","sourceRoot":"","sources":["../../../src/types/discovery.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
type BundlerTsconfigPaths = Record<string, string[]>;
|
|
2
|
+
type BundlerImportGraphTsconfigOptions = boolean | string | {
|
|
3
|
+
file?: string;
|
|
4
|
+
baseUrl?: string;
|
|
5
|
+
paths?: BundlerTsconfigPaths;
|
|
6
|
+
};
|
|
7
|
+
type BundlerImportGraphImportKind = "dynamic-import" | "export-from" | "import";
|
|
8
|
+
type BundlerImportGraphImport = {
|
|
9
|
+
specifier: string;
|
|
10
|
+
kind: BundlerImportGraphImportKind;
|
|
11
|
+
resolved?: string;
|
|
12
|
+
external: boolean;
|
|
13
|
+
};
|
|
14
|
+
type BundlerImportGraphFile = {
|
|
15
|
+
path: string;
|
|
16
|
+
imports: BundlerImportGraphImport[];
|
|
17
|
+
};
|
|
18
|
+
type BundlerImportGraph = {
|
|
19
|
+
entries: string[];
|
|
20
|
+
files: Record<string, BundlerImportGraphFile>;
|
|
21
|
+
};
|
|
22
|
+
type BundlerImportGraphOptions = {
|
|
23
|
+
entries: string | string[];
|
|
24
|
+
rootDir?: string;
|
|
25
|
+
extensions?: string[];
|
|
26
|
+
tsconfig?: BundlerImportGraphTsconfigOptions;
|
|
27
|
+
};
|
|
28
|
+
export type { BundlerImportGraph, BundlerImportGraphFile, BundlerImportGraphImport, BundlerImportGraphImportKind, BundlerImportGraphOptions, BundlerImportGraphTsconfigOptions, BundlerTsconfigPaths, };
|
|
29
|
+
//# sourceMappingURL=import_graph.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"import_graph.d.ts","sourceRoot":"","sources":["../../../src/types/import_graph.ts"],"names":[],"mappings":"AAAA,KAAK,oBAAoB,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;AAErD,KAAK,iCAAiC,GAAG,OAAO,GAAG,MAAM,GAAG;IAC1D,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,oBAAoB,CAAC;CAC9B,CAAC;AAEF,KAAK,4BAA4B,GAAG,gBAAgB,GAAG,aAAa,GAAG,QAAQ,CAAC;AAEhF,KAAK,wBAAwB,GAAG;IAC9B,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,4BAA4B,CAAC;IACnC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,KAAK,sBAAsB,GAAG;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,wBAAwB,EAAE,CAAC;CACrC,CAAC;AAEF,KAAK,kBAAkB,GAAG;IACxB,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,sBAAsB,CAAC,CAAC;CAC/C,CAAC;AAEF,KAAK,yBAAyB,GAAG;IAC/B,OAAO,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAC3B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IACtB,QAAQ,CAAC,EAAE,iCAAiC,CAAC;CAC9C,CAAC;AAEF,YAAY,EACV,kBAAkB,EAClB,sBAAsB,EACtB,wBAAwB,EACxB,4BAA4B,EAC5B,yBAAyB,EACzB,iCAAiC,EACjC,oBAAoB,GACrB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"import_graph.js","sourceRoot":"","sources":["../../../src/types/import_graph.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { LoggerAdapterEvent, LoggerAdapterGenericLogMethod, LoggerAdapterLogger, LoggerAdapterLogMethod, LoggerAdapterWriter, NormalizedLoggerAdapter } from "@trebired/logger-adapter";
|
|
2
|
+
type BundlerLogger = LoggerAdapterLogger;
|
|
3
|
+
type BundlerLoggerAdapter = LoggerAdapterWriter;
|
|
4
|
+
type BundlerLogMethod = LoggerAdapterLogMethod;
|
|
5
|
+
type BundlerGenericLogMethod = LoggerAdapterGenericLogMethod;
|
|
6
|
+
type BundlerLogEvent = LoggerAdapterEvent;
|
|
7
|
+
type NormalizedBundlerLogger = NormalizedLoggerAdapter;
|
|
8
|
+
export type { BundlerGenericLogMethod, BundlerLogEvent, BundlerLogger, BundlerLoggerAdapter, BundlerLogMethod, NormalizedBundlerLogger, };
|
|
9
|
+
//# sourceMappingURL=logging.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"logging.d.ts","sourceRoot":"","sources":["../../../src/types/logging.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,kBAAkB,EAClB,6BAA6B,EAC7B,mBAAmB,EACnB,sBAAsB,EACtB,mBAAmB,EACnB,uBAAuB,EACxB,MAAM,0BAA0B,CAAC;AAElC,KAAK,aAAa,GAAG,mBAAmB,CAAC;AACzC,KAAK,oBAAoB,GAAG,mBAAmB,CAAC;AAChD,KAAK,gBAAgB,GAAG,sBAAsB,CAAC;AAC/C,KAAK,uBAAuB,GAAG,6BAA6B,CAAC;AAC7D,KAAK,eAAe,GAAG,kBAAkB,CAAC;AAC1C,KAAK,uBAAuB,GAAG,uBAAuB,CAAC;AAEvD,YAAY,EACV,uBAAuB,EACvB,eAAe,EACf,aAAa,EACb,oBAAoB,EACpB,gBAAgB,EAChB,uBAAuB,GACxB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"logging.js","sourceRoot":"","sources":["../../../src/types/logging.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import type { Metafile } from "esbuild";
|
|
2
|
+
import type { BundlerAggregateEntryMetadata, BundlerAggregateRuleMetadata, BundlerDiscoverRuleStrategy, BundlerEntryKind, BundlerResolvedDiscovery } from "./discovery.js";
|
|
3
|
+
type BundlerManifestOptions = boolean | {
|
|
4
|
+
file?: string;
|
|
5
|
+
};
|
|
6
|
+
type BundlerDerivedManifestEntry = {
|
|
7
|
+
entryOutput: string;
|
|
8
|
+
entryName?: string;
|
|
9
|
+
inputs: string[];
|
|
10
|
+
js: string[];
|
|
11
|
+
css: string[];
|
|
12
|
+
imports: string[];
|
|
13
|
+
};
|
|
14
|
+
type BundlerDerivedManifestChunk = {
|
|
15
|
+
output: string;
|
|
16
|
+
inputs: string[];
|
|
17
|
+
css: string[];
|
|
18
|
+
imports: string[];
|
|
19
|
+
};
|
|
20
|
+
type BundlerDerivedManifestOutputKind = "asset" | "chunk" | "entry";
|
|
21
|
+
type BundlerDerivedManifestOutput = {
|
|
22
|
+
output: string;
|
|
23
|
+
kind: BundlerDerivedManifestOutputKind;
|
|
24
|
+
entryPoint?: string;
|
|
25
|
+
entryName?: string;
|
|
26
|
+
inputs: string[];
|
|
27
|
+
css: string[];
|
|
28
|
+
imports: string[];
|
|
29
|
+
bytes: number;
|
|
30
|
+
};
|
|
31
|
+
type BundlerDerivedManifest = {
|
|
32
|
+
entries: Record<string, BundlerDerivedManifestEntry>;
|
|
33
|
+
chunks: Record<string, BundlerDerivedManifestChunk>;
|
|
34
|
+
allOutputs: Record<string, BundlerDerivedManifestOutput>;
|
|
35
|
+
};
|
|
36
|
+
type BundlerAssetManifestEntry = {
|
|
37
|
+
aggregate?: BundlerAggregateEntryMetadata;
|
|
38
|
+
assets: string[];
|
|
39
|
+
css: string[];
|
|
40
|
+
entryOutput: string;
|
|
41
|
+
entrySource?: string;
|
|
42
|
+
file: string;
|
|
43
|
+
generated: boolean;
|
|
44
|
+
imports: string[];
|
|
45
|
+
js: string[];
|
|
46
|
+
key: string;
|
|
47
|
+
kind: BundlerEntryKind;
|
|
48
|
+
outputs: string[];
|
|
49
|
+
ruleKey: string;
|
|
50
|
+
sources: string[];
|
|
51
|
+
strategy: Exclude<BundlerDiscoverRuleStrategy, "ignore">;
|
|
52
|
+
};
|
|
53
|
+
type BundlerAssetManifestSource = {
|
|
54
|
+
entryKey: string;
|
|
55
|
+
outputs: string[];
|
|
56
|
+
ruleKey: string;
|
|
57
|
+
source: string;
|
|
58
|
+
strategy: Exclude<BundlerDiscoverRuleStrategy, "ignore">;
|
|
59
|
+
};
|
|
60
|
+
type BundlerAssetManifestRule = {
|
|
61
|
+
aggregate?: BundlerAggregateRuleMetadata;
|
|
62
|
+
entryKeys: string[];
|
|
63
|
+
ignoredSources: string[];
|
|
64
|
+
ruleKey: string;
|
|
65
|
+
strategy: BundlerDiscoverRuleStrategy;
|
|
66
|
+
};
|
|
67
|
+
type BundlerAssetManifestOutput = {
|
|
68
|
+
bytes: number;
|
|
69
|
+
css: string[];
|
|
70
|
+
entryKey?: string;
|
|
71
|
+
entryPoint?: string;
|
|
72
|
+
imports: string[];
|
|
73
|
+
inputs: string[];
|
|
74
|
+
kind: BundlerDerivedManifestOutputKind;
|
|
75
|
+
output: string;
|
|
76
|
+
ruleKey?: string;
|
|
77
|
+
strategy?: Exclude<BundlerDiscoverRuleStrategy, "ignore">;
|
|
78
|
+
};
|
|
79
|
+
type BundlerAssetManifest = {
|
|
80
|
+
entries: Record<string, BundlerAssetManifestEntry>;
|
|
81
|
+
entryOutputs: Record<string, string>;
|
|
82
|
+
outputs: Record<string, BundlerAssetManifestOutput>;
|
|
83
|
+
rules: Record<string, BundlerAssetManifestRule>;
|
|
84
|
+
sources: Record<string, BundlerAssetManifestSource>;
|
|
85
|
+
};
|
|
86
|
+
type BundlerBuildAssetManifestOptions = {
|
|
87
|
+
metafile: Metafile;
|
|
88
|
+
resolvedDiscovery?: BundlerResolvedDiscovery;
|
|
89
|
+
rootDir: string;
|
|
90
|
+
outDir: string;
|
|
91
|
+
};
|
|
92
|
+
type BundlerCollectAssetLinksLookup = "auto" | "entryKey" | "entryOutput" | "ruleKey" | "source";
|
|
93
|
+
type BundlerCollectAssetLinksOptions = {
|
|
94
|
+
from?: BundlerCollectAssetLinksLookup;
|
|
95
|
+
publicPath?: string;
|
|
96
|
+
};
|
|
97
|
+
type BundlerCollectedAssetLinks = {
|
|
98
|
+
entryKeys: string[];
|
|
99
|
+
scripts: string[];
|
|
100
|
+
styles: string[];
|
|
101
|
+
assets: string[];
|
|
102
|
+
outputs: string[];
|
|
103
|
+
missing: string[];
|
|
104
|
+
};
|
|
105
|
+
export type { BundlerAssetManifest, BundlerAssetManifestEntry, BundlerAssetManifestOutput, BundlerAssetManifestRule, BundlerAssetManifestSource, BundlerBuildAssetManifestOptions, BundlerCollectedAssetLinks, BundlerCollectAssetLinksLookup, BundlerCollectAssetLinksOptions, BundlerDerivedManifest, BundlerDerivedManifestChunk, BundlerDerivedManifestEntry, BundlerDerivedManifestOutput, BundlerDerivedManifestOutputKind, BundlerManifestOptions, };
|
|
106
|
+
//# sourceMappingURL=manifest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"manifest.d.ts","sourceRoot":"","sources":["../../../src/types/manifest.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAExC,OAAO,KAAK,EACV,6BAA6B,EAC7B,4BAA4B,EAC5B,2BAA2B,EAC3B,gBAAgB,EAChB,wBAAwB,EACzB,MAAM,gBAAgB,CAAC;AAExB,KAAK,sBAAsB,GAAG,OAAO,GAAG;IACtC,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,KAAK,2BAA2B,GAAG;IACjC,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,EAAE,EAAE,MAAM,EAAE,CAAC;IACb,GAAG,EAAE,MAAM,EAAE,CAAC;IACd,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB,CAAC;AAEF,KAAK,2BAA2B,GAAG;IACjC,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,GAAG,EAAE,MAAM,EAAE,CAAC;IACd,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB,CAAC;AAEF,KAAK,gCAAgC,GAAG,OAAO,GAAG,OAAO,GAAG,OAAO,CAAC;AAEpE,KAAK,4BAA4B,GAAG;IAClC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AAC;AAEF,KAAK,8BAA8B,GAAG,MAAM,GAAG,UAAU,GAAG,aAAa,GAAG,SAAS,GAAG,QAAQ,CAAC;AAEjG,KAAK,+BAA+B,GAAG;IACrC,IAAI,CAAC,EAAE,8BAA8B,CAAC;IACtC,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,KAAK,0BAA0B,GAAG;IAChC,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB,CAAC;AAEF,YAAY,EACV,oBAAoB,EACpB,yBAAyB,EACzB,0BAA0B,EAC1B,wBAAwB,EACxB,0BAA0B,EAC1B,gCAAgC,EAChC,0BAA0B,EAC1B,8BAA8B,EAC9B,+BAA+B,EAC/B,sBAAsB,EACtB,2BAA2B,EAC3B,2BAA2B,EAC3B,4BAA4B,EAC5B,gCAAgC,EAChC,sBAAsB,GACvB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"manifest.js","sourceRoot":"","sources":["../../../src/types/manifest.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import type { Format, Metafile } from "esbuild";
|
|
2
|
+
import type { ResultLike } from "@trebired/result";
|
|
3
|
+
import type { BundlerResolvedDiscovery } from "./discovery.js";
|
|
4
|
+
import type { BundlerLogger, BundlerLoggerAdapter } from "./logging.js";
|
|
5
|
+
import type { BundlerAssetManifest, BundlerManifestOptions } from "./manifest.js";
|
|
6
|
+
type BundlerEnvironment = "browser" | "node" | "neutral";
|
|
7
|
+
type BundlerOptions = {
|
|
8
|
+
discover: import("./discovery.js").BundlerDiscoverOptions | import("./discovery.js").BundlerDiscoverOptions[];
|
|
9
|
+
outDir: string;
|
|
10
|
+
rootDir?: string;
|
|
11
|
+
environment?: BundlerEnvironment;
|
|
12
|
+
format?: Format;
|
|
13
|
+
target?: string | string[];
|
|
14
|
+
minify?: boolean;
|
|
15
|
+
stripComments?: boolean;
|
|
16
|
+
sourcemap?: boolean | "inline" | "external";
|
|
17
|
+
splitting?: boolean;
|
|
18
|
+
publicPath?: string;
|
|
19
|
+
external?: string[];
|
|
20
|
+
define?: Record<string, string>;
|
|
21
|
+
clean?: boolean;
|
|
22
|
+
annotateSources?: boolean;
|
|
23
|
+
manifest?: BundlerManifestOptions;
|
|
24
|
+
onRebuilt?: (result: BundlerBuildResult) => void | Promise<void>;
|
|
25
|
+
onEntrySetChanged?: (entries: Record<string, string>) => void | Promise<void>;
|
|
26
|
+
logger?: BundlerLogger;
|
|
27
|
+
loggerAdapter?: BundlerLoggerAdapter;
|
|
28
|
+
};
|
|
29
|
+
type BundlerBuildResult = {
|
|
30
|
+
entries: Record<string, string>;
|
|
31
|
+
outputs: string[];
|
|
32
|
+
warnings: number;
|
|
33
|
+
metafile?: Metafile;
|
|
34
|
+
assetManifest?: BundlerAssetManifest;
|
|
35
|
+
manifestPath?: string;
|
|
36
|
+
durationMs: number;
|
|
37
|
+
resolvedDiscovery: BundlerResolvedDiscovery;
|
|
38
|
+
result?: ResultLike<{
|
|
39
|
+
durationMs: number;
|
|
40
|
+
outputs: string[];
|
|
41
|
+
warnings: number;
|
|
42
|
+
}>;
|
|
43
|
+
};
|
|
44
|
+
type BundlerWatchSession = {
|
|
45
|
+
rebuild(): Promise<BundlerBuildResult>;
|
|
46
|
+
dispose(): Promise<void>;
|
|
47
|
+
};
|
|
48
|
+
type LoadedBundlerConfig = {
|
|
49
|
+
config: BundlerOptions;
|
|
50
|
+
configPath: string;
|
|
51
|
+
};
|
|
52
|
+
export type { BundlerBuildResult, BundlerEnvironment, BundlerOptions, BundlerWatchSession, LoadedBundlerConfig, };
|
|
53
|
+
//# sourceMappingURL=runtime.d.ts.map
|
|
@@ -0,0 +1 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":""}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export type { BundlerGenericLogMethod, BundlerLogEvent, BundlerLogger, BundlerLoggerAdapter, BundlerLogMethod, NormalizedBundlerLogger, } from "./types/logging.js";
|
|
2
|
+
export type { BundlerAggregateEntryMetadata, BundlerAggregateKind, BundlerAggregateModuleMap, BundlerAggregateModuleMapExports, BundlerAggregateRuleMetadata, BundlerDiscoverAggregateRule, BundlerDiscoverBundleRule, BundlerDiscoverEntryRule, BundlerDiscoverIgnoreRule, BundlerDiscoverOptions, BundlerDiscoverRule, BundlerDiscoverRuleStrategy, BundlerEntryKind, BundlerEntryRecord, BundlerEntrySource, BundlerResolvedDiscovery, BundlerResolvedRule, BundlerVirtualEntryLoader, } from "./types/discovery.js";
|
|
3
|
+
export type { BundlerAssetManifest, BundlerAssetManifestEntry, BundlerAssetManifestOutput, BundlerAssetManifestRule, BundlerAssetManifestSource, BundlerBuildAssetManifestOptions, BundlerCollectedAssetLinks, BundlerCollectAssetLinksLookup, BundlerCollectAssetLinksOptions, BundlerDerivedManifest, BundlerDerivedManifestChunk, BundlerDerivedManifestEntry, BundlerDerivedManifestOutput, BundlerDerivedManifestOutputKind, BundlerManifestOptions, } from "./types/manifest.js";
|
|
4
|
+
export type { BundlerImportGraph, BundlerImportGraphFile, BundlerImportGraphImport, BundlerImportGraphImportKind, BundlerImportGraphOptions, BundlerImportGraphTsconfigOptions, BundlerTsconfigPaths, } from "./types/import_graph.js";
|
|
5
|
+
export type { BundlerBuildResult, BundlerEnvironment, BundlerOptions, BundlerWatchSession, LoadedBundlerConfig, } from "./types/runtime.js";
|
|
6
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,uBAAuB,EACvB,eAAe,EACf,aAAa,EACb,oBAAoB,EACpB,gBAAgB,EAChB,uBAAuB,GACxB,MAAM,oBAAoB,CAAC;AAC5B,YAAY,EACV,6BAA6B,EAC7B,oBAAoB,EACpB,yBAAyB,EACzB,gCAAgC,EAChC,4BAA4B,EAC5B,4BAA4B,EAC5B,yBAAyB,EACzB,wBAAwB,EACxB,yBAAyB,EACzB,sBAAsB,EACtB,mBAAmB,EACnB,2BAA2B,EAC3B,gBAAgB,EAChB,kBAAkB,EAClB,kBAAkB,EAClB,wBAAwB,EACxB,mBAAmB,EACnB,yBAAyB,GAC1B,MAAM,sBAAsB,CAAC;AAC9B,YAAY,EACV,oBAAoB,EACpB,yBAAyB,EACzB,0BAA0B,EAC1B,wBAAwB,EACxB,0BAA0B,EAC1B,gCAAgC,EAChC,0BAA0B,EAC1B,8BAA8B,EAC9B,+BAA+B,EAC/B,sBAAsB,EACtB,2BAA2B,EAC3B,2BAA2B,EAC3B,4BAA4B,EAC5B,gCAAgC,EAChC,sBAAsB,GACvB,MAAM,qBAAqB,CAAC;AAC7B,YAAY,EACV,kBAAkB,EAClB,sBAAsB,EACtB,wBAAwB,EACxB,4BAA4B,EAC5B,yBAAyB,EACzB,iCAAiC,EACjC,oBAAoB,GACrB,MAAM,yBAAyB,CAAC;AACjC,YAAY,EACV,kBAAkB,EAClB,kBAAkB,EAClB,cAAc,EACd,mBAAmB,EACnB,mBAAmB,GACpB,MAAM,oBAAoB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
type BundlerVirtualEntryLoader = "css" | "ts";
|
|
2
|
+
type BundlerDiscoverRuleStrategy = "entry" | "bundle" | "ignore" | "aggregate";
|
|
3
|
+
type BundlerEntryKind = "entry" | "bundle";
|
|
4
|
+
type BundlerEntrySource = "discover" | "internal";
|
|
5
|
+
type BundlerAggregateKind = "module-map";
|
|
6
|
+
type BundlerAggregateModuleMapExports = {
|
|
7
|
+
root?: string;
|
|
8
|
+
map: string;
|
|
9
|
+
resolver: string;
|
|
10
|
+
default?: boolean;
|
|
11
|
+
};
|
|
12
|
+
type BundlerAggregateModuleMap = {
|
|
13
|
+
kind: "module-map";
|
|
14
|
+
rootModule?: string;
|
|
15
|
+
rootModuleExportName?: string;
|
|
16
|
+
matchedModuleExportName?: string;
|
|
17
|
+
keyFromPath?: "relative-path";
|
|
18
|
+
collapseIndex?: boolean;
|
|
19
|
+
allowEmpty?: boolean;
|
|
20
|
+
exports?: BundlerAggregateModuleMapExports;
|
|
21
|
+
};
|
|
22
|
+
type BundlerDiscoverEntryRule = {
|
|
23
|
+
key: string;
|
|
24
|
+
include: string[];
|
|
25
|
+
exclude?: string[];
|
|
26
|
+
strategy: "entry";
|
|
27
|
+
};
|
|
28
|
+
type BundlerDiscoverBundleRule = {
|
|
29
|
+
key: string;
|
|
30
|
+
include: string[];
|
|
31
|
+
exclude?: string[];
|
|
32
|
+
strategy: "bundle";
|
|
33
|
+
maxBundleSize?: number | string;
|
|
34
|
+
};
|
|
35
|
+
type BundlerDiscoverIgnoreRule = {
|
|
36
|
+
key: string;
|
|
37
|
+
include: string[];
|
|
38
|
+
exclude?: string[];
|
|
39
|
+
strategy: "ignore";
|
|
40
|
+
};
|
|
41
|
+
type BundlerDiscoverAggregateRule = {
|
|
42
|
+
key: string;
|
|
43
|
+
include: string[];
|
|
44
|
+
exclude?: string[];
|
|
45
|
+
strategy: "aggregate";
|
|
46
|
+
aggregate: BundlerAggregateModuleMap;
|
|
47
|
+
};
|
|
48
|
+
type BundlerDiscoverRule = BundlerDiscoverEntryRule | BundlerDiscoverBundleRule | BundlerDiscoverIgnoreRule | BundlerDiscoverAggregateRule;
|
|
49
|
+
type BundlerDiscoverOptions = {
|
|
50
|
+
dir: string;
|
|
51
|
+
rules: BundlerDiscoverRule[];
|
|
52
|
+
ignoreDirs?: string[];
|
|
53
|
+
};
|
|
54
|
+
type BundlerAggregateEntryMetadata = {
|
|
55
|
+
kind: "module-map";
|
|
56
|
+
rootModule?: string;
|
|
57
|
+
matchedSources: string[];
|
|
58
|
+
};
|
|
59
|
+
type BundlerAggregateRuleMetadata = {
|
|
60
|
+
kind: "module-map";
|
|
61
|
+
rootModule?: string;
|
|
62
|
+
};
|
|
63
|
+
type BundlerEntryRecord = {
|
|
64
|
+
aggregate?: BundlerAggregateEntryMetadata;
|
|
65
|
+
contents?: string;
|
|
66
|
+
entrySource?: string;
|
|
67
|
+
generated: boolean;
|
|
68
|
+
key: string;
|
|
69
|
+
kind: BundlerEntryKind;
|
|
70
|
+
name: string;
|
|
71
|
+
ownedSources: string[];
|
|
72
|
+
path: string;
|
|
73
|
+
ruleKey: string;
|
|
74
|
+
source: BundlerEntrySource;
|
|
75
|
+
strategy: Exclude<BundlerDiscoverRuleStrategy, "ignore">;
|
|
76
|
+
virtualLoader?: BundlerVirtualEntryLoader;
|
|
77
|
+
};
|
|
78
|
+
type BundlerResolvedRule = {
|
|
79
|
+
aggregate?: BundlerAggregateRuleMetadata;
|
|
80
|
+
entryKeys: string[];
|
|
81
|
+
ignoredSources: string[];
|
|
82
|
+
ruleKey: string;
|
|
83
|
+
strategy: BundlerDiscoverRuleStrategy;
|
|
84
|
+
};
|
|
85
|
+
type BundlerResolvedDiscovery = {
|
|
86
|
+
entries: BundlerEntryRecord[];
|
|
87
|
+
rules: Record<string, BundlerResolvedRule>;
|
|
88
|
+
sourceOwners: Record<string, string>;
|
|
89
|
+
};
|
|
90
|
+
export type { BundlerAggregateEntryMetadata, BundlerAggregateKind, BundlerAggregateModuleMap, BundlerAggregateModuleMapExports, BundlerAggregateRuleMetadata, BundlerDiscoverAggregateRule, BundlerDiscoverBundleRule, BundlerDiscoverEntryRule, BundlerDiscoverIgnoreRule, BundlerDiscoverOptions, BundlerDiscoverRule, BundlerDiscoverRuleStrategy, BundlerEntryKind, BundlerEntryRecord, BundlerEntrySource, BundlerResolvedDiscovery, BundlerResolvedRule, BundlerVirtualEntryLoader, };
|
|
91
|
+
//# sourceMappingURL=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EAAE,CAAC;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,kBAAkB,CAAC;IAC3B,QAAQ,EAAE,OAAO,CAAC,2BAA2B,EAAE,QAAQ,CAAC,CAAC;IACzD,aAAa,CAAC,EAAE,yBAAyB,CAAC;CAC3C,CAAC;AAEF,KAAK,mBAAmB,GAAG;IACzB,SAAS,CAAC,EAAE,4BAA4B,CAAC;IACzC,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,cAAc,EAAE,MAAM,EAAE,CAAC;IACzB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,2BAA2B,CAAC;CACvC,CAAC;AAEF,KAAK,wBAAwB,GAAG;IAC9B,OAAO,EAAE,kBAAkB,EAAE,CAAC;IAC9B,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,mBAAmB,CAAC,CAAC;IAC3C,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACtC,CAAC;AAEF,YAAY,EACV,6BAA6B,EAC7B,oBAAoB,EACpB,yBAAyB,EACzB,gCAAgC,EAChC,4BAA4B,EAC5B,4BAA4B,EAC5B,yBAAyB,EACzB,wBAAwB,EACxB,yBAAyB,EACzB,sBAAsB,EACtB,mBAAmB,EACnB,2BAA2B,EAC3B,gBAAgB,EAChB,kBAAkB,EAClB,kBAAkB,EAClB,wBAAwB,EACxB,mBAAmB,EACnB,yBAAyB,GAC1B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"discovery.js","sourceRoot":"","sources":["../../../src/types/discovery.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
type BundlerTsconfigPaths = Record<string, string[]>;
|
|
2
|
+
type BundlerImportGraphTsconfigOptions = boolean | string | {
|
|
3
|
+
file?: string;
|
|
4
|
+
baseUrl?: string;
|
|
5
|
+
paths?: BundlerTsconfigPaths;
|
|
6
|
+
};
|
|
7
|
+
type BundlerImportGraphImportKind = "dynamic-import" | "export-from" | "import";
|
|
8
|
+
type BundlerImportGraphImport = {
|
|
9
|
+
specifier: string;
|
|
10
|
+
kind: BundlerImportGraphImportKind;
|
|
11
|
+
resolved?: string;
|
|
12
|
+
external: boolean;
|
|
13
|
+
};
|
|
14
|
+
type BundlerImportGraphFile = {
|
|
15
|
+
path: string;
|
|
16
|
+
imports: BundlerImportGraphImport[];
|
|
17
|
+
};
|
|
18
|
+
type BundlerImportGraph = {
|
|
19
|
+
entries: string[];
|
|
20
|
+
files: Record<string, BundlerImportGraphFile>;
|
|
21
|
+
};
|
|
22
|
+
type BundlerImportGraphOptions = {
|
|
23
|
+
entries: string | string[];
|
|
24
|
+
rootDir?: string;
|
|
25
|
+
extensions?: string[];
|
|
26
|
+
tsconfig?: BundlerImportGraphTsconfigOptions;
|
|
27
|
+
};
|
|
28
|
+
export type { BundlerImportGraph, BundlerImportGraphFile, BundlerImportGraphImport, BundlerImportGraphImportKind, BundlerImportGraphOptions, BundlerImportGraphTsconfigOptions, BundlerTsconfigPaths, };
|
|
29
|
+
//# sourceMappingURL=import_graph.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"import_graph.d.ts","sourceRoot":"","sources":["../../../src/types/import_graph.ts"],"names":[],"mappings":"AAAA,KAAK,oBAAoB,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;AAErD,KAAK,iCAAiC,GAAG,OAAO,GAAG,MAAM,GAAG;IAC1D,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,oBAAoB,CAAC;CAC9B,CAAC;AAEF,KAAK,4BAA4B,GAAG,gBAAgB,GAAG,aAAa,GAAG,QAAQ,CAAC;AAEhF,KAAK,wBAAwB,GAAG;IAC9B,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,4BAA4B,CAAC;IACnC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,KAAK,sBAAsB,GAAG;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,wBAAwB,EAAE,CAAC;CACrC,CAAC;AAEF,KAAK,kBAAkB,GAAG;IACxB,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,sBAAsB,CAAC,CAAC;CAC/C,CAAC;AAEF,KAAK,yBAAyB,GAAG;IAC/B,OAAO,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAC3B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IACtB,QAAQ,CAAC,EAAE,iCAAiC,CAAC;CAC9C,CAAC;AAEF,YAAY,EACV,kBAAkB,EAClB,sBAAsB,EACtB,wBAAwB,EACxB,4BAA4B,EAC5B,yBAAyB,EACzB,iCAAiC,EACjC,oBAAoB,GACrB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"import_graph.js","sourceRoot":"","sources":["../../../src/types/import_graph.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { LoggerAdapterEvent, LoggerAdapterGenericLogMethod, LoggerAdapterLogger, LoggerAdapterLogMethod, LoggerAdapterWriter, NormalizedLoggerAdapter } from "@trebired/logger-adapter";
|
|
2
|
+
type BundlerLogger = LoggerAdapterLogger;
|
|
3
|
+
type BundlerLoggerAdapter = LoggerAdapterWriter;
|
|
4
|
+
type BundlerLogMethod = LoggerAdapterLogMethod;
|
|
5
|
+
type BundlerGenericLogMethod = LoggerAdapterGenericLogMethod;
|
|
6
|
+
type BundlerLogEvent = LoggerAdapterEvent;
|
|
7
|
+
type NormalizedBundlerLogger = NormalizedLoggerAdapter;
|
|
8
|
+
export type { BundlerGenericLogMethod, BundlerLogEvent, BundlerLogger, BundlerLoggerAdapter, BundlerLogMethod, NormalizedBundlerLogger, };
|
|
9
|
+
//# sourceMappingURL=logging.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"logging.d.ts","sourceRoot":"","sources":["../../../src/types/logging.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,kBAAkB,EAClB,6BAA6B,EAC7B,mBAAmB,EACnB,sBAAsB,EACtB,mBAAmB,EACnB,uBAAuB,EACxB,MAAM,0BAA0B,CAAC;AAElC,KAAK,aAAa,GAAG,mBAAmB,CAAC;AACzC,KAAK,oBAAoB,GAAG,mBAAmB,CAAC;AAChD,KAAK,gBAAgB,GAAG,sBAAsB,CAAC;AAC/C,KAAK,uBAAuB,GAAG,6BAA6B,CAAC;AAC7D,KAAK,eAAe,GAAG,kBAAkB,CAAC;AAC1C,KAAK,uBAAuB,GAAG,uBAAuB,CAAC;AAEvD,YAAY,EACV,uBAAuB,EACvB,eAAe,EACf,aAAa,EACb,oBAAoB,EACpB,gBAAgB,EAChB,uBAAuB,GACxB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"logging.js","sourceRoot":"","sources":["../../../src/types/logging.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import type { Metafile } from "esbuild";
|
|
2
|
+
import type { BundlerAggregateEntryMetadata, BundlerAggregateRuleMetadata, BundlerDiscoverRuleStrategy, BundlerEntryKind, BundlerResolvedDiscovery } from "./discovery.js";
|
|
3
|
+
type BundlerManifestOptions = boolean | {
|
|
4
|
+
file?: string;
|
|
5
|
+
};
|
|
6
|
+
type BundlerDerivedManifestEntry = {
|
|
7
|
+
entryOutput: string;
|
|
8
|
+
entryName?: string;
|
|
9
|
+
inputs: string[];
|
|
10
|
+
js: string[];
|
|
11
|
+
css: string[];
|
|
12
|
+
imports: string[];
|
|
13
|
+
};
|
|
14
|
+
type BundlerDerivedManifestChunk = {
|
|
15
|
+
output: string;
|
|
16
|
+
inputs: string[];
|
|
17
|
+
css: string[];
|
|
18
|
+
imports: string[];
|
|
19
|
+
};
|
|
20
|
+
type BundlerDerivedManifestOutputKind = "asset" | "chunk" | "entry";
|
|
21
|
+
type BundlerDerivedManifestOutput = {
|
|
22
|
+
output: string;
|
|
23
|
+
kind: BundlerDerivedManifestOutputKind;
|
|
24
|
+
entryPoint?: string;
|
|
25
|
+
entryName?: string;
|
|
26
|
+
inputs: string[];
|
|
27
|
+
css: string[];
|
|
28
|
+
imports: string[];
|
|
29
|
+
bytes: number;
|
|
30
|
+
};
|
|
31
|
+
type BundlerDerivedManifest = {
|
|
32
|
+
entries: Record<string, BundlerDerivedManifestEntry>;
|
|
33
|
+
chunks: Record<string, BundlerDerivedManifestChunk>;
|
|
34
|
+
allOutputs: Record<string, BundlerDerivedManifestOutput>;
|
|
35
|
+
};
|
|
36
|
+
type BundlerAssetManifestEntry = {
|
|
37
|
+
aggregate?: BundlerAggregateEntryMetadata;
|
|
38
|
+
assets: string[];
|
|
39
|
+
css: string[];
|
|
40
|
+
entryOutput: string;
|
|
41
|
+
entrySource?: string;
|
|
42
|
+
file: string;
|
|
43
|
+
generated: boolean;
|
|
44
|
+
imports: string[];
|
|
45
|
+
js: string[];
|
|
46
|
+
key: string;
|
|
47
|
+
kind: BundlerEntryKind;
|
|
48
|
+
outputs: string[];
|
|
49
|
+
ruleKey: string;
|
|
50
|
+
sources: string[];
|
|
51
|
+
strategy: Exclude<BundlerDiscoverRuleStrategy, "ignore">;
|
|
52
|
+
};
|
|
53
|
+
type BundlerAssetManifestSource = {
|
|
54
|
+
entryKey: string;
|
|
55
|
+
outputs: string[];
|
|
56
|
+
ruleKey: string;
|
|
57
|
+
source: string;
|
|
58
|
+
strategy: Exclude<BundlerDiscoverRuleStrategy, "ignore">;
|
|
59
|
+
};
|
|
60
|
+
type BundlerAssetManifestRule = {
|
|
61
|
+
aggregate?: BundlerAggregateRuleMetadata;
|
|
62
|
+
entryKeys: string[];
|
|
63
|
+
ignoredSources: string[];
|
|
64
|
+
ruleKey: string;
|
|
65
|
+
strategy: BundlerDiscoverRuleStrategy;
|
|
66
|
+
};
|
|
67
|
+
type BundlerAssetManifestOutput = {
|
|
68
|
+
bytes: number;
|
|
69
|
+
css: string[];
|
|
70
|
+
entryKey?: string;
|
|
71
|
+
entryPoint?: string;
|
|
72
|
+
imports: string[];
|
|
73
|
+
inputs: string[];
|
|
74
|
+
kind: BundlerDerivedManifestOutputKind;
|
|
75
|
+
output: string;
|
|
76
|
+
ruleKey?: string;
|
|
77
|
+
strategy?: Exclude<BundlerDiscoverRuleStrategy, "ignore">;
|
|
78
|
+
};
|
|
79
|
+
type BundlerAssetManifest = {
|
|
80
|
+
entries: Record<string, BundlerAssetManifestEntry>;
|
|
81
|
+
entryOutputs: Record<string, string>;
|
|
82
|
+
outputs: Record<string, BundlerAssetManifestOutput>;
|
|
83
|
+
rules: Record<string, BundlerAssetManifestRule>;
|
|
84
|
+
sources: Record<string, BundlerAssetManifestSource>;
|
|
85
|
+
};
|
|
86
|
+
type BundlerBuildAssetManifestOptions = {
|
|
87
|
+
metafile: Metafile;
|
|
88
|
+
resolvedDiscovery?: BundlerResolvedDiscovery;
|
|
89
|
+
rootDir: string;
|
|
90
|
+
outDir: string;
|
|
91
|
+
};
|
|
92
|
+
type BundlerCollectAssetLinksLookup = "auto" | "entryKey" | "entryOutput" | "ruleKey" | "source";
|
|
93
|
+
type BundlerCollectAssetLinksOptions = {
|
|
94
|
+
from?: BundlerCollectAssetLinksLookup;
|
|
95
|
+
publicPath?: string;
|
|
96
|
+
};
|
|
97
|
+
type BundlerCollectedAssetLinks = {
|
|
98
|
+
entryKeys: string[];
|
|
99
|
+
scripts: string[];
|
|
100
|
+
styles: string[];
|
|
101
|
+
assets: string[];
|
|
102
|
+
outputs: string[];
|
|
103
|
+
missing: string[];
|
|
104
|
+
};
|
|
105
|
+
export type { BundlerAssetManifest, BundlerAssetManifestEntry, BundlerAssetManifestOutput, BundlerAssetManifestRule, BundlerAssetManifestSource, BundlerBuildAssetManifestOptions, BundlerCollectedAssetLinks, BundlerCollectAssetLinksLookup, BundlerCollectAssetLinksOptions, BundlerDerivedManifest, BundlerDerivedManifestChunk, BundlerDerivedManifestEntry, BundlerDerivedManifestOutput, BundlerDerivedManifestOutputKind, BundlerManifestOptions, };
|
|
106
|
+
//# sourceMappingURL=manifest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"manifest.d.ts","sourceRoot":"","sources":["../../../src/types/manifest.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAExC,OAAO,KAAK,EACV,6BAA6B,EAC7B,4BAA4B,EAC5B,2BAA2B,EAC3B,gBAAgB,EAChB,wBAAwB,EACzB,MAAM,gBAAgB,CAAC;AAExB,KAAK,sBAAsB,GAAG,OAAO,GAAG;IACtC,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,KAAK,2BAA2B,GAAG;IACjC,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,EAAE,EAAE,MAAM,EAAE,CAAC;IACb,GAAG,EAAE,MAAM,EAAE,CAAC;IACd,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB,CAAC;AAEF,KAAK,2BAA2B,GAAG;IACjC,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,GAAG,EAAE,MAAM,EAAE,CAAC;IACd,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB,CAAC;AAEF,KAAK,gCAAgC,GAAG,OAAO,GAAG,OAAO,GAAG,OAAO,CAAC;AAEpE,KAAK,4BAA4B,GAAG;IAClC,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,gCAAgC,CAAC;IACvC,UAAU,CAAC,EAAE,MAAM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