Skip to content

Commit 6207741

Browse files
committed
chore(deps): upgrade prettier to v3
1 parent 84cc7b2 commit 6207741

1,009 files changed

Lines changed: 1200 additions & 1121 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

_templates/playground/new/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ module.exports = {
7272

7373
const playgroundName = changeCase.pascal(answers.path.split('/').pop());
7474
console.log(
75-
`\nTo use this playground in a docs markdown file, include\nthe following:\n\n## ${playgroundName}\n\nimport ${playgroundName} from '@site/static/usage/v${answers.version}/${answers.name}/${answers.path}/index.mdx';\n\n<${playgroundName} />\n`
75+
`\nTo use this playground in a docs markdown file, include\nthe following:\n\n## ${playgroundName}\n\nimport ${playgroundName} from '@site/static/usage/v${answers.version}/${answers.name}/${answers.path}/index.mdx';\n\n<${playgroundName} />\n`,
7676
);
7777

7878
return answers;

docs/angular/overlays.md

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,10 @@ import { MyRouteService } from './my-route.service';
7171
providers: [MyRouteService], // Service provided at route level
7272
})
7373
export class FeatureComponent {
74-
constructor(private modalController: ModalController, private injector: Injector) {}
74+
constructor(
75+
private modalController: ModalController,
76+
private injector: Injector,
77+
) {}
7578

7679
async openModal() {
7780
const modal = await this.modalController.create({
@@ -113,7 +116,10 @@ import { MyService } from './my.service';
113116
templateUrl: './feature.component.html',
114117
})
115118
export class FeatureComponent {
116-
constructor(private modalController: ModalController, private injector: Injector) {}
119+
constructor(
120+
private modalController: ModalController,
121+
private injector: Injector,
122+
) {}
117123

118124
async openModal() {
119125
const myService = new MyService();
@@ -148,7 +154,10 @@ import { MyModalComponent } from './my-modal.component';
148154
templateUrl: './feature.component.html',
149155
})
150156
export class FeatureComponent {
151-
constructor(private modalController: ModalController, private injector: Injector) {}
157+
constructor(
158+
private modalController: ModalController,
159+
private injector: Injector,
160+
) {}
152161

153162
async openModal() {
154163
const modal = await this.modalController.create({
@@ -174,7 +183,10 @@ import { MyPopoverComponent } from './my-popover.component';
174183
templateUrl: './feature.component.html',
175184
})
176185
export class FeatureComponent {
177-
constructor(private popoverController: PopoverController, private injector: Injector) {}
186+
constructor(
187+
private popoverController: PopoverController,
188+
private injector: Injector,
189+
) {}
178190

179191
async openPopover(event: Event) {
180192
const popover = await this.popoverController.create({

docs/angular/zoneless.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,9 @@ import { ChangeDetectorRef, Component, inject } from '@angular/core';
8181

8282
@Component({
8383
selector: 'app-list',
84-
template: `@for (item of items; track item) { <ion-item>{{ item }}</ion-item> }`,
84+
template: `@for (item of items; track item) {
85+
<ion-item>{{ item }}</ion-item>
86+
}`,
8587
})
8688
export class ListPage {
8789
private cdr = inject(ChangeDetectorRef);
@@ -113,7 +115,7 @@ Content projected into an inline `ion-modal` or `ion-popover` follows the same r
113115
<ng-template>
114116
<ion-list>
115117
@for (item of items(); track item) {
116-
<ion-item>{{ item }}</ion-item>
118+
<ion-item>{{ item }}</ion-item>
117119
}
118120
</ion-list>
119121
</ng-template>

docs/cli/configuration.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,7 @@ module.exports = function (ctx) {
117117

118118
## Multi-app Projects
119119

120-
<small>
121-
<em>Available in CLI 6.2.0+</em>
122-
</small>
120+
<small>_Available in CLI 6.2.0+_</small>
123121

124122
The Ionic CLI supports a multi-app configuration setup, which involves multiple Ionic apps and shared code within a single repository, or [monorepo](../reference/glossary.md#monorepo).
125123

docs/core-concepts/fundamentals.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ For apps that are built with Angular and `@ionic/angular`, we recommend using th
3838

3939
An amazing feature of apps built with web technologies (such as Ionic apps!) is that it can run on virtually any platform: desktop computers, phones, tablets, cars, refrigerators, and more! The same code base for Ionic apps can work on many platforms because it is based on web standards and common APIs that are shared across these platforms.
4040

41-
One of the most common use cases for Ionic is to build an app which can be downloaded from both the [App Store](https://www.apple.com/ios/app-store/) and [Play Store](https://play.google.com/). Both iOS and Android software development kits (SDKs) provide [Web Views](webview.md) which render any Ionic app, while still allowing for <i>full</i> Native SDK access.
41+
One of the most common use cases for Ionic is to build an app which can be downloaded from both the [App Store](https://www.apple.com/ios/app-store/) and [Play Store](https://play.google.com/). Both iOS and Android software development kits (SDKs) provide [Web Views](webview.md) which render any Ionic app, while still allowing for _full_ Native SDK access.
4242

4343
Projects such as [Capacitor](https://capacitorjs.com/) and [Cordova](https://cordova.apache.org/) are commonly used to give Ionic apps this access to Native SDKs. This means developers can quickly build out an app using common web development tools, and still have access to native features such as the device's accelerometer, camera, GPS, and more.
4444

docs/core-concepts/what-are-progressive-web-apps.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ To be considered a Progressive Web App, your app must be:
4747

4848
{/* cspell:disable */}
4949

50-
<em>[Addy Osmani: Progressive web apps](https://addyosmani.com/blog/getting-started-with-progressive-web-apps/)</em>
50+
_[Addy Osmani: Progressive web apps](https://addyosmani.com/blog/getting-started-with-progressive-web-apps/)_
5151

5252
{/* cspell:enable */}
5353

docs/deployment/app-store.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ If the upload is successful the app should be listed under 'Activities' on [iTun
116116
As an app grows, it will need to be updated with new features and fixes.
117117
An app can be updated by either submitting a new version to Apple, or by using a live update service like Appflow's [live update feature](https://ionic.io/docs/appflow/deploy/intro).
118118

119-
With <strong>Live Updates</strong>, app changes can be pushed in realtime directly to users from the Appflow dashboard, without waiting for App Store approvals.
119+
With **Live Updates**, app changes can be pushed in realtime directly to users from the Appflow dashboard, without waiting for App Store approvals.
120120

121121
:::note
122122
In order for the iOS App Store to accept the updated build, the config.xml file will need to be edited to increment the version value, then rebuild the app for release following the same instructions above.

docs/developer-resources/guides/first-app-v3/intro.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,27 +28,27 @@ ionic start photo-gallery tabs
2828

2929
This starter project comes complete with three pre-built pages and best practices for Ionic development. With common building blocks already in place, we can add more features easily!
3030

31-
<strong>“Would you like to integrate your new app with Cordova to target native iOS and Android?”</strong>
31+
**“Would you like to integrate your new app with Cordova to target native iOS and Android?”**
3232

3333
Type “y” and press Enter. Project setup may take a few moments.
3434

35-
<strong>“Install the free Appflow SDK and connect your app?”</strong>
35+
**“Install the free Appflow SDK and connect your app?”**
3636

3737
Type “y” and press Enter. [Appflow](https://ionicframework.com/pro) is a powerful set of services and features built on top of the flagship Ionic Framework. This includes updating your app instantly (skipping the app store review process!), packaging apps in the cloud, and error monitoring.
3838

39-
<strong>Log into your Ionic Account</strong>
39+
**Log into your Ionic Account**
4040

4141
Sign in now to easily access awesome features like Live Deploys later in this tutorial.
4242

43-
<strong>What would you like to do?</strong>
43+
**What would you like to do?**
4444

4545
Choose “Create a new app on Appflow.”
4646

47-
<strong>Which git host would you like to use?</strong>
47+
**Which git host would you like to use?**
4848

4949
Choose “Appflow.”
5050

51-
<strong>“How would you like to connect to Appflow?”</strong>
51+
**“How would you like to connect to Appflow?”**
5252

5353
- Choose “Automatically setup a new SSH key pair for Appflow” if you haven’t used SSH before.
5454
- Choose “Use an existing SSH key pair” if you’ve used SSH before.

docs/developer-resources/guides/first-app-v4/intro.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,11 @@ It’s easy to get started. Note that all code referenced in this guide can be [
1111
Download/install these right away to ensure an optimal Ionic development experience:
1212

1313
- [Git](https://git-scm.com/downloads) for version control.
14-
- <strong>SSH client</strong>, such as [PuTTy](https://putty.software/), for secure login to Appflow.
15-
- <strong>Node.js</strong> for interacting with the Ionic ecosystem. [Download the LTS version](https://nodejs.org/en/).
16-
- <strong>A code editor</strong> for... writing code! We are fans of [Visual Studio Code](https://code.visualstudio.com/).
17-
- <strong>Command-line terminal (CLI)</strong>: FYI <strong>Windows</strong> users, for the best Ionic experience, we
18-
recommend the built-in command line (cmd) or the Powershell CLI, running in Administrator mode. For <strong>
19-
Mac/Linux
20-
</strong> users, virtually any terminal will work.
14+
- **SSH client**, such as [PuTTy](https://putty.software/), for secure login to Appflow.
15+
- **Node.js** for interacting with the Ionic ecosystem. [Download the LTS version](https://nodejs.org/en/).
16+
- **A code editor** for... writing code! We are fans of [Visual Studio Code](https://code.visualstudio.com/).
17+
- **Command-line terminal (CLI)**: FYI **Windows** users, for the best Ionic experience, we
18+
recommend the built-in command line (cmd) or the Powershell CLI, running in Administrator mode. For **Mac/Linux** users, virtually any terminal will work.
2119

2220
## Install Ionic and Cordova
2321

docs/developing/tips.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,7 @@ Global packages will now be installed in the `~/.nvm` directory, so permission e
6161

6262
### Option 2
6363

64-
<small>
65-
<em>Does not apply to Windows</em>
66-
</small>
64+
<small>_Does not apply to Windows_</small>
6765

6866
Change the owner of npm's directories to the current user:
6967

0 commit comments

Comments
 (0)