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

chore(website): fix playground#5575

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
bradzacher merged 1 commit intomainfrom5572-fix-playground
Aug 31, 2022
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
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
12 changes: 12 additions & 0 deletionspackages/website-eslint/rollup.config.js
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -36,6 +36,10 @@ module.exports = {
/utils\/dist\/ts-eslint\/ESLint\.js/,
// 'eslint/lib/shared/ajv.js',
// 'eslint/lib/shared/runtime-info.js',
/ajv\/lib\/definition_schema\.js/,
/stream/,
/os/,
/fs/,
],
target: './src/mock/empty.js',
},
Expand DownExpand Up@@ -64,6 +68,14 @@ module.exports = {
match: /semver$/u,
target: './src/mock/semver.js',
},
{
match: /^globby$/u,
target: './src/mock/globby.js',
},
{
match: /^is-glob$/u,
target: './src/mock/is-glob.js',
},
],
replace: [
{
Expand Down
4 changes: 4 additions & 0 deletionspackages/website-eslint/src/mock/globby.js
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
export function sync() {
// the website config is static and doesn't use glob config
return [];
}
4 changes: 4 additions & 0 deletionspackages/website-eslint/src/mock/is-glob.js
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
export default function isGlob() {
// the website config is static and doesn't use glob config
return false;
}
3 changes: 3 additions & 0 deletionspackages/website-eslint/src/mock/semver.js
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
import satisfies from 'semver/functions/satisfies';
import major from 'semver/functions/major';

// just in case someone adds a import * as semver usage
export { satisfies, major };

export default { satisfies, major };

[8]ページ先頭

©2009-2025 Movatter.jp