create-expo-module 56.0.2 → 56.0.3
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/build/features.d.ts +11 -1
- package/build/index.js +4 -4
- package/build/templateUtils.d.ts +14 -0
- package/build/types.d.ts +8 -0
- package/package.json +4 -4
package/build/templateUtils.d.ts
CHANGED
|
@@ -39,6 +39,9 @@ export declare function buildAugmentedData(snippetsDir: string, data: Substituti
|
|
|
39
39
|
appReactImportSnippets: string;
|
|
40
40
|
appHookSnippets: string;
|
|
41
41
|
appJSXSnippets: string;
|
|
42
|
+
usesSwiftUI: boolean;
|
|
43
|
+
usesCompose: boolean;
|
|
44
|
+
usesExpoUI: boolean;
|
|
42
45
|
project: {
|
|
43
46
|
slug: string;
|
|
44
47
|
name: string;
|
|
@@ -47,6 +50,10 @@ export declare function buildAugmentedData(snippetsDir: string, data: Substituti
|
|
|
47
50
|
package: string;
|
|
48
51
|
moduleName: string;
|
|
49
52
|
viewName: string;
|
|
53
|
+
swiftUIViewName: string;
|
|
54
|
+
swiftUIModifierName: string;
|
|
55
|
+
composeViewName: string;
|
|
56
|
+
composeModifierName: string;
|
|
50
57
|
sharedObjectName: string;
|
|
51
58
|
platforms: Platform[];
|
|
52
59
|
features: import("./features").Feature[];
|
|
@@ -68,12 +75,19 @@ export declare function buildAugmentedData(snippetsDir: string, data: Substituti
|
|
|
68
75
|
appReactImportSnippets: string;
|
|
69
76
|
appHookSnippets: string;
|
|
70
77
|
appJSXSnippets: string;
|
|
78
|
+
usesSwiftUI: boolean;
|
|
79
|
+
usesCompose: boolean;
|
|
80
|
+
usesExpoUI: boolean;
|
|
71
81
|
project: {
|
|
72
82
|
slug: string;
|
|
73
83
|
name: string;
|
|
74
84
|
package: string;
|
|
75
85
|
moduleName: string;
|
|
76
86
|
viewName: string;
|
|
87
|
+
swiftUIViewName: string;
|
|
88
|
+
swiftUIModifierName: string;
|
|
89
|
+
composeViewName: string;
|
|
90
|
+
composeModifierName: string;
|
|
77
91
|
sharedObjectName: string;
|
|
78
92
|
platforms: Platform[];
|
|
79
93
|
features: import("./features").Feature[];
|
package/build/types.d.ts
CHANGED
|
@@ -40,6 +40,10 @@ export type SubstitutionData = {
|
|
|
40
40
|
package: string;
|
|
41
41
|
moduleName: string;
|
|
42
42
|
viewName: string;
|
|
43
|
+
swiftUIViewName: string;
|
|
44
|
+
swiftUIModifierName: string;
|
|
45
|
+
composeViewName: string;
|
|
46
|
+
composeModifierName: string;
|
|
43
47
|
sharedObjectName: string;
|
|
44
48
|
platforms: Platform[];
|
|
45
49
|
features: Feature[];
|
|
@@ -56,6 +60,10 @@ export type LocalSubstitutionData = {
|
|
|
56
60
|
package: string;
|
|
57
61
|
moduleName: string;
|
|
58
62
|
viewName: string;
|
|
63
|
+
swiftUIViewName: string;
|
|
64
|
+
swiftUIModifierName: string;
|
|
65
|
+
composeViewName: string;
|
|
66
|
+
composeModifierName: string;
|
|
59
67
|
sharedObjectName: string;
|
|
60
68
|
platforms: Platform[];
|
|
61
69
|
features: Feature[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-expo-module",
|
|
3
|
-
"version": "56.0.
|
|
3
|
+
"version": "56.0.3",
|
|
4
4
|
"description": "The script to create the Expo module",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"expo",
|
|
@@ -52,10 +52,10 @@
|
|
|
52
52
|
"prompts": "^2.4.2",
|
|
53
53
|
"multitars": "^1.0.0",
|
|
54
54
|
"validate-npm-package-name": "^6.0.2",
|
|
55
|
-
"expo-
|
|
56
|
-
"
|
|
55
|
+
"@expo/json-file": "10.2.0",
|
|
56
|
+
"expo-module-scripts": "56.0.2"
|
|
57
57
|
},
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "7050ee8a4bef8d2617d507225d15bc84d6824007",
|
|
59
59
|
"scripts": {
|
|
60
60
|
"build": "ncc build ./src/index.ts -o build/",
|
|
61
61
|
"build:prod": "ncc build ./src/index.ts -o build/ --minify --no-cache --no-source-map-register",
|