create-nativue 0.13.0 → 0.15.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/README.md +13 -3
- package/index.mjs +165 -45
- package/package.json +2 -2
- package/template/app/gitignore +7 -0
- package/template/app/nativue.config.ts +10 -0
- package/template/package/README.md +26 -0
- package/template/{android/app → package/android}/build.gradle.kts +3 -6
- package/template/package/android/src/main/java/__KOTLIN_PATH__/__PASCAL__Plugin.kt +13 -0
- package/template/package/gitignore +2 -0
- package/template/package/ios/__PASCAL__Plugin.swift +12 -0
- package/template/package/package.json +41 -0
- package/template/package/src/index.ts +4 -0
- package/template/package/tsconfig.json +4 -0
- package/template/android/app/src/debug/AndroidManifest.xml +0 -4
- package/template/android/app/src/main/AndroidManifest.xml +0 -26
- package/template/android/app/src/main/java/MainActivity.kt +0 -5
- package/template/android/app/src/main/res/drawable-night-xxxhdpi/splash_logo.png +0 -0
- package/template/android/app/src/main/res/drawable-xxxhdpi/splash_logo.png +0 -0
- package/template/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml +0 -6
- package/template/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png +0 -0
- package/template/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png +0 -0
- package/template/android/app/src/main/res/values/colors.xml +0 -4
- package/template/android/app/src/main/res/values/strings.xml +0 -3
- package/template/android/app/src/main/res/values/styles.xml +0 -15
- package/template/android/app/src/main/res/values-night/styles.xml +0 -5
- package/template/android/build.gradle.kts +0 -4
- package/template/android/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/template/android/gradle/wrapper/gradle-wrapper.properties +0 -9
- package/template/android/gradle.properties +0 -1
- package/template/android/gradlew +0 -248
- package/template/android/gradlew.bat +0 -112
- package/template/android/settings.gradle.kts +0 -21
- package/template/gitignore +0 -12
- package/template/ios/App/App.swift +0 -12
- package/template/ios/App/Assets.xcassets/AppIcon.appiconset/Contents.json +0 -1
- package/template/ios/App/Assets.xcassets/AppIcon.appiconset/icon.png +0 -0
- package/template/ios/App/Assets.xcassets/Contents.json +0 -1
- package/template/ios/App/Assets.xcassets/LaunchBackground.colorset/Contents.json +0 -38
- package/template/ios/App/Assets.xcassets/LaunchLogo.imageset/Contents.json +0 -11
- package/template/ios/App/Assets.xcassets/LaunchLogo.imageset/logo-dark@1x.png +0 -0
- package/template/ios/App/Assets.xcassets/LaunchLogo.imageset/logo-dark@2x.png +0 -0
- package/template/ios/App/Assets.xcassets/LaunchLogo.imageset/logo-dark@3x.png +0 -0
- package/template/ios/App/Assets.xcassets/LaunchLogo.imageset/logo@1x.png +0 -0
- package/template/ios/App/Assets.xcassets/LaunchLogo.imageset/logo@2x.png +0 -0
- package/template/ios/App/Assets.xcassets/LaunchLogo.imageset/logo@3x.png +0 -0
- package/template/ios/App.xcodeproj/project.pbxproj +0 -250
- package/template/ios/App.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved +0 -15
- package/template/ios/Info.plist +0 -31
- package/template/ios/NativuePlugins/Package.swift +0 -15
- package/template/ios/NativuePlugins/Sources/NativuePlugins/Plugins.swift +0 -4
- /package/template/{.prettierrc.json → app/.prettierrc.json} +0 -0
- /package/template/{AGENTS.md → app/AGENTS.md} +0 -0
- /package/template/{CLAUDE.md → app/CLAUDE.md} +0 -0
- /package/template/{package.json → app/package.json} +0 -0
- /package/template/{src → app/src}/app/_layout.vue +0 -0
- /package/template/{src → app/src}/app/index.vue +0 -0
- /package/template/{src → app/src}/assets/logo-dark.png +0 -0
- /package/template/{src → app/src}/assets/logo.png +0 -0
- /package/template/{src → app/src}/env.d.ts +0 -0
- /package/template/{tsconfig.json → app/tsconfig.json} +0 -0
|
@@ -1,250 +0,0 @@
|
|
|
1
|
-
// !$*UTF8*$!
|
|
2
|
-
{
|
|
3
|
-
archiveVersion = 1;
|
|
4
|
-
classes = {
|
|
5
|
-
};
|
|
6
|
-
objectVersion = 77;
|
|
7
|
-
objects = {
|
|
8
|
-
|
|
9
|
-
/* Begin PBXBuildFile section */
|
|
10
|
-
AA0000000000000000000010 /* NativuePlugins in Frameworks */ = {isa = PBXBuildFile; productRef = AA0000000000000000000012 /* NativuePlugins */; };
|
|
11
|
-
/* End PBXBuildFile section */
|
|
12
|
-
|
|
13
|
-
/* Begin PBXFileReference section */
|
|
14
|
-
AA0000000000000000000001 /* App.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = App.app; sourceTree = BUILT_PRODUCTS_DIR; };
|
|
15
|
-
/* End PBXFileReference section */
|
|
16
|
-
|
|
17
|
-
/* Begin PBXFileSystemSynchronizedRootGroup section */
|
|
18
|
-
AA0000000000000000000002 /* App */ = {
|
|
19
|
-
isa = PBXFileSystemSynchronizedRootGroup;
|
|
20
|
-
path = App;
|
|
21
|
-
sourceTree = "<group>";
|
|
22
|
-
};
|
|
23
|
-
/* End PBXFileSystemSynchronizedRootGroup section */
|
|
24
|
-
|
|
25
|
-
/* Begin PBXFrameworksBuildPhase section */
|
|
26
|
-
AA0000000000000000000003 /* Frameworks */ = {
|
|
27
|
-
isa = PBXFrameworksBuildPhase;
|
|
28
|
-
buildActionMask = 2147483647;
|
|
29
|
-
files = (
|
|
30
|
-
AA0000000000000000000010 /* NativuePlugins in Frameworks */,
|
|
31
|
-
);
|
|
32
|
-
runOnlyForDeploymentPostprocessing = 0;
|
|
33
|
-
};
|
|
34
|
-
/* End PBXFrameworksBuildPhase section */
|
|
35
|
-
|
|
36
|
-
/* Begin PBXGroup section */
|
|
37
|
-
AA0000000000000000000004 = {
|
|
38
|
-
isa = PBXGroup;
|
|
39
|
-
children = (
|
|
40
|
-
AA0000000000000000000002 /* App */,
|
|
41
|
-
AA0000000000000000000005 /* Products */,
|
|
42
|
-
);
|
|
43
|
-
sourceTree = "<group>";
|
|
44
|
-
};
|
|
45
|
-
AA0000000000000000000005 /* Products */ = {
|
|
46
|
-
isa = PBXGroup;
|
|
47
|
-
children = (
|
|
48
|
-
AA0000000000000000000001 /* App.app */,
|
|
49
|
-
);
|
|
50
|
-
name = Products;
|
|
51
|
-
sourceTree = "<group>";
|
|
52
|
-
};
|
|
53
|
-
/* End PBXGroup section */
|
|
54
|
-
|
|
55
|
-
/* Begin PBXNativeTarget section */
|
|
56
|
-
AA0000000000000000000006 /* App */ = {
|
|
57
|
-
isa = PBXNativeTarget;
|
|
58
|
-
buildConfigurationList = AA000000000000000000000A /* Build configuration list for PBXNativeTarget "App" */;
|
|
59
|
-
buildPhases = (
|
|
60
|
-
AA0000000000000000000007 /* Sources */,
|
|
61
|
-
AA0000000000000000000003 /* Frameworks */,
|
|
62
|
-
AA0000000000000000000008 /* Resources */,
|
|
63
|
-
AA0000000000000000000020 /* Write Dev Server Host */,
|
|
64
|
-
);
|
|
65
|
-
buildRules = (
|
|
66
|
-
);
|
|
67
|
-
dependencies = (
|
|
68
|
-
);
|
|
69
|
-
fileSystemSynchronizedGroups = (
|
|
70
|
-
AA0000000000000000000002 /* App */,
|
|
71
|
-
);
|
|
72
|
-
name = App;
|
|
73
|
-
packageProductDependencies = (
|
|
74
|
-
AA0000000000000000000012 /* NativuePlugins */,
|
|
75
|
-
);
|
|
76
|
-
productName = App;
|
|
77
|
-
productReference = AA0000000000000000000001 /* App.app */;
|
|
78
|
-
productType = "com.apple.product-type.application";
|
|
79
|
-
};
|
|
80
|
-
/* End PBXNativeTarget section */
|
|
81
|
-
|
|
82
|
-
/* Begin PBXProject section */
|
|
83
|
-
AA0000000000000000000009 /* Project object */ = {
|
|
84
|
-
isa = PBXProject;
|
|
85
|
-
attributes = {
|
|
86
|
-
BuildIndependentTargetsInParallel = 1;
|
|
87
|
-
LastSwiftUpdateCheck = 1600;
|
|
88
|
-
LastUpgradeCheck = 1600;
|
|
89
|
-
};
|
|
90
|
-
buildConfigurationList = AA000000000000000000000B /* Build configuration list for PBXProject "App" */;
|
|
91
|
-
developmentRegion = en;
|
|
92
|
-
hasScannedForEncodings = 0;
|
|
93
|
-
knownRegions = (
|
|
94
|
-
en,
|
|
95
|
-
Base,
|
|
96
|
-
);
|
|
97
|
-
mainGroup = AA0000000000000000000004;
|
|
98
|
-
minimizedProjectReferenceProxies = 1;
|
|
99
|
-
packageReferences = (
|
|
100
|
-
AA0000000000000000000011 /* XCLocalSwiftPackageReference "NativuePlugins" */,
|
|
101
|
-
);
|
|
102
|
-
preferredProjectObjectVersion = 77;
|
|
103
|
-
productRefGroup = AA0000000000000000000005 /* Products */;
|
|
104
|
-
projectDirPath = "";
|
|
105
|
-
projectRoot = "";
|
|
106
|
-
targets = (
|
|
107
|
-
AA0000000000000000000006 /* App */,
|
|
108
|
-
);
|
|
109
|
-
};
|
|
110
|
-
/* End PBXProject section */
|
|
111
|
-
|
|
112
|
-
/* Begin PBXResourcesBuildPhase section */
|
|
113
|
-
AA0000000000000000000008 /* Resources */ = {
|
|
114
|
-
isa = PBXResourcesBuildPhase;
|
|
115
|
-
buildActionMask = 2147483647;
|
|
116
|
-
files = (
|
|
117
|
-
);
|
|
118
|
-
runOnlyForDeploymentPostprocessing = 0;
|
|
119
|
-
};
|
|
120
|
-
/* End PBXResourcesBuildPhase section */
|
|
121
|
-
|
|
122
|
-
/* Begin PBXShellScriptBuildPhase section */
|
|
123
|
-
AA0000000000000000000020 /* Write Dev Server Host */ = {
|
|
124
|
-
isa = PBXShellScriptBuildPhase;
|
|
125
|
-
alwaysOutOfDate = 1;
|
|
126
|
-
buildActionMask = 2147483647;
|
|
127
|
-
files = (
|
|
128
|
-
);
|
|
129
|
-
inputPaths = (
|
|
130
|
-
);
|
|
131
|
-
name = "Write Dev Server Host";
|
|
132
|
-
outputPaths = (
|
|
133
|
-
"$(TARGET_BUILD_DIR)/$(UNLOCALIZED_RESOURCES_FOLDER_PATH)/dev-server-host.txt",
|
|
134
|
-
);
|
|
135
|
-
runOnlyForDeploymentPostprocessing = 0;
|
|
136
|
-
shellPath = /bin/sh;
|
|
137
|
-
shellScript = "# Lets a physical device reach the dev server on this Mac.\n[ \"$CONFIGURATION\" = \"Debug\" ] || exit 0\necho \"$(scutil --get LocalHostName).local\" > \"$TARGET_BUILD_DIR/$UNLOCALIZED_RESOURCES_FOLDER_PATH/dev-server-host.txt\"\n";
|
|
138
|
-
};
|
|
139
|
-
/* End PBXShellScriptBuildPhase section */
|
|
140
|
-
|
|
141
|
-
/* Begin PBXSourcesBuildPhase section */
|
|
142
|
-
AA0000000000000000000007 /* Sources */ = {
|
|
143
|
-
isa = PBXSourcesBuildPhase;
|
|
144
|
-
buildActionMask = 2147483647;
|
|
145
|
-
files = (
|
|
146
|
-
);
|
|
147
|
-
runOnlyForDeploymentPostprocessing = 0;
|
|
148
|
-
};
|
|
149
|
-
/* End PBXSourcesBuildPhase section */
|
|
150
|
-
|
|
151
|
-
/* Begin XCBuildConfiguration section */
|
|
152
|
-
AA000000000000000000000C /* Debug */ = {
|
|
153
|
-
isa = XCBuildConfiguration;
|
|
154
|
-
buildSettings = {
|
|
155
|
-
ALWAYS_SEARCH_USER_PATHS = NO;
|
|
156
|
-
ENABLE_TESTABILITY = YES;
|
|
157
|
-
IPHONEOS_DEPLOYMENT_TARGET = 15.1;
|
|
158
|
-
ONLY_ACTIVE_ARCH = YES;
|
|
159
|
-
SDKROOT = iphoneos;
|
|
160
|
-
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
|
|
161
|
-
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
|
|
162
|
-
SWIFT_VERSION = 5.0;
|
|
163
|
-
};
|
|
164
|
-
name = Debug;
|
|
165
|
-
};
|
|
166
|
-
AA000000000000000000000D /* Release */ = {
|
|
167
|
-
isa = XCBuildConfiguration;
|
|
168
|
-
buildSettings = {
|
|
169
|
-
ALWAYS_SEARCH_USER_PATHS = NO;
|
|
170
|
-
IPHONEOS_DEPLOYMENT_TARGET = 15.1;
|
|
171
|
-
SDKROOT = iphoneos;
|
|
172
|
-
SWIFT_COMPILATION_MODE = wholemodule;
|
|
173
|
-
SWIFT_VERSION = 5.0;
|
|
174
|
-
VALIDATE_PRODUCT = YES;
|
|
175
|
-
};
|
|
176
|
-
name = Release;
|
|
177
|
-
};
|
|
178
|
-
AA000000000000000000000E /* Debug */ = {
|
|
179
|
-
isa = XCBuildConfiguration;
|
|
180
|
-
buildSettings = {
|
|
181
|
-
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
|
182
|
-
CODE_SIGN_STYLE = Automatic;
|
|
183
|
-
CURRENT_PROJECT_VERSION = 1;
|
|
184
|
-
GENERATE_INFOPLIST_FILE = YES;
|
|
185
|
-
INFOPLIST_FILE = Info.plist;
|
|
186
|
-
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
|
|
187
|
-
INFOPLIST_KEY_CFBundleDisplayName = "__DISPLAY_NAME__";
|
|
188
|
-
MARKETING_VERSION = 0.1;
|
|
189
|
-
PRODUCT_BUNDLE_IDENTIFIER = __BUNDLE_ID__;
|
|
190
|
-
PRODUCT_NAME = "$(TARGET_NAME)";
|
|
191
|
-
TARGETED_DEVICE_FAMILY = "1,2";
|
|
192
|
-
};
|
|
193
|
-
name = Debug;
|
|
194
|
-
};
|
|
195
|
-
AA000000000000000000000F /* Release */ = {
|
|
196
|
-
isa = XCBuildConfiguration;
|
|
197
|
-
buildSettings = {
|
|
198
|
-
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
|
199
|
-
CODE_SIGN_STYLE = Automatic;
|
|
200
|
-
CURRENT_PROJECT_VERSION = 1;
|
|
201
|
-
GENERATE_INFOPLIST_FILE = YES;
|
|
202
|
-
INFOPLIST_FILE = Info.plist;
|
|
203
|
-
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
|
|
204
|
-
INFOPLIST_KEY_CFBundleDisplayName = "__DISPLAY_NAME__";
|
|
205
|
-
MARKETING_VERSION = 0.1;
|
|
206
|
-
PRODUCT_BUNDLE_IDENTIFIER = __BUNDLE_ID__;
|
|
207
|
-
PRODUCT_NAME = "$(TARGET_NAME)";
|
|
208
|
-
TARGETED_DEVICE_FAMILY = "1,2";
|
|
209
|
-
};
|
|
210
|
-
name = Release;
|
|
211
|
-
};
|
|
212
|
-
/* End XCBuildConfiguration section */
|
|
213
|
-
|
|
214
|
-
/* Begin XCConfigurationList section */
|
|
215
|
-
AA000000000000000000000A /* Build configuration list for PBXNativeTarget "App" */ = {
|
|
216
|
-
isa = XCConfigurationList;
|
|
217
|
-
buildConfigurations = (
|
|
218
|
-
AA000000000000000000000E /* Debug */,
|
|
219
|
-
AA000000000000000000000F /* Release */,
|
|
220
|
-
);
|
|
221
|
-
defaultConfigurationIsVisible = 0;
|
|
222
|
-
defaultConfigurationName = Release;
|
|
223
|
-
};
|
|
224
|
-
AA000000000000000000000B /* Build configuration list for PBXProject "App" */ = {
|
|
225
|
-
isa = XCConfigurationList;
|
|
226
|
-
buildConfigurations = (
|
|
227
|
-
AA000000000000000000000C /* Debug */,
|
|
228
|
-
AA000000000000000000000D /* Release */,
|
|
229
|
-
);
|
|
230
|
-
defaultConfigurationIsVisible = 0;
|
|
231
|
-
defaultConfigurationName = Release;
|
|
232
|
-
};
|
|
233
|
-
/* End XCConfigurationList section */
|
|
234
|
-
|
|
235
|
-
/* Begin XCLocalSwiftPackageReference section */
|
|
236
|
-
AA0000000000000000000011 /* XCLocalSwiftPackageReference "NativuePlugins" */ = {
|
|
237
|
-
isa = XCLocalSwiftPackageReference;
|
|
238
|
-
relativePath = NativuePlugins;
|
|
239
|
-
};
|
|
240
|
-
/* End XCLocalSwiftPackageReference section */
|
|
241
|
-
|
|
242
|
-
/* Begin XCSwiftPackageProductDependency section */
|
|
243
|
-
AA0000000000000000000012 /* NativuePlugins */ = {
|
|
244
|
-
isa = XCSwiftPackageProductDependency;
|
|
245
|
-
productName = NativuePlugins;
|
|
246
|
-
};
|
|
247
|
-
/* End XCSwiftPackageProductDependency section */
|
|
248
|
-
};
|
|
249
|
-
rootObject = AA0000000000000000000009 /* Project object */;
|
|
250
|
-
}
|
package/template/ios/App.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"originHash" : "d0f6a42ac8472d8c896bc69aa5954a686b40bbe674bd470a18066363cfb6c067",
|
|
3
|
-
"pins" : [
|
|
4
|
-
{
|
|
5
|
-
"identity" : "yoga",
|
|
6
|
-
"kind" : "remoteSourceControl",
|
|
7
|
-
"location" : "https://github.com/facebook/yoga.git",
|
|
8
|
-
"state" : {
|
|
9
|
-
"revision" : "8e31207cf5d5e6bd9ec06b55a5a5b2d492dde2d9",
|
|
10
|
-
"version" : "3.2.2"
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
],
|
|
14
|
-
"version" : 3
|
|
15
|
-
}
|
package/template/ios/Info.plist
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
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>CFBundleURLTypes</key>
|
|
6
|
-
<array>
|
|
7
|
-
<dict>
|
|
8
|
-
<key>CFBundleURLName</key>
|
|
9
|
-
<string>__BUNDLE_ID__</string>
|
|
10
|
-
<key>CFBundleURLSchemes</key>
|
|
11
|
-
<array>
|
|
12
|
-
<string>__URL_SCHEME__</string>
|
|
13
|
-
</array>
|
|
14
|
-
</dict>
|
|
15
|
-
</array>
|
|
16
|
-
<key>NSAppTransportSecurity</key>
|
|
17
|
-
<dict>
|
|
18
|
-
<key>NSAllowsLocalNetworking</key>
|
|
19
|
-
<true/>
|
|
20
|
-
</dict>
|
|
21
|
-
<key>NSLocalNetworkUsageDescription</key>
|
|
22
|
-
<string>Connects to the Nativue dev server on your Mac for hot reload.</string>
|
|
23
|
-
<key>UILaunchScreen</key>
|
|
24
|
-
<dict>
|
|
25
|
-
<key>UIColorName</key>
|
|
26
|
-
<string>LaunchBackground</string>
|
|
27
|
-
<key>UIImageName</key>
|
|
28
|
-
<string>LaunchLogo</string>
|
|
29
|
-
</dict>
|
|
30
|
-
</dict>
|
|
31
|
-
</plist>
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
// swift-tools-version: 5.9
|
|
2
|
-
// Generated by nativue from the app's packages (packages/core/cli/link.mjs): rewritten on every build.
|
|
3
|
-
import PackageDescription
|
|
4
|
-
|
|
5
|
-
let package = Package(
|
|
6
|
-
name: "NativuePlugins",
|
|
7
|
-
platforms: [.iOS("15.1")],
|
|
8
|
-
products: [.library(name: "NativuePlugins", targets: ["NativuePlugins"])],
|
|
9
|
-
dependencies: [
|
|
10
|
-
.package(path: "../../node_modules/@nativue/core"),
|
|
11
|
-
],
|
|
12
|
-
targets: [
|
|
13
|
-
.target(name: "NativuePlugins", dependencies: [.product(name: "Nativue", package: "core")], path: "Sources/NativuePlugins"),
|
|
14
|
-
]
|
|
15
|
-
)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|