Skip to content

Commit 935a092

Browse files
committed
chore: minor dependence bumps
1 parent 185613a commit 935a092

File tree

12 files changed

+641
-342
lines changed

12 files changed

+641
-342
lines changed

package-lock.json

+520-289
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+9-9
Original file line numberDiff line numberDiff line change
@@ -129,17 +129,17 @@
129129
"@kui-shell/proxy": "13.1.3-dev-20230331-101459",
130130
"@kui-shell/react": "13.1.3-dev-20230331-101459",
131131
"@kui-shell/webpack": "13.1.3-dev-20230331-101459",
132-
"@playwright/test": "^1.31.0",
133-
"@typescript-eslint/eslint-plugin": "^5.53.0",
134-
"@typescript-eslint/parser": "^5.53.0",
135-
"concurrently": "^7.6.0",
132+
"@playwright/test": "^1.32.1",
133+
"@typescript-eslint/eslint-plugin": "^5.57.0",
134+
"@typescript-eslint/parser": "^5.57.0",
135+
"concurrently": "^8.0.1",
136136
"cross-env": "^7.0.3",
137-
"electron": "^22.3.0",
138-
"eslint": "^8.34.0",
137+
"electron": "^22.3.5",
138+
"eslint": "^8.37.0",
139139
"husky": "^8.0.3",
140-
"lint-staged": "^13.1.2",
141-
"playwright": "^1.31.0",
142-
"prettier": "^2.8.4",
140+
"lint-staged": "^13.2.0",
141+
"playwright": "^1.32.1",
142+
"prettier": "^2.8.7",
143143
"slash": "^3.0.0",
144144
"typescript": "^4.9.5"
145145
},

tests/plugin-madwizard/plan/inputs/1.spec.ts

+3-10
Original file line numberDiff line numberDiff line change
@@ -17,22 +17,15 @@
1717
import doPlan from "../plan"
1818
import Input, { Tree } from "../Input"
1919

20+
import importd from "./importd"
21+
import importe from "./importe"
22+
2023
const importa: (name?: string) => Tree = (name = "importa") => ({ name, children: [{ name: "echo AAA" }] })
2124

2225
const importc: Tree = { name: "importc", children: [{ name: "echo CCC" }] }
2326

2427
const option2Tab2: Tree = { name: "Option 2: Tab2", children: [importc] }
2528

26-
const importe: Tree = { name: "EEE", children: [{ name: "Option 1: TabE1", children: [{ name: "echo EEE" }] }] }
27-
28-
const importd: Tree = {
29-
name: "DDD",
30-
children: [
31-
{ name: "Option 1: SubTab1", children: [{ name: "echo AAA" }, { name: "echo AAA" }, { name: "echo AAA" }] },
32-
{ name: "Option 2: SubTab2", children: [{ name: "echo BBB" }] },
33-
],
34-
}
35-
3629
const prerequisites = {
3730
name: "Prerequisites",
3831
children: [importe, importd],

tests/plugin-madwizard/plan/inputs/2.spec.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@
1616

1717
import doPlan from "../plan"
1818
import Input, { Tree } from "../Input"
19-
import { importe, importd } from "./1.spec"
19+
20+
import importd from "./importd"
21+
import importe from "./importe"
2022

2123
const snippetsInTab4: Tree = {
2224
name: "snippets-in-tab4.md",

tests/plugin-madwizard/plan/inputs/3.spec.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@
1616

1717
import doPlan from "../plan"
1818
import Input, { Tree } from "../Input"
19-
import { importe, importd } from "./1.spec"
19+
20+
import importd from "./importd"
21+
import importe from "./importe"
2022

2123
const snippetsInTab5: Tree = {
2224
name: "snippets-in-tab5.md",

tests/plugin-madwizard/plan/inputs/4.spec.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@
1616

1717
import doPlan from "../plan"
1818
import Input, { Tree } from "../Input"
19-
import { importe, importd } from "./1.spec"
19+
20+
import importd from "./importd"
21+
import importe from "./importe"
2022

2123
const snippetsInTab5: Tree = {
2224
name: "AAA",

tests/plugin-madwizard/plan/inputs/5.spec.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616

1717
import doPlan from "../plan"
1818
import Input from "../Input"
19-
import { importd } from "./1.spec"
19+
20+
import importd from "./importd"
2021

2122
const IN5: Input = {
2223
input: "guidebook-tree-model5.md",

tests/plugin-madwizard/plan/inputs/6.spec.ts

+4-28
Original file line numberDiff line numberDiff line change
@@ -15,36 +15,12 @@
1515
*/
1616

1717
import doPlan from "../plan"
18-
import Input, { Tree } from "../Input"
19-
import { importd } from "./1.spec"
18+
import Input from "../Input"
2019

21-
const filename = "guidebook-tree-model6.md"
22-
23-
const messageForMacOS = "echo MMM"
24-
const messageForLinux = "echo LLL"
25-
const messageForWindows = "echo WWW"
26-
27-
const messageForElectron =
28-
process.platform === "linux" ? messageForLinux : process.platform === "darwin" ? messageForMacOS : messageForWindows
20+
import importg from "./importg"
21+
import importd from "./importd"
2922

30-
// here, we will squash away the choice
31-
const importgForElectron: (name: string) => Tree = (name: string) => ({
32-
name,
33-
children: [{ name: messageForElectron }],
34-
})
35-
36-
// here, we won't squash away the choice
37-
const importgForBrowser: (name: string) => Tree = (name: string) => ({
38-
name,
39-
children: [
40-
{ name: "Option 1: MacOS", children: [{ name: messageForMacOS }] },
41-
{ name: "Option 2: Linux", children: [{ name: messageForLinux }] },
42-
{ name: "Option 3: Windows", children: [{ name: messageForWindows }] },
43-
],
44-
})
45-
46-
export const importg: (name?: string) => Tree = (name = "importg") =>
47-
(process.env.MOCHA_RUN_TARGET || "electron") === "electron" ? importgForElectron(name) : importgForBrowser(name)
23+
const filename = "guidebook-tree-model6.md"
4824

4925
const tree: Input["tree"] = () => [
5026
{

tests/plugin-madwizard/plan/inputs/7.spec.ts

+3-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@
1616

1717
import doPlan from "../plan"
1818
import Input from "../Input"
19-
import { importg } from "./6.spec"
20-
import { importd } from "./1.spec"
19+
20+
import importg from "./importg"
21+
import importd from "./importd"
2122

2223
const filename = "guidebook-tree-model7.md"
2324

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
/*
2+
* Copyright 2022 The Kubernetes Authors
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
17+
import { Tree } from "../Input"
18+
19+
const importd: Tree = {
20+
name: "DDD",
21+
children: [
22+
{ name: "Option 1: SubTab1", children: [{ name: "echo AAA" }, { name: "echo AAA" }, { name: "echo AAA" }] },
23+
{ name: "Option 2: SubTab2", children: [{ name: "echo BBB" }] },
24+
],
25+
}
26+
27+
export default importd
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
/*
2+
* Copyright 2022 The Kubernetes Authors
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
17+
import { Tree } from "../Input"
18+
19+
const importe: Tree = { name: "EEE", children: [{ name: "Option 1: TabE1", children: [{ name: "echo EEE" }] }] }
20+
21+
export default importe
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
/*
2+
* Copyright 2022 The Kubernetes Authors
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
17+
const messageForMacOS = "echo MMM"
18+
const messageForLinux = "echo LLL"
19+
const messageForWindows = "echo WWW"
20+
21+
const messageForElectron =
22+
process.platform === "linux" ? messageForLinux : process.platform === "darwin" ? messageForMacOS : messageForWindows
23+
24+
// here, we will squash away the choice
25+
const importgForElectron: (name: string) => Tree = (name: string) => ({
26+
name,
27+
children: [{ name: messageForElectron }],
28+
})
29+
30+
// here, we won't squash away the choice
31+
const importgForBrowser: (name: string) => Tree = (name: string) => ({
32+
name,
33+
children: [
34+
{ name: "Option 1: MacOS", children: [{ name: messageForMacOS }] },
35+
{ name: "Option 2: Linux", children: [{ name: messageForLinux }] },
36+
{ name: "Option 3: Windows", children: [{ name: messageForWindows }] },
37+
],
38+
})
39+
40+
const importg: (name?: string) => Tree = (name = "importg") =>
41+
(process.env.MOCHA_RUN_TARGET || "electron") === "electron" ? importgForElectron(name) : importgForBrowser(name)
42+
43+
export default importg

0 commit comments

Comments
 (0)