From 0c225764dd56ae551d87ea02106fe1a051870e50 Mon Sep 17 00:00:00 2001 From: Sean Perkins Date: Tue, 30 May 2023 20:54:50 -0400 Subject: [PATCH 1/3] chore(ci): check for diff after running prettier --- .github/workflows/CI.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index d35a183f9ac..ced06132a9e 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -25,3 +25,9 @@ jobs: run: npm ci --legacy-peer-deps - name: Lint run: npm run lint + # Lint changes should be pushed + # to the branch before the branch + # is merge eligible. + - name: Check Diff + run: git diff --exit-code + shell: bash From d90d8040962851dbf1d94c2c25ea9333ffa68090 Mon Sep 17 00:00:00 2001 From: Sean Perkins Date: Tue, 30 May 2023 21:18:08 -0400 Subject: [PATCH 2/3] chore: prettier cache diff --- versioned_docs/version-v5/api/item.md | 7 ++++--- versioned_docs/version-v5/native/background-fetch.md | 4 ++-- versioned_docs/version-v5/native/bluetooth-serial.md | 4 ++-- versioned_docs/version-v5/native/document-scanner.md | 4 ++-- versioned_docs/version-v5/native/firebase-vision.md | 4 ++-- versioned_docs/version-v5/native/google-analytics.md | 4 ++-- 6 files changed, 14 insertions(+), 13 deletions(-) diff --git a/versioned_docs/version-v5/api/item.md b/versioned_docs/version-v5/api/item.md index 6c58db0787a..7e2c7205d1c 100644 --- a/versioned_docs/version-v5/api/item.md +++ b/versioned_docs/version-v5/api/item.md @@ -1033,13 +1033,14 @@ export class ItemExample { Item - , + No Lines Item , Multiline text that should wrap when it is too long to fit on one line in the item. - , + +

H3 Primary Title

@@ -1049,7 +1050,7 @@ export class ItemExample {

Paragraph line 2 secondary

-
, +
Item with Full Lines diff --git a/versioned_docs/version-v5/native/background-fetch.md b/versioned_docs/version-v5/native/background-fetch.md index a00e1f832e3..154a7262e4c 100644 --- a/versioned_docs/version-v5/native/background-fetch.md +++ b/versioned_docs/version-v5/native/background-fetch.md @@ -58,8 +58,8 @@ For more detail, please see https://github.com/transistorsoft/cordova-plugin-bac > - $ npm install cordova-plugin-background-fetch {'\n'}$ npm install @awesome-cordova-plugins/background-fetch {'\n'} - $ ionic cap sync + $ npm install cordova-plugin-background-fetch {'\n'}$ npm install @awesome-cordova-plugins/background-fetch {'\n'}$ + ionic cap sync diff --git a/versioned_docs/version-v5/native/bluetooth-serial.md b/versioned_docs/version-v5/native/bluetooth-serial.md index 838c10bb35e..90783c844e5 100644 --- a/versioned_docs/version-v5/native/bluetooth-serial.md +++ b/versioned_docs/version-v5/native/bluetooth-serial.md @@ -51,8 +51,8 @@ This plugin enables serial communication over Bluetooth. It was written for comm > - $ npm install cordova-plugin-bluetooth-serial {'\n'}$ npm install @awesome-cordova-plugins/bluetooth-serial {'\n'} - $ ionic cap sync + $ npm install cordova-plugin-bluetooth-serial {'\n'}$ npm install @awesome-cordova-plugins/bluetooth-serial {'\n'}$ + ionic cap sync diff --git a/versioned_docs/version-v5/native/document-scanner.md b/versioned_docs/version-v5/native/document-scanner.md index 4d4716b999f..b71162f7fb0 100644 --- a/versioned_docs/version-v5/native/document-scanner.md +++ b/versioned_docs/version-v5/native/document-scanner.md @@ -56,8 +56,8 @@ This plugin processes images of documents, compensating for perspective. > - $ npm install cordova-plugin-document-scanner {'\n'}$ npm install @awesome-cordova-plugins/document-scanner {'\n'} - $ ionic cap sync + $ npm install cordova-plugin-document-scanner {'\n'}$ npm install @awesome-cordova-plugins/document-scanner {'\n'}$ + ionic cap sync diff --git a/versioned_docs/version-v5/native/firebase-vision.md b/versioned_docs/version-v5/native/firebase-vision.md index 676aa280c17..52fb788095c 100644 --- a/versioned_docs/version-v5/native/firebase-vision.md +++ b/versioned_docs/version-v5/native/firebase-vision.md @@ -56,8 +56,8 @@ Cordova plugin for Firebase MLKit Vision > - $ npm install cordova-plugin-firebase-mlvision {'\n'}$ npm install @awesome-cordova-plugins/firebase-vision {'\n'} - $ ionic cap sync + $ npm install cordova-plugin-firebase-mlvision {'\n'}$ npm install @awesome-cordova-plugins/firebase-vision {'\n'}$ + ionic cap sync diff --git a/versioned_docs/version-v5/native/google-analytics.md b/versioned_docs/version-v5/native/google-analytics.md index 545100f71bc..1f9d941d381 100644 --- a/versioned_docs/version-v5/native/google-analytics.md +++ b/versioned_docs/version-v5/native/google-analytics.md @@ -56,8 +56,8 @@ Prerequisites: > - $ npm install cordova-plugin-google-analytics {'\n'}$ npm install @awesome-cordova-plugins/google-analytics {'\n'} - $ ionic cap sync + $ npm install cordova-plugin-google-analytics {'\n'}$ npm install @awesome-cordova-plugins/google-analytics {'\n'}$ + ionic cap sync From ecb87c2b414cc0959550c9ed608290a879e87c8b Mon Sep 17 00:00:00 2001 From: Sean Perkins Date: Tue, 30 May 2023 21:34:04 -0400 Subject: [PATCH 3/3] chore: rework code blocks --- .../version-v5/native/background-fetch.md | 18 +++++++++--------- .../version-v5/native/bluetooth-serial.md | 18 +++++++++--------- .../version-v5/native/document-scanner.md | 18 +++++++++--------- .../version-v5/native/firebase-vision.md | 18 +++++++++--------- .../version-v5/native/google-analytics.md | 18 +++++++++--------- 5 files changed, 45 insertions(+), 45 deletions(-) diff --git a/versioned_docs/version-v5/native/background-fetch.md b/versioned_docs/version-v5/native/background-fetch.md index 154a7262e4c..1090feb0d6d 100644 --- a/versioned_docs/version-v5/native/background-fetch.md +++ b/versioned_docs/version-v5/native/background-fetch.md @@ -6,7 +6,6 @@ import DocsCard from '@components/global/DocsCard'; import DocsButton from '@components/page/native/DocsButton'; import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; -import CodeBlock from '@theme/CodeBlock'; # Background Fetch @@ -57,16 +56,17 @@ For more detail, please see https://github.com/transistorsoft/cordova-plugin-bac ]} > - - $ npm install cordova-plugin-background-fetch {'\n'}$ npm install @awesome-cordova-plugins/background-fetch {'\n'}$ - ionic cap sync - + + $ npm install cordova-plugin-background-fetch + $ npm install @awesome-cordova-plugins/background-fetch + $ ionic cap sync + - - $ ionic cordova plugin add cordova-plugin-background-fetch {'\n'}$ npm install - @awesome-cordova-plugins/background-fetch {'\n'} - + + $ ionic cordova plugin add cordova-plugin-background-fetch + $ npm install @awesome-cordova-plugins/background-fetch +
diff --git a/versioned_docs/version-v5/native/bluetooth-serial.md b/versioned_docs/version-v5/native/bluetooth-serial.md index 90783c844e5..61b9dcd6b42 100644 --- a/versioned_docs/version-v5/native/bluetooth-serial.md +++ b/versioned_docs/version-v5/native/bluetooth-serial.md @@ -6,7 +6,6 @@ import DocsCard from '@components/global/DocsCard'; import DocsButton from '@components/page/native/DocsButton'; import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; -import CodeBlock from '@theme/CodeBlock'; # Bluetooth Serial @@ -50,16 +49,17 @@ This plugin enables serial communication over Bluetooth. It was written for comm ]} > - - $ npm install cordova-plugin-bluetooth-serial {'\n'}$ npm install @awesome-cordova-plugins/bluetooth-serial {'\n'}$ - ionic cap sync - + + $ npm install cordova-plugin-bluetooth-serial + $ npm install @awesome-cordova-plugins/bluetooth-serial + $ ionic cap sync + - - $ ionic cordova plugin add cordova-plugin-bluetooth-serial {'\n'}$ npm install - @awesome-cordova-plugins/bluetooth-serial {'\n'} - + + $ ionic cordova plugin add cordova-plugin-bluetooth-serial + $ npm install @awesome-cordova-plugins/bluetooth-serial +
diff --git a/versioned_docs/version-v5/native/document-scanner.md b/versioned_docs/version-v5/native/document-scanner.md index b71162f7fb0..3044764ace3 100644 --- a/versioned_docs/version-v5/native/document-scanner.md +++ b/versioned_docs/version-v5/native/document-scanner.md @@ -6,7 +6,6 @@ import DocsCard from '@components/global/DocsCard'; import DocsButton from '@components/page/native/DocsButton'; import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; -import CodeBlock from '@theme/CodeBlock'; # Document Scanner @@ -55,16 +54,17 @@ This plugin processes images of documents, compensating for perspective. ]} > - - $ npm install cordova-plugin-document-scanner {'\n'}$ npm install @awesome-cordova-plugins/document-scanner {'\n'}$ - ionic cap sync - + + $ npm install cordova-plugin-document-scanner + $ npm install @awesome-cordova-plugins/document-scanner + $ ionic cap sync + - - $ ionic cordova plugin add cordova-plugin-document-scanner {'\n'}$ npm install - @awesome-cordova-plugins/document-scanner {'\n'} - + + $ ionic cordova plugin add cordova-plugin-document-scanner + $ npm install @awesome-cordova-plugins/document-scanner +
diff --git a/versioned_docs/version-v5/native/firebase-vision.md b/versioned_docs/version-v5/native/firebase-vision.md index 52fb788095c..fbf3dc96f6e 100644 --- a/versioned_docs/version-v5/native/firebase-vision.md +++ b/versioned_docs/version-v5/native/firebase-vision.md @@ -6,7 +6,6 @@ import DocsCard from '@components/global/DocsCard'; import DocsButton from '@components/page/native/DocsButton'; import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; -import CodeBlock from '@theme/CodeBlock'; # Firebase Vision @@ -55,16 +54,17 @@ Cordova plugin for Firebase MLKit Vision ]} > - - $ npm install cordova-plugin-firebase-mlvision {'\n'}$ npm install @awesome-cordova-plugins/firebase-vision {'\n'}$ - ionic cap sync - + + $ npm install cordova-plugin-firebase-mlvision + $ npm install @awesome-cordova-plugins/firebase-vision + $ ionic cap sync + - - $ ionic cordova plugin add cordova-plugin-firebase-mlvision {'\n'}$ npm install - @awesome-cordova-plugins/firebase-vision {'\n'} - + + $ ionic cordova plugin add cordova-plugin-firebase-mlvision + $ npm install @awesome-cordova-plugins/firebase-vision +
diff --git a/versioned_docs/version-v5/native/google-analytics.md b/versioned_docs/version-v5/native/google-analytics.md index 1f9d941d381..7038ada965d 100644 --- a/versioned_docs/version-v5/native/google-analytics.md +++ b/versioned_docs/version-v5/native/google-analytics.md @@ -6,7 +6,6 @@ import DocsCard from '@components/global/DocsCard'; import DocsButton from '@components/page/native/DocsButton'; import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; -import CodeBlock from '@theme/CodeBlock'; # Google Analytics @@ -55,16 +54,17 @@ Prerequisites: ]} > - - $ npm install cordova-plugin-google-analytics {'\n'}$ npm install @awesome-cordova-plugins/google-analytics {'\n'}$ - ionic cap sync - + + $ npm install cordova-plugin-google-analytics + $ npm install @awesome-cordova-plugins/google-analytics + $ ionic cap sync + - - $ ionic cordova plugin add cordova-plugin-google-analytics {'\n'}$ npm install - @awesome-cordova-plugins/google-analytics {'\n'} - + + $ ionic cordova plugin add cordova-plugin-google-analytics + $ npm install @awesome-cordova-plugins/google-analytics +