Skip to content

Commit

Permalink
fix: upgrade prettier-plugin-stylus (#107)
Browse files Browse the repository at this point in the history
  • Loading branch information
JounQin committed Jul 2, 2022
1 parent d8f6e42 commit 720e694
Show file tree
Hide file tree
Showing 22 changed files with 118 additions and 93 deletions.
10 changes: 10 additions & 0 deletions .changeset/brown-radios-retire.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
"@1stg/app-config": patch
"@1stg/common-config": patch
"@1stg/lib-config": patch
"@1stg/lint-staged": patch
"@1stg/prettier-config": patch
"@1stg/stylelint-config": patch
---

fix(prettier): upgrade prettier-plugin-stylus
21 changes: 21 additions & 0 deletions .changeset/light-parents-relate.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
"@1stg/app-config": patch
"@1stg/babel-preset": patch
"@1stg/browserslist-config": patch
"@1stg/commitlint-config": patch
"@1stg/common-config": patch
"@1stg/eslint-config": patch
"@1stg/husky-config": patch
"@1stg/lib-config": patch
"@1stg/lint-staged": patch
"@1stg/markuplint-config": patch
"@1stg/postcss-config": patch
"@1stg/prettier-config": patch
"@1stg/remark-config": patch
"@1stg/renovate-config": patch
"@1stg/simple-git-hooks": patch
"@1stg/stylelint-config": patch
"@1stg/tsconfig": patch
---

chore: add website info in author field
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.0.0",
"description": "Personal but Shareable Configurations for all 1stG.me projects.",
"repository": "git@github.com:1stG/configs.git",
"author": "JounQin <admin@1stg.me>",
"author": "JounQin (https://www.1stG.me) <admin@1stg.me>",
"license": "MIT",
"private": true,
"workspaces": [
Expand Down
2 changes: 1 addition & 1 deletion packages/app-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Personal but Shareable App Configuration for all 1stG.me projects.",
"repository": "git+https://github.com/1stG/configs.git",
"homepage": "https://github.com/1stG/configs/tree/master/packages/app-config",
"author": "JounQin <admin@1stg.me>",
"author": "JounQin (https://www.1stG.me) <admin@1stg.me>",
"license": "MIT",
"engines": {
"node": "^12.20.0 || ^14.18.0 || >=16.0.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-preset/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "3.1.0",
"description": "Personal but Shareable Babel Preset for all 1stG.me projects.",
"repository": "git+https://github.com/1stG/configs.git",
"author": "JounQin <admin@1stg.me>",
"author": "JounQin (https://www.1stG.me) <admin@1stg.me>",
"license": "MIT",
"engines": {
"node": "^12.20.0 || ^14.18.0 || >=16.0.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/browserslist-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "1.2.0",
"description": "Personal but Shareable Browserslist Configuration for all 1stG.me projects.",
"repository": "git+https://github.com/1stG/configs.git",
"author": "JounQin <admin@1stg.me>",
"author": "JounQin (https://www.1stG.me) <admin@1stg.me>",
"license": "MIT",
"peerDependencies": {
"browserslist": ">=4.0.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/commitlint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "3.1.0",
"description": "Personal but Shareable Commitlint Configuration for all 1stG.me projects.",
"repository": "git+https://github.com/1stG/configs.git",
"author": "JounQin <admin@1stg.me>",
"author": "JounQin (https://www.1stG.me) <admin@1stg.me>",
"license": "MIT",
"engines": {
"node": "^12.20.0 || ^14.18.0 || >=16.0.0"
Expand Down
4 changes: 2 additions & 2 deletions packages/common-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Personal but Shareable Common Configuration for all 1stG.me projects.",
"repository": "git+https://github.com/1stG/configs.git",
"homepage": "https://github.com/1stG/configs/tree/master/packages/common-config",
"author": "JounQin <admin@1stg.me>",
"author": "JounQin (https://www.1stG.me) <admin@1stg.me>",
"license": "MIT",
"engines": {
"node": "^12.20.0 || ^14.18.0 || >=16.0.0"
Expand All @@ -21,7 +21,7 @@
"@1stg/tsconfig": "^2.2.0",
"@babel/core": "^7.18.6",
"@commitlint/cli": "^17.0.3",
"eslint": "^8.18.0",
"eslint": "^8.19.0",
"lint-staged": "^13.0.3",
"npm-run-all": "^4.1.5",
"prettier": "^2.7.1",
Expand Down
8 changes: 4 additions & 4 deletions packages/eslint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Personal but Shareable ESLint Configuration for all 1stG.me projects.",
"repository": "git+https://github.com/1stG/configs.git",
"homepage": "https://github.com/1stG/configs/tree/master/packages/eslint-config",
"author": "JounQin <admin@1stg.me>",
"author": "JounQin (https://www.1stG.me) <admin@1stg.me>",
"license": "MIT",
"engines": {
"node": "^12.20.0 || ^14.18.0 || >=16.0.0"
Expand All @@ -19,15 +19,15 @@
"@babel/eslint-parser": "^7.18.2",
"@babel/eslint-plugin": "^7.17.7",
"@pkgr/utils": "^2.2.0",
"@typescript-eslint/eslint-plugin": "^5.30.0",
"@typescript-eslint/parser": "^5.30.0",
"@typescript-eslint/eslint-plugin": "^5.30.3",
"@typescript-eslint/parser": "^5.30.3",
"angular-eslint-template-parser": "^0.1.1",
"eslint-config-prettier": "^8.5.0",
"eslint-config-standard": "^17.0.0",
"eslint-config-standard-jsx": "^11.0.0",
"eslint-config-standard-react": "^11.0.1",
"eslint-formatter-friendly": "^7.0.0",
"eslint-import-resolver-typescript": "^3.1.3",
"eslint-import-resolver-typescript": "^3.1.4",
"eslint-plugin-css": "^0.6.0",
"eslint-plugin-es-x": "^5.2.1",
"eslint-plugin-eslint-comments": "^3.2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/husky-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "1.0.4",
"description": "Personal but Shareable husky Configuration for all 1stG.me projects.",
"repository": "git+https://github.com/1stG/configs.git",
"author": "JounQin <admin@1stg.me>",
"author": "JounQin (https://www.1stG.me) <admin@1stg.me>",
"license": "MIT",
"peerDependencies": {
"@commitlint/cli": ">=11.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/lib-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Personal but Shareable Library Configuration for all 1stG.me projects.",
"repository": "git+https://github.com/1stG/configs.git",
"homepage": "https://github.com/1stG/configs/tree/master/packages/lib-config",
"author": "JounQin <admin@1stg.me>",
"author": "JounQin (https://www.1stG.me) <admin@1stg.me>",
"license": "MIT",
"engines": {
"node": "^12.20.0 || ^14.18.0 || >=16.0.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/lint-staged/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "3.1.1",
"description": "Personal but Shareable lint-staged Configuration for all 1stG.me projects.",
"repository": "git+https://github.com/1stG/configs.git",
"author": "JounQin <admin@1stg.me>",
"author": "JounQin (https://www.1stG.me) <admin@1stg.me>",
"license": "MIT",
"engines": {
"node": "^12.20.0 || ^14.18.0 || >=16.0.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/markuplint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Personal but Shareable markuplint Configuration for all 1stG.me projects.",
"repository": "git+https://github.com/1stG/configs.git",
"homepage": "https://github.com/1stG/configs/tree/master/packages/markuplint-config",
"author": "JounQin <admin@1stg.me>",
"author": "JounQin (https://www.1stG.me) <admin@1stg.me>",
"license": "MIT",
"engines": {
"node": "^12.20.0 || ^14.18.0 || >=16.0.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/postcss-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "3.2.0",
"description": "Personal but Shareable PostCSS Configuration for all 1stG.me projects.",
"repository": "git+https://github.com/1stG/configs.git",
"author": "JounQin <admin@1stg.me>",
"author": "JounQin (https://www.1stG.me) <admin@1stg.me>",
"license": "MIT",
"engines": {
"node": "^12.20.0 || ^14.18.0 || >=16.0.0"
Expand Down
4 changes: 2 additions & 2 deletions packages/prettier-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "3.4.0",
"description": "Personal but Shareable Prettier Configuration for all 1stG.me projects.",
"repository": "git+https://github.com/1stG/configs.git",
"author": "JounQin <admin@1stg.me>",
"author": "JounQin (https://www.1stG.me) <admin@1stg.me>",
"license": "MIT",
"peerDependencies": {
"prettier": ">=1.18.0"
Expand All @@ -14,7 +14,7 @@
"@prettier/plugin-xml": "^2.2.0",
"prettier-plugin-pkg": "^0.14.1",
"prettier-plugin-sh": "^0.12.4",
"prettier-plugin-stylus": "^0.0.1-beta.1",
"prettier-plugin-stylus": "^0.0.1-beta.3",
"prettier-plugin-svelte": "^2.7.0",
"prettier-plugin-toml": "^0.3.1"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/remark-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"type": "module",
"description": "Personal but Shareable Remark Configuration for all 1stG.me projects.",
"repository": "git+https://github.com/1stG/configs.git",
"author": "JounQin <admin@1stg.me>",
"author": "JounQin (https://www.1stG.me) <admin@1stg.me>",
"license": "MIT",
"engines": {
"node": "^12.20.0 || ^14.18.0 || >=16.0.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/renovate-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "1.1.0",
"description": "Personal but Shareable Renovate Configuration for all 1stG.me projects.",
"repository": "git+https://github.com/1stG/configs.git",
"author": "JounQin <admin@1stg.me>",
"author": "JounQin (https://www.1stG.me) <admin@1stg.me>",
"license": "MIT",
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/simple-git-hooks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.1.2",
"description": "Personal but Shareable simple-git-hooks Configuration for all 1stG.me projects.",
"repository": "git+https://github.com/1stG/configs.git",
"author": "JounQin <admin@1stg.me>",
"author": "JounQin (https://www.1stG.me) <admin@1stg.me>",
"license": "MIT",
"peerDependencies": {
"@commitlint/cli": ">=11.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/stylelint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "4.4.1",
"description": "Personal but Shareable Stylelint Configuration for all 1stG.me projects.",
"repository": "git+https://github.com/1stG/configs.git",
"author": "JounQin <admin@1stg.me>",
"author": "JounQin (https://www.1stG.me) <admin@1stg.me>",
"license": "MIT",
"engines": {
"node": "^12.20.0 || ^14.18.0 || >=16.0.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/tsconfig/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "2.2.0",
"description": "Personal but Shareable TypeScript Configuration for all 1stG.me projects.",
"repository": "git+https://github.com/1stG/configs.git",
"author": "JounQin <admin@1stg.me>",
"author": "JounQin (https://www.1stG.me) <admin@1stg.me>",
"license": "MIT",
"main": "tsconfig.json",
"peerDependencies": {
Expand Down
8 changes: 1 addition & 7 deletions tests/test.styl
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,7 @@ red-border()
div
red-border()

/**
* FIXME:
* @see https://github.com/lsdsjy/prettier-plugin-stylus/issues/2
* @see https://github.com/lsdsjy/prettier-plugin-stylus/issues/3
*/

shadow(offset-x, args)
shadow(offset-x, args...)
box-shadow offset-x args
margin-top offset-x

Expand Down
Loading

0 comments on commit 720e694

Please sign in to comment.