@hypernym/bundler 0.14.0 → 0.14.2

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/LICENSE.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2024 Ivo Dolenc, Hypernym Studio
3
+ Copyright (c) 2025 Ivo Dolenc, Hypernym Studio
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -1,22 +1,20 @@
1
- <h1 align="center">Hyperbundler</h1>
1
+ <h1 align="center">Bundler</h1>
2
2
 
3
3
  <p align="center">ESM & TS module bundler.</p>
4
4
 
5
5
  <p align="center">
6
6
  <a href="https://github.com/hypernym-studio/bundler">Repository</a>
7
- <span>+</span>
7
+ <span>✦</span>
8
8
  <a href="https://www.npmjs.com/package/@hypernym/bundler">Package</a>
9
- <span>+</span>
9
+ <span>✦</span>
10
10
  <a href="https://github.com/hypernym-studio/bundler/releases">Releases</a>
11
- <span>+</span>
11
+ <span>✦</span>
12
12
  <a href="https://github.com/hypernym-studio/bundler/discussions">Discussions</a>
13
13
  </p>
14
14
 
15
- <pre align="center">pnpm add -D @hypernym/bundler</pre>
15
+ <br>
16
16
 
17
- <p align="center">
18
- <strong>Hypernym Studio</strong>
19
- </p>
17
+ <pre align="center">pnpm add -D @hypernym/bundler</pre>
20
18
 
21
19
  <br>
22
20
 
@@ -24,13 +22,13 @@
24
22
 
25
23
  - Powered by Rollup
26
24
  - Written in TypeScript
27
- - Allows advanced customization
28
- - Provides a powerful hooking system
29
- - Supports all TS module resolutions
30
- - Exports fully optimized code
31
- - Follows modern practice
32
- - Super easy to use
33
- - API friendly
25
+ - Allows Advanced Customization
26
+ - Provides a Powerful Hooking System
27
+ - Supports All TS Module Resolutions
28
+ - Exports Fully Optimized Code
29
+ - Follows Modern Practice
30
+ - Super Easy to Use
31
+ - API-Friendly
34
32
 
35
33
  ## Quick Start
36
34
 
@@ -24,23 +24,23 @@ const externals = [
24
24
  /^rollup/
25
25
  ];
26
26
 
27
- const logo = `\u2726\u2726`;
28
- const version = `0.14.0`;
27
+ const name = `Hyperbundler`;
28
+ const version = `0.14.2`;
29
29
 
30
30
  const cl = console.log;
31
31
  const separator = `/`;
32
32
  const logger = {
33
33
  info: (...args) => {
34
- cl(logo, dim(separator), ...args);
34
+ cl(name, dim(separator), ...args);
35
35
  },
36
36
  error: (...args) => {
37
37
  cl();
38
- cl(logo, dim(separator), ...args);
38
+ cl(name, dim(separator), ...args);
39
39
  cl();
40
40
  },
41
41
  exit: (message) => {
42
42
  cl();
43
- cl(logo, dim(separator), message);
43
+ cl(name, dim(separator), message);
44
44
  cl();
45
45
  return process.exit();
46
46
  }
@@ -254,10 +254,8 @@ async function build(cwd, options) {
254
254
  const aliasDir = resolve(cwd, "./src");
255
255
  let aliasOptions = {
256
256
  entries: options.alias || [
257
- { find: /^@/, replacement: aliasDir },
258
- { find: /^@\//, replacement: aliasDir },
259
- { find: /^~/, replacement: aliasDir },
260
- { find: /^~\//, replacement: aliasDir }
257
+ { find: "@", replacement: aliasDir },
258
+ { find: "~", replacement: aliasDir }
261
259
  ]
262
260
  };
263
261
  for (const entry of options.entries) {
@@ -469,6 +467,7 @@ async function createBuilder(cwd, config) {
469
467
  await hooks?.["bundle:start"]?.(options);
470
468
  logger.info(dim(`v${version}`));
471
469
  cl("Config", dim(configPath));
470
+ cl();
472
471
  cl("Bundling started...");
473
472
  cl(
474
473
  "Processing",
@@ -488,8 +487,9 @@ async function createBuilder(cwd, config) {
488
487
  "Module transformation is done"
489
488
  );
490
489
  cl(`Bundling fully completed in ${buildTime}`);
490
+ cl();
491
491
  cl(`${modules} transformed. Total size is ${buildSize}`);
492
- logger.info(`Bundle is generated and ready for production`);
492
+ cl(`Bundle is generated and ready for production`);
493
493
  cl();
494
494
  }).catch(error);
495
495
  await hooks?.["bundle:end"]?.(options);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hypernym/bundler",
3
- "version": "0.14.0",
3
+ "version": "0.14.2",
4
4
  "author": "Hypernym Studio",
5
5
  "description": "ESM & TS module bundler.",
6
6
  "license": "MIT",
@@ -45,7 +45,7 @@
45
45
  "prepublishOnly": "npm run build"
46
46
  },
47
47
  "sideEffects": false,
48
- "packageManager": "pnpm@9.11.0",
48
+ "packageManager": "pnpm@10.2.1",
49
49
  "engines": {
50
50
  "node": ">=20.0.0",
51
51
  "pnpm": ">=9.0.0"
@@ -64,24 +64,24 @@
64
64
  },
65
65
  "dependencies": {
66
66
  "@hypernym/args": "^0.3.0",
67
- "@hypernym/colors": "^1.0.1",
68
- "@hypernym/utils": "^3.4.0",
67
+ "@hypernym/colors": "^1.0.2",
68
+ "@hypernym/utils": "^3.4.1",
69
69
  "@rollup/plugin-alias": "^5.1.1",
70
70
  "@rollup/plugin-json": "^6.1.0",
71
- "@rollup/plugin-node-resolve": "^15.3.0",
72
- "@rollup/plugin-replace": "^6.0.1",
73
- "@rollup/pluginutils": "^5.1.2",
74
- "esbuild": "^0.24.0",
75
- "rollup": "^4.22.4",
71
+ "@rollup/plugin-node-resolve": "^16.0.0",
72
+ "@rollup/plugin-replace": "^6.0.2",
73
+ "@rollup/pluginutils": "^5.1.4",
74
+ "esbuild": "^0.25.0",
75
+ "rollup": "^4.34.6",
76
76
  "rollup-plugin-dts": "^6.1.1"
77
77
  },
78
78
  "devDependencies": {
79
- "@hypernym/eslint-config": "^3.5.0",
80
- "@hypernym/prettier-config": "^3.2.0",
81
- "@hypernym/tsconfig": "^2.4.0",
82
- "@types/node": "^22.6.1",
83
- "eslint": "^9.11.1",
84
- "prettier": "^3.3.3",
85
- "typescript": "^5.5.4"
79
+ "@hypernym/eslint-config": "^3.5.6",
80
+ "@hypernym/prettier-config": "^3.2.2",
81
+ "@hypernym/tsconfig": "^2.5.0",
82
+ "@types/node": "^22.13.1",
83
+ "eslint": "^9.20.0",
84
+ "prettier": "^3.5.0",
85
+ "typescript": "^5.7.3"
86
86
  }
87
87
  }