Skip to content

Commit 6836f1d

Browse files
committed
* update deps
* prepare release
1 parent 113eca0 commit 6836f1d

File tree

8 files changed

+2275
-1101
lines changed

8 files changed

+2275
-1101
lines changed

.github/workflows/test-and-release.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@ jobs:
2222

2323
strategy:
2424
matrix:
25-
node-version: [14.x]
25+
node-version: [18.x]
2626

2727
steps:
2828
- name: Checkout code
2929
uses: actions/checkout@v3
3030

3131
- name: Use Node.js ${{ matrix.node-version }}
32-
uses: actions/setup-node@v3.6.0
32+
uses: actions/setup-node@v3
3333
with:
3434
node-version: ${{ matrix.node-version }}
3535

@@ -53,14 +53,14 @@ jobs:
5353
runs-on: ubuntu-latest
5454
strategy:
5555
matrix:
56-
node-version: [14.x]
56+
node-version: [18.x]
5757

5858
steps:
5959
- name: Checkout code
6060
uses: actions/checkout@v3
6161

6262
- name: Use Node.js ${{ matrix.node-version }}
63-
uses: actions/setup-node@v3.6.0
63+
uses: actions/setup-node@v3
6464
with:
6565
node-version: ${{ matrix.node-version }}
6666

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
Placeholder for the next version (at the beginning of the line):
44
## __WORK IN PROGRESS__
55
-->
6+
7+
## __WORK IN PROGRESS__
8+
* (AlCalzone/Garfonso) symlink the local adapter instead of pack/install on each change
9+
* (Apollon77) Update dependencies
10+
611
## 0.6.0 (2022-10-02)
712
- (Apollon77) Add option --doNotWatch for "watch" mode to ignore changes on defined files or locations
813
- (Apollon77/kleinOr) Set several other system settings on "setup" call like the location, currency, language and temperature unit that they are not empty

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2021-2022 UncleSamSwiss
3+
Copyright (c) 2021-2023 UncleSamSwiss
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

dist/index.js

100755100644
+3-6
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ const ws_1 = __importDefault(require("ws"));
5050
const jsonConfig_1 = require("./jsonConfig");
5151
const logger_1 = require("./logger");
5252
const chalk = require("chalk");
53-
const rimraf = require("rimraf");
53+
const rimraf_1 = require("rimraf");
5454
const acorn = require("acorn");
5555
const EventEmitter = require("events");
5656
const DEFAULT_TEMP_DIR_NAME = '.dev-server';
@@ -284,7 +284,7 @@ class DevServer {
284284
async setup(adminPort, dependencies, backupFile, force, useSymlinks = false) {
285285
if (force) {
286286
this.log.notice(`Deleting ${this.profileDir}`);
287-
await this.rimraf(this.profileDir);
287+
await (0, rimraf_1.rimraf)(this.profileDir);
288288
}
289289
if (this.isSetUp()) {
290290
this.log.error(`dev-server is already set up in "${this.profileDir}".`);
@@ -1314,7 +1314,7 @@ class DevServer {
13141314
if (doInstall) {
13151315
const fullPath = path.join(this.rootDir, filename);
13161316
this.execSync(`npm install "${fullPath}"`, this.profileDir);
1317-
await this.rimraf(fullPath);
1317+
await (0, rimraf_1.rimraf)(fullPath);
13181318
}
13191319
}
13201320
}
@@ -1449,9 +1449,6 @@ class DevServer {
14491449
});
14501450
});
14511451
}
1452-
rimraf(name) {
1453-
return new Promise((resolve, reject) => rimraf(name, (err) => (err ? reject(err) : resolve())));
1454-
}
14551452
escapeStringRegexp(value) {
14561453
// Escape characters with special meaning either inside or outside character sets.
14571454
// Use a simple backslash escape when it’s always valid, and a `\xnn` escape when the simpler form would be disallowed by Unicode patterns’ stricter grammar.

0 commit comments

Comments
 (0)