create-sitecore-jss 22.10.0-canary.8 → 22.10.0
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/LICENSE.MD +202 -202
- package/README.md +10 -10
- package/dist/templates/angular/package.json +24 -25
- package/dist/templates/angular/scripts/generate-component-factory/template.ts +1 -3
- package/dist/templates/angular/server.bundle.ts +3 -2
- package/dist/templates/angular/src/app/ViewBag.ts +4 -0
- package/dist/templates/angular/src/app/app.component.ts +10 -9
- package/dist/templates/angular/src/app/app.module.ts +3 -1
- package/dist/templates/angular/src/app/app.server.module.ts +4 -5
- package/dist/templates/angular/src/app/components/app-components.shared.module.ts +16 -3
- package/dist/templates/angular/src/app/components/content-block/content-block.component.ts +2 -1
- package/dist/templates/angular/src/app/i18n/jss-translation-client-loader.service.ts +3 -2
- package/dist/templates/angular/src/app/i18n/jss-translation-server-loader.service.ts +6 -4
- package/dist/templates/angular/src/app/injection-tokens.ts +13 -0
- package/dist/templates/angular/src/app/jss-context.server-side.service.ts +8 -10
- package/dist/templates/angular/src/app/jss-context.service.ts +6 -4
- package/dist/templates/angular/src/app/jss-graphql.module.ts +58 -48
- package/dist/templates/angular/src/app/jss-graphql.service.ts +6 -6
- package/dist/templates/angular/src/app/jss-meta.service.ts +3 -2
- package/dist/templates/angular/src/app/routing/layout/layout.component.ts +10 -4
- package/dist/templates/angular/src/app/routing/navigation/navigation.component.ts +3 -0
- package/dist/templates/angular/src/app/routing/not-found/not-found.component.ts +1 -1
- package/dist/templates/angular/src/app/routing/routing.module.ts +3 -4
- package/dist/templates/angular/src/app/routing/scripts/scripts.module.ts +1 -1
- package/dist/templates/angular/src/assets/images/sc_logo.svg +52 -52
- package/dist/templates/angular-sxp/data/component-content/Styleguide/ContentReuse/LoremIpsumContentBlock/en.yml +9 -9
- package/dist/templates/angular-sxp/data/content/Styleguide/ContentListField/Item1/en.yml +6 -6
- package/dist/templates/angular-sxp/data/content/Styleguide/ContentListField/Item2/en.yml +6 -6
- package/dist/templates/angular-sxp/data/content/Styleguide/EditFrameDemo/Item1/en.yml +6 -6
- package/dist/templates/angular-sxp/data/content/Styleguide/EditFrameDemo/Item2/en.yml +6 -6
- package/dist/templates/angular-sxp/data/content/Styleguide/ItemLinkField/Item1/en.yml +6 -6
- package/dist/templates/angular-sxp/data/content/Styleguide/ItemLinkField/Item2/en.yml +6 -6
- package/dist/templates/angular-sxp/data/dictionary/en.yml +4 -4
- package/dist/templates/angular-sxp/data/dictionary/{{language}}.yml +4 -4
- package/dist/templates/angular-sxp/data/routes/en.yml +61 -61
- package/dist/templates/angular-sxp/data/routes/graphql/en.yml +27 -27
- package/dist/templates/angular-sxp/data/routes/graphql/sample-1/en.yml +9 -9
- package/dist/templates/angular-sxp/data/routes/graphql/sample-2/en.yml +9 -9
- package/dist/templates/angular-sxp/data/routes/styleguide/custom-route-type/en.yml +12 -12
- package/dist/templates/angular-sxp/data/routes/styleguide/en.yml +271 -271
- package/dist/templates/angular-sxp/data/routes/styleguide/{{language}}.yml +25 -25
- package/dist/templates/angular-sxp/data/routes/{{language}}.yml +4 -4
- package/dist/templates/angular-sxp/sitecore/config/{{appName}}.config +90 -90
- package/dist/templates/angular-sxp/sitecore/definitions/components/graph-ql-integrated-demo.sitecore.graphql +71 -71
- package/dist/templates/angular-sxp/sitecore/gitignore +2 -2
- package/dist/templates/angular-sxp/src/app/components/app-components.shared.module.ts +1 -3
- package/dist/templates/angular-sxp/src/app/components/graph-ql-connected-demo/graph-ql-connected-demo.component.html +41 -39
- package/dist/templates/angular-sxp/src/app/components/graph-ql-connected-demo/graph-ql-connected-demo.component.ts +5 -3
- package/dist/templates/angular-sxp/src/app/components/graph-ql-integrated-demo/graph-ql-integrated-demo.component.html +6 -4
- package/dist/templates/angular-sxp/src/app/components/graph-ql-integrated-demo/graph-ql-integrated-demo.component.ts +4 -4
- package/dist/templates/angular-sxp/src/app/components/graph-ql-layout/graph-ql-layout.component.html +3 -4
- package/dist/templates/angular-sxp/src/app/components/graph-ql-layout/graph-ql-layout.component.ts +4 -4
- package/dist/templates/angular-sxp/src/app/components/shared/styleguide-specimen/styleguide-specimen.component.ts +3 -4
- package/dist/templates/angular-sxp/src/app/components/styleguide-angular-lazy-loading/styleguide-angular-lazy-loading.component.ts +5 -5
- package/dist/templates/angular-sxp/src/app/components/styleguide-angular-lazy-loading/styleguide-angular-lazy-loading.module.ts +2 -5
- package/dist/templates/angular-sxp/src/app/components/styleguide-component-params/styleguide-component-params.component.html +8 -4
- package/dist/templates/angular-sxp/src/app/components/styleguide-component-params/styleguide-component-params.component.ts +2 -2
- package/dist/templates/angular-sxp/src/app/components/styleguide-custom-route-type/styleguide-custom-route-type.component.ts +5 -5
- package/dist/templates/angular-sxp/src/app/components/styleguide-edit-frame/styleguide-edit-frame.component.html +7 -3
- package/dist/templates/angular-sxp/src/app/components/styleguide-edit-frame/styleguide-edit-frame.component.ts +13 -4
- package/dist/templates/angular-sxp/src/app/components/styleguide-field-usage-checkbox/styleguide-field-usage-checkbox.component.ts +2 -2
- package/dist/templates/angular-sxp/src/app/components/styleguide-field-usage-content-list/styleguide-field-usage-content-list.component.html +20 -16
- package/dist/templates/angular-sxp/src/app/components/styleguide-field-usage-content-list/styleguide-field-usage-content-list.component.ts +20 -3
- package/dist/templates/angular-sxp/src/app/components/styleguide-field-usage-custom/styleguide-field-usage-custom.component.ts +2 -0
- package/dist/templates/angular-sxp/src/app/components/styleguide-field-usage-date/styleguide-field-usage-date.component.ts +4 -1
- package/dist/templates/angular-sxp/src/app/components/styleguide-field-usage-file/styleguide-field-usage-file.component.ts +3 -1
- package/dist/templates/angular-sxp/src/app/components/styleguide-field-usage-image/styleguide-field-usage-image.component.ts +3 -1
- package/dist/templates/angular-sxp/src/app/components/styleguide-field-usage-item-link/styleguide-field-usage-item-link.component.html +4 -4
- package/dist/templates/angular-sxp/src/app/components/styleguide-field-usage-item-link/styleguide-field-usage-item-link.component.ts +4 -1
- package/dist/templates/angular-sxp/src/app/components/styleguide-field-usage-link/styleguide-field-usage-link.component.ts +3 -1
- package/dist/templates/angular-sxp/src/app/components/styleguide-field-usage-number/styleguide-field-usage-number.component.ts +2 -0
- package/dist/templates/angular-sxp/src/app/components/styleguide-field-usage-rich-text/styleguide-field-usage-rich-text.component.ts +3 -1
- package/dist/templates/angular-sxp/src/app/components/styleguide-field-usage-text/styleguide-field-usage-text.component.ts +3 -1
- package/dist/templates/angular-sxp/src/app/components/styleguide-layout/styleguide-layout.component.html +12 -8
- package/dist/templates/angular-sxp/src/app/components/styleguide-layout/styleguide-layout.component.ts +2 -4
- package/dist/templates/angular-sxp/src/app/components/styleguide-layout-reuse/styleguide-layout-reuse.component.ts +3 -1
- package/dist/templates/angular-sxp/src/app/components/styleguide-layout-tabs/styleguide-layout-tabs.component.html +18 -15
- package/dist/templates/angular-sxp/src/app/components/styleguide-layout-tabs/styleguide-layout-tabs.component.ts +6 -4
- package/dist/templates/angular-sxp/src/app/components/styleguide-layout-tabs-tab/styleguide-layout-tabs-tab.component.html +2 -2
- package/dist/templates/angular-sxp/src/app/components/styleguide-layout-tabs-tab/styleguide-layout-tabs-tab.component.ts +4 -4
- package/dist/templates/angular-sxp/src/app/components/styleguide-multilingual/styleguide-multilingual.component.ts +7 -3
- package/dist/templates/angular-sxp/src/app/components/styleguide-route-fields/styleguide-route-fields.component.ts +5 -4
- package/dist/templates/angular-sxp/src/app/components/styleguide-section/styleguide-section.component.ts +2 -1
- package/dist/templates/angular-sxp/src/app/components/styleguide-sitecore-context/styleguide-sitecore-context.component.ts +7 -4
- package/dist/templates/angular-sxp/src/app/components/styleguide-tracking/styleguide-tracking.component.html +6 -2
- package/dist/templates/angular-sxp/src/app/components/styleguide-tracking/styleguide-tracking.component.ts +12 -12
- package/dist/templates/angular-sxp/src/app/jss-data-fetcher.service.ts +4 -2
- package/dist/templates/angular-sxp/src/app/routing/scripts/scripts.component.ts +10 -0
- package/dist/templates/angular-sxp/src/app/routing/scripts/scripts.module.ts +1 -1
- package/dist/templates/angular-sxp/src/app/routing/scripts/visitor-identification/visitor-identification.component.ts +6 -3
- package/dist/templates/angular-xmcloud/scripts/generate-component-factory/template.ts +1 -3
- package/dist/templates/angular-xmcloud/src/app/components/app-components.shared.module.ts +1 -2
- package/dist/templates/angular-xmcloud/src/app/components/column-splitter/column-splitter.component.html +6 -4
- package/dist/templates/angular-xmcloud/src/app/components/column-splitter/column-splitter.component.ts +4 -1
- package/dist/templates/angular-xmcloud/src/app/components/container/container.component.html +14 -5
- package/dist/templates/angular-xmcloud/src/app/components/container/container.component.ts +3 -0
- package/dist/templates/angular-xmcloud/src/app/components/image/image.component.html +21 -23
- package/dist/templates/angular-xmcloud/src/app/components/image/image.component.ts +5 -5
- package/dist/templates/angular-xmcloud/src/app/components/link-list/link-list.component.html +11 -10
- package/dist/templates/angular-xmcloud/src/app/components/link-list/link-list.component.ts +3 -0
- package/dist/templates/angular-xmcloud/src/app/components/navigation/navigation-item.component.html +14 -17
- package/dist/templates/angular-xmcloud/src/app/components/navigation/navigation-item.component.ts +3 -3
- package/dist/templates/angular-xmcloud/src/app/components/navigation/navigation.component.html +3 -6
- package/dist/templates/angular-xmcloud/src/app/components/navigation/navigation.component.ts +8 -5
- package/dist/templates/angular-xmcloud/src/app/components/page-content/page-content.component.ts +4 -4
- package/dist/templates/angular-xmcloud/src/app/components/partial-design-dynamic-placeholder/partial-design-dynamic-placeholder.component.ts +2 -0
- package/dist/templates/angular-xmcloud/src/app/components/promo/promo.component.html +4 -6
- package/dist/templates/angular-xmcloud/src/app/components/promo/promo.component.ts +3 -0
- package/dist/templates/angular-xmcloud/src/app/components/richtext/richtext.component.html +3 -4
- package/dist/templates/angular-xmcloud/src/app/components/richtext/richtext.component.ts +3 -0
- package/dist/templates/angular-xmcloud/src/app/components/row-splitter/row-splitter.component.html +10 -9
- package/dist/templates/angular-xmcloud/src/app/components/row-splitter/row-splitter.component.ts +3 -0
- package/dist/templates/angular-xmcloud/src/app/components/title/title.component.html +4 -5
- package/dist/templates/angular-xmcloud/src/app/components/title/title.component.ts +5 -5
- package/dist/templates/angular-xmcloud/src/app/jss-link.service.ts +2 -2
- package/dist/templates/angular-xmcloud/src/app/routing/layout/layout.component.html +38 -36
- package/dist/templates/angular-xmcloud/src/app/routing/layout/layout.component.ts +10 -6
- package/dist/templates/angular-xmcloud/src/app/routing/scripts/cdp-page-view.component.ts +2 -3
- package/dist/templates/angular-xmcloud/src/app/routing/scripts/cloud-sdk-init.component.ts +2 -2
- package/dist/templates/angular-xmcloud/src/app/routing/scripts/scripts.component.ts +13 -0
- package/dist/templates/angular-xmcloud/src/app/routing/scripts/scripts.module.ts +1 -2
- package/dist/templates/nextjs/public/sc_logo.svg +52 -52
- package/dist/templates/nextjs-styleguide/data/component-content/Styleguide/ContentReuse/LoremIpsumContentBlock/en.yml +9 -9
- package/dist/templates/nextjs-styleguide/data/content/Styleguide/ContentListField/Item1/en.yml +6 -6
- package/dist/templates/nextjs-styleguide/data/content/Styleguide/ContentListField/Item2/en.yml +6 -6
- package/dist/templates/nextjs-styleguide/data/content/Styleguide/EditFrameDemo/Item1/en.yml +6 -6
- package/dist/templates/nextjs-styleguide/data/content/Styleguide/EditFrameDemo/Item2/en.yml +6 -6
- package/dist/templates/nextjs-styleguide/data/content/Styleguide/ItemLinkField/Item1/en.yml +6 -6
- package/dist/templates/nextjs-styleguide/data/content/Styleguide/ItemLinkField/Item2/en.yml +6 -6
- package/dist/templates/nextjs-styleguide/data/dictionary/en.yml +4 -4
- package/dist/templates/nextjs-styleguide/data/dictionary/{{language}}.yml +4 -4
- package/dist/templates/nextjs-styleguide/data/routes/en.yml +63 -63
- package/dist/templates/nextjs-styleguide/data/routes/graphql/en.yml +27 -27
- package/dist/templates/nextjs-styleguide/data/routes/graphql/sample-1/en.yml +9 -9
- package/dist/templates/nextjs-styleguide/data/routes/graphql/sample-2/en.yml +9 -9
- package/dist/templates/nextjs-styleguide/data/routes/styleguide/custom-route-type/en.yml +12 -12
- package/dist/templates/nextjs-styleguide/data/routes/styleguide/en.yml +259 -259
- package/dist/templates/nextjs-styleguide/data/routes/styleguide/{{language}}.yml +25 -25
- package/dist/templates/nextjs-styleguide/data/routes/{{language}}.yml +4 -4
- package/dist/templates/nextjs-styleguide-tracking/data/dictionary/en.yml +5 -5
- package/dist/templates/nextjs-styleguide-tracking/data/routes/tracking/en.yml +8 -8
- package/dist/templates/nextjs-sxa/src/assets/sass/components/_component-column-splitter.scss +14 -14
- package/dist/templates/nextjs-sxa/src/assets/sass/components/promo/_promo-shadow.scss +42 -42
- package/dist/templates/react/data/component-content/Styleguide/ContentReuse/LoremIpsumContentBlock/en.yml +9 -9
- package/dist/templates/react/data/content/Styleguide/ContentListField/Item1/en.yml +6 -6
- package/dist/templates/react/data/content/Styleguide/ContentListField/Item2/en.yml +6 -6
- package/dist/templates/react/data/content/Styleguide/EditFrameDemo/Item1/en.yml +6 -6
- package/dist/templates/react/data/content/Styleguide/EditFrameDemo/Item2/en.yml +6 -6
- package/dist/templates/react/data/content/Styleguide/ItemLinkField/Item1/en.yml +6 -6
- package/dist/templates/react/data/content/Styleguide/ItemLinkField/Item2/en.yml +6 -6
- package/dist/templates/react/data/dictionary/en.yml +4 -4
- package/dist/templates/react/data/dictionary/{{language}}.yml +4 -4
- package/dist/templates/react/data/routes/en.yml +61 -61
- package/dist/templates/react/data/routes/graphql/en.yml +27 -27
- package/dist/templates/react/data/routes/graphql/sample-1/en.yml +9 -9
- package/dist/templates/react/data/routes/graphql/sample-2/en.yml +9 -9
- package/dist/templates/react/data/routes/styleguide/custom-route-type/en.yml +12 -12
- package/dist/templates/react/data/routes/styleguide/en.yml +263 -263
- package/dist/templates/react/data/routes/styleguide/{{language}}.yml +26 -26
- package/dist/templates/react/data/routes/{{language}}.yml +4 -4
- package/dist/templates/react-native/.buckconfig +6 -6
- package/dist/templates/react-native/.eslintrc +74 -74
- package/dist/templates/react-native/.gitattributes +1 -1
- package/dist/templates/react-native/.prettierrc +9 -9
- package/dist/templates/react-native/.vscode/launch.json +42 -42
- package/dist/templates/react-native/.vscode/settings.json +1 -1
- package/dist/templates/react-native/LICENSE.txt +202 -202
- package/dist/templates/react-native/README.MD +115 -115
- package/dist/templates/react-native/android/app/BUCK +55 -55
- package/dist/templates/react-native/android/app/build.gradle +201 -201
- package/dist/templates/react-native/android/app/build_defs.bzl +19 -19
- package/dist/templates/react-native/android/app/proguard-rules.pro +10 -10
- package/dist/templates/react-native/android/app/src/debug/AndroidManifest.xml +8 -8
- package/dist/templates/react-native/android/app/src/main/AndroidManifest.xml +26 -26
- package/dist/templates/react-native/android/app/src/main/java/com/{{appName}}/MainActivity.java +15 -15
- package/dist/templates/react-native/android/app/src/main/java/com/{{appName}}/MainApplication.java +74 -74
- package/dist/templates/react-native/android/app/src/main/res/values/strings.xml +3 -3
- package/dist/templates/react-native/android/app/src/main/res/values/styles.xml +9 -9
- package/dist/templates/react-native/android/build.gradle +38 -38
- package/dist/templates/react-native/android/gradle/wrapper/gradle-wrapper.properties +5 -5
- package/dist/templates/react-native/android/gradle.properties +21 -21
- package/dist/templates/react-native/android/gradlew +188 -188
- package/dist/templates/react-native/android/gradlew.bat +100 -100
- package/dist/templates/react-native/android/settings.gradle +3 -3
- package/dist/templates/react-native/app.json +3 -3
- package/dist/templates/react-native/assets/img/sc_logo.svg +52 -52
- package/dist/templates/react-native/data/content/Styleguide/ItemLinkField/Item1/en.json +10 -10
- package/dist/templates/react-native/data/routes/en.json +22 -22
- package/dist/templates/react-native/data/routes/styleguide/en.json +227 -227
- package/dist/templates/react-native/data/routes/styleguide/{{language}}.json +31 -31
- package/dist/templates/react-native/data/routes/{{language}}.json +7 -7
- package/dist/templates/react-native/gitignore +60 -60
- package/dist/templates/react-native/ios/Podfile +53 -53
- package/dist/templates/react-native/ios/{{appName}}/AppDelegate.h +15 -15
- package/dist/templates/react-native/ios/{{appName}}/AppDelegate.m +42 -42
- package/dist/templates/react-native/ios/{{appName}}/Base.lproj/LaunchScreen.xib +42 -42
- package/dist/templates/react-native/ios/{{appName}}/Images.xcassets/AppIcon.appiconset/Contents.json +38 -38
- package/dist/templates/react-native/ios/{{appName}}/Images.xcassets/Contents.json +6 -6
- package/dist/templates/react-native/ios/{{appName}}/Info.plist +57 -57
- package/dist/templates/react-native/ios/{{appName}}/main.m +16 -16
- package/dist/templates/react-native/ios/{{appName}}-tvOS/Info.plist +53 -53
- package/dist/templates/react-native/ios/{{appName}}-tvOSTests/Info.plist +24 -24
- package/dist/templates/react-native/ios/{{appName}}.xcodeproj/xcshareddata/xcschemes/BasicSampleReactNative-tvOS.xcscheme +129 -129
- package/dist/templates/react-native/ios/{{appName}}.xcodeproj/xcshareddata/xcschemes/BasicSampleReactNative.xcscheme +129 -129
- package/dist/templates/react-native/ios/{{appName}}Tests/BasicSampleReactNativeTests.m +72 -72
- package/dist/templates/react-native/ios/{{appName}}Tests/Info.plist +24 -24
- package/dist/templates/react-native/package.json +78 -78
- package/dist/templates/react-native/sitecore/config/{{appName}}.config +47 -47
- package/dist/templates/react-native/sitecore/gitignore +2 -2
- package/dist/templates/vue/data/component-content/Styleguide/ContentReuse/LoremIpsumContentBlock/en.yml +9 -9
- package/dist/templates/vue/data/content/Styleguide/ContentListField/Item1/en.yml +6 -6
- package/dist/templates/vue/data/content/Styleguide/ContentListField/Item2/en.yml +6 -6
- package/dist/templates/vue/data/content/Styleguide/EditFrameDemo/Item1/en.yml +6 -6
- package/dist/templates/vue/data/content/Styleguide/EditFrameDemo/Item2/en.yml +6 -6
- package/dist/templates/vue/data/content/Styleguide/ItemLinkField/Item1/en.yml +6 -6
- package/dist/templates/vue/data/content/Styleguide/ItemLinkField/Item2/en.yml +6 -6
- package/dist/templates/vue/data/dictionary/en.yml +7 -7
- package/dist/templates/vue/data/dictionary/{{language}}.yml +7 -7
- package/dist/templates/vue/data/routes/en.yml +63 -63
- package/dist/templates/vue/data/routes/graphql/en.yml +34 -34
- package/dist/templates/vue/data/routes/graphql/sample-1/en.yml +9 -9
- package/dist/templates/vue/data/routes/graphql/sample-2/en.yml +9 -9
- package/dist/templates/vue/data/routes/styleguide/custom-route-type/en.yml +12 -12
- package/dist/templates/vue/data/routes/styleguide/en.yml +264 -264
- package/dist/templates/vue/data/routes/styleguide/{{language}}.yml +26 -26
- package/dist/templates/vue/data/routes/{{language}}.yml +4 -4
- package/dist/templates/vue/public/img/icons/safari-pinned-tab.svg +75 -75
- package/dist/templates/vue/src/assets/sc_logo.svg +52 -52
- package/package.json +2 -2
|
@@ -1,129 +1,129 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<Scheme
|
|
3
|
-
LastUpgradeVersion = "0940"
|
|
4
|
-
version = "1.3">
|
|
5
|
-
<BuildAction
|
|
6
|
-
parallelizeBuildables = "NO"
|
|
7
|
-
buildImplicitDependencies = "YES">
|
|
8
|
-
<BuildActionEntries>
|
|
9
|
-
<BuildActionEntry
|
|
10
|
-
buildForTesting = "YES"
|
|
11
|
-
buildForRunning = "YES"
|
|
12
|
-
buildForProfiling = "YES"
|
|
13
|
-
buildForArchiving = "YES"
|
|
14
|
-
buildForAnalyzing = "YES">
|
|
15
|
-
<BuildableReference
|
|
16
|
-
BuildableIdentifier = "primary"
|
|
17
|
-
BlueprintIdentifier = "83CBBA2D1A601D0E00E9B192"
|
|
18
|
-
BuildableName = "libReact.a"
|
|
19
|
-
BlueprintName = "React"
|
|
20
|
-
ReferencedContainer = "container:../node_modules/react-native/React/React.xcodeproj">
|
|
21
|
-
</BuildableReference>
|
|
22
|
-
</BuildActionEntry>
|
|
23
|
-
<BuildActionEntry
|
|
24
|
-
buildForTesting = "YES"
|
|
25
|
-
buildForRunning = "YES"
|
|
26
|
-
buildForProfiling = "YES"
|
|
27
|
-
buildForArchiving = "YES"
|
|
28
|
-
buildForAnalyzing = "YES">
|
|
29
|
-
<BuildableReference
|
|
30
|
-
BuildableIdentifier = "primary"
|
|
31
|
-
BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
|
|
32
|
-
BuildableName = "<%- helper.getPascalCaseName(appName) %>.app"
|
|
33
|
-
BlueprintName = "<%- helper.getPascalCaseName(appName) %>"
|
|
34
|
-
ReferencedContainer = "container:<%- helper.getPascalCaseName(appName) %>.xcodeproj">
|
|
35
|
-
</BuildableReference>
|
|
36
|
-
</BuildActionEntry>
|
|
37
|
-
<BuildActionEntry
|
|
38
|
-
buildForTesting = "YES"
|
|
39
|
-
buildForRunning = "YES"
|
|
40
|
-
buildForProfiling = "NO"
|
|
41
|
-
buildForArchiving = "NO"
|
|
42
|
-
buildForAnalyzing = "YES">
|
|
43
|
-
<BuildableReference
|
|
44
|
-
BuildableIdentifier = "primary"
|
|
45
|
-
BlueprintIdentifier = "00E356ED1AD99517003FC87E"
|
|
46
|
-
BuildableName = "<%- helper.getPascalCaseName(appName) %>Tests.xctest"
|
|
47
|
-
BlueprintName = "<%- helper.getPascalCaseName(appName) %>Tests"
|
|
48
|
-
ReferencedContainer = "container:<%- helper.getPascalCaseName(appName) %>.xcodeproj">
|
|
49
|
-
</BuildableReference>
|
|
50
|
-
</BuildActionEntry>
|
|
51
|
-
</BuildActionEntries>
|
|
52
|
-
</BuildAction>
|
|
53
|
-
<TestAction
|
|
54
|
-
buildConfiguration = "Debug"
|
|
55
|
-
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
|
56
|
-
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
|
57
|
-
shouldUseLaunchSchemeArgsEnv = "YES">
|
|
58
|
-
<Testables>
|
|
59
|
-
<TestableReference
|
|
60
|
-
skipped = "NO">
|
|
61
|
-
<BuildableReference
|
|
62
|
-
BuildableIdentifier = "primary"
|
|
63
|
-
BlueprintIdentifier = "00E356ED1AD99517003FC87E"
|
|
64
|
-
BuildableName = "<%- helper.getPascalCaseName(appName) %>Tests.xctest"
|
|
65
|
-
BlueprintName = "<%- helper.getPascalCaseName(appName) %>Tests"
|
|
66
|
-
ReferencedContainer = "container:<%- helper.getPascalCaseName(appName) %>.xcodeproj">
|
|
67
|
-
</BuildableReference>
|
|
68
|
-
</TestableReference>
|
|
69
|
-
</Testables>
|
|
70
|
-
<MacroExpansion>
|
|
71
|
-
<BuildableReference
|
|
72
|
-
BuildableIdentifier = "primary"
|
|
73
|
-
BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
|
|
74
|
-
BuildableName = "<%- helper.getPascalCaseName(appName) %>.app"
|
|
75
|
-
BlueprintName = "<%- helper.getPascalCaseName(appName) %>"
|
|
76
|
-
ReferencedContainer = "container:<%- helper.getPascalCaseName(appName) %>.xcodeproj">
|
|
77
|
-
</BuildableReference>
|
|
78
|
-
</MacroExpansion>
|
|
79
|
-
<AdditionalOptions>
|
|
80
|
-
</AdditionalOptions>
|
|
81
|
-
</TestAction>
|
|
82
|
-
<LaunchAction
|
|
83
|
-
buildConfiguration = "Debug"
|
|
84
|
-
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
|
85
|
-
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
|
86
|
-
launchStyle = "0"
|
|
87
|
-
useCustomWorkingDirectory = "NO"
|
|
88
|
-
ignoresPersistentStateOnLaunch = "NO"
|
|
89
|
-
debugDocumentVersioning = "YES"
|
|
90
|
-
debugServiceExtension = "internal"
|
|
91
|
-
allowLocationSimulation = "YES">
|
|
92
|
-
<BuildableProductRunnable
|
|
93
|
-
runnableDebuggingMode = "0">
|
|
94
|
-
<BuildableReference
|
|
95
|
-
BuildableIdentifier = "primary"
|
|
96
|
-
BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
|
|
97
|
-
BuildableName = "<%- helper.getPascalCaseName(appName) %>.app"
|
|
98
|
-
BlueprintName = "<%- helper.getPascalCaseName(appName) %>"
|
|
99
|
-
ReferencedContainer = "container:<%- helper.getPascalCaseName(appName) %>.xcodeproj">
|
|
100
|
-
</BuildableReference>
|
|
101
|
-
</BuildableProductRunnable>
|
|
102
|
-
<AdditionalOptions>
|
|
103
|
-
</AdditionalOptions>
|
|
104
|
-
</LaunchAction>
|
|
105
|
-
<ProfileAction
|
|
106
|
-
buildConfiguration = "Release"
|
|
107
|
-
shouldUseLaunchSchemeArgsEnv = "YES"
|
|
108
|
-
savedToolIdentifier = ""
|
|
109
|
-
useCustomWorkingDirectory = "NO"
|
|
110
|
-
debugDocumentVersioning = "YES">
|
|
111
|
-
<BuildableProductRunnable
|
|
112
|
-
runnableDebuggingMode = "0">
|
|
113
|
-
<BuildableReference
|
|
114
|
-
BuildableIdentifier = "primary"
|
|
115
|
-
BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
|
|
116
|
-
BuildableName = "<%- helper.getPascalCaseName(appName) %>.app"
|
|
117
|
-
BlueprintName = "<%- helper.getPascalCaseName(appName) %>"
|
|
118
|
-
ReferencedContainer = "container:<%- helper.getPascalCaseName(appName) %>.xcodeproj">
|
|
119
|
-
</BuildableReference>
|
|
120
|
-
</BuildableProductRunnable>
|
|
121
|
-
</ProfileAction>
|
|
122
|
-
<AnalyzeAction
|
|
123
|
-
buildConfiguration = "Debug">
|
|
124
|
-
</AnalyzeAction>
|
|
125
|
-
<ArchiveAction
|
|
126
|
-
buildConfiguration = "Release"
|
|
127
|
-
revealArchiveInOrganizer = "YES">
|
|
128
|
-
</ArchiveAction>
|
|
129
|
-
</Scheme>
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<Scheme
|
|
3
|
+
LastUpgradeVersion = "0940"
|
|
4
|
+
version = "1.3">
|
|
5
|
+
<BuildAction
|
|
6
|
+
parallelizeBuildables = "NO"
|
|
7
|
+
buildImplicitDependencies = "YES">
|
|
8
|
+
<BuildActionEntries>
|
|
9
|
+
<BuildActionEntry
|
|
10
|
+
buildForTesting = "YES"
|
|
11
|
+
buildForRunning = "YES"
|
|
12
|
+
buildForProfiling = "YES"
|
|
13
|
+
buildForArchiving = "YES"
|
|
14
|
+
buildForAnalyzing = "YES">
|
|
15
|
+
<BuildableReference
|
|
16
|
+
BuildableIdentifier = "primary"
|
|
17
|
+
BlueprintIdentifier = "83CBBA2D1A601D0E00E9B192"
|
|
18
|
+
BuildableName = "libReact.a"
|
|
19
|
+
BlueprintName = "React"
|
|
20
|
+
ReferencedContainer = "container:../node_modules/react-native/React/React.xcodeproj">
|
|
21
|
+
</BuildableReference>
|
|
22
|
+
</BuildActionEntry>
|
|
23
|
+
<BuildActionEntry
|
|
24
|
+
buildForTesting = "YES"
|
|
25
|
+
buildForRunning = "YES"
|
|
26
|
+
buildForProfiling = "YES"
|
|
27
|
+
buildForArchiving = "YES"
|
|
28
|
+
buildForAnalyzing = "YES">
|
|
29
|
+
<BuildableReference
|
|
30
|
+
BuildableIdentifier = "primary"
|
|
31
|
+
BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
|
|
32
|
+
BuildableName = "<%- helper.getPascalCaseName(appName) %>.app"
|
|
33
|
+
BlueprintName = "<%- helper.getPascalCaseName(appName) %>"
|
|
34
|
+
ReferencedContainer = "container:<%- helper.getPascalCaseName(appName) %>.xcodeproj">
|
|
35
|
+
</BuildableReference>
|
|
36
|
+
</BuildActionEntry>
|
|
37
|
+
<BuildActionEntry
|
|
38
|
+
buildForTesting = "YES"
|
|
39
|
+
buildForRunning = "YES"
|
|
40
|
+
buildForProfiling = "NO"
|
|
41
|
+
buildForArchiving = "NO"
|
|
42
|
+
buildForAnalyzing = "YES">
|
|
43
|
+
<BuildableReference
|
|
44
|
+
BuildableIdentifier = "primary"
|
|
45
|
+
BlueprintIdentifier = "00E356ED1AD99517003FC87E"
|
|
46
|
+
BuildableName = "<%- helper.getPascalCaseName(appName) %>Tests.xctest"
|
|
47
|
+
BlueprintName = "<%- helper.getPascalCaseName(appName) %>Tests"
|
|
48
|
+
ReferencedContainer = "container:<%- helper.getPascalCaseName(appName) %>.xcodeproj">
|
|
49
|
+
</BuildableReference>
|
|
50
|
+
</BuildActionEntry>
|
|
51
|
+
</BuildActionEntries>
|
|
52
|
+
</BuildAction>
|
|
53
|
+
<TestAction
|
|
54
|
+
buildConfiguration = "Debug"
|
|
55
|
+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
|
56
|
+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
|
57
|
+
shouldUseLaunchSchemeArgsEnv = "YES">
|
|
58
|
+
<Testables>
|
|
59
|
+
<TestableReference
|
|
60
|
+
skipped = "NO">
|
|
61
|
+
<BuildableReference
|
|
62
|
+
BuildableIdentifier = "primary"
|
|
63
|
+
BlueprintIdentifier = "00E356ED1AD99517003FC87E"
|
|
64
|
+
BuildableName = "<%- helper.getPascalCaseName(appName) %>Tests.xctest"
|
|
65
|
+
BlueprintName = "<%- helper.getPascalCaseName(appName) %>Tests"
|
|
66
|
+
ReferencedContainer = "container:<%- helper.getPascalCaseName(appName) %>.xcodeproj">
|
|
67
|
+
</BuildableReference>
|
|
68
|
+
</TestableReference>
|
|
69
|
+
</Testables>
|
|
70
|
+
<MacroExpansion>
|
|
71
|
+
<BuildableReference
|
|
72
|
+
BuildableIdentifier = "primary"
|
|
73
|
+
BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
|
|
74
|
+
BuildableName = "<%- helper.getPascalCaseName(appName) %>.app"
|
|
75
|
+
BlueprintName = "<%- helper.getPascalCaseName(appName) %>"
|
|
76
|
+
ReferencedContainer = "container:<%- helper.getPascalCaseName(appName) %>.xcodeproj">
|
|
77
|
+
</BuildableReference>
|
|
78
|
+
</MacroExpansion>
|
|
79
|
+
<AdditionalOptions>
|
|
80
|
+
</AdditionalOptions>
|
|
81
|
+
</TestAction>
|
|
82
|
+
<LaunchAction
|
|
83
|
+
buildConfiguration = "Debug"
|
|
84
|
+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
|
85
|
+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
|
86
|
+
launchStyle = "0"
|
|
87
|
+
useCustomWorkingDirectory = "NO"
|
|
88
|
+
ignoresPersistentStateOnLaunch = "NO"
|
|
89
|
+
debugDocumentVersioning = "YES"
|
|
90
|
+
debugServiceExtension = "internal"
|
|
91
|
+
allowLocationSimulation = "YES">
|
|
92
|
+
<BuildableProductRunnable
|
|
93
|
+
runnableDebuggingMode = "0">
|
|
94
|
+
<BuildableReference
|
|
95
|
+
BuildableIdentifier = "primary"
|
|
96
|
+
BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
|
|
97
|
+
BuildableName = "<%- helper.getPascalCaseName(appName) %>.app"
|
|
98
|
+
BlueprintName = "<%- helper.getPascalCaseName(appName) %>"
|
|
99
|
+
ReferencedContainer = "container:<%- helper.getPascalCaseName(appName) %>.xcodeproj">
|
|
100
|
+
</BuildableReference>
|
|
101
|
+
</BuildableProductRunnable>
|
|
102
|
+
<AdditionalOptions>
|
|
103
|
+
</AdditionalOptions>
|
|
104
|
+
</LaunchAction>
|
|
105
|
+
<ProfileAction
|
|
106
|
+
buildConfiguration = "Release"
|
|
107
|
+
shouldUseLaunchSchemeArgsEnv = "YES"
|
|
108
|
+
savedToolIdentifier = ""
|
|
109
|
+
useCustomWorkingDirectory = "NO"
|
|
110
|
+
debugDocumentVersioning = "YES">
|
|
111
|
+
<BuildableProductRunnable
|
|
112
|
+
runnableDebuggingMode = "0">
|
|
113
|
+
<BuildableReference
|
|
114
|
+
BuildableIdentifier = "primary"
|
|
115
|
+
BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
|
|
116
|
+
BuildableName = "<%- helper.getPascalCaseName(appName) %>.app"
|
|
117
|
+
BlueprintName = "<%- helper.getPascalCaseName(appName) %>"
|
|
118
|
+
ReferencedContainer = "container:<%- helper.getPascalCaseName(appName) %>.xcodeproj">
|
|
119
|
+
</BuildableReference>
|
|
120
|
+
</BuildableProductRunnable>
|
|
121
|
+
</ProfileAction>
|
|
122
|
+
<AnalyzeAction
|
|
123
|
+
buildConfiguration = "Debug">
|
|
124
|
+
</AnalyzeAction>
|
|
125
|
+
<ArchiveAction
|
|
126
|
+
buildConfiguration = "Release"
|
|
127
|
+
revealArchiveInOrganizer = "YES">
|
|
128
|
+
</ArchiveAction>
|
|
129
|
+
</Scheme>
|
|
@@ -1,72 +1,72 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
3
|
-
*
|
|
4
|
-
* This source code is licensed under the MIT license found in the
|
|
5
|
-
* LICENSE file in the root directory of this source tree.
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
#import <UIKit/UIKit.h>
|
|
9
|
-
#import <XCTest/XCTest.h>
|
|
10
|
-
|
|
11
|
-
#import <React/RCTLog.h>
|
|
12
|
-
#import <React/RCTRootView.h>
|
|
13
|
-
|
|
14
|
-
#define TIMEOUT_SECONDS 600
|
|
15
|
-
#define TEXT_TO_LOOK_FOR @"Welcome to React"
|
|
16
|
-
|
|
17
|
-
@interface <%- helper.getPascalCaseName(appName) %>Tests : XCTestCase
|
|
18
|
-
|
|
19
|
-
@end
|
|
20
|
-
|
|
21
|
-
@implementation <%- helper.getPascalCaseName(appName) %>Tests
|
|
22
|
-
|
|
23
|
-
- (BOOL)findSubviewInView:(UIView *)view matching:(BOOL(^)(UIView *view))test
|
|
24
|
-
{
|
|
25
|
-
if (test(view)) {
|
|
26
|
-
return YES;
|
|
27
|
-
}
|
|
28
|
-
for (UIView *subview in [view subviews]) {
|
|
29
|
-
if ([self findSubviewInView:subview matching:test]) {
|
|
30
|
-
return YES;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
return NO;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
- (void)testRendersWelcomeScreen
|
|
37
|
-
{
|
|
38
|
-
UIViewController *vc = [[[RCTSharedApplication() delegate] window] rootViewController];
|
|
39
|
-
NSDate *date = [NSDate dateWithTimeIntervalSinceNow:TIMEOUT_SECONDS];
|
|
40
|
-
BOOL foundElement = NO;
|
|
41
|
-
|
|
42
|
-
__block NSString *redboxError = nil;
|
|
43
|
-
#ifdef DEBUG
|
|
44
|
-
RCTSetLogFunction(^(RCTLogLevel level, RCTLogSource source, NSString *fileName, NSNumber *lineNumber, NSString *message) {
|
|
45
|
-
if (level >= RCTLogLevelError) {
|
|
46
|
-
redboxError = message;
|
|
47
|
-
}
|
|
48
|
-
});
|
|
49
|
-
#endif
|
|
50
|
-
|
|
51
|
-
while ([date timeIntervalSinceNow] > 0 && !foundElement && !redboxError) {
|
|
52
|
-
[[NSRunLoop mainRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]];
|
|
53
|
-
[[NSRunLoop mainRunLoop] runMode:NSRunLoopCommonModes beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]];
|
|
54
|
-
|
|
55
|
-
foundElement = [self findSubviewInView:vc.view matching:^BOOL(UIView *view) {
|
|
56
|
-
if ([view.accessibilityLabel isEqualToString:TEXT_TO_LOOK_FOR]) {
|
|
57
|
-
return YES;
|
|
58
|
-
}
|
|
59
|
-
return NO;
|
|
60
|
-
}];
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
#ifdef DEBUG
|
|
64
|
-
RCTSetLogFunction(RCTDefaultLogFunction);
|
|
65
|
-
#endif
|
|
66
|
-
|
|
67
|
-
XCTAssertNil(redboxError, @"RedBox error: %@", redboxError);
|
|
68
|
-
XCTAssertTrue(foundElement, @"Couldn't find element with text '%@' in %d seconds", TEXT_TO_LOOK_FOR, TIMEOUT_SECONDS);
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
@end
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
#import <UIKit/UIKit.h>
|
|
9
|
+
#import <XCTest/XCTest.h>
|
|
10
|
+
|
|
11
|
+
#import <React/RCTLog.h>
|
|
12
|
+
#import <React/RCTRootView.h>
|
|
13
|
+
|
|
14
|
+
#define TIMEOUT_SECONDS 600
|
|
15
|
+
#define TEXT_TO_LOOK_FOR @"Welcome to React"
|
|
16
|
+
|
|
17
|
+
@interface <%- helper.getPascalCaseName(appName) %>Tests : XCTestCase
|
|
18
|
+
|
|
19
|
+
@end
|
|
20
|
+
|
|
21
|
+
@implementation <%- helper.getPascalCaseName(appName) %>Tests
|
|
22
|
+
|
|
23
|
+
- (BOOL)findSubviewInView:(UIView *)view matching:(BOOL(^)(UIView *view))test
|
|
24
|
+
{
|
|
25
|
+
if (test(view)) {
|
|
26
|
+
return YES;
|
|
27
|
+
}
|
|
28
|
+
for (UIView *subview in [view subviews]) {
|
|
29
|
+
if ([self findSubviewInView:subview matching:test]) {
|
|
30
|
+
return YES;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
return NO;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
- (void)testRendersWelcomeScreen
|
|
37
|
+
{
|
|
38
|
+
UIViewController *vc = [[[RCTSharedApplication() delegate] window] rootViewController];
|
|
39
|
+
NSDate *date = [NSDate dateWithTimeIntervalSinceNow:TIMEOUT_SECONDS];
|
|
40
|
+
BOOL foundElement = NO;
|
|
41
|
+
|
|
42
|
+
__block NSString *redboxError = nil;
|
|
43
|
+
#ifdef DEBUG
|
|
44
|
+
RCTSetLogFunction(^(RCTLogLevel level, RCTLogSource source, NSString *fileName, NSNumber *lineNumber, NSString *message) {
|
|
45
|
+
if (level >= RCTLogLevelError) {
|
|
46
|
+
redboxError = message;
|
|
47
|
+
}
|
|
48
|
+
});
|
|
49
|
+
#endif
|
|
50
|
+
|
|
51
|
+
while ([date timeIntervalSinceNow] > 0 && !foundElement && !redboxError) {
|
|
52
|
+
[[NSRunLoop mainRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]];
|
|
53
|
+
[[NSRunLoop mainRunLoop] runMode:NSRunLoopCommonModes beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]];
|
|
54
|
+
|
|
55
|
+
foundElement = [self findSubviewInView:vc.view matching:^BOOL(UIView *view) {
|
|
56
|
+
if ([view.accessibilityLabel isEqualToString:TEXT_TO_LOOK_FOR]) {
|
|
57
|
+
return YES;
|
|
58
|
+
}
|
|
59
|
+
return NO;
|
|
60
|
+
}];
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
#ifdef DEBUG
|
|
64
|
+
RCTSetLogFunction(RCTDefaultLogFunction);
|
|
65
|
+
#endif
|
|
66
|
+
|
|
67
|
+
XCTAssertNil(redboxError, @"RedBox error: %@", redboxError);
|
|
68
|
+
XCTAssertTrue(foundElement, @"Couldn't find element with text '%@' in %d seconds", TEXT_TO_LOOK_FOR, TIMEOUT_SECONDS);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
@end
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
3
|
-
<plist version="1.0">
|
|
4
|
-
<dict>
|
|
5
|
-
<key>CFBundleDevelopmentRegion</key>
|
|
6
|
-
<string>en</string>
|
|
7
|
-
<key>CFBundleExecutable</key>
|
|
8
|
-
<string>$(EXECUTABLE_NAME)</string>
|
|
9
|
-
<key>CFBundleIdentifier</key>
|
|
10
|
-
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
|
|
11
|
-
<key>CFBundleInfoDictionaryVersion</key>
|
|
12
|
-
<string>6.0</string>
|
|
13
|
-
<key>CFBundleName</key>
|
|
14
|
-
<string>$(PRODUCT_NAME)</string>
|
|
15
|
-
<key>CFBundlePackageType</key>
|
|
16
|
-
<string>BNDL</string>
|
|
17
|
-
<key>CFBundleShortVersionString</key>
|
|
18
|
-
<string>1.0</string>
|
|
19
|
-
<key>CFBundleSignature</key>
|
|
20
|
-
<string>????</string>
|
|
21
|
-
<key>CFBundleVersion</key>
|
|
22
|
-
<string>1</string>
|
|
23
|
-
</dict>
|
|
24
|
-
</plist>
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
3
|
+
<plist version="1.0">
|
|
4
|
+
<dict>
|
|
5
|
+
<key>CFBundleDevelopmentRegion</key>
|
|
6
|
+
<string>en</string>
|
|
7
|
+
<key>CFBundleExecutable</key>
|
|
8
|
+
<string>$(EXECUTABLE_NAME)</string>
|
|
9
|
+
<key>CFBundleIdentifier</key>
|
|
10
|
+
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
|
|
11
|
+
<key>CFBundleInfoDictionaryVersion</key>
|
|
12
|
+
<string>6.0</string>
|
|
13
|
+
<key>CFBundleName</key>
|
|
14
|
+
<string>$(PRODUCT_NAME)</string>
|
|
15
|
+
<key>CFBundlePackageType</key>
|
|
16
|
+
<string>BNDL</string>
|
|
17
|
+
<key>CFBundleShortVersionString</key>
|
|
18
|
+
<string>1.0</string>
|
|
19
|
+
<key>CFBundleSignature</key>
|
|
20
|
+
<string>????</string>
|
|
21
|
+
<key>CFBundleVersion</key>
|
|
22
|
+
<string>1</string>
|
|
23
|
+
</dict>
|
|
24
|
+
</plist>
|
|
@@ -1,78 +1,78 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "<%- appName %>",
|
|
3
|
-
"version": "0.1.0",
|
|
4
|
-
"description": "A basic React Native app utilizing Sitecore JavaScript Services",
|
|
5
|
-
"config": {
|
|
6
|
-
"appName": "<%- appName %>",
|
|
7
|
-
"rootPlaceholders": [
|
|
8
|
-
"jss-main"
|
|
9
|
-
],
|
|
10
|
-
"sitecoreConfigPath": "/App_Config/Include/zzz",
|
|
11
|
-
"language": "en"
|
|
12
|
-
},
|
|
13
|
-
"scripts": {
|
|
14
|
-
"jss": "jss",
|
|
15
|
-
"clean:android": "cd ./android && gradlew clean && cd ..",
|
|
16
|
-
"start-android": "jss clean:android && node ./build/start.js --platform android",
|
|
17
|
-
"start-android:connected": "scjss-verify-setup && jss clean:android && node ./build/start.js --platform android --appMode connected",
|
|
18
|
-
"start-android:connected-tunnel": "scjss-verify-setup && jss clean:android && node ./build/start.js --platform android --appMode connected-tunnel",
|
|
19
|
-
"start-ios": "node ./build/start.js --platform ios",
|
|
20
|
-
"start-ios:connected": "scjss-verify-setup && node ./build/start.js --platform ios --appMode connected",
|
|
21
|
-
"start-ios:connected-tunnel": "scjss-verify-setup && node ./build/start.js --platform ios --appMode connected-tunnel",
|
|
22
|
-
"lint": "eslint ./src/**/*.js ./sitecore/definitions/**/*.js"
|
|
23
|
-
},
|
|
24
|
-
"dependencies": {
|
|
25
|
-
"@react-native-community/masked-view": "^0.1.10",
|
|
26
|
-
"@sitecore-jss/sitecore-jss-react-native": "<%- version %>",
|
|
27
|
-
"prop-types": "^15.6.0",
|
|
28
|
-
"react": "16.13.1",
|
|
29
|
-
"react-native": "^0.63.4",
|
|
30
|
-
"react-native-gesture-handler": "^1.10.3",
|
|
31
|
-
"react-native-safe-area-context": "^3.2.0",
|
|
32
|
-
"react-native-screens": "^2.18.1",
|
|
33
|
-
"react-native-svg": "^5.3.0",
|
|
34
|
-
"react-native-svg-uri": "^1.2.3",
|
|
35
|
-
"react-navigation": "^4.4.4",
|
|
36
|
-
"react-navigation-stack": "^2.10.4"
|
|
37
|
-
},
|
|
38
|
-
"private": true,
|
|
39
|
-
"devDependencies": {
|
|
40
|
-
"@sitecore-jss/sitecore-jss-cli": "<%- version %>",
|
|
41
|
-
"@sitecore-jss/sitecore-jss-dev-tools": "<%- version %>",
|
|
42
|
-
"babel-core": "^6.26.0",
|
|
43
|
-
"babel-eslint": "^8.2.1",
|
|
44
|
-
"babel-plugin-inline-replace-variables": "^1.3.1",
|
|
45
|
-
"babel-plugin-module-resolver": "^3.0.0-beta",
|
|
46
|
-
"babel-plugin-transform-define": "^2.0.0",
|
|
47
|
-
"babel-preset-env": "^1.7.0",
|
|
48
|
-
"babel-preset-react-native": "4.0.0",
|
|
49
|
-
"cross-env": "^5.1.3",
|
|
50
|
-
"cross-spawn": "^6.0.3",
|
|
51
|
-
"eslint": "^7.15.0",
|
|
52
|
-
"eslint-config-airbnb-base": "^15.0.0",
|
|
53
|
-
"eslint-config-prettier": "^3.0.1",
|
|
54
|
-
"eslint-import-resolver-babel-module": "^4.0.0",
|
|
55
|
-
"eslint-plugin-import": "^2.14.0",
|
|
56
|
-
"eslint-plugin-prettier": "^2.6.2",
|
|
57
|
-
"eslint-plugin-react": "^7.11.1",
|
|
58
|
-
"eslint-plugin-react-native": "^3.2.1",
|
|
59
|
-
"ngrok": "^3.4.1",
|
|
60
|
-
"prettier": "^1.14.2"
|
|
61
|
-
},
|
|
62
|
-
"optionalDependencies": {
|
|
63
|
-
"ttab": "^0.6.1"
|
|
64
|
-
},
|
|
65
|
-
"author": {
|
|
66
|
-
"name": "Sitecore Corporation",
|
|
67
|
-
"url": "https://jss.sitecore.com"
|
|
68
|
-
},
|
|
69
|
-
"repository": {
|
|
70
|
-
"type": "git",
|
|
71
|
-
"url": "git+https://github.com/sitecore/jss.git"
|
|
72
|
-
},
|
|
73
|
-
"bugs": {
|
|
74
|
-
"url": "https://github.com/sitecore/jss/issues"
|
|
75
|
-
},
|
|
76
|
-
"homepage": "https://jss.sitecore.com",
|
|
77
|
-
"license": "Apache-2.0"
|
|
78
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "<%- appName %>",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "A basic React Native app utilizing Sitecore JavaScript Services",
|
|
5
|
+
"config": {
|
|
6
|
+
"appName": "<%- appName %>",
|
|
7
|
+
"rootPlaceholders": [
|
|
8
|
+
"jss-main"
|
|
9
|
+
],
|
|
10
|
+
"sitecoreConfigPath": "/App_Config/Include/zzz",
|
|
11
|
+
"language": "en"
|
|
12
|
+
},
|
|
13
|
+
"scripts": {
|
|
14
|
+
"jss": "jss",
|
|
15
|
+
"clean:android": "cd ./android && gradlew clean && cd ..",
|
|
16
|
+
"start-android": "jss clean:android && node ./build/start.js --platform android",
|
|
17
|
+
"start-android:connected": "scjss-verify-setup && jss clean:android && node ./build/start.js --platform android --appMode connected",
|
|
18
|
+
"start-android:connected-tunnel": "scjss-verify-setup && jss clean:android && node ./build/start.js --platform android --appMode connected-tunnel",
|
|
19
|
+
"start-ios": "node ./build/start.js --platform ios",
|
|
20
|
+
"start-ios:connected": "scjss-verify-setup && node ./build/start.js --platform ios --appMode connected",
|
|
21
|
+
"start-ios:connected-tunnel": "scjss-verify-setup && node ./build/start.js --platform ios --appMode connected-tunnel",
|
|
22
|
+
"lint": "eslint ./src/**/*.js ./sitecore/definitions/**/*.js"
|
|
23
|
+
},
|
|
24
|
+
"dependencies": {
|
|
25
|
+
"@react-native-community/masked-view": "^0.1.10",
|
|
26
|
+
"@sitecore-jss/sitecore-jss-react-native": "<%- version %>",
|
|
27
|
+
"prop-types": "^15.6.0",
|
|
28
|
+
"react": "16.13.1",
|
|
29
|
+
"react-native": "^0.63.4",
|
|
30
|
+
"react-native-gesture-handler": "^1.10.3",
|
|
31
|
+
"react-native-safe-area-context": "^3.2.0",
|
|
32
|
+
"react-native-screens": "^2.18.1",
|
|
33
|
+
"react-native-svg": "^5.3.0",
|
|
34
|
+
"react-native-svg-uri": "^1.2.3",
|
|
35
|
+
"react-navigation": "^4.4.4",
|
|
36
|
+
"react-navigation-stack": "^2.10.4"
|
|
37
|
+
},
|
|
38
|
+
"private": true,
|
|
39
|
+
"devDependencies": {
|
|
40
|
+
"@sitecore-jss/sitecore-jss-cli": "<%- version %>",
|
|
41
|
+
"@sitecore-jss/sitecore-jss-dev-tools": "<%- version %>",
|
|
42
|
+
"babel-core": "^6.26.0",
|
|
43
|
+
"babel-eslint": "^8.2.1",
|
|
44
|
+
"babel-plugin-inline-replace-variables": "^1.3.1",
|
|
45
|
+
"babel-plugin-module-resolver": "^3.0.0-beta",
|
|
46
|
+
"babel-plugin-transform-define": "^2.0.0",
|
|
47
|
+
"babel-preset-env": "^1.7.0",
|
|
48
|
+
"babel-preset-react-native": "4.0.0",
|
|
49
|
+
"cross-env": "^5.1.3",
|
|
50
|
+
"cross-spawn": "^6.0.3",
|
|
51
|
+
"eslint": "^7.15.0",
|
|
52
|
+
"eslint-config-airbnb-base": "^15.0.0",
|
|
53
|
+
"eslint-config-prettier": "^3.0.1",
|
|
54
|
+
"eslint-import-resolver-babel-module": "^4.0.0",
|
|
55
|
+
"eslint-plugin-import": "^2.14.0",
|
|
56
|
+
"eslint-plugin-prettier": "^2.6.2",
|
|
57
|
+
"eslint-plugin-react": "^7.11.1",
|
|
58
|
+
"eslint-plugin-react-native": "^3.2.1",
|
|
59
|
+
"ngrok": "^3.4.1",
|
|
60
|
+
"prettier": "^1.14.2"
|
|
61
|
+
},
|
|
62
|
+
"optionalDependencies": {
|
|
63
|
+
"ttab": "^0.6.1"
|
|
64
|
+
},
|
|
65
|
+
"author": {
|
|
66
|
+
"name": "Sitecore Corporation",
|
|
67
|
+
"url": "https://jss.sitecore.com"
|
|
68
|
+
},
|
|
69
|
+
"repository": {
|
|
70
|
+
"type": "git",
|
|
71
|
+
"url": "git+https://github.com/sitecore/jss.git"
|
|
72
|
+
},
|
|
73
|
+
"bugs": {
|
|
74
|
+
"url": "https://github.com/sitecore/jss/issues"
|
|
75
|
+
},
|
|
76
|
+
"homepage": "https://jss.sitecore.com",
|
|
77
|
+
"license": "Apache-2.0"
|
|
78
|
+
}
|