Skip to content

Commit

Permalink
fix(expo): ensure schema files pass the linter rule (#13433)
Browse files Browse the repository at this point in the history
(cherry picked from commit 649e954)
  • Loading branch information
meeroslav authored and FrozenPandaz committed Nov 30, 2022
1 parent d04c8da commit 66f6a18
Show file tree
Hide file tree
Showing 26 changed files with 47 additions and 47 deletions.
42 changes: 21 additions & 21 deletions docs/generated/packages/expo.json
Expand Up @@ -14,7 +14,7 @@
"cli": "nx",
"$id": "NxExpoInit",
"$schema": "http://json-schema.org/schema",
"title": "Add Nx Expo Schematics",
"description": "Add Nx Expo Schematics.",
"type": "object",
"properties": {
"unitTestRunner": {
Expand Down Expand Up @@ -51,7 +51,7 @@
"cli": "nx",
"$id": "NxExpoApplication",
"$schema": "http://json-schema.org/schema",
"title": "Create an Expo Application for Nx",
"description": "Create an Expo Application for Nx.",
"examples": [
{
"command": "g app myapp --directory=nested",
Expand Down Expand Up @@ -138,7 +138,7 @@
"cli": "nx",
"$id": "NxExpoLibrary",
"$schema": "http://json-schema.org/schema",
"title": "Create a Expo Library for Nx",
"description": "Create a Expo Library for Nx.",
"type": "object",
"examples": [
{
Expand Down Expand Up @@ -242,7 +242,7 @@
"cli": "nx",
"$id": "NxExpoComponent",
"$schema": "http://json-schema.org/schema",
"title": "Create a Expo Component for Nx",
"description": "Create a Expo Component for Nx.",
"type": "object",
"examples": [
{
Expand Down Expand Up @@ -333,7 +333,7 @@
"$id": "NxExpoEasUpdate",
"cli": "nx",
"title": "Expo EAS Update executor",
"description": "Start an EAS update for your expo project",
"description": "Start an EAS update for your expo project.",
"type": "object",
"properties": {
"branch": {
Expand Down Expand Up @@ -406,7 +406,7 @@
"$id": "NxExpoEasBuild",
"cli": "nx",
"title": "Expo EAS Build executor",
"description": "Start an EAS build for your expo project",
"description": "Start an EAS build for your expo project.",
"type": "object",
"properties": {
"platform": {
Expand Down Expand Up @@ -473,7 +473,7 @@
"$id": "NxExpoEasBuildList",
"cli": "nx",
"title": "Expo EAS Build List executor",
"description": "List all EAS builds for your Expo project",
"description": "List all EAS builds for your Expo project.",
"type": "object",
"properties": {
"platform": {
Expand Down Expand Up @@ -559,7 +559,7 @@
"$id": "NxExpoDownloadEasBuild",
"cli": "nx",
"title": "Download EAS Build executor",
"description": "Download an EAS build",
"description": "Download an EAS build.",
"type": "object",
"properties": {
"platform": {
Expand Down Expand Up @@ -626,7 +626,7 @@
"$id": "NxExpoBuildIOS",
"cli": "nx",
"title": "Expo iOS Build executor",
"description": "Build and sign a standalone IPA for the Apple App Store",
"description": "Build and sign a standalone IPA for the Apple App Store.",
"type": "object",
"properties": {
"clearCredentials": {
Expand Down Expand Up @@ -725,7 +725,7 @@
"$id": "NxExpoBuildAndroid",
"cli": "nx",
"title": "Expo Android Build executor",
"description": "Build and sign a standalone APK or App Bundle for the Google Play Store",
"description": "Build and sign a standalone APK or App Bundle for the Google Play Store.",
"type": "object",
"properties": {
"clearCredentials": {
Expand Down Expand Up @@ -790,7 +790,7 @@
"$id": "NxExpoBuildWeb",
"cli": "nx",
"title": "Expo web Build executor",
"description": "Build the web app for production",
"description": "Build the web app for production.",
"type": "object",
"properties": {
"clear": {
Expand Down Expand Up @@ -825,7 +825,7 @@
"$id": "NxExpoBuildStatus",
"cli": "nx",
"title": "Expo web Build executor",
"description": "Get the status of the latest build for the project",
"description": "Get the status of the latest build for the project.",
"type": "object",
"properties": {
"publicUrl": {
Expand All @@ -851,7 +851,7 @@
"$id": "NxExpoPublish",
"$schema": "http://json-schema.org/schema",
"title": "Publish for Expo",
"description": "Deploy a project to Expo hosting",
"description": "Deploy a project to Expo hosting.",
"type": "object",
"properties": {
"quiet": {
Expand Down Expand Up @@ -904,7 +904,7 @@
"$id": "NxExpoPublishSet",
"$schema": "http://json-schema.org/schema",
"title": "Set Publish Channel for Expo",
"description": "Specify the channel to serve a published release",
"description": "Specify the channel to serve a published release.",
"type": "object",
"properties": {
"releaseChannel": {
Expand Down Expand Up @@ -934,7 +934,7 @@
"$id": "NxExpoRollback",
"$schema": "http://json-schema.org/schema",
"title": "Rollback Publish Command for Expo",
"description": "Undo an update to a channel",
"description": "Undo an update to a channel.",
"type": "object",
"properties": {
"releaseChannel": {
Expand Down Expand Up @@ -968,7 +968,7 @@
"$id": "NxExpoRun",
"$schema": "http://json-schema.org/schema",
"title": "Run iOS or Android application",
"description": "Run Expo target options",
"description": "Run Expo target options.",
"type": "object",
"properties": {
"platform": {
Expand Down Expand Up @@ -1038,7 +1038,7 @@
"$id": "NxExpoStart",
"$schema": "http://json-schema.org/schema",
"title": "Packager Server for Expo",
"description": "Packager Server target options",
"description": "Packager Server target options.",
"type": "object",
"properties": {
"forceManifestType": {
Expand Down Expand Up @@ -1147,7 +1147,7 @@
"$id": "NxExpoSyncDeps",
"$schema": "http://json-schema.org/schema",
"title": "Sync Deps for Expo",
"description": "Updates package.json with project dependencies",
"description": "Updates package.json with project dependencies.",
"type": "object",
"properties": {
"include": {
Expand Down Expand Up @@ -1200,7 +1200,7 @@
"$id": "NxExpoPrebuild",
"$schema": "http://json-schema.org/schema",
"title": "Expo Prebuild",
"description": "Create native iOS and Android project files for building natively",
"description": "Create native iOS and Android project files for building natively.",
"type": "object",
"properties": {
"install": {
Expand Down Expand Up @@ -1236,7 +1236,7 @@
"$id": "NxExpoInstall",
"$schema": "http://json-schema.org/schema",
"title": "Expo Install",
"description": "Install a module or other package to a project",
"description": "Install a module or other package to a project.",
"type": "object",
"properties": {
"packages": {
Expand Down Expand Up @@ -1274,7 +1274,7 @@
"$id": "NxExpoExport",
"$schema": "http://json-schema.org/schema",
"title": "Expo Export",
"description": "Export the JavaScript and assets for your app using Metro/webpack bundler",
"description": "Export the JavaScript and assets for your app using Metro/webpack bundler.",
"type": "object",
"properties": {
"platform": {
Expand Down
2 changes: 1 addition & 1 deletion docs/generated/packages/nx.json
Expand Up @@ -158,7 +158,7 @@
"schema": {
"version": 2,
"title": "Noop",
"description": "An executor that does nothing",
"description": "An executor that does nothing.",
"type": "object",
"cli": "nx",
"outputCapture": "pipe",
Expand Down
4 changes: 2 additions & 2 deletions packages/expo/executors.json
Expand Up @@ -138,12 +138,12 @@
"description": "Deploy a project to Expo hosting"
},
"publish-set": {
"implementation": "./src/executors/publish-set/compact",
"implementation": "./src/executors/publish-set/compat",
"schema": "./src/executors/publish-set/schema.json",
"description": "Specify the channel to serve a published release"
},
"rollback": {
"implementation": "./src/executors/rollback/compact",
"implementation": "./src/executors/rollback/compat",
"schema": "./src/executors/rollback/schema.json",
"description": "Undo an update to a channel"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/expo/src/executors/build-android/schema.json
Expand Up @@ -5,7 +5,7 @@
"$id": "NxExpoBuildAndroid",
"cli": "nx",
"title": "Expo Android Build executor",
"description": "Build and sign a standalone APK or App Bundle for the Google Play Store",
"description": "Build and sign a standalone APK or App Bundle for the Google Play Store.",
"type": "object",
"properties": {
"clearCredentials": {
Expand Down
2 changes: 1 addition & 1 deletion packages/expo/src/executors/build-ios/schema.json
Expand Up @@ -5,7 +5,7 @@
"$id": "NxExpoBuildIOS",
"cli": "nx",
"title": "Expo iOS Build executor",
"description": "Build and sign a standalone IPA for the Apple App Store",
"description": "Build and sign a standalone IPA for the Apple App Store.",
"type": "object",
"properties": {
"clearCredentials": {
Expand Down
2 changes: 1 addition & 1 deletion packages/expo/src/executors/build-list/schema.json
Expand Up @@ -5,7 +5,7 @@
"$id": "NxExpoEasBuildList",
"cli": "nx",
"title": "Expo EAS Build List executor",
"description": "List all EAS builds for your Expo project",
"description": "List all EAS builds for your Expo project.",
"type": "object",
"properties": {
"platform": {
Expand Down
2 changes: 1 addition & 1 deletion packages/expo/src/executors/build-status/schema.json
Expand Up @@ -5,7 +5,7 @@
"$id": "NxExpoBuildStatus",
"cli": "nx",
"title": "Expo web Build executor",
"description": "Get the status of the latest build for the project",
"description": "Get the status of the latest build for the project.",
"type": "object",
"properties": {
"publicUrl": {
Expand Down
2 changes: 1 addition & 1 deletion packages/expo/src/executors/build-web/schema.json
Expand Up @@ -5,7 +5,7 @@
"$id": "NxExpoBuildWeb",
"cli": "nx",
"title": "Expo web Build executor",
"description": "Build the web app for production",
"description": "Build the web app for production.",
"type": "object",
"properties": {
"clear": {
Expand Down
2 changes: 1 addition & 1 deletion packages/expo/src/executors/build/schema.json
Expand Up @@ -5,7 +5,7 @@
"$id": "NxExpoEasBuild",
"cli": "nx",
"title": "Expo EAS Build executor",
"description": "Start an EAS build for your expo project",
"description": "Start an EAS build for your expo project.",
"type": "object",
"properties": {
"platform": {
Expand Down
2 changes: 1 addition & 1 deletion packages/expo/src/executors/download/schema.json
Expand Up @@ -5,7 +5,7 @@
"$id": "NxExpoDownloadEasBuild",
"cli": "nx",
"title": "Download EAS Build executor",
"description": "Download an EAS build",
"description": "Download an EAS build.",
"type": "object",
"properties": {
"platform": {
Expand Down
2 changes: 1 addition & 1 deletion packages/expo/src/executors/export/schema.json
Expand Up @@ -5,7 +5,7 @@
"$id": "NxExpoExport",
"$schema": "http://json-schema.org/schema",
"title": "Expo Export",
"description": "Export the JavaScript and assets for your app using Metro/webpack bundler",
"description": "Export the JavaScript and assets for your app using Metro/webpack bundler.",
"type": "object",
"properties": {
"platform": {
Expand Down
2 changes: 1 addition & 1 deletion packages/expo/src/executors/install/schema.json
Expand Up @@ -5,7 +5,7 @@
"$id": "NxExpoInstall",
"$schema": "http://json-schema.org/schema",
"title": "Expo Install",
"description": "Install a module or other package to a project",
"description": "Install a module or other package to a project.",
"type": "object",
"properties": {
"packages": {
Expand Down
2 changes: 1 addition & 1 deletion packages/expo/src/executors/prebuild/schema.json
Expand Up @@ -5,7 +5,7 @@
"$id": "NxExpoPrebuild",
"$schema": "http://json-schema.org/schema",
"title": "Expo Prebuild",
"description": "Create native iOS and Android project files for building natively",
"description": "Create native iOS and Android project files for building natively.",
"type": "object",
"properties": {
"install": {
Expand Down
2 changes: 1 addition & 1 deletion packages/expo/src/executors/publish-set/schema.json
Expand Up @@ -5,7 +5,7 @@
"$id": "NxExpoPublishSet",
"$schema": "http://json-schema.org/schema",
"title": "Set Publish Channel for Expo",
"description": "Specify the channel to serve a published release",
"description": "Specify the channel to serve a published release.",
"type": "object",
"properties": {
"releaseChannel": {
Expand Down
2 changes: 1 addition & 1 deletion packages/expo/src/executors/publish/schema.json
Expand Up @@ -5,7 +5,7 @@
"$id": "NxExpoPublish",
"$schema": "http://json-schema.org/schema",
"title": "Publish for Expo",
"description": "Deploy a project to Expo hosting",
"description": "Deploy a project to Expo hosting.",
"type": "object",
"properties": {
"quiet": {
Expand Down
2 changes: 1 addition & 1 deletion packages/expo/src/executors/rollback/schema.json
Expand Up @@ -5,7 +5,7 @@
"$id": "NxExpoRollback",
"$schema": "http://json-schema.org/schema",
"title": "Rollback Publish Command for Expo",
"description": "Undo an update to a channel",
"description": "Undo an update to a channel.",
"type": "object",
"properties": {
"releaseChannel": {
Expand Down
2 changes: 1 addition & 1 deletion packages/expo/src/executors/run/schema.json
Expand Up @@ -5,7 +5,7 @@
"$id": "NxExpoRun",
"$schema": "http://json-schema.org/schema",
"title": "Run iOS or Android application",
"description": "Run Expo target options",
"description": "Run Expo target options.",
"type": "object",
"properties": {
"platform": {
Expand Down
2 changes: 1 addition & 1 deletion packages/expo/src/executors/start/schema.json
Expand Up @@ -5,7 +5,7 @@
"$id": "NxExpoStart",
"$schema": "http://json-schema.org/schema",
"title": "Packager Server for Expo",
"description": "Packager Server target options",
"description": "Packager Server target options.",
"type": "object",
"properties": {
"forceManifestType": {
Expand Down
2 changes: 1 addition & 1 deletion packages/expo/src/executors/sync-deps/schema.json
Expand Up @@ -5,7 +5,7 @@
"$id": "NxExpoSyncDeps",
"$schema": "http://json-schema.org/schema",
"title": "Sync Deps for Expo",
"description": "Updates package.json with project dependencies",
"description": "Updates package.json with project dependencies.",
"type": "object",
"properties": {
"include": {
Expand Down
2 changes: 1 addition & 1 deletion packages/expo/src/executors/update/schema.json
Expand Up @@ -5,7 +5,7 @@
"$id": "NxExpoEasUpdate",
"cli": "nx",
"title": "Expo EAS Update executor",
"description": "Start an EAS update for your expo project",
"description": "Start an EAS update for your expo project.",
"type": "object",
"properties": {
"branch": {
Expand Down
2 changes: 1 addition & 1 deletion packages/expo/src/generators/application/schema.json
Expand Up @@ -2,7 +2,7 @@
"cli": "nx",
"$id": "NxExpoApplication",
"$schema": "http://json-schema.org/schema",
"title": "Create an Expo Application for Nx",
"description": "Create an Expo Application for Nx.",
"examples": [
{
"command": "g app myapp --directory=nested",
Expand Down
2 changes: 1 addition & 1 deletion packages/expo/src/generators/component/schema.json
Expand Up @@ -2,7 +2,7 @@
"cli": "nx",
"$id": "NxExpoComponent",
"$schema": "http://json-schema.org/schema",
"title": "Create a Expo Component for Nx",
"description": "Create a Expo Component for Nx.",
"type": "object",
"examples": [
{
Expand Down
2 changes: 1 addition & 1 deletion packages/expo/src/generators/init/init.ts
Expand Up @@ -100,4 +100,4 @@ function moveDependency(host: Tree) {
}

export default expoInitGenerator;
export const reactNativeInitSchematic = convertNxGenerator(expoInitGenerator);
export const expoInitSchematic = convertNxGenerator(expoInitGenerator);
2 changes: 1 addition & 1 deletion packages/expo/src/generators/init/schema.json
Expand Up @@ -2,7 +2,7 @@
"cli": "nx",
"$id": "NxExpoInit",
"$schema": "http://json-schema.org/schema",
"title": "Add Nx Expo Schematics",
"description": "Add Nx Expo Schematics.",
"type": "object",
"properties": {
"unitTestRunner": {
Expand Down

0 comments on commit 66f6a18

Please sign in to comment.