Skip to content

Commit c04fa81

Browse files
build: upgrade deps for building on modern machine (#513)
Signed-off-by: tison <wander4096@gmail.com> Co-authored-by: Nicolò Boschi <boschi1997@gmail.com>
1 parent e036664 commit c04fa81

File tree

7 files changed

+32
-32
lines changed

7 files changed

+32
-32
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ If you have not installed Java and Node, follow the instructions below.
1313
| Dependency | Installation guide |
1414
| ---------- | --------------------------------- |
1515
| Java 8 | https://openjdk.java.net/install/ |
16-
| Node 10.15 | https://nodejs.org/en/ |
16+
| Node 18 | https://nodejs.org/en/ |
1717

1818
### Fork pulsar-manager repository
1919

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,8 @@ bkvm address => http://localhost:7750/bkvm
131131
#### Prerequisites
132132
133133
* Java JDK 1.8
134-
* Node 10.15.3 or later
135-
* Npm 6.4.1 or later
134+
* Node.js 16 or later
135+
* npm 8 later
136136
* Pulsar 2.4.0 or later
137137
138138
#### Build instructions
@@ -144,7 +144,7 @@ bkvm address => http://localhost:7750/bkvm
144144
```
145145
146146
2. Build and start the backend.
147-
147+
148148
```
149149
cd pulsar-manager
150150
./gradlew build -x test
@@ -171,8 +171,8 @@ After running these steps, the Pulsar Manager is running locally at http://127.0
171171
172172
If you are deploying Pulsar Manager 0.1.0 using the released container, you can log in the Pulsar Manager UI using the following credentials.
173173
174-
* Account: `pulsar`
175-
* Password: `pulsar`
174+
* Account: `pulsar`
175+
* Password: `pulsar`
176176
177177
If you are deploying Pulsar Manager using the latest code, you can create a super-user using the following command. Then you can use the super user credentials to log in the Pulsar Manager UI.
178178
@@ -189,7 +189,7 @@ After running these steps, the Pulsar Manager is running locally at http://127.0
189189
* `backend-service`: The IP address or domain name of the backend service.
190190
* `password`: The password should be more than or equal to 6 digits.
191191
192-
2. Create an environment.
192+
2. Create an environment.
193193
194194
An environment represents a Pulsar instance or a group of clusters you want to manage. A Pulsar Manager is capable of managing multiple environments.
195195
@@ -228,12 +228,12 @@ Use the default account (`pulsar`) and the default password (`pulsar`) to log in
228228
229229
### Configure environment
230230
231-
The puslar-manager supports multiple environment configurations and can manage multiple environments conveniently.
231+
The pulsar-manager supports multiple environment configurations and can manage multiple environments conveniently.
232232
233233
Here, the service URL represents the service IP address of the broker. If you run Pulsar manager in the standalone mode, it should be set to "http://127.0.0.1:8080".
234-
You can easily find it in the client.conf file of your pulsar-manager.
234+
You can easily find it in the client.conf file of your pulsar-manager.
235235
236-
And the bookie URL represents the service IP address of the bookkeeper. If you run Pulsar manager in the standalone mode, it should be set to "http://127.0.0.1:6650".
236+
And the bookie URL represents the service IP address of the bookkeeper. If you run Pulsar manager in the standalone mode, it should be set to "http://127.0.0.1:6650".
237237
238238
![pulsar-manager-environments](docs/img/pulsar-manager-environments.gif)
239239
@@ -286,7 +286,7 @@ Because the code for connecting the casdoor has been added in Pulsar-manager, we
286286
287287
#### Step1. Deploy Casdoor
288288
289-
Firstly, the Casdoor should be deployed.
289+
Firstly, the Casdoor should be deployed.
290290
291291
You can refer to the Casdoor official documentation for the [Casdoor](https://casdoor.org/docs/overview)
292292
@@ -298,7 +298,7 @@ After a successful deployment, you need to ensure:
298298
299299
Then you can quickly implement a casdoor based login page in your app with the following steps.
300300
301-
#### step2. Configure Casdoor
301+
#### step2. Configure Casdoor
302302
303303
Configure casdoor can refer to [casdoor](https://door.casdoor.com/login)(Configure casdoor's browser better not use one browser with your develop browser).
304304

distribution/LICENSE.bin.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ The Apache Software License, Version 2.0
224224
- io.jsonwebtoken-jjwt-jackson-0.10.5.jar
225225
* Guava
226226
- com.google.guava-guava-21.0.jar
227-
* Gson
227+
* Gson
228228
- com.google.code.gson-gson-2.8.2.jar
229229
* Pulsar
230230
- org.apache.pulsar-pulsar-common-2.4.1.jar
@@ -238,7 +238,7 @@ The Apache Software License, Version 2.0
238238
* xlsx
239239
- xlsx@0.15.1
240240
* node-chromediver
241-
- chromedriver@78.0.1
241+
- chromedriver@112.0.0
242242
* request
243243
- request@2.88.0
244244

@@ -340,7 +340,7 @@ MIT License
340340
* hash-sum
341341
- hash-sum@2.0.0 -- licenses/LICENSE-hash-sum.txt
342342
* html-webpack-plugin
343-
- html-webpack-plugin@3.2.0 -- licenses/LICENSE-html-webpack-plugin.txt
343+
- html-webpack-plugin@4.0.0 -- licenses/LICENSE-html-webpack-plugin.txt
344344
* husky
345345
- husky@3.0.9 -- licenses/LICENSE-husky.txt
346346
* lint-staged
@@ -352,7 +352,7 @@ MIT License
352352
* node-notifier
353353
- node-notifier@6.0.0 -- licenses/LICENSE-node-notifier.txt
354354
* node-sass
355-
- node-sass@4.13.0 -- licenses/LICENSE-node-sass.txt
355+
- node-sass@8.0.0 -- licenses/LICENSE-node-sass.txt
356356
* optimize-css-assets-webpack-plugin
357357
- optimize-css-assets-webpack-plugin@5.0.3 -- licenses/LICENSE-optimize-css-assets-webpack-plugin.txt
358358
* ora
@@ -370,7 +370,7 @@ MIT License
370370
* sass-loader
371371
- sass-loader@8.0.0 -- licenses/LICENSE-sass-loader.txt
372372
* script-ext-html-webpack-plugin
373-
- script-ext-html-webpack-plugin@2.1.4 -- licenses/LICENSE-script-ext-html-webpack-plugin.txt
373+
- script-ext-html-webpack-plugin@2.1.5 -- licenses/LICENSE-script-ext-html-webpack-plugin.txt
374374
* script-loader
375375
- script-loader@0.7.2 -- licenses/LICENSE-script-loader.txt
376376
* serve-static

distribution/NOTICE.bin.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Apache Pulsar
2-
Copyright 2017-2019 The Apache Software Foundation
2+
Copyright 2017-2023 The Apache Software Foundation
33

44
This product includes software developed at
55
The Apache Software Foundation (http://www.apache.org/).
@@ -10,4 +10,4 @@ Guava
1010
Copyright (C) 2010 The Guava Authors
1111

1212
GSon
13-
Copyright 2008 Google Inc.
13+
Copyright 2008 Google Inc.

front-end/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ plugins {
1818
}
1919

2020
node {
21-
version = '10.14.1'
22-
npmVersion = '6.4.1'
21+
version = '16.19.1'
22+
npmVersion = '8.19.4'
2323
download = true
2424
}
2525

front-end/integration-test/nightwatch.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@
1515
}
1616
}
1717
}
18-
}
18+
}

front-end/package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
"name": "pulsar-manager",
33
"version": "0.3.0",
44
"description": "A tool for managing Apache Pulsar.",
5-
"author": "<eguangning@gmail.com>",
6-
"license": "Apache License 2.0",
5+
"author": "<dev@pulsar.apache.org>",
6+
"license": "Apache-2.0",
77
"scripts": {
88
"dev": "cross-env BABEL_ENV=development webpack-dev-server --inline --progress --config build/webpack.dev.conf.js",
99
"build:prod": "cross-env NODE_ENV=production env_config=prod node build/build.js",
@@ -36,7 +36,7 @@
3636
"dependencies": {
3737
"@vue/composition-api": "^1.7.1",
3838
"axios": "0.18.1",
39-
"casdoor-vue-sdk": "^1.3.0",
39+
"casdoor-vue-sdk": "^1.5.1",
4040
"clipboard": "1.7.1",
4141
"codemirror": "5.39.2",
4242
"connect": "3.6.6",
@@ -51,7 +51,7 @@
5151
"nprogress": "0.2.0",
5252
"showdown": "1.8.6",
5353
"sortablejs": "1.7.0",
54-
"vue": "2.5.17",
54+
"vue": "2.6.0",
5555
"vue-i18n": "7.3.2",
5656
"vue-router": "3.0.1",
5757
"vuedraggable": "^2.16.0",
@@ -71,7 +71,7 @@
7171
"babel-preset-env": "1.7.0",
7272
"babel-preset-stage-2": "6.24.1",
7373
"chalk": "2.4.1",
74-
"chromedriver": "^2.46.0",
74+
"chromedriver": "112.0.0",
7575
"copy-webpack-plugin": "4.5.2",
7676
"cross-env": "5.2.0",
7777
"css-loader": "1.0.0",
@@ -82,13 +82,13 @@
8282
"file-loader": "1.1.11",
8383
"friendly-errors-webpack-plugin": "1.7.0",
8484
"hash-sum": "1.0.2",
85-
"html-webpack-plugin": "4.0.0-alpha",
85+
"html-webpack-plugin": "4.0.0",
8686
"husky": "0.14.3",
8787
"lint-staged": "7.2.2",
8888
"mini-css-extract-plugin": "0.4.1",
8989
"nightwatch": "^1.0.19",
9090
"node-notifier": "5.2.1",
91-
"node-sass": "^4.7.2",
91+
"node-sass": "8.0.0",
9292
"optimize-css-assets-webpack-plugin": "5.0.0",
9393
"ora": "3.0.0",
9494
"path-to-regexp": "2.4.0",
@@ -109,16 +109,16 @@
109109
"url-loader": "1.0.1",
110110
"vue-loader": "15.3.0",
111111
"vue-style-loader": "4.1.2",
112-
"vue-template-compiler": "2.5.17",
112+
"vue-template-compiler": "2.6.0",
113113
"webpack": "4.16.5",
114114
"webpack-cli": "3.1.0",
115115
"webpack-dev-server": "3.2.1",
116116
"webpack-merge": "4.1.4",
117117
"script-ext-html-webpack-plugin": "^2.1.5"
118118
},
119119
"engines": {
120-
"node": ">=12.0.0 <=12.22.10",
121-
"npm": ">=6.14.16"
120+
"node": ">=16",
121+
"npm": ">=8"
122122
},
123123
"browserslist": [
124124
"> 1%",

0 commit comments

Comments
 (0)