Skip to content

Commit 70d6e4f

Browse files
committed
v6.1.0
Signed-off-by: Magic <magicoflolis@tuta.io>
1 parent feeb503 commit 70d6e4f

8 files changed

Lines changed: 1074 additions & 879 deletions

File tree

Userscript-Plus.code-workspace

Lines changed: 21 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,33 +6,42 @@
66
],
77
"settings": {
88
"search.exclude": {
9-
"**/node_modules": true,
10-
"**/chrome_dist/js": true,
11-
"**/dist/js": true
9+
"**/build/**": true,
10+
"**/dist/**": true,
11+
"**/node_modules/**": true,
12+
"**/Notes/**": true
1213
},
1314
"editor.formatOnSaveMode": "modifications",
14-
"files.trimTrailingWhitespace": true,
15-
"files.associations": {
16-
".eslintrc": "jsonc"
17-
},
1815
"editor.codeActionsOnSave": {
1916
"source.fixAll": false,
2017
"source.fixAll.eslint": true
2118
},
22-
"local-history.daysLimit": 7,
19+
"explorer.excludeGitIgnore": true,
20+
"files.exclude": {
21+
"**/build/**": true,
22+
"**/dist/**": true,
23+
"**/node_modules/**": true,
24+
"**/Notes/**": true
25+
},
26+
"files.trimTrailingWhitespace": true,
27+
"local-history.daysLimit": 2,
2328
"local-history.maxDisplay": 10,
2429
"local-history.saveDelay": 0,
2530
"local-history.dateLocale": "en-US",
2631
"local-history.exclude": [
27-
"**/.history/**",
28-
"**/.vscode/**",
29-
"**/node_modules/**",
32+
"**/build/**",
3033
"**/dist/**",
34+
"**/node_modules/**",
35+
"**/Notes/**",
36+
"**/.history/**",
37+
"**/.vscode**",
38+
"**/typings/**",
39+
"**/out/**",
3140
"**/chrome_dist/**",
32-
"**/build/**",
3341
"**/*.code-workspace",
3442
"**/src/sass/**",
3543
],
3644
"local-history.path": "${workspaceFolder}/.vscode",
45+
"local-history.enabled": 2,
3746
}
3847
}

archive/package.json

Lines changed: 0 additions & 72 deletions
This file was deleted.

dist/magic-userjs.user.js

Lines changed: 523 additions & 382 deletions
Large diffs are not rendered by default.

eslint.config.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,7 @@ export default [
5555
'single',
5656
{ avoidEscape: true, allowTemplateLiterals: false },
5757
],
58-
semi: ['error', 'never'],
5958
'space-before-blocks': ['error', 'always'],
60-
// 'space-before-function-paren': ['error', 'always'],
6159
},
6260
},
6361
]

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"url": "https://github.com/magicoflolis/Userscript-Plus/issues/new"
1010
},
1111
"userJS": {
12-
"version": "6.0.1",
12+
"version": "6.1.0",
1313
"name": "Magic Userscript+ : Show Site All UserJS",
1414
"bugs": "https://github.com/magicoflolis/Userscript-Plus/issues/new",
1515
"homepage": "https://github.com/magicoflolis/Userscript-Plus",
@@ -25,7 +25,7 @@
2525
"Dev:Server": "http-server ./tests/userscript -s --no-dotfiles -c-1",
2626
"build:Cr": "webpack --mode production --config=tools/webpack.config.js --env brws=chrome",
2727
"build:FF": "webpack --mode production --config=tools/webpack.config.js --env brws=firefox",
28-
"Pub:UserJS": "concurrently \"pnpm run Pub:Sass\" \"node -r dotenv/config ./tools/userscript.mjs dotenv_config_path=./userscript/.env\"",
28+
"Pub:UserJS": "concurrently \"pnpm run Pub:Sass\" \"node -r dotenv/config ./tools/userscript.mjs dotenv_config_path=./dist/.env\"",
2929
"Pub:Sass": "sass --no-source-map ./src/sass:./tests/compiled -s compressed",
3030
"Webpack:Cr": "webpack --progress --mode development --config=tools/webpack.config.js --env brws=chrome",
3131
"Webpack:FF": "webpack --progress --mode development --config=tools/webpack.config.js --env brws=firefox",

prettier.config.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
2+
/** @type {import("prettier").Config} */
3+
const config = {
4+
singleQuote: true,
5+
tabWidth: 2,
6+
printWidth: 100,
7+
trailingComma: 'none'
8+
};
9+
10+
export default config;

tools/userscript.mjs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,11 @@ const p = {
9090
// @connect github.com
9191
// @connect openuserjs.org
9292
// @match https://*/*
93+
// @grant GM.xmlHttpRequest
94+
// @grant GM.openInTab
95+
// @grant GM.getValue
96+
// @grant GM.setValue
97+
// @grant GM.info
9398
// @grant GM_xmlhttpRequest
9499
// @grant GM_openInTab
95100
// @grant GM_getValue

0 commit comments

Comments
 (0)