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

Fix/format #945

Merged
merged 6 commits into from
Jan 30, 2023
Merged

Fix/format #945

merged 6 commits into from
Jan 30, 2023

Conversation

RedJue
Copy link
Contributor

@RedJue RedJue commented Jan 30, 2023

[中文版模板 / Chinese template]

🤔 This is a ...

  • New feature
  • Bug fix
  • Site / documentation update
  • Demo update
  • Component style update
  • TypeScript definition update
  • Bundle size optimization
  • Performance optimization
  • Enhancement feature
  • Internationalization
  • Refactoring
  • Code style optimization
  • Test Case
  • Branch merge
  • Workflow
  • Other (about what?)

🔗 Related issue link

💡 Background and solution

📝 Changelog

Language Changelog
🇺🇸 English Repair code format as expected
🇨🇳 Chinese 按照预期修复代码格式

☑️ Self-Check before Merge

⚠️ Please check all items below before requesting a reviewing. ⚠️

  • Doc is updated/provided or not needed
  • Demo is updated/provided or not needed
  • TypeScript definition is updated/provided or not needed
  • Changelog is provided or not needed

@vercel
Copy link

vercel bot commented Jan 30, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
table ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Jan 30, 2023 at 10:12AM (UTC)

package.json Outdated
@@ -45,7 +45,9 @@
"prepublishOnly": "npm run compile && np --no-cleanup --yolo --no-publish",
"lint": "eslint src/ --ext .tsx,.ts",
"lint:tsc": "tsc -p tsconfig.json --noEmit",
"now-build": "npm run docs:build"
"now-build": "npm run docs:build",
"husky-hook": "husky add .husky/pre-commit 'npx --no-install lint-staged'",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这条可以不用

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

好 那我去了

@MadCcc
Copy link
Member

MadCcc commented Jan 30, 2023

ci 的 node 改成 14 试试

@MadCcc
Copy link
Member

MadCcc commented Jan 30, 2023

npm 7 会在 npm i --package-lock-only 后执行生命周期脚本,是个 bug
npm/cli#2787

@MadCcc
Copy link
Member

MadCcc commented Jan 30, 2023

或者改成 npm i --package-lock-only --ignore-scripts

@MadCcc MadCcc merged commit 27a8241 into react-component:master Jan 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants