@merkur/tools 0.27.0 โ 0.29.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 +37 -0
- package/liveReloadServer.cjs +20 -0
- package/package.json +22 -32
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,43 @@
|
|
|
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
|
+
# [0.29.0](https://github.com/mjancarik/merkur/compare/v0.28.2...v0.29.0) (2022-08-08)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @merkur/tools
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [0.28.0](https://github.com/mjancarik/merkur/compare/v0.27.6...v0.28.0) (2022-04-20)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Code Refactoring
|
|
18
|
+
|
|
19
|
+
* ๐ก move liveReloadServer to merkur/tools ([f81e0e8](https://github.com/mjancarik/merkur/commit/f81e0e89eff4a72985c89d23079be6a9344a3b2e))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
### BREAKING CHANGES
|
|
23
|
+
|
|
24
|
+
* ๐งจ The liveReloadServer.cjs file is moved to @merkur/tools. The
|
|
25
|
+
@merkur/tool-webpack re-export createLiveReloadServer for keeping
|
|
26
|
+
backward compatability.
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
## [0.27.1](https://github.com/mjancarik/merkur/compare/v0.27.0...v0.27.1) (2021-09-30)
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
### Bug Fixes
|
|
36
|
+
|
|
37
|
+
* ๐ Removed unused @merkur/tools pkg dependencies ([#109](https://github.com/mjancarik/merkur/issues/109)) ([c1a28b0](https://github.com/mjancarik/merkur/commit/c1a28b00f1b9510eeab897ab0232f59a0f6a3c0f))
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
6
43
|
# [0.27.0](https://github.com/mjancarik/merkur/compare/v0.26.1...v0.27.0) (2021-09-29)
|
|
7
44
|
|
|
8
45
|
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
const fp = require('find-free-port');
|
|
2
|
+
const WebSocket = require('./websocket.cjs');
|
|
3
|
+
|
|
4
|
+
async function createLiveReloadServer() {
|
|
5
|
+
if (process.env.NODE_ENV === 'development') {
|
|
6
|
+
try {
|
|
7
|
+
const [freePort] = await fp(4321);
|
|
8
|
+
process.env.MERKUR_PLAYGROUND_LIVERELOAD_PORT = freePort;
|
|
9
|
+
|
|
10
|
+
WebSocket.createServer({
|
|
11
|
+
port: freePort,
|
|
12
|
+
});
|
|
13
|
+
} catch (error) {
|
|
14
|
+
console.error(error);
|
|
15
|
+
throw new Error('Unable to retrieve free port for livereload server.');
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
module.exports = { createLiveReloadServer };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@merkur/tools",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.29.0",
|
|
4
4
|
"description": "Merkur tools.",
|
|
5
5
|
"bin": {
|
|
6
6
|
"merkur-tools": "./bin/merkurTools.js"
|
|
@@ -30,40 +30,30 @@
|
|
|
30
30
|
},
|
|
31
31
|
"homepage": "https://merkur.js.org/",
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@babel/core": "7.
|
|
34
|
-
"@babel/eslint-parser": "7.
|
|
35
|
-
"@babel/preset-env": "7.
|
|
36
|
-
"babel-jest": "27.
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"compression-webpack-plugin": "^8.0.1",
|
|
40
|
-
"core-js": "3.16.2",
|
|
41
|
-
"css-loader": "6.2.0",
|
|
42
|
-
"eslint": "7.32.0",
|
|
33
|
+
"@babel/core": "7.17.9",
|
|
34
|
+
"@babel/eslint-parser": "7.17.0",
|
|
35
|
+
"@babel/preset-env": "7.16.11",
|
|
36
|
+
"babel-jest": "27.5.1",
|
|
37
|
+
"core-js": "3.22.0",
|
|
38
|
+
"eslint": "8.13.0",
|
|
43
39
|
"eslint-config-last": "0.0.5",
|
|
44
|
-
"eslint-config-prettier": "8.
|
|
45
|
-
"eslint-plugin-import": "^2.
|
|
46
|
-
"eslint-plugin-jasmine": "4.1.
|
|
47
|
-
"eslint-plugin-jest": "
|
|
48
|
-
"eslint-plugin-prettier": "
|
|
49
|
-
"eslint-plugin-react": "7.
|
|
50
|
-
"eslint-plugin-react-hooks": "^4.
|
|
51
|
-
"
|
|
52
|
-
"jest
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"webpack-manifest-plugin": "4.0.2",
|
|
59
|
-
"webpack-modules": "1.0.0",
|
|
60
|
-
"webpack-node-externals": "3.0.0",
|
|
61
|
-
"webpack-shell-plugin-next": "^2.2.2",
|
|
62
|
-
"ws": "8.2.0",
|
|
63
|
-
"yargs": "17.1.1"
|
|
40
|
+
"eslint-config-prettier": "8.5.0",
|
|
41
|
+
"eslint-plugin-import": "^2.26.0",
|
|
42
|
+
"eslint-plugin-jasmine": "4.1.3",
|
|
43
|
+
"eslint-plugin-jest": "26.1.4",
|
|
44
|
+
"eslint-plugin-prettier": "4.0.0",
|
|
45
|
+
"eslint-plugin-react": "7.29.4",
|
|
46
|
+
"eslint-plugin-react-hooks": "^4.4.0",
|
|
47
|
+
"find-free-port": "^2.0.0",
|
|
48
|
+
"jest": "27.5.1",
|
|
49
|
+
"jest-watch-typeahead": "^1.0.0",
|
|
50
|
+
"prettier": "2.6.2",
|
|
51
|
+
"supertest": "6.2.2",
|
|
52
|
+
"ws": "8.5.0",
|
|
53
|
+
"yargs": "17.4.1"
|
|
64
54
|
},
|
|
65
55
|
"peerDependencies": {
|
|
66
56
|
"express": "*"
|
|
67
57
|
},
|
|
68
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "ddc13f0ef4d1b18a02461011dae5df49d55f03a6"
|
|
69
59
|
}
|