Skip to content

Commit 28a86e5

Browse files
committed
chore: update configurations of repository wide
[skip ci]
1 parent d47b37e commit 28a86e5

45 files changed

Lines changed: 874 additions & 843 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/release.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,14 @@ on:
2626
options:
2727
- 'yes'
2828
- 'no'
29+
force-bump:
30+
description: 'Skip the lerna changed check? (If "yes", `lerna version` will be executed with `--force-publish`)'
31+
required: true
32+
type: choice
33+
default: 'no'
34+
options:
35+
- 'yes'
36+
- 'no'
2937
dryRun:
3038
description: 'Dry run? If yes, this workflow will NOT push to remote and NOT publish the extension.'
3139
required: true
@@ -76,8 +84,11 @@ jobs:
7684
7785
- name: 🚧 Bump the version
7886
id: bump
79-
run: |
80-
pnpm lerna version ${{github.event.inputs.releaseType}} --force-publish --no-push --exact --preid next --yes -m "chore(release): %s"
87+
run: >
88+
pnpm lerna version
89+
${{ github.event.inputs.releaseType }}
90+
${{ github.event.inputs.force-bump == 'yes' && '--force-publish' || '' }}
91+
--no-push --exact --preid next --yes -m "chore(release): %s"
8192
env:
8293
GITHUB_AUTH: ${{ secrets.GITHUB_TOKEN }}
8394
VSCODE_WDIO_PRE_RELEASE_PATCH_NUMBER: ${{ steps.gen-pre-release-ver.outputs.result }}

.prettierrc.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,6 @@ overrides:
77
- files: '*.yml'
88
options:
99
tabWidth: 2
10+
- files: '*.json'
11+
options:
12+
tabWidth: 2

.vscode/extensions.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
2-
// See http://go.microsoft.com/fwlink/?LinkId=827846
3-
// for the documentation about the extensions.json format
4-
"recommendations": [
5-
"dbaeumer.vscode-eslint",
6-
"connor4312.esbuild-problem-matchers",
7-
"ms-vscode.extension-test-runner"
8-
]
2+
// See http://go.microsoft.com/fwlink/?LinkId=827846
3+
// for the documentation about the extensions.json format
4+
"recommendations": [
5+
"dbaeumer.vscode-eslint",
6+
"connor4312.esbuild-problem-matchers",
7+
"ms-vscode.extension-test-runner"
8+
]
99
}

.vscode/launch.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
// Hover to view descriptions of existing attributes.
44
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
55
{
6-
"version": "0.2.0",
7-
"configurations": [
8-
{
9-
"name": "Run Extension",
10-
"type": "extensionHost",
11-
"request": "launch",
12-
"args": ["--extensionDevelopmentPath=${workspaceFolder}/packages/vscode-webdriverio"],
13-
"outFiles": ["${workspaceFolder}/packages/vscode-webdriverio/dist/*.cjs"],
14-
"preLaunchTask": "${defaultBuildTask}"
15-
}
16-
]
6+
"version": "0.2.0",
7+
"configurations": [
8+
{
9+
"name": "Run Extension",
10+
"type": "extensionHost",
11+
"request": "launch",
12+
"args": ["--extensionDevelopmentPath=${workspaceFolder}/packages/vscode-webdriverio"],
13+
"outFiles": ["${workspaceFolder}/packages/vscode-webdriverio/dist/*.cjs"],
14+
"preLaunchTask": "${defaultBuildTask}"
15+
}
16+
]
1717
}

.vscode/settings.json

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
// Place your settings in this file to overwrite default and user settings.
22
{
3-
"files.exclude": {
4-
"out": false, // set this to true to hide the "out" folder with the compiled JS files
5-
"dist": false // set this to true to hide the "dist" folder with the compiled JS files
6-
},
7-
"search.exclude": {
8-
"out": true, // set this to false to include "out" folder in search results
9-
"dist": true // set this to false to include "dist" folder in search results
10-
},
11-
// Turn off tsc task auto detection since we have the necessary tasks as npm scripts
12-
"typescript.tsc.autoDetect": "off",
13-
"typescript.preferences.importModuleSpecifierEnding": "js",
14-
"editor.formatOnSave": true,
15-
"editor.defaultFormatter": "esbenp.prettier-vscode",
16-
"eslint.format.enable": true,
17-
"[javascript]": {
18-
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
19-
},
20-
"[typescript]": {
21-
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
22-
}
3+
"files.exclude": {
4+
"out": false, // set this to true to hide the "out" folder with the compiled JS files
5+
"dist": false // set this to true to hide the "dist" folder with the compiled JS files
6+
},
7+
"search.exclude": {
8+
"out": true, // set this to false to include "out" folder in search results
9+
"dist": true // set this to false to include "dist" folder in search results
10+
},
11+
// Turn off tsc task auto detection since we have the necessary tasks as npm scripts
12+
"typescript.tsc.autoDetect": "off",
13+
"typescript.preferences.importModuleSpecifierEnding": "js",
14+
"editor.formatOnSave": true,
15+
"editor.defaultFormatter": "esbenp.prettier-vscode",
16+
"eslint.format.enable": true,
17+
"[javascript]": {
18+
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
19+
},
20+
"[typescript]": {
21+
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
22+
}
2323
}

.vscode/tasks.json

Lines changed: 48 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -1,52 +1,52 @@
11
// See https://go.microsoft.com/fwlink/?LinkId=733558
22
// for the documentation about the tasks.json format
33
{
4-
"version": "2.0.0",
5-
"tasks": [
6-
{
7-
"label": "watch",
8-
"dependsOn": ["npm: watch:build"],
9-
"presentation": {
10-
"reveal": "never"
11-
},
12-
"group": {
13-
"kind": "build",
14-
"isDefault": true
15-
}
16-
},
17-
{
18-
"type": "npm",
19-
"script": "watch:build",
20-
"group": "build",
21-
"problemMatcher": ["$esbuild-watch", "$tsc"],
22-
"isBackground": true,
23-
"label": "npm: watch:build",
24-
"presentation": {
25-
"group": "watch",
26-
"reveal": "never"
27-
}
28-
},
29-
{
30-
"type": "npm",
31-
"script": "watch:typecheck",
32-
"group": "build",
33-
"problemMatcher": "$tsc-watch",
34-
"isBackground": true,
35-
"label": "npm: watch:typecheck",
36-
"presentation": {
37-
"group": "watch",
38-
"reveal": "never"
39-
}
40-
},
41-
{
42-
"type": "npm",
43-
"script": "watch:test",
44-
"isBackground": true,
45-
"presentation": {
46-
"reveal": "never",
47-
"group": "watchers"
48-
},
49-
"group": "build"
50-
}
51-
]
4+
"version": "2.0.0",
5+
"tasks": [
6+
{
7+
"label": "watch",
8+
"dependsOn": ["npm: watch:build"],
9+
"presentation": {
10+
"reveal": "never"
11+
},
12+
"group": {
13+
"kind": "build",
14+
"isDefault": true
15+
}
16+
},
17+
{
18+
"type": "npm",
19+
"script": "watch:build",
20+
"group": "build",
21+
"problemMatcher": ["$esbuild-watch", "$tsc"],
22+
"isBackground": true,
23+
"label": "npm: watch:build",
24+
"presentation": {
25+
"group": "watch",
26+
"reveal": "never"
27+
}
28+
},
29+
{
30+
"type": "npm",
31+
"script": "watch:typecheck",
32+
"group": "build",
33+
"problemMatcher": "$tsc-watch",
34+
"isBackground": true,
35+
"label": "npm: watch:typecheck",
36+
"presentation": {
37+
"group": "watch",
38+
"reveal": "never"
39+
}
40+
},
41+
{
42+
"type": "npm",
43+
"script": "watch:test",
44+
"isBackground": true,
45+
"presentation": {
46+
"reveal": "never",
47+
"group": "watchers"
48+
},
49+
"group": "build"
50+
}
51+
]
5252
}

CHANGELOG.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
> **Tags:**
44
>
55
> - :boom: [Breaking Change]
6-
> - :eyeglasses: [Spec Compliancy]
76
> - :rocket: [New Feature]
87
> - :bug: [Bug Fix]
98
> - :memo: [Documentation]
@@ -139,4 +138,21 @@
139138

140139
> Package as v0.1.117484166
141140
141+
## v0.1.0 (2025-05-28)
142+
143+
#### :memo: Documentation
144+
145+
- [#35](https://github.com/webdriverio/vscode-webdriverio/pull/35) docs: update README about the current status ([@mato533](https://github.com/mato533))
146+
147+
#### Committers: 1
148+
149+
- [@mato533](https://github.com/mato533)
150+
151+
## v0.1.0-next.0 (2025-05-27)
152+
153+
#### :rocket: New Feature
154+
155+
- All packages
156+
- Initial release
157+
142158
> Package as v0.1.1748333580

e2e/package.json

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,37 @@
11
{
2-
"name": "@vscode-wdio/e2e",
3-
"version": "0.0.0",
4-
"private": true,
5-
"type": "module",
6-
"exports": {
7-
".": {
8-
"types": "./dist/index.d.ts",
9-
"import": "./dist/index.js"
10-
}
11-
},
12-
"scripts": {
13-
"test:e2e": "run-s test:e2e:*",
14-
"test:e2e:mocha": "cross-env VSCODE_WDIO_E2E_FRAMEWORK=mocha xvfb-maybe pnpm run wdio",
15-
"test:e2e:jasmine": "cross-env VSCODE_WDIO_E2E_FRAMEWORK=jasmine xvfb-maybe pnpm run wdio",
16-
"test:e2e:cucumber": "cross-env VSCODE_WDIO_E2E_FRAMEWORK=cucumber xvfb-maybe pnpm run wdio",
17-
"test:e2e:workspace": "cross-env VSCODE_WDIO_E2E_FRAMEWORK=workspace xvfb-maybe pnpm run wdio",
18-
"test:smoke": "run-s test:smoke:*",
19-
"test:smoke:update-config": "xvfb-maybe wdio run ./wdioSmoke.conf.ts",
20-
"wdio": "wdio run ./wdio.conf.ts"
21-
},
22-
"devDependencies": {
23-
"@types/semver": "^7.7.0",
24-
"@wdio/cli": "^9.13.0",
25-
"@wdio/globals": "^9.12.6",
26-
"@wdio/local-runner": "^9.13.0",
27-
"@wdio/mocha-framework": "^9.13.0",
28-
"@wdio/spec-reporter": "^9.13.0",
29-
"@wdio/types": "^9.15.0",
30-
"chai": "^5.2.0",
31-
"expect": "^29.7.0",
32-
"semver": "^7.7.2",
33-
"wdio-vscode-service": "^6.1.3",
34-
"webdriver": "^9.13.0",
35-
"webdriverio": "^9.13.0"
2+
"name": "@vscode-wdio/e2e",
3+
"version": "0.0.0",
4+
"private": true,
5+
"type": "module",
6+
"exports": {
7+
".": {
8+
"types": "./dist/index.d.ts",
9+
"import": "./dist/index.js"
3610
}
11+
},
12+
"scripts": {
13+
"test:e2e": "run-s test:e2e:*",
14+
"test:e2e:mocha": "cross-env VSCODE_WDIO_E2E_FRAMEWORK=mocha xvfb-maybe pnpm run wdio",
15+
"test:e2e:jasmine": "cross-env VSCODE_WDIO_E2E_FRAMEWORK=jasmine xvfb-maybe pnpm run wdio",
16+
"test:e2e:cucumber": "cross-env VSCODE_WDIO_E2E_FRAMEWORK=cucumber xvfb-maybe pnpm run wdio",
17+
"test:e2e:workspace": "cross-env VSCODE_WDIO_E2E_FRAMEWORK=workspace xvfb-maybe pnpm run wdio",
18+
"test:smoke": "run-s test:smoke:*",
19+
"test:smoke:update-config": "xvfb-maybe wdio run ./wdioSmoke.conf.ts",
20+
"wdio": "wdio run ./wdio.conf.ts"
21+
},
22+
"devDependencies": {
23+
"@types/semver": "^7.7.0",
24+
"@wdio/cli": "^9.13.0",
25+
"@wdio/globals": "^9.12.6",
26+
"@wdio/local-runner": "^9.13.0",
27+
"@wdio/mocha-framework": "^9.13.0",
28+
"@wdio/spec-reporter": "^9.13.0",
29+
"@wdio/types": "^9.15.0",
30+
"chai": "^5.2.0",
31+
"expect": "^29.7.0",
32+
"semver": "^7.7.2",
33+
"wdio-vscode-service": "^6.1.3",
34+
"webdriver": "^9.13.0",
35+
"webdriverio": "^9.13.0"
36+
}
3737
}

e2e/tsconfig.json

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
{
2-
"extends": "../tsconfig.base.json",
3-
"compilerOptions": {
4-
"baseUrl": ".",
5-
"lib": ["es2022", "dom"],
6-
"types": ["node", "@wdio/globals/types", "@wdio/mocha-framework", "wdio-vscode-service"],
7-
"skipLibCheck": true,
8-
"noEmit": true,
9-
"allowImportingTsExtensions": true,
10-
"resolveJsonModule": true,
11-
"isolatedModules": true,
12-
"strict": true,
13-
"noUnusedLocals": true,
14-
"noUnusedParameters": true,
15-
"noFallthroughCasesInSwitch": true
16-
}
2+
"extends": "../tsconfig.base.json",
3+
"compilerOptions": {
4+
"baseUrl": ".",
5+
"lib": ["es2022", "dom"],
6+
"types": ["node", "@wdio/globals/types", "@wdio/mocha-framework", "wdio-vscode-service"],
7+
"skipLibCheck": true,
8+
"noEmit": true,
9+
"allowImportingTsExtensions": true,
10+
"resolveJsonModule": true,
11+
"isolatedModules": true,
12+
"strict": true,
13+
"noUnusedLocals": true,
14+
"noUnusedParameters": true,
15+
"noFallthroughCasesInSwitch": true
16+
}
1717
}

infra/compiler/package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
2-
"name": "@vscode-wdio/compiler",
3-
"private": true,
4-
"type": "module",
5-
"scripts": {
6-
"build": "tsx ./src/index.ts"
7-
},
8-
"dependencies": {
9-
"esbuild": "^0.25.0",
10-
"type-fest": "^4.24.0"
11-
}
2+
"name": "@vscode-wdio/compiler",
3+
"private": true,
4+
"type": "module",
5+
"scripts": {
6+
"build": "tsx ./src/index.ts"
7+
},
8+
"dependencies": {
9+
"esbuild": "^0.25.0",
10+
"type-fest": "^4.24.0"
11+
}
1212
}

0 commit comments

Comments
 (0)