Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add package scripts and cli library, enable integration testing#536

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
code-asher merged 16 commits intomainfromjaggederest/integration_tests
Jun 20, 2025
Merged
Show file tree
Hide file tree
Changes from1 commit
Commits
Show all changes
16 commits
Select commitHold shift + click to select a range
7e1bce9
pretest working
jaggederestJun 16, 2025
c693a46
enable vscode-test and bump tsconfig to modern settings
jaggederestJun 16, 2025
240b649
Merge branch 'main' into jaggederest/integration_tests
jaggederestJun 16, 2025
0e58a31
test: fix integration tests to run without Remote SSH extension
jaggederestJun 16, 2025
872b7e8
Merge remote-tracking branch 'origin/jaggederest/integration_tests' i…
jaggederestJun 16, 2025
01c2d80
autocorrect formatting
jaggederestJun 16, 2025
8ddbf26
bump node version to 22
jaggederestJun 16, 2025
9b74df4
fix: configure Vitest to properly exclude VS Code integration tests
jaggederestJun 16, 2025
adec211
whitespace
jaggederestJun 16, 2025
d9b543a
fix: update tsconfig.json and convert pretty-bytes imports to standar…
jaggederestJun 17, 2025
a7afdd6
Remove testmode flag in favor of checking existence of remote ssh ext…
jaggederestJun 17, 2025
3097d8f
remove superfluous async, enable lint rule
jaggederestJun 18, 2025
a2d2bc8
fix: resolve ESLint @typescript-eslint/require-await errors
jaggederestJun 18, 2025
32dfda4
Update configurations and remove pointless Promise.all
jaggederestJun 18, 2025
12b0124
Tweak eslint config to better handle json/md, remove compile-tests sc…
jaggederestJun 18, 2025
3ee92fe
remove extraneous async/await
jaggederestJun 20, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
NextNext commit
Tweak eslint config to better handle json/md, remove compile-tests sc…
…ript
  • Loading branch information
@jaggederest
jaggederest committedJun 18, 2025
commit12b0124b74cc1fa6837cb8595024c3f6cecd0d4d
24 changes: 8 additions & 16 deletions.eslintrc.json
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -17,26 +17,20 @@
],
"overrides": [
{
"files": ["*.md"],
"parser": "markdown-eslint-parser",
"files": ["*.ts"],
"rules": {
"@typescript-eslint/require-await": "off"
"require-await": "off",
"@typescript-eslint/require-await": "error"
}
},
{
"extends": ["plugin:package-json/legacy-recommended"],
"files": ["*.json"],
"parser": "jsonc-eslint-parser",
"rules": {
"@typescript-eslint/require-await": "off"
}
"parser": "jsonc-eslint-parser"
},
{
"extends": ["plugin:package-json/legacy-recommended"],
"files": ["package.json"],
"parser": "jsonc-eslint-parser",
"rules": {
"@typescript-eslint/require-await": "off"
}
"files": ["*.md"],
"parser": "markdown-eslint-parser"
}
],
"rules": {
Expand DownExpand Up@@ -73,9 +67,7 @@
"sublings_only": true
}
}
],
"require-await": "off",
"@typescript-eslint/require-await": "error"
]
},
"ignorePatterns": ["out", "dist", "**/*.d.ts"]
}
3 changes: 1 addition & 2 deletionspackage.json
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -19,13 +19,12 @@
"main": "./dist/extension.js",
"scripts": {
"build": "webpack",
"compile-tests": "tsc -p . --outDir out",
"fmt": "prettier --write .",
"lint": "eslint . --ext ts,md,json",
"lint:fix": "yarn lint --fix",
"package": "webpack --mode production --devtool hidden-source-map",
"package:prerelease": "npx vsce package --pre-release",
"pretest": "yarn run compile-tests && yarn run build && yarn run lint",
"pretest": "tsc -p . --outDir out && yarn run build && yarn run lint",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Do we have to compile separately from Webpack because vscode-test requires that or something? Is there a reason it cannot use the Webpack bundle?

Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

I'm not sure, I'll see if I can ditch it in my next PR 👍

code-asher reacted with thumbs up emoji
"test": "vitest",
"test:ci": "CI=true yarn test",
"test:integration": "vscode-test",
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp