@nrwl/react-native 16.0.0-beta.0 → 16.0.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/executors.json +40 -40
- package/generators.json +2 -107
- package/index.d.ts +1 -5
- package/index.js +2 -11
- package/index.js.map +1 -1
- package/package.json +7 -25
- package/plugins/jest/svg-mock.js.map +1 -1
- package/plugins/with-nx-metro.d.ts +1 -8
- package/plugins/with-nx-metro.js +2 -29
- package/plugins/with-nx-metro.js.map +1 -1
- package/.eslintrc.json +0 -19
- package/README.md +0 -63
- package/migrations.json +0 -1285
- package/plugins/metro-resolver.d.ts +0 -1
- package/plugins/metro-resolver.js +0 -135
- package/plugins/metro-resolver.js.map +0 -1
- package/project.json +0 -61
- package/src/executors/build-android/build-android.impl.d.ts +0 -6
- package/src/executors/build-android/build-android.impl.js +0 -76
- package/src/executors/build-android/build-android.impl.js.map +0 -1
- package/src/executors/build-android/build-android.impl.ts +0 -108
- package/src/executors/build-android/compat.d.ts +0 -2
- package/src/executors/build-android/compat.js +0 -6
- package/src/executors/build-android/compat.js.map +0 -1
- package/src/executors/build-android/schema.d.ts +0 -31
- package/src/executors/build-android/schema.json +0 -102
- package/src/executors/build-ios/build-ios.impl.d.ts +0 -6
- package/src/executors/build-ios/build-ios.impl.js +0 -77
- package/src/executors/build-ios/build-ios.impl.js.map +0 -1
- package/src/executors/build-ios/build-ios.impl.ts +0 -118
- package/src/executors/build-ios/compat.d.ts +0 -2
- package/src/executors/build-ios/compat.js +0 -6
- package/src/executors/build-ios/compat.js.map +0 -1
- package/src/executors/build-ios/schema.d.ts +0 -22
- package/src/executors/build-ios/schema.json +0 -106
- package/src/executors/bundle/bundle.impl.d.ts +0 -6
- package/src/executors/bundle/bundle.impl.js +0 -58
- package/src/executors/bundle/bundle.impl.js.map +0 -1
- package/src/executors/bundle/bundle.impl.ts +0 -76
- package/src/executors/bundle/compat.d.ts +0 -2
- package/src/executors/bundle/compat.js +0 -6
- package/src/executors/bundle/compat.js.map +0 -1
- package/src/executors/bundle/schema.d.ts +0 -16
- package/src/executors/bundle/schema.json +0 -92
- package/src/executors/ensure-symlink/compat.d.ts +0 -2
- package/src/executors/ensure-symlink/compat.js +0 -6
- package/src/executors/ensure-symlink/compat.js.map +0 -1
- package/src/executors/ensure-symlink/ensure-symlink.impl.d.ts +0 -5
- package/src/executors/ensure-symlink/ensure-symlink.impl.js +0 -13
- package/src/executors/ensure-symlink/ensure-symlink.impl.js.map +0 -1
- package/src/executors/ensure-symlink/ensure-symlink.impl.ts +0 -18
- package/src/executors/ensure-symlink/schema.json +0 -11
- package/src/executors/pod-install/compat.d.ts +0 -2
- package/src/executors/pod-install/compat.js +0 -6
- package/src/executors/pod-install/compat.js.map +0 -1
- package/src/executors/pod-install/pod-install.impl.d.ts +0 -6
- package/src/executors/pod-install/pod-install.impl.js +0 -15
- package/src/executors/pod-install/pod-install.impl.js.map +0 -1
- package/src/executors/pod-install/pod-install.impl.ts +0 -21
- package/src/executors/pod-install/schema.d.ts +0 -3
- package/src/executors/pod-install/schema.json +0 -18
- package/src/executors/run-android/compat.d.ts +0 -2
- package/src/executors/run-android/compat.js +0 -6
- package/src/executors/run-android/compat.js.map +0 -1
- package/src/executors/run-android/run-android.impl.d.ts +0 -6
- package/src/executors/run-android/run-android.impl.js +0 -72
- package/src/executors/run-android/run-android.impl.js.map +0 -1
- package/src/executors/run-android/run-android.impl.ts +0 -110
- package/src/executors/run-android/schema.d.ts +0 -24
- package/src/executors/run-android/schema.json +0 -121
- package/src/executors/run-ios/compat.d.ts +0 -2
- package/src/executors/run-ios/compat.js +0 -6
- package/src/executors/run-ios/compat.js.map +0 -1
- package/src/executors/run-ios/run-ios.impl.d.ts +0 -6
- package/src/executors/run-ios/run-ios.impl.js +0 -78
- package/src/executors/run-ios/run-ios.impl.js.map +0 -1
- package/src/executors/run-ios/run-ios.impl.ts +0 -120
- package/src/executors/run-ios/schema.d.ts +0 -12
- package/src/executors/run-ios/schema.json +0 -119
- package/src/executors/start/compat.d.ts +0 -2
- package/src/executors/start/compat.js +0 -6
- package/src/executors/start/compat.js.map +0 -1
- package/src/executors/start/lib/is-packager-running.d.ts +0 -1
- package/src/executors/start/lib/is-packager-running.js +0 -19
- package/src/executors/start/lib/is-packager-running.js.map +0 -1
- package/src/executors/start/schema.d.ts +0 -7
- package/src/executors/start/schema.json +0 -28
- package/src/executors/start/start.impl.d.ts +0 -8
- package/src/executors/start/start.impl.js +0 -99
- package/src/executors/start/start.impl.js.map +0 -1
- package/src/executors/start/start.impl.ts +0 -120
- package/src/executors/storybook/compat.d.ts +0 -2
- package/src/executors/storybook/compat.js +0 -6
- package/src/executors/storybook/compat.js.map +0 -1
- package/src/executors/storybook/schema.d.ts +0 -7
- package/src/executors/storybook/schema.json +0 -34
- package/src/executors/storybook/storybook.impl.d.ts +0 -5
- package/src/executors/storybook/storybook.impl.js +0 -76
- package/src/executors/storybook/storybook.impl.js.map +0 -1
- package/src/executors/storybook/storybook.impl.ts +0 -105
- package/src/executors/sync-deps/compat.d.ts +0 -2
- package/src/executors/sync-deps/compat.js +0 -6
- package/src/executors/sync-deps/compat.js.map +0 -1
- package/src/executors/sync-deps/schema.d.ts +0 -4
- package/src/executors/sync-deps/schema.json +0 -28
- package/src/executors/sync-deps/sync-deps.impl.d.ts +0 -8
- package/src/executors/sync-deps/sync-deps.impl.js +0 -62
- package/src/executors/sync-deps/sync-deps.impl.js.map +0 -1
- package/src/executors/sync-deps/sync-deps.impl.ts +0 -101
- package/src/generators/application/application.d.ts +0 -5
- package/src/generators/application/application.js +0 -40
- package/src/generators/application/application.js.map +0 -1
- package/src/generators/application/application.spec.ts +0 -214
- package/src/generators/application/files/app/.ruby-version +0 -1
- package/src/generators/application/files/app/Gemfile.template +0 -6
- package/src/generators/application/files/app/android/app/build.gradle.template +0 -184
- package/src/generators/application/files/app/android/app/debug.keystore +0 -0
- package/src/generators/application/files/app/android/app/proguard-rules.pro +0 -10
- package/src/generators/application/files/app/android/app/src/androidTest/java/com/__lowerCaseName__/DetoxTest.java.template +0 -30
- package/src/generators/application/files/app/android/app/src/debug/AndroidManifest.xml.template +0 -14
- package/src/generators/application/files/app/android/app/src/debug/java/com/__lowerCaseName__/ReactNativeFlipper.java.template +0 -75
- package/src/generators/application/files/app/android/app/src/main/AndroidManifest.xml.template +0 -26
- package/src/generators/application/files/app/android/app/src/main/java/com/__lowerCaseName__/MainActivity.java.template +0 -35
- package/src/generators/application/files/app/android/app/src/main/java/com/__lowerCaseName__/MainApplication.java.template +0 -63
- package/src/generators/application/files/app/android/app/src/main/res/drawable/rn_edit_text_material.xml +0 -36
- package/src/generators/application/files/app/android/app/src/main/res/mipmap-hdpi/ic_launcher.png +0 -0
- package/src/generators/application/files/app/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png +0 -0
- package/src/generators/application/files/app/android/app/src/main/res/mipmap-mdpi/ic_launcher.png +0 -0
- package/src/generators/application/files/app/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png +0 -0
- package/src/generators/application/files/app/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png +0 -0
- package/src/generators/application/files/app/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png +0 -0
- package/src/generators/application/files/app/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png +0 -0
- package/src/generators/application/files/app/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png +0 -0
- package/src/generators/application/files/app/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png +0 -0
- package/src/generators/application/files/app/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png +0 -0
- package/src/generators/application/files/app/android/app/src/main/res/values/strings.xml.template +0 -3
- package/src/generators/application/files/app/android/app/src/main/res/values/styles.xml +0 -9
- package/src/generators/application/files/app/android/app/src/main/res/xml/network_security_config.xml +0 -7
- package/src/generators/application/files/app/android/app/src/release/java/com/__lowerCaseName__/ReactNativeFlipper.java.template +0 -20
- package/src/generators/application/files/app/android/build.gradle.template +0 -34
- package/src/generators/application/files/app/android/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/src/generators/application/files/app/android/gradle/wrapper/gradle-wrapper.properties +0 -5
- package/src/generators/application/files/app/android/gradle.properties +0 -44
- package/src/generators/application/files/app/android/gradlew.bat +0 -89
- package/src/generators/application/files/app/android/gradlew.template +0 -234
- package/src/generators/application/files/app/android/settings.gradle.template +0 -7
- package/src/generators/application/files/app/app.json.template +0 -4
- package/src/generators/application/files/app/babel.config.json.template +0 -3
- package/src/generators/application/files/app/ios/.xcode.env.template +0 -12
- package/src/generators/application/files/app/ios/Podfile.template +0 -60
- package/src/generators/application/files/app/ios/__className__/AppDelegate.h +0 -6
- package/src/generators/application/files/app/ios/__className__/AppDelegate.mm.template +0 -36
- package/src/generators/application/files/app/ios/__className__/Images.xcassets/AppIcon.appiconset/Contents.json +0 -53
- package/src/generators/application/files/app/ios/__className__/Images.xcassets/Contents.json +0 -6
- package/src/generators/application/files/app/ios/__className__/Info.plist.template +0 -55
- package/src/generators/application/files/app/ios/__className__/LaunchScreen.storyboard.template +0 -47
- package/src/generators/application/files/app/ios/__className__/main.m +0 -10
- package/src/generators/application/files/app/ios/__className__.xcodeproj/project.pbxproj.template +0 -702
- package/src/generators/application/files/app/ios/__className__.xcodeproj/xcshareddata/xcschemes/__className__.xcscheme.template +0 -88
- package/src/generators/application/files/app/ios/__className__.xcworkspace/contents.xcworkspacedata +0 -10
- package/src/generators/application/files/app/ios/__className__Tests/Info.plist +0 -24
- package/src/generators/application/files/app/ios/__className__Tests/__className__Tests.m +0 -66
- package/src/generators/application/files/app/metro.config.js.template +0 -38
- package/src/generators/application/files/app/package.json.template +0 -15
- package/src/generators/application/files/app/src/app/App.spec.tsx.template +0 -9
- package/src/generators/application/files/app/src/app/App.tsx.template +0 -694
- package/src/generators/application/files/app/src/main.tsx.template +0 -4
- package/src/generators/application/files/app/test-setup.ts.template +0 -1
- package/src/generators/application/files/app/tsconfig.app.json.template +0 -9
- package/src/generators/application/files/app/tsconfig.json.template +0 -25
- package/src/generators/application/lib/add-detox.d.ts +0 -3
- package/src/generators/application/lib/add-detox.js +0 -16
- package/src/generators/application/lib/add-detox.js.map +0 -1
- package/src/generators/application/lib/add-project.d.ts +0 -3
- package/src/generators/application/lib/add-project.js +0 -83
- package/src/generators/application/lib/add-project.js.map +0 -1
- package/src/generators/application/lib/create-application-files.d.ts +0 -3
- package/src/generators/application/lib/create-application-files.js +0 -20
- package/src/generators/application/lib/create-application-files.js.map +0 -1
- package/src/generators/application/lib/nomalize-options.spec.ts +0 -138
- package/src/generators/application/lib/normalize-options.d.ts +0 -13
- package/src/generators/application/lib/normalize-options.js +0 -36
- package/src/generators/application/lib/normalize-options.js.map +0 -1
- package/src/generators/application/schema.d.ts +0 -19
- package/src/generators/application/schema.json +0 -89
- package/src/generators/component/component.d.ts +0 -5
- package/src/generators/component/component.js +0 -53
- package/src/generators/component/component.js.map +0 -1
- package/src/generators/component/component.spec.ts +0 -135
- package/src/generators/component/files/__fileName__.spec.tsx__tmpl__ +0 -11
- package/src/generators/component/files/__fileName__.tsx__tmpl__ +0 -32
- package/src/generators/component/lib/add-import.d.ts +0 -3
- package/src/generators/component/lib/add-import.js +0 -34
- package/src/generators/component/lib/add-import.js.map +0 -1
- package/src/generators/component/lib/normalize-options.d.ts +0 -8
- package/src/generators/component/lib/normalize-options.js +0 -58
- package/src/generators/component/lib/normalize-options.js.map +0 -1
- package/src/generators/component/schema.d.ts +0 -14
- package/src/generators/component/schema.json +0 -78
- package/src/generators/component-story/component-story.d.ts +0 -8
- package/src/generators/component-story/component-story.js +0 -113
- package/src/generators/component-story/component-story.js.map +0 -1
- package/src/generators/component-story/component-story.spec.ts +0 -433
- package/src/generators/component-story/files/__componentFileName__.stories.__fileExt__ +0 -24
- package/src/generators/component-story/schema.d.ts +0 -5
- package/src/generators/component-story/schema.json +0 -34
- package/src/generators/init/init.d.ts +0 -6
- package/src/generators/init/init.js +0 -58
- package/src/generators/init/init.js.map +0 -1
- package/src/generators/init/init.spec.ts +0 -81
- package/src/generators/init/lib/add-git-ignore-entry.d.ts +0 -2
- package/src/generators/init/lib/add-git-ignore-entry.js +0 -25
- package/src/generators/init/lib/add-git-ignore-entry.js.map +0 -1
- package/src/generators/init/lib/gitignore-entries.d.ts +0 -1
- package/src/generators/init/lib/gitignore-entries.js +0 -75
- package/src/generators/init/lib/gitignore-entries.js.map +0 -1
- package/src/generators/init/schema.d.ts +0 -7
- package/src/generators/init/schema.json +0 -40
- package/src/generators/library/files/lib/README.md +0 -7
- package/src/generators/library/files/lib/babel.config.json.template +0 -17
- package/src/generators/library/files/lib/package.json__tmpl__ +0 -4
- package/src/generators/library/files/lib/src/index.ts__tmpl__ +0 -0
- package/src/generators/library/files/lib/test-setup.ts.template +0 -1
- package/src/generators/library/files/lib/tsconfig.json__tmpl__ +0 -16
- package/src/generators/library/files/lib/tsconfig.lib.json__tmpl__ +0 -9
- package/src/generators/library/lib/normalize-options.d.ts +0 -13
- package/src/generators/library/lib/normalize-options.js +0 -26
- package/src/generators/library/lib/normalize-options.js.map +0 -1
- package/src/generators/library/library.d.ts +0 -5
- package/src/generators/library/library.js +0 -101
- package/src/generators/library/library.js.map +0 -1
- package/src/generators/library/library.spec.ts +0 -397
- package/src/generators/library/schema.d.ts +0 -22
- package/src/generators/library/schema.json +0 -102
- package/src/generators/stories/schema.d.ts +0 -5
- package/src/generators/stories/schema.json +0 -42
- package/src/generators/stories/stories-app.spec.ts +0 -145
- package/src/generators/stories/stories-lib.spec.ts +0 -113
- package/src/generators/stories/stories.d.ts +0 -6
- package/src/generators/stories/stories.js +0 -63
- package/src/generators/stories/stories.js.map +0 -1
- package/src/generators/storybook-configuration/configuration.d.ts +0 -5
- package/src/generators/storybook-configuration/configuration.js +0 -60
- package/src/generators/storybook-configuration/configuration.js.map +0 -1
- package/src/generators/storybook-configuration/configuration.spec.ts +0 -146
- package/src/generators/storybook-configuration/files/app/storybook.ts.template +0 -9
- package/src/generators/storybook-configuration/files/app/toggle-storybook.tsx.template +0 -114
- package/src/generators/storybook-configuration/files/root/story-loader.js.template +0 -13
- package/src/generators/storybook-configuration/lib/add-resolver-main-fields-to-metro-config.d.ts +0 -6
- package/src/generators/storybook-configuration/lib/add-resolver-main-fields-to-metro-config.js +0 -26
- package/src/generators/storybook-configuration/lib/add-resolver-main-fields-to-metro-config.js.map +0 -1
- package/src/generators/storybook-configuration/lib/add-resolver-main-fields-to-metro-config.spec.ts +0 -161
- package/src/generators/storybook-configuration/lib/create-storybook-files.d.ts +0 -6
- package/src/generators/storybook-configuration/lib/create-storybook-files.js +0 -45
- package/src/generators/storybook-configuration/lib/create-storybook-files.js.map +0 -1
- package/src/generators/storybook-configuration/lib/replace-app-import-with-storybook-toggle.d.ts +0 -7
- package/src/generators/storybook-configuration/lib/replace-app-import-with-storybook-toggle.js +0 -30
- package/src/generators/storybook-configuration/lib/replace-app-import-with-storybook-toggle.js.map +0 -1
- package/src/generators/storybook-configuration/lib/replace-app-import-with-storybook-toggle.spec.ts +0 -65
- package/src/generators/storybook-configuration/schema.d.ts +0 -11
- package/src/generators/storybook-configuration/schema.json +0 -66
- package/src/generators/upgrade-native/lib/create-native-files.d.ts +0 -3
- package/src/generators/upgrade-native/lib/create-native-files.js +0 -15
- package/src/generators/upgrade-native/lib/create-native-files.js.map +0 -1
- package/src/generators/upgrade-native/lib/normalize-options.d.ts +0 -12
- package/src/generators/upgrade-native/lib/normalize-options.js +0 -28
- package/src/generators/upgrade-native/lib/normalize-options.js.map +0 -1
- package/src/generators/upgrade-native/schema.d.ts +0 -9
- package/src/generators/upgrade-native/schema.json +0 -41
- package/src/generators/upgrade-native/upgrade-native.d.ts +0 -9
- package/src/generators/upgrade-native/upgrade-native.js +0 -33
- package/src/generators/upgrade-native/upgrade-native.js.map +0 -1
- package/src/migrations/update-12-10-0/add-react-native-svg-12-10-0.d.ts +0 -8
- package/src/migrations/update-12-10-0/add-react-native-svg-12-10-0.js +0 -63
- package/src/migrations/update-12-10-0/add-react-native-svg-12-10-0.js.map +0 -1
- package/src/migrations/update-12-10-0/add-react-native-svg-12-10-0.spec.ts +0 -79
- package/src/migrations/update-12-5-0/update-jest-for-react-native.d.ts +0 -2
- package/src/migrations/update-12-5-0/update-jest-for-react-native.js +0 -62
- package/src/migrations/update-12-5-0/update-jest-for-react-native.js.map +0 -1
- package/src/migrations/update-13-5-0/add-babel-config-root-13-5-0.d.ts +0 -2
- package/src/migrations/update-13-5-0/add-babel-config-root-13-5-0.js +0 -22
- package/src/migrations/update-13-5-0/add-babel-config-root-13-5-0.js.map +0 -1
- package/src/migrations/update-13-5-0/add-babel-config-root-13-5-0.spec.ts +0 -48
- package/src/migrations/update-13-5-0/update-react-native-typing-svg-13-5-0.d.ts +0 -6
- package/src/migrations/update-13-5-0/update-react-native-typing-svg-13-5-0.js +0 -41
- package/src/migrations/update-13-5-0/update-react-native-typing-svg-13-5-0.js.map +0 -1
- package/src/migrations/update-13-5-0/update-react-native-typing-svg-13-5-0.spec.ts +0 -61
- package/src/migrations/update-14-0-0/add-project-root-metro-config-14-0-0.d.ts +0 -6
- package/src/migrations/update-14-0-0/add-project-root-metro-config-14-0-0.js +0 -33
- package/src/migrations/update-14-0-0/add-project-root-metro-config-14-0-0.js.map +0 -1
- package/src/migrations/update-14-0-0/add-project-root-metro-config-14-0-0.spec.ts +0 -192
- package/src/migrations/update-14-0-0/update-entry-file-bundle-14-0-0.d.ts +0 -5
- package/src/migrations/update-14-0-0/update-entry-file-bundle-14-0-0.js +0 -39
- package/src/migrations/update-14-0-0/update-entry-file-bundle-14-0-0.js.map +0 -1
- package/src/migrations/update-14-0-0/update-entry-file-bundle-14-0-0.spec.ts +0 -84
- package/src/migrations/update-14-0-2/change-main-to-class-name-14-0-2.d.ts +0 -5
- package/src/migrations/update-14-0-2/change-main-to-class-name-14-0-2.js +0 -42
- package/src/migrations/update-14-0-2/change-main-to-class-name-14-0-2.js.map +0 -1
- package/src/migrations/update-14-0-2/change-main-to-class-name-14-0-2.spec.ts +0 -48
- package/src/migrations/update-14-2-1/rename-blockList-metro-config.d.ts +0 -6
- package/src/migrations/update-14-2-1/rename-blockList-metro-config.js +0 -33
- package/src/migrations/update-14-2-1/rename-blockList-metro-config.js.map +0 -1
- package/src/migrations/update-14-2-1/rename-blockList-metro-config.spec.ts +0 -190
- package/src/migrations/update-14-5-5/add-exclude-sync-deps.d.ts +0 -5
- package/src/migrations/update-14-5-5/add-exclude-sync-deps.js +0 -26
- package/src/migrations/update-14-5-5/add-exclude-sync-deps.js.map +0 -1
- package/src/migrations/update-14-5-5/add-exclude-sync-deps.spec.ts +0 -39
- package/src/migrations/update-14-5-8/change-searchDir-storybook.d.ts +0 -5
- package/src/migrations/update-14-5-8/change-searchDir-storybook.js +0 -26
- package/src/migrations/update-14-5-8/change-searchDir-storybook.js.map +0 -1
- package/src/migrations/update-14-5-8/change-searchDir-storybook.spec.ts +0 -39
- package/src/migrations/update-14-6-0/remove-jest-transform.d.ts +0 -5
- package/src/migrations/update-14-6-0/remove-jest-transform.js +0 -58
- package/src/migrations/update-14-6-0/remove-jest-transform.js.map +0 -1
- package/src/migrations/update-14-6-0/remove-jest-transform.spec.ts +0 -109
- package/src/migrations/update-15-0-0/add-babel-inputs.d.ts +0 -2
- package/src/migrations/update-15-0-0/add-babel-inputs.js +0 -13
- package/src/migrations/update-15-0-0/add-babel-inputs.js.map +0 -1
- package/src/migrations/update-15-0-0/add-babel-inputs.spec.ts +0 -73
- package/src/migrations/update-15-9-1/add-build-ios-target.d.ts +0 -5
- package/src/migrations/update-15-9-1/add-build-ios-target.js +0 -34
- package/src/migrations/update-15-9-1/add-build-ios-target.js.map +0 -1
- package/src/migrations/update-15-9-1/add-build-ios-target.spec.ts +0 -36
- package/src/utils/add-jest.d.ts +0 -2
- package/src/utils/add-jest.js +0 -38
- package/src/utils/add-jest.js.map +0 -1
- package/src/utils/add-linting.d.ts +0 -12
- package/src/utils/add-linting.js +0 -41
- package/src/utils/add-linting.js.map +0 -1
- package/src/utils/add-linting.spec.ts +0 -42
- package/src/utils/chmod-android-gradle-files.d.ts +0 -3
- package/src/utils/chmod-android-gradle-files.js +0 -24
- package/src/utils/chmod-android-gradle-files.js.map +0 -1
- package/src/utils/ensure-node-modules-symlink.d.ts +0 -9
- package/src/utils/ensure-node-modules-symlink.js +0 -29
- package/src/utils/ensure-node-modules-symlink.js.map +0 -1
- package/src/utils/ensure-node-modules-symlink.spec.ts +0 -108
- package/src/utils/find-all-npm-dependencies.d.ts +0 -2
- package/src/utils/find-all-npm-dependencies.js +0 -26
- package/src/utils/find-all-npm-dependencies.js.map +0 -1
- package/src/utils/find-all-npm-dependencies.spec.ts +0 -95
- package/src/utils/format-file.d.ts +0 -1
- package/src/utils/format-file.js +0 -17
- package/src/utils/format-file.js.map +0 -1
- package/src/utils/get-cli-options.d.ts +0 -8
- package/src/utils/get-cli-options.js +0 -31
- package/src/utils/get-cli-options.js.map +0 -1
- package/src/utils/pod-install-task.d.ts +0 -8
- package/src/utils/pod-install-task.js +0 -62
- package/src/utils/pod-install-task.js.map +0 -1
- package/src/utils/symlink-task.d.ts +0 -2
- package/src/utils/symlink-task.js +0 -19
- package/src/utils/symlink-task.js.map +0 -1
- package/src/utils/testing-generators.d.ts +0 -3
- package/src/utils/testing-generators.js +0 -36
- package/src/utils/testing-generators.js.map +0 -1
- package/src/utils/versions.d.ts +0 -20
- package/src/utils/versions.js +0 -24
- package/src/utils/versions.js.map +0 -1
|
@@ -1,694 +0,0 @@
|
|
|
1
|
-
/* eslint-disable jsx-a11y/accessible-emoji */
|
|
2
|
-
import React, { useRef, useState } from 'react';
|
|
3
|
-
import {
|
|
4
|
-
SafeAreaView,
|
|
5
|
-
StyleSheet,
|
|
6
|
-
ScrollView,
|
|
7
|
-
View,
|
|
8
|
-
Text,
|
|
9
|
-
StatusBar,
|
|
10
|
-
TouchableOpacity,
|
|
11
|
-
Linking,
|
|
12
|
-
} from 'react-native';
|
|
13
|
-
import Svg, { Path } from 'react-native-svg';
|
|
14
|
-
|
|
15
|
-
export const App = () => {
|
|
16
|
-
const [whatsNextYCoord, setWhatsNextYCoord] = useState<number>(0);
|
|
17
|
-
const scrollViewRef = useRef<null | ScrollView>(null);
|
|
18
|
-
|
|
19
|
-
return (
|
|
20
|
-
<>
|
|
21
|
-
<StatusBar barStyle="dark-content" />
|
|
22
|
-
<SafeAreaView>
|
|
23
|
-
<ScrollView
|
|
24
|
-
ref={(ref) => {
|
|
25
|
-
scrollViewRef.current = ref;
|
|
26
|
-
}}
|
|
27
|
-
contentInsetAdjustmentBehavior="automatic"
|
|
28
|
-
style={styles.scrollView}
|
|
29
|
-
>
|
|
30
|
-
<View style={styles.section}>
|
|
31
|
-
<Text style={styles.textLg}>Hello there,</Text>
|
|
32
|
-
<Text style={[styles.textXL, styles.appTitleText]} testID="heading">
|
|
33
|
-
Welcome <%= displayName %> 👋
|
|
34
|
-
</Text>
|
|
35
|
-
</View>
|
|
36
|
-
<View style={styles.section}>
|
|
37
|
-
<View style={styles.hero}>
|
|
38
|
-
<View style={styles.heroTitle}>
|
|
39
|
-
<Svg
|
|
40
|
-
width={32}
|
|
41
|
-
height={32}
|
|
42
|
-
stroke="hsla(162, 47%, 50%, 1)"
|
|
43
|
-
fill="none"
|
|
44
|
-
viewBox="0 0 24 24"
|
|
45
|
-
>
|
|
46
|
-
<Path
|
|
47
|
-
strokeLinecap="round"
|
|
48
|
-
strokeLinejoin="round"
|
|
49
|
-
strokeWidth="2"
|
|
50
|
-
d="M9 12l2 2 4-4M7.835 4.697a3.42 3.42 0 001.946-.806 3.42 3.42 0 014.438 0 3.42 3.42 0 001.946.806 3.42 3.42 0 013.138 3.138 3.42 3.42 0 00.806 1.946 3.42 3.42 0 010 4.438 3.42 3.42 0 00-.806 1.946 3.42 3.42 0 01-3.138 3.138 3.42 3.42 0 00-1.946.806 3.42 3.42 0 01-4.438 0 3.42 3.42 0 00-1.946-.806 3.42 3.42 0 01-3.138-3.138 3.42 3.42 0 00-.806-1.946 3.42 3.42 0 010-4.438 3.42 3.42 0 00.806-1.946 3.42 3.42 0 013.138-3.138z"
|
|
51
|
-
/>
|
|
52
|
-
</Svg>
|
|
53
|
-
<Text style={[styles.textLg, styles.heroTitleText]}>
|
|
54
|
-
You're up and running
|
|
55
|
-
</Text>
|
|
56
|
-
</View>
|
|
57
|
-
<TouchableOpacity
|
|
58
|
-
style={styles.whatsNextButton}
|
|
59
|
-
onPress={() => {
|
|
60
|
-
scrollViewRef.current?.scrollTo({
|
|
61
|
-
x: 0,
|
|
62
|
-
y: whatsNextYCoord,
|
|
63
|
-
});
|
|
64
|
-
}}
|
|
65
|
-
>
|
|
66
|
-
<Text style={[styles.textMd, styles.textCenter]}>
|
|
67
|
-
What's next?
|
|
68
|
-
</Text>
|
|
69
|
-
</TouchableOpacity>
|
|
70
|
-
</View>
|
|
71
|
-
</View>
|
|
72
|
-
<View style={styles.section}>
|
|
73
|
-
<View style={[styles.shadowBox]}>
|
|
74
|
-
<Text style={[styles.marginBottomMd, styles.textLg]}>
|
|
75
|
-
Learning materials
|
|
76
|
-
</Text>
|
|
77
|
-
<TouchableOpacity
|
|
78
|
-
style={[styles.listItem, styles.learning]}
|
|
79
|
-
onPress={() =>
|
|
80
|
-
Linking.openURL(
|
|
81
|
-
'https://nx.dev/getting-started/intro?utm_source=nx-project'
|
|
82
|
-
)
|
|
83
|
-
}
|
|
84
|
-
>
|
|
85
|
-
<Svg
|
|
86
|
-
width={24}
|
|
87
|
-
height={24}
|
|
88
|
-
stroke="#000000"
|
|
89
|
-
fill="none"
|
|
90
|
-
viewBox="0 0 24 24"
|
|
91
|
-
>
|
|
92
|
-
<Path
|
|
93
|
-
strokeLinecap="round"
|
|
94
|
-
strokeLinejoin="round"
|
|
95
|
-
strokeWidth="2"
|
|
96
|
-
d="M12 6.253v13m0-13C10.832 5.477 9.246 5 7.5 5S4.168 5.477 3 6.253v13C4.168 18.477 5.754 18 7.5 18s3.332.477 4.5 1.253m0-13C13.168 5.477 14.754 5 16.5 5c1.747 0 3.332.477 4.5 1.253v13C19.832 18.477 18.247 18 16.5 18c-1.746 0-3.332.477-4.5 1.253"
|
|
97
|
-
/>
|
|
98
|
-
</Svg>
|
|
99
|
-
<View style={styles.listItemTextContainer}>
|
|
100
|
-
<Text style={[styles.textMd]}>Documentation</Text>
|
|
101
|
-
<Text style={[styles.text2XS, styles.textSubtle]}>
|
|
102
|
-
Everything is in there
|
|
103
|
-
</Text>
|
|
104
|
-
</View>
|
|
105
|
-
<Svg
|
|
106
|
-
width={18}
|
|
107
|
-
height={18}
|
|
108
|
-
stroke="#000000"
|
|
109
|
-
fill="none"
|
|
110
|
-
viewBox="0 0 24 24"
|
|
111
|
-
>
|
|
112
|
-
<Path
|
|
113
|
-
strokeLinecap="round"
|
|
114
|
-
strokeLinejoin="round"
|
|
115
|
-
strokeWidth="2"
|
|
116
|
-
d="M9 5l7 7-7 7"
|
|
117
|
-
/>
|
|
118
|
-
</Svg>
|
|
119
|
-
</TouchableOpacity>
|
|
120
|
-
<TouchableOpacity
|
|
121
|
-
style={[styles.listItem, styles.learning]}
|
|
122
|
-
onPress={() =>
|
|
123
|
-
Linking.openURL('https://blog.nrwl.io/?utm_source=nx-project')
|
|
124
|
-
}
|
|
125
|
-
>
|
|
126
|
-
<Svg
|
|
127
|
-
width={24}
|
|
128
|
-
height={24}
|
|
129
|
-
stroke="#000000"
|
|
130
|
-
fill="none"
|
|
131
|
-
viewBox="0 0 24 24"
|
|
132
|
-
>
|
|
133
|
-
<Path
|
|
134
|
-
strokeLinecap="round"
|
|
135
|
-
strokeLinejoin="round"
|
|
136
|
-
strokeWidth="2"
|
|
137
|
-
d="M19 20H5a2 2 0 01-2-2V6a2 2 0 012-2h10a2 2 0 012 2v1m2 13a2 2 0 01-2-2V7m2 13a2 2 0 002-2V9a2 2 0 00-2-2h-2m-4-3H9M7 16h6M7 8h6v4H7V8z"
|
|
138
|
-
/>
|
|
139
|
-
</Svg>
|
|
140
|
-
<View style={styles.listItemTextContainer}>
|
|
141
|
-
<Text style={[styles.textMd]}>Blog</Text>
|
|
142
|
-
<Text style={[styles.text2XS, styles.textSubtle]}>
|
|
143
|
-
Changelog, features & events
|
|
144
|
-
</Text>
|
|
145
|
-
</View>
|
|
146
|
-
<Svg
|
|
147
|
-
width={18}
|
|
148
|
-
height={18}
|
|
149
|
-
stroke="#000000"
|
|
150
|
-
fill="none"
|
|
151
|
-
viewBox="0 0 24 24"
|
|
152
|
-
>
|
|
153
|
-
<Path
|
|
154
|
-
strokeLinecap="round"
|
|
155
|
-
strokeLinejoin="round"
|
|
156
|
-
strokeWidth="2"
|
|
157
|
-
d="M9 5l7 7-7 7"
|
|
158
|
-
/>
|
|
159
|
-
</Svg>
|
|
160
|
-
</TouchableOpacity>
|
|
161
|
-
<TouchableOpacity
|
|
162
|
-
style={[styles.listItem, styles.learning]}
|
|
163
|
-
onPress={() =>
|
|
164
|
-
Linking.openURL(
|
|
165
|
-
'https://www.youtube.com/@NxDevtools/videos?utm_source=nx-project'
|
|
166
|
-
)
|
|
167
|
-
}
|
|
168
|
-
>
|
|
169
|
-
<Svg width={24} height={24} fill="#000000" viewBox="0 0 24 24">
|
|
170
|
-
<Path d="M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z" />
|
|
171
|
-
</Svg>
|
|
172
|
-
<View style={styles.listItemTextContainer}>
|
|
173
|
-
<Text style={[styles.textMd]}>Youtube channel</Text>
|
|
174
|
-
<Text style={[styles.text2XS, styles.textSubtle]}>
|
|
175
|
-
Nx Show, talks & tutorials
|
|
176
|
-
</Text>
|
|
177
|
-
</View>
|
|
178
|
-
<Svg
|
|
179
|
-
width={18}
|
|
180
|
-
height={18}
|
|
181
|
-
stroke="#000000"
|
|
182
|
-
fill="none"
|
|
183
|
-
viewBox="0 0 24 24"
|
|
184
|
-
>
|
|
185
|
-
<Path
|
|
186
|
-
strokeLinecap="round"
|
|
187
|
-
strokeLinejoin="round"
|
|
188
|
-
strokeWidth="2"
|
|
189
|
-
d="M9 5l7 7-7 7"
|
|
190
|
-
/>
|
|
191
|
-
</Svg>
|
|
192
|
-
</TouchableOpacity>
|
|
193
|
-
<TouchableOpacity
|
|
194
|
-
style={[styles.listItem, styles.learning]}
|
|
195
|
-
onPress={() =>
|
|
196
|
-
Linking.openURL(
|
|
197
|
-
'https://nx.dev/react-tutorial/1-code-generation?utm_source=nx-project'
|
|
198
|
-
)
|
|
199
|
-
}
|
|
200
|
-
>
|
|
201
|
-
<Svg
|
|
202
|
-
width={24}
|
|
203
|
-
height={24}
|
|
204
|
-
stroke="#000000"
|
|
205
|
-
fill="none"
|
|
206
|
-
viewBox="0 0 24 24"
|
|
207
|
-
>
|
|
208
|
-
<Path
|
|
209
|
-
strokeLinecap="round"
|
|
210
|
-
strokeLinejoin="round"
|
|
211
|
-
strokeWidth="2"
|
|
212
|
-
d="M15 15l-2 5L9 9l11 4-5 2zm0 0l5 5M7.188 2.239l.777 2.897M5.136 7.965l-2.898-.777M13.95 4.05l-2.122 2.122m-5.657 5.656l-2.12 2.122"
|
|
213
|
-
/>
|
|
214
|
-
</Svg>
|
|
215
|
-
<View style={styles.listItemTextContainer}>
|
|
216
|
-
<Text style={[styles.textMd]}>Interactive tutorials</Text>
|
|
217
|
-
<Text style={[styles.text2XS, styles.textSubtle]}>
|
|
218
|
-
Create an app, step by step
|
|
219
|
-
</Text>
|
|
220
|
-
</View>
|
|
221
|
-
<Svg
|
|
222
|
-
width={18}
|
|
223
|
-
height={18}
|
|
224
|
-
stroke="#000000"
|
|
225
|
-
fill="none"
|
|
226
|
-
viewBox="0 0 24 24"
|
|
227
|
-
>
|
|
228
|
-
<Path
|
|
229
|
-
strokeLinecap="round"
|
|
230
|
-
strokeLinejoin="round"
|
|
231
|
-
strokeWidth="2"
|
|
232
|
-
d="M9 5l7 7-7 7"
|
|
233
|
-
></Path>
|
|
234
|
-
</Svg>
|
|
235
|
-
</TouchableOpacity>
|
|
236
|
-
<TouchableOpacity
|
|
237
|
-
style={[styles.listItem, styles.learning]}
|
|
238
|
-
onPress={() =>
|
|
239
|
-
Linking.openURL(
|
|
240
|
-
'https://nxplaybook.com/?utm_source=nx-project'
|
|
241
|
-
)
|
|
242
|
-
}
|
|
243
|
-
>
|
|
244
|
-
<Svg
|
|
245
|
-
width={24}
|
|
246
|
-
height={24}
|
|
247
|
-
stroke="#000000"
|
|
248
|
-
fill="none"
|
|
249
|
-
viewBox="0 0 24 24"
|
|
250
|
-
>
|
|
251
|
-
<Path d="M12 14l9-5-9-5-9 5 9 5z"></Path>
|
|
252
|
-
<Path d="M12 14l6.16-3.422a12.083 12.083 0 01.665 6.479A11.952 11.952 0 0012 20.055a11.952 11.952 0 00-6.824-2.998 12.078 12.078 0 01.665-6.479L12 14z"></Path>
|
|
253
|
-
<Path
|
|
254
|
-
strokeLinecap="round"
|
|
255
|
-
strokeLinejoin="round"
|
|
256
|
-
strokeWidth="2"
|
|
257
|
-
d="M12 14l9-5-9-5-9 5 9 5zm0 0l6.16-3.422a12.083 12.083 0 01.665 6.479A11.952 11.952 0 0012 20.055a11.952 11.952 0 00-6.824-2.998 12.078 12.078 0 01.665-6.479L12 14zm-4 6v-7.5l4-2.222"
|
|
258
|
-
></Path>
|
|
259
|
-
</Svg>
|
|
260
|
-
<View style={styles.listItemTextContainer}>
|
|
261
|
-
<Text style={[styles.textMd]}>Video courses</Text>
|
|
262
|
-
<Text style={[styles.text2XS, styles.textSubtle]}>
|
|
263
|
-
Nx custom courses
|
|
264
|
-
</Text>
|
|
265
|
-
</View>
|
|
266
|
-
<Svg
|
|
267
|
-
width={18}
|
|
268
|
-
height={18}
|
|
269
|
-
stroke="#000000"
|
|
270
|
-
fill="none"
|
|
271
|
-
viewBox="0 0 24 24"
|
|
272
|
-
>
|
|
273
|
-
<Path
|
|
274
|
-
strokeLinecap="round"
|
|
275
|
-
strokeLinejoin="round"
|
|
276
|
-
strokeWidth="2"
|
|
277
|
-
d="M9 5l7 7-7 7"
|
|
278
|
-
></Path>
|
|
279
|
-
</Svg>
|
|
280
|
-
</TouchableOpacity>
|
|
281
|
-
</View>
|
|
282
|
-
</View>
|
|
283
|
-
<View style={[styles.section, styles.shadowBox]}>
|
|
284
|
-
<TouchableOpacity
|
|
285
|
-
onPress={() =>
|
|
286
|
-
Linking.openURL(
|
|
287
|
-
'https://marketplace.visualstudio.com/items?itemName=nrwl.angular-console&utm_source=nx-project'
|
|
288
|
-
)
|
|
289
|
-
}
|
|
290
|
-
>
|
|
291
|
-
<View style={[styles.listItem, styles.learning]}>
|
|
292
|
-
<Svg
|
|
293
|
-
width={48}
|
|
294
|
-
height={48}
|
|
295
|
-
fill="rgba(0, 122, 204, 1)"
|
|
296
|
-
viewBox="0 0 24 24"
|
|
297
|
-
>
|
|
298
|
-
<Path d="M23.15 2.587L18.21.21a1.494 1.494 0 0 0-1.705.29l-9.46 8.63-4.12-3.128a.999.999 0 0 0-1.276.057L.327 7.261A1 1 0 0 0 .326 8.74L3.899 12 .326 15.26a1 1 0 0 0 .001 1.479L1.65 17.94a.999.999 0 0 0 1.276.057l4.12-3.128 9.46 8.63a1.492 1.492 0 0 0 1.704.29l4.942-2.377A1.5 1.5 0 0 0 24 20.06V3.939a1.5 1.5 0 0 0-.85-1.352zm-5.146 14.861L10.826 12l7.178-5.448v10.896z" />
|
|
299
|
-
</Svg>
|
|
300
|
-
<View style={styles.listItemTextContainer}>
|
|
301
|
-
<Text
|
|
302
|
-
style={[
|
|
303
|
-
styles.textMd,
|
|
304
|
-
styles.textBold,
|
|
305
|
-
styles.marginBottomSm,
|
|
306
|
-
]}
|
|
307
|
-
>
|
|
308
|
-
Install Nx Console for VSCode
|
|
309
|
-
</Text>
|
|
310
|
-
<Text style={[styles.textXS, styles.textLight]}>
|
|
311
|
-
The official VSCode plugin for Nx.
|
|
312
|
-
</Text>
|
|
313
|
-
</View>
|
|
314
|
-
</View>
|
|
315
|
-
</TouchableOpacity>
|
|
316
|
-
<TouchableOpacity
|
|
317
|
-
onPress={() =>
|
|
318
|
-
Linking.openURL(
|
|
319
|
-
'https://plugins.jetbrains.com/plugin/21060-nx-console'
|
|
320
|
-
)
|
|
321
|
-
}
|
|
322
|
-
>
|
|
323
|
-
<View style={[styles.listItem, styles.learning]}>
|
|
324
|
-
<Svg
|
|
325
|
-
width={48}
|
|
326
|
-
height={48}
|
|
327
|
-
fill="rgba(0, 122, 204, 1)"
|
|
328
|
-
viewBox="0 0 24 24"
|
|
329
|
-
>
|
|
330
|
-
<Path d="M0 0v24h24V0zm3.723 3.111h5v1.834h-1.39v6.277h1.39v1.834h-5v-1.834h1.444V4.945H3.723zm11.055 0H17v6.5c0 .612-.055 1.111-.222 1.556-.167.444-.39.777-.723 1.11-.277.279-.666.557-1.11.668a3.933 3.933 0 0 1-1.445.278c-.778 0-1.444-.167-1.944-.445a4.81 4.81 0 0 1-1.279-1.056l1.39-1.555c.277.334.555.555.833.722.277.167.611.278.945.278.389 0 .721-.111 1-.389.221-.278.333-.667.333-1.278zM2.222 19.5h9V21h-9z" />
|
|
331
|
-
</Svg>
|
|
332
|
-
<View style={styles.listItemTextContainer}>
|
|
333
|
-
<Text
|
|
334
|
-
style={[
|
|
335
|
-
styles.textMd,
|
|
336
|
-
styles.textBold,
|
|
337
|
-
styles.marginBottomSm,
|
|
338
|
-
]}
|
|
339
|
-
>
|
|
340
|
-
Install Nx Console for JetBrains
|
|
341
|
-
</Text>
|
|
342
|
-
<Text style={[styles.textXS, styles.textLight]}>
|
|
343
|
-
Available for WebStorm, Intellij IDEA Ultimate and more!
|
|
344
|
-
</Text>
|
|
345
|
-
</View>
|
|
346
|
-
</View>
|
|
347
|
-
</TouchableOpacity>
|
|
348
|
-
</View>
|
|
349
|
-
<View style={styles.section}>
|
|
350
|
-
<TouchableOpacity
|
|
351
|
-
onPress={() =>
|
|
352
|
-
Linking.openURL('https://nx.app/?utm_source=nx-project')
|
|
353
|
-
}
|
|
354
|
-
>
|
|
355
|
-
<View style={styles.shadowBox}>
|
|
356
|
-
<View style={[styles.listItem, styles.marginBottomMd]}>
|
|
357
|
-
<Svg width={48} height={48} viewBox="0 0 120 120" stroke="currentColor" fill="transparent">
|
|
358
|
-
<Path strokeWidth="2" d="M23 3.75V6.5c-3.036 0-5.5 2.464-5.5 5.5s-2.464 5.5-5.5 5.5-5.5 2.464-5.5 5.5H3.75C2.232 23 1 21.768 1 20.25V3.75C1 2.232 2.232 1 3.75 1h16.5C21.768 1 23 2.232 23 3.75Z" />
|
|
359
|
-
<Path strokewidth="2" d="M23 6v14.1667C23 21.7307 21.7307 23 20.1667 23H6c0-3.128 2.53867-5.6667 5.6667-5.6667 3.128 0 5.6666-2.5386 5.6666-5.6666C17.3333 8.53867 19.872 6 23 6Z" />
|
|
360
|
-
</Svg>
|
|
361
|
-
<View style={styles.listItemTextContainer}>
|
|
362
|
-
<Text
|
|
363
|
-
style={[
|
|
364
|
-
styles.textMd,
|
|
365
|
-
styles.textBold,
|
|
366
|
-
styles.marginBottomSm,
|
|
367
|
-
]}
|
|
368
|
-
>
|
|
369
|
-
Nx Cloud
|
|
370
|
-
</Text>
|
|
371
|
-
<Text style={[styles.textXS, styles.textLight]}>
|
|
372
|
-
Enable faster CI & better DX
|
|
373
|
-
</Text>
|
|
374
|
-
</View>
|
|
375
|
-
</View>
|
|
376
|
-
<View style={styles.codeBlock}>
|
|
377
|
-
<Text style={[styles.monospace]}>nx connect-to-nx-cloud</Text>
|
|
378
|
-
</View>
|
|
379
|
-
</View>
|
|
380
|
-
</TouchableOpacity>
|
|
381
|
-
</View>
|
|
382
|
-
<View style={styles.section}>
|
|
383
|
-
<TouchableOpacity
|
|
384
|
-
onPress={() =>
|
|
385
|
-
Linking.openURL('https://nx.app/?utm_source=nx-project')
|
|
386
|
-
}
|
|
387
|
-
>
|
|
388
|
-
<View style={[styles.listItem, styles.shadowBox]}>
|
|
389
|
-
<Svg width={48} height={48} fill="#000000" viewBox="0 0 24 24">
|
|
390
|
-
<Path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12" />
|
|
391
|
-
</Svg>
|
|
392
|
-
<View style={styles.listItemTextContainer}>
|
|
393
|
-
<Text
|
|
394
|
-
style={[
|
|
395
|
-
styles.textMd,
|
|
396
|
-
styles.textBold,
|
|
397
|
-
styles.marginBottomSm,
|
|
398
|
-
]}
|
|
399
|
-
>
|
|
400
|
-
Nx is open source
|
|
401
|
-
</Text>
|
|
402
|
-
<Text style={[styles.textXS, styles.textLight]}>
|
|
403
|
-
Love Nx? Give us a star!
|
|
404
|
-
</Text>
|
|
405
|
-
</View>
|
|
406
|
-
</View>
|
|
407
|
-
</TouchableOpacity>
|
|
408
|
-
</View>
|
|
409
|
-
<View
|
|
410
|
-
style={styles.section}
|
|
411
|
-
onLayout={(event) => {
|
|
412
|
-
const layout = event.nativeEvent.layout;
|
|
413
|
-
setWhatsNextYCoord(layout.y);
|
|
414
|
-
}}
|
|
415
|
-
>
|
|
416
|
-
<View style={styles.shadowBox}>
|
|
417
|
-
<Text style={[styles.textLg, styles.marginBottomMd]}>
|
|
418
|
-
Next steps
|
|
419
|
-
</Text>
|
|
420
|
-
<Text
|
|
421
|
-
style={[styles.textSm, styles.textLight, styles.marginBottomMd]}
|
|
422
|
-
>
|
|
423
|
-
Here are some things you can do with Nx:
|
|
424
|
-
</Text>
|
|
425
|
-
<View style={styles.listItem}>
|
|
426
|
-
<Svg
|
|
427
|
-
width={24}
|
|
428
|
-
height={24}
|
|
429
|
-
stroke="#000000"
|
|
430
|
-
fill="none"
|
|
431
|
-
viewBox="0 0 24 24"
|
|
432
|
-
>
|
|
433
|
-
<Path
|
|
434
|
-
strokeLinecap="round"
|
|
435
|
-
strokeLinejoin="round"
|
|
436
|
-
strokeWidth="2"
|
|
437
|
-
d="M8 9l3 3-3 3m5 0h3M5 20h14a2 2 0 002-2V6a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z"
|
|
438
|
-
/>
|
|
439
|
-
</Svg>
|
|
440
|
-
<View style={styles.listItemTextContainer}>
|
|
441
|
-
<Text style={styles.textSm}>Add UI library</Text>
|
|
442
|
-
</View>
|
|
443
|
-
</View>
|
|
444
|
-
<View style={[styles.codeBlock, styles.marginBottomLg]}>
|
|
445
|
-
<Text style={[styles.textXS, styles.monospace, styles.comment]}>
|
|
446
|
-
# Generate UI lib
|
|
447
|
-
</Text>
|
|
448
|
-
<Text
|
|
449
|
-
style={[
|
|
450
|
-
styles.textXS,
|
|
451
|
-
styles.monospace,
|
|
452
|
-
styles.marginBottomMd,
|
|
453
|
-
]}
|
|
454
|
-
>
|
|
455
|
-
nx g @nrwl/react-native:lib ui
|
|
456
|
-
</Text>
|
|
457
|
-
<Text style={[styles.textXS, styles.monospace, styles.comment]}>
|
|
458
|
-
# Add a component
|
|
459
|
-
</Text>
|
|
460
|
-
<Text style={[styles.textXS, styles.monospace]}>nx g \</Text>
|
|
461
|
-
<Text style={[styles.textXS, styles.monospace]}>
|
|
462
|
-
@nrwl/react-native:component \
|
|
463
|
-
</Text>
|
|
464
|
-
<Text style={[styles.textXS, styles.monospace]}>
|
|
465
|
-
button --project ui
|
|
466
|
-
</Text>
|
|
467
|
-
</View>
|
|
468
|
-
<View style={styles.listItem}>
|
|
469
|
-
<Svg
|
|
470
|
-
width={24}
|
|
471
|
-
height={24}
|
|
472
|
-
stroke="#000000"
|
|
473
|
-
fill="none"
|
|
474
|
-
viewBox="0 0 24 24"
|
|
475
|
-
>
|
|
476
|
-
<Path
|
|
477
|
-
strokeLinecap="round"
|
|
478
|
-
strokeLinejoin="round"
|
|
479
|
-
strokeWidth="2"
|
|
480
|
-
d="M8 9l3 3-3 3m5 0h3M5 20h14a2 2 0 002-2V6a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z"
|
|
481
|
-
/>
|
|
482
|
-
</Svg>
|
|
483
|
-
<View style={styles.listItemTextContainer}>
|
|
484
|
-
<Text style={styles.textSm}>
|
|
485
|
-
View interactive project graph
|
|
486
|
-
</Text>
|
|
487
|
-
</View>
|
|
488
|
-
</View>
|
|
489
|
-
<View style={[styles.codeBlock, styles.marginBottomLg]}>
|
|
490
|
-
<Text style={[styles.textXS, styles.monospace]}>nx graph</Text>
|
|
491
|
-
</View>
|
|
492
|
-
<View style={styles.listItem}>
|
|
493
|
-
<Svg
|
|
494
|
-
width={24}
|
|
495
|
-
height={24}
|
|
496
|
-
stroke="#000000"
|
|
497
|
-
fill="none"
|
|
498
|
-
viewBox="0 0 24 24"
|
|
499
|
-
>
|
|
500
|
-
<Path
|
|
501
|
-
strokeLinecap="round"
|
|
502
|
-
strokeLinejoin="round"
|
|
503
|
-
strokeWidth="2"
|
|
504
|
-
d="M8 9l3 3-3 3m5 0h3M5 20h14a2 2 0 002-2V6a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z"
|
|
505
|
-
/>
|
|
506
|
-
</Svg>
|
|
507
|
-
<View style={styles.listItemTextContainer}>
|
|
508
|
-
<Text style={styles.textSm}>Run affected commands</Text>
|
|
509
|
-
</View>
|
|
510
|
-
</View>
|
|
511
|
-
<View style={styles.codeBlock}>
|
|
512
|
-
<Text style={[styles.textXS, styles.monospace, styles.comment]}>
|
|
513
|
-
# See what's affected by changes
|
|
514
|
-
</Text>
|
|
515
|
-
<Text
|
|
516
|
-
style={[
|
|
517
|
-
styles.textXS,
|
|
518
|
-
styles.monospace,
|
|
519
|
-
styles.marginBottomMd,
|
|
520
|
-
]}
|
|
521
|
-
>
|
|
522
|
-
nx affected:graph
|
|
523
|
-
</Text>
|
|
524
|
-
<Text style={[styles.textXS, styles.monospace, styles.comment]}>
|
|
525
|
-
# run tests for current changes
|
|
526
|
-
</Text>
|
|
527
|
-
<Text
|
|
528
|
-
style={[
|
|
529
|
-
styles.textXS,
|
|
530
|
-
styles.monospace,
|
|
531
|
-
styles.marginBottomMd,
|
|
532
|
-
]}
|
|
533
|
-
>
|
|
534
|
-
nx affected:text
|
|
535
|
-
</Text>
|
|
536
|
-
<Text style={[styles.textXS, styles.monospace, styles.comment]}>
|
|
537
|
-
# run e2e tests for current
|
|
538
|
-
</Text>
|
|
539
|
-
<Text style={[styles.textXS, styles.monospace, styles.comment]}>
|
|
540
|
-
# changes
|
|
541
|
-
</Text>
|
|
542
|
-
<Text style={[styles.textXS, styles.monospace]}>
|
|
543
|
-
nx affected:e2e
|
|
544
|
-
</Text>
|
|
545
|
-
</View>
|
|
546
|
-
</View>
|
|
547
|
-
<View style={[styles.listItem, styles.love]}>
|
|
548
|
-
<Text style={styles.textSubtle}>Carefully crafted with </Text>
|
|
549
|
-
<Svg
|
|
550
|
-
width={24}
|
|
551
|
-
height={24}
|
|
552
|
-
fill="rgba(252, 165, 165, 1)"
|
|
553
|
-
stroke="none"
|
|
554
|
-
viewBox="0 0 24 24"
|
|
555
|
-
>
|
|
556
|
-
<Path
|
|
557
|
-
strokeLinecap="round"
|
|
558
|
-
strokeLinejoin="round"
|
|
559
|
-
strokeWidth="2"
|
|
560
|
-
d="M4.318 6.318a4.5 4.5 0 000 6.364L12 20.364l7.682-7.682a4.5 4.5 0 00-6.364-6.364L12 7.636l-1.318-1.318a4.5 4.5 0 00-6.364 0z"
|
|
561
|
-
/>
|
|
562
|
-
</Svg>
|
|
563
|
-
</View>
|
|
564
|
-
</View>
|
|
565
|
-
</ScrollView>
|
|
566
|
-
</SafeAreaView>
|
|
567
|
-
</>
|
|
568
|
-
);
|
|
569
|
-
};
|
|
570
|
-
const styles = StyleSheet.create({
|
|
571
|
-
scrollView: {
|
|
572
|
-
backgroundColor: '#ffffff',
|
|
573
|
-
},
|
|
574
|
-
codeBlock: {
|
|
575
|
-
backgroundColor: 'rgba(55, 65, 81, 1)',
|
|
576
|
-
marginVertical: 12,
|
|
577
|
-
padding: 12,
|
|
578
|
-
borderRadius: 4,
|
|
579
|
-
},
|
|
580
|
-
monospace: {
|
|
581
|
-
color: '#ffffff',
|
|
582
|
-
fontFamily: 'Courier New',
|
|
583
|
-
marginVertical: 4,
|
|
584
|
-
},
|
|
585
|
-
comment: {
|
|
586
|
-
color: '#cccccc',
|
|
587
|
-
},
|
|
588
|
-
marginBottomSm: {
|
|
589
|
-
marginBottom: 6,
|
|
590
|
-
},
|
|
591
|
-
marginBottomMd: {
|
|
592
|
-
marginBottom: 18,
|
|
593
|
-
},
|
|
594
|
-
marginBottomLg: {
|
|
595
|
-
marginBottom: 24,
|
|
596
|
-
},
|
|
597
|
-
textLight: {
|
|
598
|
-
fontWeight: '300',
|
|
599
|
-
},
|
|
600
|
-
textBold: {
|
|
601
|
-
fontWeight: '500',
|
|
602
|
-
},
|
|
603
|
-
textCenter: {
|
|
604
|
-
textAlign: 'center',
|
|
605
|
-
},
|
|
606
|
-
text2XS: {
|
|
607
|
-
fontSize: 12,
|
|
608
|
-
},
|
|
609
|
-
textXS: {
|
|
610
|
-
fontSize: 14,
|
|
611
|
-
},
|
|
612
|
-
textSm: {
|
|
613
|
-
fontSize: 16,
|
|
614
|
-
},
|
|
615
|
-
textMd: {
|
|
616
|
-
fontSize: 18,
|
|
617
|
-
},
|
|
618
|
-
textLg: {
|
|
619
|
-
fontSize: 24,
|
|
620
|
-
},
|
|
621
|
-
textXL: {
|
|
622
|
-
fontSize: 48,
|
|
623
|
-
},
|
|
624
|
-
textContainer: {
|
|
625
|
-
marginVertical: 12,
|
|
626
|
-
},
|
|
627
|
-
textSubtle: {
|
|
628
|
-
color: '#6b7280',
|
|
629
|
-
},
|
|
630
|
-
section: {
|
|
631
|
-
marginVertical: 24,
|
|
632
|
-
marginHorizontal: 12,
|
|
633
|
-
},
|
|
634
|
-
shadowBox: {
|
|
635
|
-
backgroundColor: 'white',
|
|
636
|
-
borderRadius: 24,
|
|
637
|
-
shadowColor: 'black',
|
|
638
|
-
shadowOpacity: 0.15,
|
|
639
|
-
shadowOffset: {
|
|
640
|
-
width: 1,
|
|
641
|
-
height: 4,
|
|
642
|
-
},
|
|
643
|
-
shadowRadius: 12,
|
|
644
|
-
padding: 24,
|
|
645
|
-
marginBottom: 24,
|
|
646
|
-
},
|
|
647
|
-
listItem: {
|
|
648
|
-
display: 'flex',
|
|
649
|
-
flexDirection: 'row',
|
|
650
|
-
alignItems: 'center',
|
|
651
|
-
},
|
|
652
|
-
listItemTextContainer: {
|
|
653
|
-
marginLeft: 12,
|
|
654
|
-
flex: 1,
|
|
655
|
-
},
|
|
656
|
-
appTitleText: {
|
|
657
|
-
paddingTop: 12,
|
|
658
|
-
fontWeight: '500',
|
|
659
|
-
},
|
|
660
|
-
hero: {
|
|
661
|
-
borderRadius: 12,
|
|
662
|
-
backgroundColor: '#143055',
|
|
663
|
-
padding: 36,
|
|
664
|
-
marginBottom: 24,
|
|
665
|
-
},
|
|
666
|
-
heroTitle: {
|
|
667
|
-
flex: 1,
|
|
668
|
-
flexDirection: 'row',
|
|
669
|
-
},
|
|
670
|
-
heroTitleText: {
|
|
671
|
-
color: '#ffffff',
|
|
672
|
-
marginLeft: 12,
|
|
673
|
-
},
|
|
674
|
-
heroText: {
|
|
675
|
-
color: '#ffffff',
|
|
676
|
-
marginVertical: 12,
|
|
677
|
-
},
|
|
678
|
-
whatsNextButton: {
|
|
679
|
-
backgroundColor: '#ffffff',
|
|
680
|
-
paddingVertical: 16,
|
|
681
|
-
borderRadius: 8,
|
|
682
|
-
width: '50%',
|
|
683
|
-
marginTop: 24,
|
|
684
|
-
},
|
|
685
|
-
learning: {
|
|
686
|
-
marginVertical: 12,
|
|
687
|
-
},
|
|
688
|
-
love: {
|
|
689
|
-
marginTop: 12,
|
|
690
|
-
justifyContent: 'center',
|
|
691
|
-
},
|
|
692
|
-
});
|
|
693
|
-
|
|
694
|
-
export default App;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import '@testing-library/jest-native/extend-expect';
|