Skip to content

Commit

Permalink
chore: run lint
Browse files Browse the repository at this point in the history
  • Loading branch information
rdlabo committed Oct 13, 2023
1 parent ec5b6b5 commit 5d1c392
Show file tree
Hide file tree
Showing 638 changed files with 306 additions and 810 deletions.
2 changes: 1 addition & 1 deletion src/translate/.detection/cli/build.readme.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
`ionic build` will perform an Ionic build, which compiles web assets and prepares them for deployment.

`ionic build` uses the Angular CLI. Use `ng build --help` to list all Angular CLI options for building your app. See the `ng build` [docs](https://angular.io/cli/build) for explanations. Options not listed below are considered advanced and can be passed to the `ng` CLI using the `--` separator after the Ionic CLI arguments. See the examples.
`ionic build` uses the Angular CLI. Use `ng build --help` to list all Angular CLI options for building your app. See the `ng build` [docs](https://angular.io/cli/build) for explanations. Options not listed below are considered advanced and can be passed to the `ng` CLI using the `--` separator after the Ionic CLI arguments. See the examples.
3 changes: 2 additions & 1 deletion src/translate/.detection/cli/capacitor-add.readme.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
`ionic capacitor add` will do the following:

- Install the Capacitor platform package
- Copy the native platform template into your project
- Copy the native platform template into your project
3 changes: 2 additions & 1 deletion src/translate/.detection/cli/capacitor-build.readme.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
`ionic capacitor build` will do the following:

- Perform `ionic build`
- Copy web assets into the specified native platform
- Open the IDE for your native project (Xcode for iOS, Android Studio for Android)

Once the web assets and configuration are copied into your native project, you can build your app using the native IDE. Unfortunately, programmatically building the native project is not yet supported.

To configure your native project, see the common configuration [docs](https://capacitorjs.com/docs/basics/configuring-your-app) as well as low-level configuration for [iOS](https://capacitorjs.com/docs/ios/configuration) and [Android](https://capacitorjs.com/docs/android/configuration).
To configure your native project, see the common configuration [docs](https://capacitorjs.com/docs/basics/configuring-your-app) as well as low-level configuration for [iOS](https://capacitorjs.com/docs/ios/configuration) and [Android](https://capacitorjs.com/docs/android/configuration).
3 changes: 2 additions & 1 deletion src/translate/.detection/cli/capacitor-copy.readme.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
`ionic capacitor copy` will do the following:

- Perform an Ionic build, which compiles web assets
- Copy web assets to Capacitor native platform(s)
- Copy web assets to Capacitor native platform(s)
3 changes: 2 additions & 1 deletion src/translate/.detection/cli/capacitor-open.readme.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
`ionic capacitor open` will do the following:
- Open the IDE for your native project (Xcode for iOS, Android Studio for Android)

- Open the IDE for your native project (Xcode for iOS, Android Studio for Android)
3 changes: 2 additions & 1 deletion src/translate/.detection/cli/capacitor-run.readme.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
`ionic capacitor run` will do the following:

- Perform `ionic build` (or run the dev server from `ionic serve` with the `--livereload` option)
- Run `capacitor run` (or open IDE for your native project with the `--open` option)

When using `--livereload` with hardware devices, remember that livereload needs an active connection between device and computer. In some scenarios, you may need to host the dev server on an external address using the `--external` option. See these [docs](https://ionicframework.com/docs/cli/livereload) for more information.

If you have multiple devices and emulators, you can target a specific one by ID with the `--target` option. You can list targets with `--list`.

For Android and iOS, you can setup Remote Debugging on your device with browser development tools using these [docs](https://ionicframework.com/docs/developer-resources/developer-tips).
For Android and iOS, you can setup Remote Debugging on your device with browser development tools using these [docs](https://ionicframework.com/docs/developer-resources/developer-tips).
3 changes: 2 additions & 1 deletion src/translate/.detection/cli/capacitor-sync.readme.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
`ionic capacitor sync` will do the following:

- Perform an Ionic build, which compiles web assets
- Copy web assets to Capacitor native platform(s)
- Update Capacitor native platform(s) and dependencies
- Install any discovered Capacitor or Cordova plugins
- Install any discovered Capacitor or Cordova plugins
3 changes: 2 additions & 1 deletion src/translate/.detection/cli/capacitor-update.readme.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
`ionic capacitor update` will do the following:

- Update Capacitor native platform(s) and dependencies
- Install any discovered Capacitor or Cordova plugins
- Install any discovered Capacitor or Cordova plugins
2 changes: 1 addition & 1 deletion src/translate/.detection/cli/completion.readme.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
This command is experimental and only works for Z shell (zsh) and non-Windows platforms.

To enable completions for the Ionic CLI, you can add the completion code that this command prints to your **~/.zshrc** (or any other file loaded with your shell). See the examples.
To enable completions for the Ionic CLI, you can add the completion code that this command prints to your **~/.zshrc** (or any other file loaded with your shell). See the examples.
2 changes: 1 addition & 1 deletion src/translate/.detection/cli/config-get.readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ For multi-app projects, this command is scoped to the current project by default

If you are using this command programmatically, you can use the `--json` option.

This command will sanitize config output for known sensitive fields (disabled when using `--json`).
This command will sanitize config output for known sensitive fields (disabled when using `--json`).
2 changes: 1 addition & 1 deletion src/translate/.detection/cli/config-set.readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ For multi-app projects, this command is scoped to the current project by default

This command will attempt to coerce `value` into a suitable JSON type. If it is JSON-parsable, such as `123`, `true`, `[]`, etc., then it takes the parsed result. Otherwise, the value is interpreted as a string. For stricter input, use `--json`, which will error with non-JSON values.

By default, if `property` exists and is an object or an array, the value is not overwritten. To disable this check and always overwrite the property, use `--force`.
By default, if `property` exists and is an object or an array, the value is not overwritten. To disable this check and always overwrite the property, use `--force`.
2 changes: 1 addition & 1 deletion src/translate/.detection/cli/config-unset.readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ This command deletes configuration values from the project's **./ionic.config.js

For nested properties, separate nest levels with dots. For example, the property name `integrations.cordova` will look in the **integrations** object for the **cordova** property.

For multi-app projects, this command is scoped to the current project by default. To operate at the root of the project configuration file instead, use the `--root` option.
For multi-app projects, this command is scoped to the current project by default. To operate at the root of the project configuration file instead, use the `--root` option.
2 changes: 1 addition & 1 deletion src/translate/.detection/cli/cordova-build.readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ Like running `cordova build` directly, `ionic cordova build` also builds web ass

To pass additional options to the Cordova CLI, use the `--` separator after the Ionic CLI arguments.

The Cordova CLI requires a separator for platform-specific arguments for Android [builds](https://cordova.apache.org/docs/en/latest/guide/platforms/android/index.html#using-flags), so an additional separator is required for the Ionic CLI, but it is not required for iOS [builds](https://cordova.apache.org/docs/en/latest/guide/platforms/ios/index.html#using-flags). See the example commands for usage with separators. To avoid using flags, consider using `--buildConfig` with a **build.json** file.
The Cordova CLI requires a separator for platform-specific arguments for Android [builds](https://cordova.apache.org/docs/en/latest/guide/platforms/android/index.html#using-flags), so an additional separator is required for the Ionic CLI, but it is not required for iOS [builds](https://cordova.apache.org/docs/en/latest/guide/platforms/ios/index.html#using-flags). See the example commands for usage with separators. To avoid using flags, consider using `--buildConfig` with a **build.json** file.
2 changes: 1 addition & 1 deletion src/translate/.detection/cli/cordova-compile.readme.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Like running `cordova compile` directly, but provides friendly checks.
Like running `cordova compile` directly, but provides friendly checks.
2 changes: 1 addition & 1 deletion src/translate/.detection/cli/cordova-emulate.readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ For Android and iOS, you can setup Remote Debugging on your device with browser

When using `--livereload` with hardware devices, remember that livereload needs an active connection between device and computer. In some scenarios, you may need to host the dev server on an external address using the `--external` option. See these [docs](https://ionicframework.com/docs/cli/livereload) for more information.

Just like with `ionic cordova build`, you can pass additional options to the Cordova CLI using the `--` separator. To pass additional options to the dev server, consider using `ionic serve` separately and using the `--livereload-url` option.
Just like with `ionic cordova build`, you can pass additional options to the Cordova CLI using the `--` separator. To pass additional options to the dev server, consider using `ionic serve` separately and using the `--livereload-url` option.
2 changes: 1 addition & 1 deletion src/translate/.detection/cli/cordova-platform.readme.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Like running `cordova platform` directly, but adds default Ionic icons and splash screen resources (during `add`) and provides friendly checks.
Like running `cordova platform` directly, but adds default Ionic icons and splash screen resources (during `add`) and provides friendly checks.
2 changes: 1 addition & 1 deletion src/translate/.detection/cli/cordova-plugin.readme.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Like running `cordova plugin` directly, but provides friendly checks.
Like running `cordova plugin` directly, but provides friendly checks.
2 changes: 1 addition & 1 deletion src/translate/.detection/cli/cordova-prepare.readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
- Copy icons and splash screens from **resources/** to into your Cordova platforms.
- Copy plugin files into specified platforms.

You may wish to use `ionic cordova prepare` if you run your project with Android Studio or Xcode.
You may wish to use `ionic cordova prepare` if you run your project with Android Studio or Xcode.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Like running `cordova requirements` directly, but provides friendly checks.
Like running `cordova requirements` directly, but provides friendly checks.
3 changes: 2 additions & 1 deletion src/translate/.detection/cli/cordova-resources.readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ For best results, the splash screen's artwork should roughly fit within a square
This command uses the `cordova-res` [utility](https://github.com/ionic-team/cordova-res) to generate resources locally.

Cordova reference documentation:

- Icons: **[https://cordova.apache.org/docs/en/latest/config_ref/images.html](https://cordova.apache.org/docs/en/latest/config_ref/images.html)**
- Splash Screens: **[https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-splashscreen/](https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-splashscreen/)**
- Splash Screens: **[https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-splashscreen/](https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-splashscreen/)**
2 changes: 1 addition & 1 deletion src/translate/.detection/cli/cordova-run.readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ For Android and iOS, you can setup Remote Debugging on your device with browser

When using `--livereload` with hardware devices, remember that livereload needs an active connection between device and computer. In some scenarios, you may need to host the dev server on an external address using the `--external` option. See these [docs](https://ionicframework.com/docs/cli/livereload) for more information.

Just like with `ionic cordova build`, you can pass additional options to the Cordova CLI using the `--` separator. To pass additional options to the dev server, consider using `ionic serve` separately and using the `--livereload-url` option.
Just like with `ionic cordova build`, you can pass additional options to the Cordova CLI using the `--` separator. To pass additional options to the dev server, consider using `ionic serve` separately and using the `--livereload-url` option.
6 changes: 3 additions & 3 deletions src/translate/.detection/cli/generate.readme.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Automatically create framework features with Ionic Generate. This command uses the Angular CLI to generate features such as `pages`, `components`, `directives`, `services`, and more.

- For a full list of available types, use `npx ng g --help`
- For a list of options for a types, use `npx ng g <type> --help`
- For a full list of available types, use `npx ng g --help`
- For a list of options for a types, use `npx ng g <type> --help`

You can specify a path to nest your feature within any number of subdirectories. For example, specify a name of `"pages/New Page"` to generate page files at **src/app/pages/new-page/**.

To test a generator before file modifications are made, use the `--dry-run` option.
To test a generator before file modifications are made, use the `--dry-run` option.
2 changes: 1 addition & 1 deletion src/translate/.detection/cli/git-remote.readme.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
This command is used by `ionic link` when Appflow is used as the git host.

`ionic git remote` will check the local repository for whether or not the git remote is properly set up. This command operates on the **ionic** remote. For advanced configuration, see **Settings** => **Git** in the app settings of the [Dashboard](https://dashboard.ionicframework.com).
`ionic git remote` will check the local repository for whether or not the git remote is properly set up. This command operates on the **ionic** remote. For advanced configuration, see **Settings** => **Git** in the app settings of the [Dashboard](https://dashboard.ionicframework.com).
2 changes: 1 addition & 1 deletion src/translate/.detection/cli/info.readme.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
This command is an easy way to share information about your setup. If applicable, be sure to run `ionic info` within your project directory to display even more information.
This command is an easy way to share information about your setup. If applicable, be sure to run `ionic info` within your project directory to display even more information.
2 changes: 1 addition & 1 deletion src/translate/.detection/cli/init.readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ This command will initialize an Ionic app within the current directory. Usually,

`ionic init` will prompt for a project name and then proceed to determine the type of your project. You can specify the `name` argument and `--type` option to provide these values via command-line.

If the `--multi-app` flag is specified, this command will initialize your project as a multi-app project, allowing for apps within monorepos and unconventional repository structures. See the multi-app [docs](https://ionicframework.com/docs/cli/configuration#multi-app-projects) for details. Once a multi-app project is initialized, you can run `ionic init` again within apps in your project to initialize them.
If the `--multi-app` flag is specified, this command will initialize your project as a multi-app project, allowing for apps within monorepos and unconventional repository structures. See the multi-app [docs](https://ionicframework.com/docs/cli/configuration#multi-app-projects) for details. Once a multi-app project is initialized, you can run `ionic init` again within apps in your project to initialize them.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Integrations, such as Cordova, can be disabled with this command.
Integrations, such as Cordova, can be disabled with this command.
2 changes: 1 addition & 1 deletion src/translate/.detection/cli/integrations-enable.readme.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Integrations, such as Cordova, can be enabled with this command. If the integration has never been added to the project, `ionic integrations enable` will download and add the integration.

Integrations can be re-added with the `--add` option.
Integrations can be re-added with the `--add` option.
2 changes: 1 addition & 1 deletion src/translate/.detection/cli/integrations-list.readme.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This command will print the status of integrations in Ionic projects. Integrations can be **enabled** (added and enabled), **disabled** (added but disabled), and **not added** (never added to the project).

- To enable or add integrations, see `ionic integrations enable --help`
- To disable integrations, see `ionic integrations disable --help`
- To disable integrations, see `ionic integrations disable --help`
2 changes: 1 addition & 1 deletion src/translate/.detection/cli/link.readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ Appflow uses a git-based workflow to manage app updates. During the linking proc

Ultimately, this command sets the **id** property in **./ionic.config.json**, which marks this app as linked.

If you are having issues linking, please get in touch with our [Support](https://ion.link/support-request).
If you are having issues linking, please get in touch with our [Support](https://ion.link/support-request).
2 changes: 1 addition & 1 deletion src/translate/.detection/cli/live-update-add.readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ This command adds the Appflow Live Update plugin (`cordova-plugin-ionic`) for bo

For Capacitor projects it runs all the steps necessary to install the plugin, sync with the native projects and add the configuration to the proper iOS and Android configuration files.

For Cordova projects it just takes care of running the proper Cordova CLI command with the submitted parameters.
For Cordova projects it just takes care of running the proper Cordova CLI command with the submitted parameters.
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ This command overrides configuration for the Appflow Live Update plugin (`cordov

For Capacitor projects, if the plugin is already installed, it overrides the configuration variables in the native projects.

For Cordova projects this is not implemented because it is better to reinstall the plugin with the different parameters and let Cordova deal with the changes.
For Cordova projects this is not implemented because it is better to reinstall the plugin with the different parameters and let Cordova deal with the changes.
2 changes: 1 addition & 1 deletion src/translate/.detection/cli/login.readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ If the `IONIC_TOKEN` environment variable is set, the CLI will automatically aut

If you need to create an Ionic account, use `ionic signup` or the Ionic [Website](https://ionicframework.com/signup).

If you are having issues logging in, please get in touch with our [Support](https://ion.link/support-request).
If you are having issues logging in, please get in touch with our [Support](https://ion.link/support-request).
2 changes: 1 addition & 1 deletion src/translate/.detection/cli/logout.readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ Remove the Ionic user token from the CLI config.

Log in again with `ionic login`.

If you need to create an Ionic account, use `ionic signup`.
If you need to create an Ionic account, use `ionic signup`.
2 changes: 1 addition & 1 deletion src/translate/.detection/cli/repair.readme.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
This command may be useful when obscure errors or issues are encountered. It removes and recreates dependencies of your project.

For Cordova apps, it removes and recreates the generated native project and the native dependencies of your project.
For Cordova apps, it removes and recreates the generated native project and the native dependencies of your project.
2 changes: 1 addition & 1 deletion src/translate/.detection/cli/serve.readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ By default, `ionic serve` boots up a development server on `localhost`. To serve

`ionic serve` uses the Angular CLI. Use `ng serve --help` to list all Angular CLI options for serving your app. See the `ng serve` [docs](https://angular.io/cli/serve) for explanations. Options not listed below are considered advanced and can be passed to the Angular CLI using the `--` separator after the Ionic CLI arguments. See the examples.

The dev server can use HTTPS via the `--ssl` option **(experimental)**. There are several known issues with HTTPS. See issue [#3305](https://github.com/ionic-team/ionic-cli/issues/3305).
The dev server can use HTTPS via the `--ssl` option **(experimental)**. There are several known issues with HTTPS. See issue [#3305](https://github.com/ionic-team/ionic-cli/issues/3305).
2 changes: 1 addition & 1 deletion src/translate/.detection/cli/signup.readme.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
If you are having issues signing up, please get in touch with our [Support](https://ion.link/support-request).
If you are having issues signing up, please get in touch with our [Support](https://ion.link/support-request).
2 changes: 1 addition & 1 deletion src/translate/.detection/cli/ssh-setup.readme.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
This command offers a setup wizard for Ionic SSH keys using a series of prompts. For more control, see the commands available for managing SSH keys with the `ionic ssh --help` command. For an entirely manual approach, see **Personal Settings** => **SSH Keys** in the [Dashboard](https://dashboard.ionicframework.com/settings/ssh-keys).

If you are having issues setting up SSH keys, please get in touch with our [Support](https://ion.link/support-request).
If you are having issues setting up SSH keys, please get in touch with our [Support](https://ion.link/support-request).
Loading

0 comments on commit 5d1c392

Please sign in to comment.