Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: update from upstream #36

Merged
merged 7 commits into from
Oct 11, 2024
Merged
Show file tree
Hide file tree
Changes from all 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
7 changes: 1 addition & 6 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,15 @@
{
"recommendations": [
"andrewleedham.vscode-css-modules",
"cschlosser.doxdocgen",
"dbaeumer.vscode-eslint",
"EditorConfig.EditorConfig",
"esbenp.prettier-vscode",
"github.vscode-github-actions",
"github.vscode-pull-request-github",
"mgmcdermott.vscode-language-babel",
"mrmlnc.vscode-less",
"ms-vscode.vscode-typescript-next",
"redhat.vscode-yaml",
"stylelint.vscode-stylelint",
"usernamehw.errorlens",
"vue.volar",
"webben.browserslist",
"yoavbls.pretty-ts-errors"
"webben.browserslist"
]
}
31 changes: 0 additions & 31 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,26 +1,9 @@
{
"diffEditor.codeLens": true,
"diffEditor.experimental.showMoves": true,
"diffEditor.ignoreTrimWhitespace": false,
"diffEditor.maxComputationTime": 0,
"editor.bracketPairColorization.independentColorPoolPerBracketType": true,
"editor.cursorBlinking": "smooth",
"editor.cursorSmoothCaretAnimation": "on",
"editor.fontLigatures": true,
"editor.guides.bracketPairs": "active",
"editor.insertSpaces": false,
"editor.linkedEditing": true,
"editor.quickSuggestions": {
"strings": "on"
},
"editor.renderWhitespace": "all",
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.stickyScroll.enabled": true,
"files.associations": {
"*.css": "css"
},
"git.autoStash": true,
"git.allowForcePush": true,
"terminal.integrated.scrollback": 10000,
"eslint.enable": true,
"eslint.format.enable": true,
Expand Down Expand Up @@ -67,26 +50,12 @@
"[yaml]": {
"editor.defaultFormatter": "redhat.vscode-yaml"
},
"html.autoClosingTags": true,
"javascript.autoClosingTags": true,
"typescript.autoClosingTags": true,
"javascript.suggest.autoImports": true,
"typescript.suggest.autoImports": true,
"javascript.suggest.completeFunctionCalls": true,
"typescript.suggest.completeFunctionCalls": true,
"javascript.updateImportsOnFileMove.enabled": "always",
"typescript.updateImportsOnFileMove.enabled": "always",
"css.format.spaceAroundSelectorSeparator": true,
"css.lint.unknownAtRules": "ignore",
"css.lint.validProperties": ["composes"],
"less.format.spaceAroundSelectorSeparator": true,
"less.lint.unknownAtRules": "ignore",
"less.lint.validProperties": ["composes"],
"errorLens.editorHoverPartsEnabled": {
"buttonsEnabled": false
},
"errorLens.enableOnDiffView": true,
"githubPullRequests.upstreamRemote": "never",
"stylelint.packageManager": "pnpm",
"explorer.fileNesting.enabled": true,
"explorer.fileNesting.expand": false,
Expand Down
66 changes: 33 additions & 33 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "awesome-gadgets",
"version": "4.8.0",
"version": "4.8.2",
ZoruaFox marked this conversation as resolved.
Show resolved Hide resolved
"description": "Storage, management, compilation, and automatic deployment of MediaWiki gadgets.",
"private": true,
"type": "module",
Expand Down Expand Up @@ -58,88 +58,88 @@
"toastify-js": "^1.12.0"
},
"devDependencies": {
"@babel/core": "^7.25.2",
"@babel/helper-compilation-targets": "^7.25.2",
"@babel/helper-plugin-utils": "^7.24.8",
"@babel/preset-env": "^7.25.3",
"@babel/types": "^7.25.2",
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"@babel/core": "^7.25.7",
"@babel/helper-compilation-targets": "^7.25.7",
"@babel/helper-plugin-utils": "^7.25.7",
"@babel/preset-env": "^7.25.7",
"@babel/types": "^7.25.7",
"@commitlint/cli": "^19.5.0",
"@commitlint/config-conventional": "^19.5.0",
"@mrhenry/babel-plugin-core-web": "^1.2.3",
"@mrhenry/core-web": "^1.2.3",
"@types/babel__core": "^7.20.5",
"@types/babel__helper-plugin-utils": "^7.10.3",
"@types/babel__traverse": "^7.20.6",
"@types/caniuse-api": "^3.0.6",
"@types/eslint": "^8.56.11",
"@types/jquery": "^3.5.30",
"@types/eslint": "^8.56.12",
"@types/jquery": "^3.5.31",
"@types/jqueryui": "^1.12.23",
"@types/less": "^3.0.6",
"@types/minimist": "^1.2.5",
"@types/node": "^22.1.0",
"@types/node": "^22.7.4",
"@types/oojs": "^7.0.6",
"@types/oojs-ui": "^0.49.1",
"@types/prompts": "^2.4.9",
"@typescript-eslint/eslint-plugin": "^8.0.1",
"@typescript-eslint/parser": "^8.0.1",
"@typescript-eslint/eslint-plugin": "^8.8.0",
"@typescript-eslint/parser": "^8.8.0",
"@vue/eslint-config-prettier": "^9.0.0",
"@vue/eslint-config-typescript": "^13.0.0",
"@vue/language-plugin-pug": "^2.0.29",
"@vue/language-plugin-pug": "^2.1.6",
"alpha-sort": "^5.0.0",
"broadcastchannel-polyfill": "^1.0.1",
"browserslist": "^4.23.3",
"browserslist": "^4.24.0",
"caniuse-api": "^3.0.0",
"chalk": "^5.3.0",
"core-js": "^3.38.0",
"esbuild": "^0.23.0",
"core-js": "^3.38.1",
"esbuild": "^0.23.1",
"esbuild-css-modules-plugin": "^3.1.2",
"esbuild-plugin-less": "^1.3.8",
"esbuild-plugin-less": "^1.3.10",
"esbuild-plugin-vue3": "0.4.1",
"esbuild-postcss": "^0.0.4",
"eslint": "^8.57.0",
"eslint": "^8.57.1",
"eslint-config-prettier": "^9.1.0",
"eslint-config-wikimedia": "^0.28.2",
"eslint-plugin-es5": "^1.5.0",
"eslint-plugin-react": "^7.35.0",
"eslint-plugin-react": "^7.37.1",
"eslint-plugin-unicorn": "^55.0.0",
"eslint-plugin-vue": "^9.27.0",
"eslint-plugin-vue": "^9.28.0",
"git-pull-run": "^1.4.0",
"glob": "^11.0.0",
"happy-dom": "^14.12.3",
"husky": "^9.1.4",
"husky": "^9.1.6",
"less-plugin-npm-import": "^2.1.0",
"less-plugin-preset-env": "^2.0.0",
"lightningcss": "^1.26.0",
"less-plugin-preset-env": "^2.0.2",
"lightningcss": "^1.27.0",
"minimist": "^1.2.8",
"moment": "^2.30.1",
"mwn": "^2.0.3",
"only-allow": "^1.2.1",
"p-queue": "^8.0.1",
"pinia": "^2.2.1",
"postcss": "^8.4.41",
"pinia": "^2.2.4",
"postcss": "^8.4.47",
"postcss-import": "^16.1.0",
"postcss-load-config": "^6.0.1",
"postcss-preset-env": "^10.0.0",
"postcss-preset-env": "^10.0.6",
"prettier": "^3.3.3",
"prompts": "^2.4.2",
"proxy-polyfill": "^0.3.2",
"pug": "^3.0.3",
"rimraf": "^6.0.1",
"stylelint": "^16.8.1",
"stylelint": "^16.9.0",
"stylelint-config-css-modules": "^4.4.0",
"stylelint-config-wikimedia": "^0.17.2",
"tsx": "^4.16.5",
"types-mediawiki-renovate": "^2.14.5",
"typescript": "^5.5.4",
"tsx": "^4.19.1",
"types-mediawiki-renovate": "^2.14.7",
"typescript": "^5.6.2",
"typescript-plugin-css-modules": "^5.1.0",
"unorm": "^1.6.0",
"vue": "3.3.9",
"vue-eslint-parser": "^9.4.3",
"vue-tsc": "^2.0.29"
"vue-tsc": "^2.1.6"
},
"pnpm": {
"overrides": {
"@typescript-eslint/utils": "^8.0.1",
"@typescript-eslint/utils": "^8.8.0",
"ansi-regex@<6": "^5.0.1",
"arrify@<3": "^2.0.1",
"balanced-match@<3": "^2.0.0",
Expand Down
26 changes: 26 additions & 0 deletions patches/[email protected]
Original file line number Diff line number Diff line change
@@ -1,3 +1,29 @@
diff --git a/index.d.ts b/index.d.ts
index f471fcb1b5446e04e357519a71ea26a356d080a2..7e39c042f7e48aadc3beda470a25c73815037550 100644
--- a/index.d.ts
+++ b/index.d.ts
@@ -97,13 +97,13 @@ declare interface BuildOptions
* @default "camelCaseOnly"
*/
localsConvention?: 'camelCase' | 'pascalCase' | 'camelCaseOnly' | 'pascalCaseOnly';
- /**
+ /**
* Features that should always be compiled, even when supported by targets.
* @see https://lightningcss.dev/transpilation.html#feature-flags
*/
featuresInclude?: BundleOptions<CustomAtRules>['include'];
/**
- * Features that should never be compiled, even when unsupported by targets.
+ * Features that should never be compiled, even when unsupported by targets.
* @see https://lightningcss.dev/transpilation.html#feature-flags
*/
featuresExclude?: BundleOptions<CustomAtRules>['exclude'];
@@ -155,4 +155,4 @@ declare namespace CssModulesPlugin {
}
}

-export = CssModulesPlugin;
+export default CssModulesPlugin;
diff --git a/lib/css.helper.js b/lib/css.helper.js
index f527b34d8d8e900633cf0863f29f30d375c70727..5ffbe08e99b42d3d32f74747098719dc832e7615 100644
--- a/lib/css.helper.js
Expand Down
Loading
Loading