Skip to content

Commit

Permalink
v6.1.0
Browse files Browse the repository at this point in the history
Signed-off-by: Magic <[email protected]>
  • Loading branch information
magicoflolis committed Dec 3, 2023
1 parent feeb503 commit 70d6e4f
Show file tree
Hide file tree
Showing 8 changed files with 1,074 additions and 879 deletions.
33 changes: 21 additions & 12 deletions Userscript-Plus.code-workspace
Original file line number Diff line number Diff line change
Expand Up @@ -6,33 +6,42 @@
],
"settings": {
"search.exclude": {
"**/node_modules": true,
"**/chrome_dist/js": true,
"**/dist/js": true
"**/build/**": true,
"**/dist/**": true,
"**/node_modules/**": true,
"**/Notes/**": true
},
"editor.formatOnSaveMode": "modifications",
"files.trimTrailingWhitespace": true,
"files.associations": {
".eslintrc": "jsonc"
},
"editor.codeActionsOnSave": {
"source.fixAll": false,
"source.fixAll.eslint": true
},
"local-history.daysLimit": 7,
"explorer.excludeGitIgnore": true,
"files.exclude": {
"**/build/**": true,
"**/dist/**": true,
"**/node_modules/**": true,
"**/Notes/**": true
},
"files.trimTrailingWhitespace": true,
"local-history.daysLimit": 2,
"local-history.maxDisplay": 10,
"local-history.saveDelay": 0,
"local-history.dateLocale": "en-US",
"local-history.exclude": [
"**/.history/**",
"**/.vscode/**",
"**/node_modules/**",
"**/build/**",
"**/dist/**",
"**/node_modules/**",
"**/Notes/**",
"**/.history/**",
"**/.vscode**",
"**/typings/**",
"**/out/**",
"**/chrome_dist/**",
"**/build/**",
"**/*.code-workspace",
"**/src/sass/**",
],
"local-history.path": "${workspaceFolder}/.vscode",
"local-history.enabled": 2,
}
}
72 changes: 0 additions & 72 deletions archive/package.json

This file was deleted.

905 changes: 523 additions & 382 deletions dist/magic-userjs.user.js

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,7 @@ export default [
'single',
{ avoidEscape: true, allowTemplateLiterals: false },
],
semi: ['error', 'never'],
'space-before-blocks': ['error', 'always'],
// 'space-before-function-paren': ['error', 'always'],
},
},
]
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"url": "https://github.com/magicoflolis/Userscript-Plus/issues/new"
},
"userJS": {
"version": "6.0.1",
"version": "6.1.0",
"name": "Magic Userscript+ : Show Site All UserJS",
"bugs": "https://github.com/magicoflolis/Userscript-Plus/issues/new",
"homepage": "https://github.com/magicoflolis/Userscript-Plus",
Expand All @@ -25,7 +25,7 @@
"Dev:Server": "http-server ./tests/userscript -s --no-dotfiles -c-1",
"build:Cr": "webpack --mode production --config=tools/webpack.config.js --env brws=chrome",
"build:FF": "webpack --mode production --config=tools/webpack.config.js --env brws=firefox",
"Pub:UserJS": "concurrently \"pnpm run Pub:Sass\" \"node -r dotenv/config ./tools/userscript.mjs dotenv_config_path=./userscript/.env\"",
"Pub:UserJS": "concurrently \"pnpm run Pub:Sass\" \"node -r dotenv/config ./tools/userscript.mjs dotenv_config_path=./dist/.env\"",
"Pub:Sass": "sass --no-source-map ./src/sass:./tests/compiled -s compressed",
"Webpack:Cr": "webpack --progress --mode development --config=tools/webpack.config.js --env brws=chrome",
"Webpack:FF": "webpack --progress --mode development --config=tools/webpack.config.js --env brws=firefox",
Expand Down
10 changes: 10 additions & 0 deletions prettier.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@

/** @type {import("prettier").Config} */
const config = {
singleQuote: true,
tabWidth: 2,
printWidth: 100,
trailingComma: 'none'
};

export default config;
5 changes: 5 additions & 0 deletions tools/userscript.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,11 @@ const p = {
// @connect github.com
// @connect openuserjs.org
// @match https://*/*
// @grant GM.xmlHttpRequest
// @grant GM.openInTab
// @grant GM.getValue
// @grant GM.setValue
// @grant GM.info
// @grant GM_xmlhttpRequest
// @grant GM_openInTab
// @grant GM_getValue
Expand Down
Loading

0 comments on commit 70d6e4f

Please sign in to comment.