@jayfong/x-server 1.26.3 → 1.26.4
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 +7 -0
- package/lib/_cjs/cli/build_util.js +1 -1
- package/lib/cli/build_util.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [1.26.4](https://github.com/jfWorks/x-server/compare/v1.26.3...v1.26.4) (2022-05-03)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* bull ([5c92fc2](https://github.com/jfWorks/x-server/commit/5c92fc2f54c6e7ddcc237553d840b72af27d8630))
|
|
11
|
+
|
|
5
12
|
### [1.26.3](https://github.com/jfWorks/x-server/compare/v1.26.2...v1.26.3) (2022-05-03)
|
|
6
13
|
|
|
7
14
|
|
|
@@ -108,7 +108,7 @@ class BuildUtil {
|
|
|
108
108
|
filter: /\/bull\/lib\/commands\/index\.js$/
|
|
109
109
|
}, async args => {
|
|
110
110
|
let js = await _fsExtra.default.readFile(args.path, 'utf-8');
|
|
111
|
-
js = js.replace(
|
|
111
|
+
js = js.replace(/__dirname/g, '"./assets/bull/commands"');
|
|
112
112
|
await _fsExtra.default.copy(_nodePath.default.dirname(require.resolve('bull/lib/commands/index.js')), _nodePath.default.join(distDir, 'assets/bull/commands'));
|
|
113
113
|
return {
|
|
114
114
|
contents: js,
|
package/lib/cli/build_util.js
CHANGED
|
@@ -84,7 +84,7 @@ export class BuildUtil {
|
|
|
84
84
|
filter: /\/bull\/lib\/commands\/index\.js$/
|
|
85
85
|
}, async args => {
|
|
86
86
|
let js = await fs.readFile(args.path, 'utf-8');
|
|
87
|
-
js = js.replace(
|
|
87
|
+
js = js.replace(/__dirname/g, '"./assets/bull/commands"');
|
|
88
88
|
await fs.copy(path.dirname(require.resolve('bull/lib/commands/index.js')), path.join(distDir, 'assets/bull/commands'));
|
|
89
89
|
return {
|
|
90
90
|
contents: js,
|