@pob/rollup-esbuild 6.7.0 → 7.1.0
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 +26 -0
- package/lib/createRollupConfig.js +20 -2
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,32 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [7.1.0](https://github.com/christophehurpeau/pob/compare/@pob/rollup-esbuild@7.0.0...@pob/rollup-esbuild@7.1.0) (2025-09-17)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* **deps:** update dependency rollup to v4.50.2 ([#2561](https://github.com/christophehurpeau/pob/issues/2561)) ([c206fd3](https://github.com/christophehurpeau/pob/commit/c206fd37900be3f00f33db69a150a316d009383d))
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
* **deps:** update dependency esbuild to v0.25.10 ([#2578](https://github.com/christophehurpeau/pob/issues/2578)) ([05668b1](https://github.com/christophehurpeau/pob/commit/05668b1aeb383d6952dda237ba86998bdcc2a21e))
|
|
15
|
+
|
|
16
|
+
Version bump for dependency: @pob/rollup
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
## [7.0.0](https://github.com/christophehurpeau/pob/compare/@pob/rollup-esbuild@6.7.0...@pob/rollup-esbuild@7.0.0) (2025-08-24)
|
|
20
|
+
|
|
21
|
+
### ⚠ BREAKING CHANGES
|
|
22
|
+
|
|
23
|
+
* drop node 20
|
|
24
|
+
|
|
25
|
+
### Features
|
|
26
|
+
|
|
27
|
+
* drop node 20 ([bb57350](https://github.com/christophehurpeau/pob/commit/bb573502c71f7316a54b4ce75203c05c0ba2e681))
|
|
28
|
+
|
|
29
|
+
Version bump for dependency: @pob/rollup
|
|
30
|
+
|
|
31
|
+
|
|
6
32
|
## [6.7.0](https://github.com/christophehurpeau/pob/compare/@pob/rollup-esbuild@6.6.0...@pob/rollup-esbuild@6.7.0) (2025-08-23)
|
|
7
33
|
|
|
8
34
|
### Features
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { readFileSync } from "node:fs";
|
|
1
|
+
import { chmodSync, readFileSync } from "node:fs";
|
|
2
2
|
import path from "node:path";
|
|
3
3
|
import { nodeFormatToExt, resolveEntry } from "@pob/rollup";
|
|
4
4
|
import { nodeResolve } from "@rollup/plugin-node-resolve";
|
|
@@ -118,6 +118,24 @@ export default function createRollupConfig({
|
|
|
118
118
|
})(),
|
|
119
119
|
|
|
120
120
|
...(typeof plugins === "function" ? plugins(env) : plugins),
|
|
121
|
+
|
|
122
|
+
env.executable
|
|
123
|
+
? [
|
|
124
|
+
{
|
|
125
|
+
name: "@pob/rollup-esbuild/executable-plugin",
|
|
126
|
+
writeBundle(options, bundle) {
|
|
127
|
+
Object.entries(bundle).forEach(([key, value]) => {
|
|
128
|
+
if (value.isEntry) {
|
|
129
|
+
chmodSync(
|
|
130
|
+
path.join(cwd, outDirectory, value.fileName),
|
|
131
|
+
0o755,
|
|
132
|
+
);
|
|
133
|
+
}
|
|
134
|
+
});
|
|
135
|
+
},
|
|
136
|
+
},
|
|
137
|
+
]
|
|
138
|
+
: [],
|
|
121
139
|
].filter(Boolean),
|
|
122
140
|
};
|
|
123
141
|
};
|
|
@@ -128,7 +146,7 @@ export default function createRollupConfig({
|
|
|
128
146
|
pobConfig.envs || [
|
|
129
147
|
{
|
|
130
148
|
target: "node",
|
|
131
|
-
version: "
|
|
149
|
+
version: "22",
|
|
132
150
|
},
|
|
133
151
|
];
|
|
134
152
|
const entryPath = resolveEntry(cwd, entryName);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pob/rollup-esbuild",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "7.1.0",
|
|
4
4
|
"description": "rollup configuration with typescript for pob",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"author": "Christophe Hurpeau <christophe@hurpeau.com> (https://christophe.hurpeau.com)",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"homepage": "https://github.com/christophehurpeau/pob",
|
|
14
14
|
"type": "module",
|
|
15
15
|
"engines": {
|
|
16
|
-
"node": ">=
|
|
16
|
+
"node": ">=22.18.0"
|
|
17
17
|
},
|
|
18
18
|
"sideEffects": false,
|
|
19
19
|
"bin": {
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"pob": {},
|
|
46
46
|
"prettier": "@pob/root/prettier-config",
|
|
47
47
|
"peerDependencies": {
|
|
48
|
-
"rollup": "4.
|
|
48
|
+
"rollup": "4.50.2",
|
|
49
49
|
"typescript": "^4.0.3 || ^5.0.0"
|
|
50
50
|
},
|
|
51
51
|
"peerDependenciesMeta": {
|
|
@@ -54,12 +54,12 @@
|
|
|
54
54
|
}
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@pob/rollup": "
|
|
57
|
+
"@pob/rollup": "7.1.0",
|
|
58
58
|
"@rollup/plugin-node-resolve": "16.0.1",
|
|
59
59
|
"@rollup/plugin-replace": "6.0.2",
|
|
60
60
|
"@rollup/plugin-run": "3.1.0",
|
|
61
|
-
"esbuild": "0.25.
|
|
62
|
-
"rollup": "4.
|
|
61
|
+
"esbuild": "0.25.10",
|
|
62
|
+
"rollup": "4.50.2",
|
|
63
63
|
"rollup-config-external-dependencies": "^3.0.1",
|
|
64
64
|
"rollup-plugin-esbuild": "6.2.1"
|
|
65
65
|
}
|