@hypernym/bundler 0.30.3 → 0.30.5

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/dist/bin/index.js CHANGED
@@ -9,7 +9,7 @@ import { build as build$1 } from "../build/index.js";
9
9
 
10
10
  //#region src/bin/meta.ts
11
11
  const name = `Hyperbundler`;
12
- const version = `0.30.3`;
12
+ const version = `0.30.5`;
13
13
 
14
14
  //#endregion
15
15
  //#region src/utils/logger.ts
@@ -138,7 +138,9 @@ async function build(options) {
138
138
  external: entry.externals || externals,
139
139
  plugins: isChunk ? entry.plugins : entry.plugins || [dts({
140
140
  ...entry.dtsPlugin,
141
- emitDtsOnly: true
141
+ emitDtsOnly: true,
142
+ banner: entry.banner,
143
+ footer: entry.footer
142
144
  })],
143
145
  onLog: (level, log, handler) => {
144
146
  if (entry.onLog) entry.onLog(level, log, handler, buildLogs);
@@ -148,8 +150,10 @@ async function build(options) {
148
150
  });
149
151
  },
150
152
  resolve: entry.resolve,
151
- define: entry.define,
152
- inject: entry.inject,
153
+ transform: {
154
+ define: entry.define,
155
+ inject: entry.inject
156
+ },
153
157
  tsconfig: entry.tsconfig || tsconfig
154
158
  };
155
159
  const entryOutput = {
package/dist/index.d.ts CHANGED
@@ -137,13 +137,13 @@ interface EntryBase {
137
137
  *
138
138
  * @default undefined
139
139
  */
140
- define?: InputOptions['define'];
140
+ define?: NonNullable<InputOptions['transform']>['define'];
141
141
  /**
142
142
  * Specifies Rolldown `inject` options.
143
143
  *
144
144
  * @default undefined
145
145
  */
146
- inject?: InputOptions['inject'];
146
+ inject?: NonNullable<InputOptions['transform']>['inject'];
147
147
  /**
148
148
  * Specifies Rolldown plugins.
149
149
  *
@@ -1,5 +1,6 @@
1
1
  import { Plugin } from "rolldown";
2
2
  export * from "rolldown/experimental";
3
+ export * from "rolldown/plugins";
3
4
  export * from "rolldown-plugin-dts";
4
5
 
5
6
  //#region src/plugins/paths/index.d.ts
@@ -2,6 +2,8 @@ import { isString } from "@hypernym/utils";
2
2
 
3
3
  export * from "rolldown/experimental"
4
4
 
5
+ export * from "rolldown/plugins"
6
+
5
7
  export * from "rolldown-plugin-dts"
6
8
 
7
9
  //#region src/plugins/paths/index.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hypernym/bundler",
3
- "version": "0.30.3",
3
+ "version": "0.30.5",
4
4
  "author": "Hypernym Studio",
5
5
  "description": "ESM & TS module bundler.",
6
6
  "license": "MIT",
@@ -55,18 +55,18 @@
55
55
  }
56
56
  },
57
57
  "dependencies": {
58
- "@hypernym/args": "^0.3.3",
59
- "@hypernym/colors": "^1.0.5",
60
- "@hypernym/utils": "^3.4.5",
61
- "rolldown": "^1.0.0-beta.42",
62
- "rolldown-plugin-dts": "^0.16.11"
58
+ "@hypernym/args": "^0.3.4",
59
+ "@hypernym/colors": "^1.0.6",
60
+ "@hypernym/utils": "^3.4.6",
61
+ "rolldown": "^1.0.0-beta.50",
62
+ "rolldown-plugin-dts": "^0.17.7"
63
63
  },
64
64
  "devDependencies": {
65
- "@hypernym/eslint-config": "^3.6.4",
66
- "@hypernym/prettier-config": "^3.2.7",
67
- "@hypernym/tsconfig": "^2.6.2",
68
- "@types/node": "^24.7.1",
69
- "eslint": "^9.37.0",
65
+ "@hypernym/eslint-config": "^3.6.5",
66
+ "@hypernym/prettier-config": "^3.2.9",
67
+ "@hypernym/tsconfig": "^2.6.3",
68
+ "@types/node": "^24.10.1",
69
+ "eslint": "^9.39.1",
70
70
  "prettier": "^3.6.2",
71
71
  "typescript": "^5.9.3"
72
72
  },