Skip to content

Update case-police, fix case of webpack + CocoaPods#3827

Merged
Simek merged 2 commits into
react:mainfrom
slorber:slorber/update-case-police
Aug 24, 2023
Merged

Update case-police, fix case of webpack + CocoaPods#3827
Simek merged 2 commits into
react:mainfrom
slorber:slorber/update-case-police

Conversation

@slorber

@slorber slorber commented Aug 24, 2023

Copy link
Copy Markdown
Contributor

As part of #3780 I'm regenerating the lockfile, which updates the case-police CI linter.

After the patch update, new issues are reported:

Webpack → webpack
Cocoapods → CocoaPods

cc @Simek


Full log:

➜  react-native-website git:(slorber/update-case-police) yarn case-police '**/*.md' -p brands,general,products,softwares -d ./website/react-native-dict.json
yarn run v1.22.17
$ /Users/sebastienlorber/Desktop/projects/react-native-website/node_modules/.bin/case-police '**/*.md' -p brands,general,products,softwares -d ./website/react-native-dict.json

 Case  Police  v0.5.14

835 files found for checking, 360 words loaded

Webpack → webpack 	 ./docs/_getting-started-linux-android.md:149:88
Webpack → webpack 	 ./docs/_getting-started-macos-android.md:164:88
Webpack → webpack 	 ./docs/_getting-started-macos-ios.md:127:88
Webpack → webpack 	 ./docs/_getting-started-windows-android.md:180:88
Cocoapods → CocoaPods 	 ./docs/navigation.md:38:63
Webpack → webpack 	 ./docs/platform-specific-code.md:128:29
Cocoapods → CocoaPods 	 ./docs/the-new-architecture/backward-compatibility-turbomodules.md:43:57
Cocoapods → CocoaPods 	 ./docs/the-new-architecture/backward-compatibility-fabric-components.md:43:61
Cocoapods → CocoaPods 	 ./docs/the-new-architecture/pillars-fabric-components.md:972:107
Cocoapods → CocoaPods 	 ./docs/the-new-architecture/pillars-turbomodule.md:791:138
Webpack → webpack 	 ./website/blog/2016-03-24-introducing-hot-reloading.md:47:160
Webpack → webpack 	 ./website/blog/2016-03-24-introducing-hot-reloading.md:123:102
Webpack → webpack 	 ./website/blog/2016-03-24-introducing-hot-reloading.md:170:343
Webpack → webpack 	 ./website/blog/2016-03-24-introducing-hot-reloading.md:176:376
Webpack → webpack 	 ./website/blog/2016-03-24-introducing-hot-reloading.md:180:158
Webpack → webpack 	 ./website/blog/2017-06-21-react-native-monthly-1.md:47:242
Webpack → webpack 	 ./website/blog/2017-11-06-react-native-monthly-5.md:17:123
Webpack → webpack 	 ./website/versioned_docs/version-0.70/platform-specific-code.md:128:29
Cocoapods → CocoaPods 	 ./website/versioned_docs/version-0.72/navigation.md:38:63
Webpack → webpack 	 ./website/versioned_docs/version-0.72/platform-specific-code.md:128:29
Webpack → webpack 	 ./website/versioned_docs/version-0.71/platform-specific-code.md:128:29
Cocoapods → CocoaPods 	 ./website/versioned_docs/version-0.72/the-new-architecture/backward-compatibility-fabric-components.md:43:61
Cocoapods → CocoaPods 	 ./website/versioned_docs/version-0.72/the-new-architecture/backward-compatibility-turbomodules.md:43:57
Cocoapods → CocoaPods 	 ./website/versioned_docs/version-0.72/the-new-architecture/pillars-turbomodule.md:791:138
Cocoapods → CocoaPods 	 ./website/versioned_docs/version-0.72/the-new-architecture/pillars-fabric-components.md:972:107

21 files contain case errors
run npx case-police --fix to fix

error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
➜  react-native-website git:(slorber/update-case-police) yarn case-police '**/*.md' -p brands,general,products,softwares -d ./website/react-native-dict.json --fix
yarn run v1.22.17
$ /Users/sebastienlorber/Desktop/projects/react-native-website/node_modules/.bin/case-police '**/*.md' -p brands,general,products,softwares -d ./website/react-native-dict.json --fix

 Case  Police  v0.5.14

835 files found for checking, 360 words loaded

Webpack → webpack 	 ./docs/_getting-started-linux-android.md:149:88
Webpack → webpack 	 ./docs/_getting-started-macos-android.md:164:88
Webpack → webpack 	 ./docs/_getting-started-macos-ios.md:127:88
Webpack → webpack 	 ./docs/_getting-started-windows-android.md:180:88
Cocoapods → CocoaPods 	 ./docs/navigation.md:38:63
Webpack → webpack 	 ./docs/platform-specific-code.md:128:29
Cocoapods → CocoaPods 	 ./docs/the-new-architecture/backward-compatibility-fabric-components.md:43:61
Cocoapods → CocoaPods 	 ./docs/the-new-architecture/backward-compatibility-turbomodules.md:43:57
Cocoapods → CocoaPods 	 ./docs/the-new-architecture/pillars-fabric-components.md:972:107
Cocoapods → CocoaPods 	 ./docs/the-new-architecture/pillars-turbomodule.md:791:138
Webpack → webpack 	 ./website/blog/2016-03-24-introducing-hot-reloading.md:47:160
Webpack → webpack 	 ./website/blog/2016-03-24-introducing-hot-reloading.md:123:102
Webpack → webpack 	 ./website/blog/2016-03-24-introducing-hot-reloading.md:170:343
Webpack → webpack 	 ./website/blog/2016-03-24-introducing-hot-reloading.md:176:376
Webpack → webpack 	 ./website/blog/2016-03-24-introducing-hot-reloading.md:180:158
Webpack → webpack 	 ./website/blog/2017-06-21-react-native-monthly-1.md:47:242
Webpack → webpack 	 ./website/blog/2017-11-06-react-native-monthly-5.md:17:123
Webpack → webpack 	 ./website/versioned_docs/version-0.70/platform-specific-code.md:128:29
Webpack → webpack 	 ./website/versioned_docs/version-0.71/platform-specific-code.md:128:29
Cocoapods → CocoaPods 	 ./website/versioned_docs/version-0.72/navigation.md:38:63
Webpack → webpack 	 ./website/versioned_docs/version-0.72/platform-specific-code.md:128:29
Cocoapods → CocoaPods 	 ./website/versioned_docs/version-0.72/the-new-architecture/backward-compatibility-fabric-components.md:43:61
Cocoapods → CocoaPods 	 ./website/versioned_docs/version-0.72/the-new-architecture/backward-compatibility-turbomodules.md:43:57
Cocoapods → CocoaPods 	 ./website/versioned_docs/version-0.72/the-new-architecture/pillars-fabric-components.md:972:107
Cocoapods → CocoaPods 	 ./website/versioned_docs/version-0.72/the-new-architecture/pillars-turbomodule.md:791:138

files fixed
✨  Done in 0.23s.

@netlify

netlify Bot commented Aug 24, 2023

Copy link
Copy Markdown

Deploy Preview for react-native ready!

Name Link
🔨 Latest commit 6836a53
🔍 Latest deploy log https://app.netlify.com/sites/react-native/deploys/64e70feb708e88000762e0a6
😎 Deploy Preview https://deploy-preview-3827--react-native.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@Simek Simek left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks for working on this bump! 🙏 I have tried to upgrade case-police to the latest version in #3822, but it looks like 0.6.x is causing issues on the CI:

Screenshot 2023-08-24 101641

Let's merge your PR in, and I will follow up with sync on my PR which additionally includes broken links fixes. 🙂

@Simek Simek merged commit bfcc722 into react:main Aug 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants