@fnet/cli 1.12.1 → 1.14.1

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.
Files changed (109) hide show
  1. package/dist/fbin/index.js +1 -1
  2. package/dist/fnet/index.4gymwzqb.js +1 -0
  3. package/dist/fnet/index.5r21wfyc.js +1 -0
  4. package/dist/fnet/index.js +9 -9
  5. package/dist/fnet/index.kanz1359.js +2 -0
  6. package/dist/fnet/index.kjw4nv5z.js +1 -0
  7. package/dist/fnet/index.n7q2w82x.js +1 -0
  8. package/dist/{fnode/index.c8qd1bz3.js → fnet/index.pj3wr582.js} +1 -1
  9. package/dist/fnet/index.r3cben5x.js +1 -0
  10. package/dist/fnet/index.sbphkm7x.js +1 -0
  11. package/dist/{fnode/index.e6g5y0zg.js → fnet/index.wmeh7jrw.js} +1 -1
  12. package/dist/fnet/index.xym49mp3.js +1 -0
  13. package/dist/fnet/index.ydv6st7k.js +1 -0
  14. package/dist/fnode/index.05n3mvs9.js +2 -0
  15. package/dist/fnode/index.22v7wtt0.js +2 -0
  16. package/dist/fnode/{index.dtp0a202.js → index.3ay4fp2s.js} +1 -1
  17. package/dist/fnode/index.6g3j97vm.js +1 -0
  18. package/dist/fnode/{index.q61zqpb9.js → index.782edcjp.js} +1 -1
  19. package/dist/fnode/index.7cqahb2f.js +1 -0
  20. package/dist/fnode/index.fy1xwqp2.js +1 -0
  21. package/dist/fnode/index.js +2 -2
  22. package/dist/fnode/index.kswhzt5n.js +1 -0
  23. package/dist/fnode/{index.1k1sj9qs.js → index.q9ghzdn2.js} +3 -3
  24. package/dist/fnode/index.r4xke6yy.js +1 -0
  25. package/dist/fnode/index.w4cz5r8m.js +1 -0
  26. package/dist/fnode/index.wd23pxn8.js +1 -0
  27. package/dist/fnode/index.xvyybysy.js +1 -0
  28. package/dist/fnode/index.z9232w6h.js +1 -0
  29. package/dist/frun/index.js +1 -1
  30. package/dist/fservice/index.js +1 -1
  31. package/package.json +6 -10
  32. package/readme.md +240 -191
  33. package/scripts/postinstall.js +19 -4
  34. package/template/deploy/to-docker/aws/Dockerfile.njk +114 -0
  35. package/template/deploy/to-docker/aws/build.sh.njk +127 -0
  36. package/template/deploy/to-docker/docker/Dockerfile.njk +67 -0
  37. package/template/deploy/to-docker/docker/build.sh.njk +48 -0
  38. package/template/deploy/to-docker/gcloud/Dockerfile.njk +69 -0
  39. package/template/deploy/to-docker/gcloud/build.sh.njk +39 -0
  40. package/template/deploy/to-docker/podman/Dockerfile.njk +69 -0
  41. package/template/deploy/to-docker/podman/build.sh.njk +44 -0
  42. package/template/deploy/to-electron/mac/entitlements.plist.njk +18 -0
  43. package/template/deploy/to-electron/main.js.njk +37 -0
  44. package/template/deploy/to-electron/package.json.njk +36 -0
  45. package/template/deploy/to-electron/src/index.html.njk +23 -0
  46. package/template/deploy/to-ios-app/fnet/index.html.njk +23 -0
  47. package/template/deploy/to-ios-app/fnet-ios-app/Assets.xcassets/AccentColor.colorset/Contents.json +11 -0
  48. package/template/deploy/to-ios-app/fnet-ios-app/Assets.xcassets/AppIcon.appiconset/Contents.json +112 -0
  49. package/template/deploy/to-ios-app/fnet-ios-app/Assets.xcassets/Contents.json +6 -0
  50. package/template/deploy/to-ios-app/fnet-ios-app/Assets.xcassets/launch-images.imageset/Contents.json +23 -0
  51. package/template/deploy/to-ios-app/fnet-ios-app/ContentView.swift +32 -0
  52. package/template/deploy/to-ios-app/fnet-ios-app/Info.plist +10 -0
  53. package/template/deploy/to-ios-app/fnet-ios-app/LaunchScreen.storyboard +26 -0
  54. package/template/deploy/to-ios-app/fnet-ios-app/Preview Content/Preview Assets.xcassets/Contents.json +6 -0
  55. package/template/deploy/to-ios-app/fnet-ios-app/WebView.swift +42 -0
  56. package/template/deploy/to-ios-app/fnet-ios-app/fnet_ios_appApp.swift +17 -0
  57. package/template/deploy/to-ios-app/fnet-ios-app.xcodeproj/project.pbxproj.njk +417 -0
  58. package/template/deploy/to-ios-app/fnet-ios-app.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
  59. package/template/deploy/to-ios-app/fnet-ios-app.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
  60. package/template/deploy/to-ios-app/fnet-ios-app.xcodeproj/xcshareddata/xcschemes/fnet-ios-app.xcscheme +77 -0
  61. package/template/deploy/to-macos-app/fnet/index.html.njk +23 -0
  62. package/template/deploy/to-macos-app/fnet-macos-app/Assets.xcassets/AccentColor.colorset/Contents.json +11 -0
  63. package/template/deploy/to-macos-app/fnet-macos-app/Assets.xcassets/AppIcon.appiconset/Contents.json +68 -0
  64. package/template/deploy/to-macos-app/fnet-macos-app/Assets.xcassets/Contents.json +6 -0
  65. package/template/deploy/to-macos-app/fnet-macos-app/ContentView.swift +13 -0
  66. package/template/deploy/to-macos-app/fnet-macos-app/Preview Content/Preview Assets.xcassets/Contents.json +6 -0
  67. package/template/deploy/to-macos-app/fnet-macos-app/WebView.swift +30 -0
  68. package/template/deploy/to-macos-app/fnet-macos-app/fnet_macos_app.entitlements +16 -0
  69. package/template/deploy/to-macos-app/fnet-macos-app/fnet_macos_appApp.swift +17 -0
  70. package/template/deploy/to-macos-app/fnet-macos-app.xcodeproj/project.pbxproj.njk +396 -0
  71. package/template/deploy/to-macos-app/fnet-macos-app.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
  72. package/template/deploy/to-macos-app/fnet-macos-app.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
  73. package/template/deploy/to-nextjs/app/layout.tsx.njk +13 -0
  74. package/template/deploy/to-nextjs/app/page.tsx.njk +28 -0
  75. package/template/deploy/to-nextjs/next-env.d.ts +5 -0
  76. package/template/deploy/to-nextjs/package.json.njk +20 -0
  77. package/template/deploy/to-nextjs/tsconfig.json +34 -0
  78. package/template/deploy/to-pyip/package/__init__.py.njk +4 -0
  79. package/template/deploy/to-pyip/package/cli/__init__.py.njk +3 -0
  80. package/template/deploy/to-pyip/package/cli/index.py.njk +24 -0
  81. package/template/deploy/to-pyip/package/lib/__init__.py.njk +3 -0
  82. package/template/deploy/to-pyip/pyproject.toml +3 -0
  83. package/template/deploy/to-pyip/setup.py.njk +32 -0
  84. package/template/deploy/to-rust/Cargo.toml.njk +16 -0
  85. package/template/deploy/to-rust/src/main.rs.njk +112 -0
  86. package/template/deploy/to-webos/appinfo.json.njk +14 -0
  87. package/template/deploy/to-webos/index.html.njk +39 -0
  88. package/template/deploy/to-webos/webOSTVjs-1.2.10/LICENSE-2.0.txt +202 -0
  89. package/template/deploy/to-webos/webOSTVjs-1.2.10/webOSTV-dev.js +1 -0
  90. package/template/deploy/to-webos/webOSTVjs-1.2.10/webOSTV.js +1 -0
  91. package/dist/fnet/index.06vbpwcx.js +0 -1
  92. package/dist/fnet/index.26r88tdp.js +0 -1
  93. package/dist/fnet/index.2g93a9kt.js +0 -1
  94. package/dist/fnet/index.61jdafta.js +0 -1
  95. package/dist/fnet/index.80hh5mtp.js +0 -1
  96. package/dist/fnet/index.a2mbqyxe.js +0 -1
  97. package/dist/fnet/index.gywx3fae.js +0 -1
  98. package/dist/fnet/index.gza1frda.js +0 -1
  99. package/dist/fnet/index.r2gf0b3s.js +0 -1
  100. package/dist/fnet/index.rfysmk2b.js +0 -2
  101. package/dist/fnode/index.5f1kfz9t.js +0 -1
  102. package/dist/fnode/index.7ev6y63q.js +0 -1
  103. package/dist/fnode/index.a4q2w1yd.js +0 -1
  104. package/dist/fnode/index.btj5x5s4.js +0 -1
  105. package/dist/fnode/index.n1598ffs.js +0 -1
  106. package/dist/fnode/index.ng6w9cac.js +0 -1
  107. package/dist/fnode/index.r8s8r2n7.js +0 -2
  108. package/dist/fnode/index.xc08sjp4.js +0 -1
  109. package/dist/fnode/index.zb59076q.js +0 -1
@@ -0,0 +1,16 @@
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>com.apple.security.app-sandbox</key>
6
+ <true/>
7
+ <key>com.apple.security.cs.allow-jit</key>
8
+ <true/>
9
+ <key>com.apple.security.device.audio-input</key>
10
+ <true/>
11
+ <key>com.apple.security.files.user-selected.read-only</key>
12
+ <true/>
13
+ <key>com.apple.security.network.client</key>
14
+ <true/>
15
+ </dict>
16
+ </plist>
@@ -0,0 +1,17 @@
1
+ //
2
+ // fnet_macos_appApp.swift
3
+ // fnet-macos-app
4
+ //
5
+ // Created by Gultekin Boyraz on 9/15/23.
6
+ //
7
+
8
+ import SwiftUI
9
+
10
+ @main
11
+ struct fnet_macos_appApp: App {
12
+ var body: some Scene {
13
+ WindowGroup {
14
+ ContentView()
15
+ }
16
+ }
17
+ }
@@ -0,0 +1,396 @@
1
+ // !$*UTF8*$!
2
+ {
3
+ archiveVersion = 1;
4
+ classes = {
5
+ };
6
+ objectVersion = 56;
7
+ objects = {
8
+
9
+ /* Begin PBXBuildFile section */
10
+ 450623FF2AB5101B00DD2D0E /* Speech.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 450623FE2AB5101B00DD2D0E /* Speech.framework */; };
11
+ 4562BD522AB403C0007C00EE /* fnet in Resources */ = {isa = PBXBuildFile; fileRef = 4562BD512AB403C0007C00EE /* fnet */; };
12
+ 45C131532AB3E9F7006D6551 /* fnet_macos_appApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 45C131522AB3E9F7006D6551 /* fnet_macos_appApp.swift */; };
13
+ 45C131552AB3E9F7006D6551 /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 45C131542AB3E9F7006D6551 /* ContentView.swift */; };
14
+ 45C131572AB3E9F8006D6551 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 45C131562AB3E9F8006D6551 /* Assets.xcassets */; };
15
+ 45C1315A2AB3E9F8006D6551 /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 45C131592AB3E9F8006D6551 /* Preview Assets.xcassets */; };
16
+ 45C131632AB3FE60006D6551 /* WebKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 45C131622AB3FE60006D6551 /* WebKit.framework */; };
17
+ 45C1316A2AB40013006D6551 /* WebView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 45C131692AB40013006D6551 /* WebView.swift */; };
18
+ /* End PBXBuildFile section */
19
+
20
+ /* Begin PBXFileReference section */
21
+ 450623FE2AB5101B00DD2D0E /* Speech.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Speech.framework; path = System/Library/Frameworks/Speech.framework; sourceTree = SDKROOT; };
22
+ 4562BD512AB403C0007C00EE /* fnet */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = fnet; sourceTree = SOURCE_ROOT; };
23
+ 45C1314F2AB3E9F7006D6551 /* fnet-macos-app.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "fnet-macos-app.app"; sourceTree = BUILT_PRODUCTS_DIR; };
24
+ 45C131522AB3E9F7006D6551 /* fnet_macos_appApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = fnet_macos_appApp.swift; sourceTree = "<group>"; };
25
+ 45C131542AB3E9F7006D6551 /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = "<group>"; };
26
+ 45C131562AB3E9F8006D6551 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
27
+ 45C131592AB3E9F8006D6551 /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = "<group>"; };
28
+ 45C1315B2AB3E9F8006D6551 /* fnet_macos_app.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = fnet_macos_app.entitlements; sourceTree = "<group>"; };
29
+ 45C131622AB3FE60006D6551 /* WebKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = WebKit.framework; path = System/Library/Frameworks/WebKit.framework; sourceTree = SDKROOT; };
30
+ 45C131692AB40013006D6551 /* WebView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WebView.swift; sourceTree = "<group>"; };
31
+ /* End PBXFileReference section */
32
+
33
+ /* Begin PBXFrameworksBuildPhase section */
34
+ 45C1314C2AB3E9F7006D6551 /* Frameworks */ = {
35
+ isa = PBXFrameworksBuildPhase;
36
+ buildActionMask = 2147483647;
37
+ files = (
38
+ 450623FF2AB5101B00DD2D0E /* Speech.framework in Frameworks */,
39
+ 45C131632AB3FE60006D6551 /* WebKit.framework in Frameworks */,
40
+ );
41
+ runOnlyForDeploymentPostprocessing = 0;
42
+ };
43
+ /* End PBXFrameworksBuildPhase section */
44
+
45
+ /* Begin PBXGroup section */
46
+ 45C131462AB3E9F7006D6551 = {
47
+ isa = PBXGroup;
48
+ children = (
49
+ 45C131512AB3E9F7006D6551 /* fnet-macos-app */,
50
+ 45C131502AB3E9F7006D6551 /* Products */,
51
+ 45C131612AB3FE60006D6551 /* Frameworks */,
52
+ );
53
+ sourceTree = "<group>";
54
+ };
55
+ 45C131502AB3E9F7006D6551 /* Products */ = {
56
+ isa = PBXGroup;
57
+ children = (
58
+ 45C1314F2AB3E9F7006D6551 /* fnet-macos-app.app */,
59
+ );
60
+ name = Products;
61
+ sourceTree = "<group>";
62
+ };
63
+ 45C131512AB3E9F7006D6551 /* fnet-macos-app */ = {
64
+ isa = PBXGroup;
65
+ children = (
66
+ 4562BD512AB403C0007C00EE /* fnet */,
67
+ 45C131522AB3E9F7006D6551 /* fnet_macos_appApp.swift */,
68
+ 45C131542AB3E9F7006D6551 /* ContentView.swift */,
69
+ 45C131562AB3E9F8006D6551 /* Assets.xcassets */,
70
+ 45C1315B2AB3E9F8006D6551 /* fnet_macos_app.entitlements */,
71
+ 45C131582AB3E9F8006D6551 /* Preview Content */,
72
+ 45C131692AB40013006D6551 /* WebView.swift */,
73
+ );
74
+ path = "fnet-macos-app";
75
+ sourceTree = "<group>";
76
+ };
77
+ 45C131582AB3E9F8006D6551 /* Preview Content */ = {
78
+ isa = PBXGroup;
79
+ children = (
80
+ 45C131592AB3E9F8006D6551 /* Preview Assets.xcassets */,
81
+ );
82
+ path = "Preview Content";
83
+ sourceTree = "<group>";
84
+ };
85
+ 45C131612AB3FE60006D6551 /* Frameworks */ = {
86
+ isa = PBXGroup;
87
+ children = (
88
+ 450623FE2AB5101B00DD2D0E /* Speech.framework */,
89
+ 45C131622AB3FE60006D6551 /* WebKit.framework */,
90
+ );
91
+ name = Frameworks;
92
+ sourceTree = "<group>";
93
+ };
94
+ /* End PBXGroup section */
95
+
96
+ /* Begin PBXNativeTarget section */
97
+ 45C1314E2AB3E9F7006D6551 /* fnet-macos-app */ = {
98
+ isa = PBXNativeTarget;
99
+ buildConfigurationList = 45C1315E2AB3E9F8006D6551 /* Build configuration list for PBXNativeTarget "fnet-macos-app" */;
100
+ buildPhases = (
101
+ 45C1314B2AB3E9F7006D6551 /* Sources */,
102
+ 45C1314C2AB3E9F7006D6551 /* Frameworks */,
103
+ 45C1314D2AB3E9F7006D6551 /* Resources */,
104
+ );
105
+ buildRules = (
106
+ );
107
+ dependencies = (
108
+ );
109
+ name = "fnet-macos-app";
110
+ productName = "fnet-macos-app";
111
+ productReference = 45C1314F2AB3E9F7006D6551 /* fnet-macos-app.app */;
112
+ productType = "com.apple.product-type.application";
113
+ };
114
+ /* End PBXNativeTarget section */
115
+
116
+ /* Begin PBXProject section */
117
+ 45C131472AB3E9F7006D6551 /* Project object */ = {
118
+ isa = PBXProject;
119
+ attributes = {
120
+ BuildIndependentTargetsInParallel = 1;
121
+ LastSwiftUpdateCheck = 1430;
122
+ LastUpgradeCheck = 1430;
123
+ TargetAttributes = {
124
+ 45C1314E2AB3E9F7006D6551 = {
125
+ CreatedOnToolsVersion = 14.3.1;
126
+ };
127
+ };
128
+ };
129
+ buildConfigurationList = 45C1314A2AB3E9F7006D6551 /* Build configuration list for PBXProject "fnet-macos-app" */;
130
+ compatibilityVersion = "Xcode 14.0";
131
+ developmentRegion = en;
132
+ hasScannedForEncodings = 0;
133
+ knownRegions = (
134
+ en,
135
+ Base,
136
+ );
137
+ mainGroup = 45C131462AB3E9F7006D6551;
138
+ productRefGroup = 45C131502AB3E9F7006D6551 /* Products */;
139
+ projectDirPath = "";
140
+ projectRoot = "";
141
+ targets = (
142
+ 45C1314E2AB3E9F7006D6551 /* fnet-macos-app */,
143
+ );
144
+ };
145
+ /* End PBXProject section */
146
+
147
+ /* Begin PBXResourcesBuildPhase section */
148
+ 45C1314D2AB3E9F7006D6551 /* Resources */ = {
149
+ isa = PBXResourcesBuildPhase;
150
+ buildActionMask = 2147483647;
151
+ files = (
152
+ 45C1315A2AB3E9F8006D6551 /* Preview Assets.xcassets in Resources */,
153
+ 4562BD522AB403C0007C00EE /* fnet in Resources */,
154
+ 45C131572AB3E9F8006D6551 /* Assets.xcassets in Resources */,
155
+ );
156
+ runOnlyForDeploymentPostprocessing = 0;
157
+ };
158
+ /* End PBXResourcesBuildPhase section */
159
+
160
+ /* Begin PBXSourcesBuildPhase section */
161
+ 45C1314B2AB3E9F7006D6551 /* Sources */ = {
162
+ isa = PBXSourcesBuildPhase;
163
+ buildActionMask = 2147483647;
164
+ files = (
165
+ 45C1316A2AB40013006D6551 /* WebView.swift in Sources */,
166
+ 45C131552AB3E9F7006D6551 /* ContentView.swift in Sources */,
167
+ 45C131532AB3E9F7006D6551 /* fnet_macos_appApp.swift in Sources */,
168
+ );
169
+ runOnlyForDeploymentPostprocessing = 0;
170
+ };
171
+ /* End PBXSourcesBuildPhase section */
172
+
173
+ /* Begin XCBuildConfiguration section */
174
+ 45C1315C2AB3E9F8006D6551 /* Debug */ = {
175
+ isa = XCBuildConfiguration;
176
+ buildSettings = {
177
+ ALWAYS_SEARCH_USER_PATHS = NO;
178
+ CLANG_ANALYZER_NONNULL = YES;
179
+ CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
180
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++20";
181
+ CLANG_ENABLE_MODULES = YES;
182
+ CLANG_ENABLE_OBJC_ARC = YES;
183
+ CLANG_ENABLE_OBJC_WEAK = YES;
184
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
185
+ CLANG_WARN_BOOL_CONVERSION = YES;
186
+ CLANG_WARN_COMMA = YES;
187
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
188
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
189
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
190
+ CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
191
+ CLANG_WARN_EMPTY_BODY = YES;
192
+ CLANG_WARN_ENUM_CONVERSION = YES;
193
+ CLANG_WARN_INFINITE_RECURSION = YES;
194
+ CLANG_WARN_INT_CONVERSION = YES;
195
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
196
+ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
197
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
198
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
199
+ CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
200
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
201
+ CLANG_WARN_STRICT_PROTOTYPES = YES;
202
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
203
+ CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
204
+ CLANG_WARN_UNREACHABLE_CODE = YES;
205
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
206
+ COPY_PHASE_STRIP = NO;
207
+ DEBUG_INFORMATION_FORMAT = dwarf;
208
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
209
+ ENABLE_TESTABILITY = YES;
210
+ GCC_C_LANGUAGE_STANDARD = gnu11;
211
+ GCC_DYNAMIC_NO_PIC = NO;
212
+ GCC_NO_COMMON_BLOCKS = YES;
213
+ GCC_OPTIMIZATION_LEVEL = 0;
214
+ GCC_PREPROCESSOR_DEFINITIONS = (
215
+ "DEBUG=1",
216
+ "$(inherited)",
217
+ );
218
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
219
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
220
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
221
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
222
+ GCC_WARN_UNUSED_FUNCTION = YES;
223
+ GCC_WARN_UNUSED_VARIABLE = YES;
224
+ MACOSX_DEPLOYMENT_TARGET = 13.3;
225
+ MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
226
+ MTL_FAST_MATH = YES;
227
+ ONLY_ACTIVE_ARCH = YES;
228
+ SDKROOT = macosx;
229
+ SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
230
+ SWIFT_OPTIMIZATION_LEVEL = "-Onone";
231
+ };
232
+ name = Debug;
233
+ };
234
+ 45C1315D2AB3E9F8006D6551 /* Release */ = {
235
+ isa = XCBuildConfiguration;
236
+ buildSettings = {
237
+ ALWAYS_SEARCH_USER_PATHS = NO;
238
+ CLANG_ANALYZER_NONNULL = YES;
239
+ CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
240
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++20";
241
+ CLANG_ENABLE_MODULES = YES;
242
+ CLANG_ENABLE_OBJC_ARC = YES;
243
+ CLANG_ENABLE_OBJC_WEAK = YES;
244
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
245
+ CLANG_WARN_BOOL_CONVERSION = YES;
246
+ CLANG_WARN_COMMA = YES;
247
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
248
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
249
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
250
+ CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
251
+ CLANG_WARN_EMPTY_BODY = YES;
252
+ CLANG_WARN_ENUM_CONVERSION = YES;
253
+ CLANG_WARN_INFINITE_RECURSION = YES;
254
+ CLANG_WARN_INT_CONVERSION = YES;
255
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
256
+ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
257
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
258
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
259
+ CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
260
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
261
+ CLANG_WARN_STRICT_PROTOTYPES = YES;
262
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
263
+ CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
264
+ CLANG_WARN_UNREACHABLE_CODE = YES;
265
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
266
+ COPY_PHASE_STRIP = NO;
267
+ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
268
+ ENABLE_NS_ASSERTIONS = NO;
269
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
270
+ GCC_C_LANGUAGE_STANDARD = gnu11;
271
+ GCC_NO_COMMON_BLOCKS = YES;
272
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
273
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
274
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
275
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
276
+ GCC_WARN_UNUSED_FUNCTION = YES;
277
+ GCC_WARN_UNUSED_VARIABLE = YES;
278
+ MACOSX_DEPLOYMENT_TARGET = 13.3;
279
+ MTL_ENABLE_DEBUG_INFO = NO;
280
+ MTL_FAST_MATH = YES;
281
+ SDKROOT = macosx;
282
+ SWIFT_COMPILATION_MODE = wholemodule;
283
+ SWIFT_OPTIMIZATION_LEVEL = "-O";
284
+ };
285
+ name = Release;
286
+ };
287
+ 45C1315F2AB3E9F8006D6551 /* Debug */ = {
288
+ isa = XCBuildConfiguration;
289
+ buildSettings = {
290
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
291
+ ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
292
+ CODE_SIGN_ENTITLEMENTS = "fnet-macos-app/fnet_macos_app.entitlements";
293
+ {% if params.code_sign_style ==='Automatic' %}
294
+ CODE_SIGN_IDENTITY = "{{params.code_sign_identity}}";
295
+ {% else %}
296
+ CODE_SIGN_IDENTITY = "{{params.code_sign_identity}}";
297
+ "CODE_SIGN_IDENTITY[sdk=macosx*]" = "Mac Developer";
298
+ {% endif%}
299
+ CODE_SIGN_STYLE = {{params.code_sign_style}};
300
+ COMBINE_HIDPI_IMAGES = YES;
301
+ CURRENT_PROJECT_VERSION = 1;
302
+ DEVELOPMENT_ASSET_PATHS = "\"fnet-macos-app/Preview Content\"";
303
+ DEVELOPMENT_TEAM = {{params.development_team}};
304
+ ENABLE_HARDENED_RUNTIME = YES;
305
+ ENABLE_PREVIEWS = YES;
306
+ GENERATE_INFOPLIST_FILE = YES;
307
+ INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.utilities";
308
+ INFOPLIST_KEY_NSHumanReadableCopyright = "";
309
+ INFOPLIST_KEY_NSMicrophoneUsageDescription = "We use the microphone to recognize and process voice commands within the app.";
310
+ INFOPLIST_KEY_NSSpeechRecognitionUsageDescription = "We need access to speech recognition to process voice commands.";
311
+ LD_RUNPATH_SEARCH_PATHS = (
312
+ "$(inherited)",
313
+ "@executable_path/../Frameworks",
314
+ );
315
+ MARKETING_VERSION = {{params.version}};
316
+ PRODUCT_BUNDLE_IDENTIFIER = "{{params.product_bundle_identifier}}";
317
+ {# PRODUCT_NAME = "$(TARGET_NAME)"; #}
318
+ PRODUCT_NAME = "{{params.product_name}}";
319
+ {% if params.code_sign_style ==='Automatic' %}
320
+ PROVISIONING_PROFILE_SPECIFIER = "";
321
+ {% else %}
322
+ PROVISIONING_PROFILE_SPECIFIER = "";
323
+ "PROVISIONING_PROFILE_SPECIFIER[sdk=macosx*]" = "{{params.provisioning_profile_specifier}}";
324
+ {% endif%}
325
+ SWIFT_EMIT_LOC_STRINGS = YES;
326
+ SWIFT_VERSION = 5.0;
327
+ };
328
+ name = Debug;
329
+ };
330
+ 45C131602AB3E9F8006D6551 /* Release */ = {
331
+ isa = XCBuildConfiguration;
332
+ buildSettings = {
333
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
334
+ ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
335
+ {% if params.code_sign_style ==='Automatic' %}
336
+ CODE_SIGN_IDENTITY = "{{params.code_sign_identity}}";
337
+ {% else %}
338
+ CODE_SIGN_IDENTITY = "{{params.code_sign_identity}}";
339
+ "CODE_SIGN_IDENTITY[sdk=macosx*]" = "Mac Developer";
340
+ {% endif%}
341
+ CODE_SIGN_STYLE = {{params.code_sign_style}};
342
+ COMBINE_HIDPI_IMAGES = YES;
343
+ CURRENT_PROJECT_VERSION = 1;
344
+ DEVELOPMENT_ASSET_PATHS = "\"fnet-macos-app/Preview Content\"";
345
+ DEVELOPMENT_TEAM = {{params.development_team}};
346
+ ENABLE_HARDENED_RUNTIME = YES;
347
+ ENABLE_PREVIEWS = YES;
348
+ GENERATE_INFOPLIST_FILE = YES;
349
+ INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.utilities";
350
+ INFOPLIST_KEY_NSHumanReadableCopyright = "";
351
+ INFOPLIST_KEY_NSMicrophoneUsageDescription = "We use the microphone to recognize and process voice commands within the app.";
352
+ INFOPLIST_KEY_NSSpeechRecognitionUsageDescription = "We need access to speech recognition to process voice commands.";
353
+ LD_RUNPATH_SEARCH_PATHS = (
354
+ "$(inherited)",
355
+ "@executable_path/../Frameworks",
356
+ );
357
+ MARKETING_VERSION = {{params.version}};
358
+ PRODUCT_BUNDLE_IDENTIFIER = "{{params.product_bundle_identifier}}";
359
+ {# PRODUCT_NAME = "$(TARGET_NAME)"; #}
360
+ PRODUCT_NAME = "{{params.product_name}}";
361
+ {% if params.code_sign_style ==='Automatic' %}
362
+ PROVISIONING_PROFILE_SPECIFIER = "";
363
+ {% else %}
364
+ PROVISIONING_PROFILE_SPECIFIER = "";
365
+ "PROVISIONING_PROFILE_SPECIFIER[sdk=macosx*]" = "{{params.provisioning_profile_specifier}}";
366
+ {% endif%}
367
+ SWIFT_EMIT_LOC_STRINGS = YES;
368
+ SWIFT_VERSION = 5.0;
369
+ };
370
+ name = Release;
371
+ };
372
+ /* End XCBuildConfiguration section */
373
+
374
+ /* Begin XCConfigurationList section */
375
+ 45C1314A2AB3E9F7006D6551 /* Build configuration list for PBXProject "fnet-macos-app" */ = {
376
+ isa = XCConfigurationList;
377
+ buildConfigurations = (
378
+ 45C1315C2AB3E9F8006D6551 /* Debug */,
379
+ 45C1315D2AB3E9F8006D6551 /* Release */,
380
+ );
381
+ defaultConfigurationIsVisible = 0;
382
+ defaultConfigurationName = Release;
383
+ };
384
+ 45C1315E2AB3E9F8006D6551 /* Build configuration list for PBXNativeTarget "fnet-macos-app" */ = {
385
+ isa = XCConfigurationList;
386
+ buildConfigurations = (
387
+ 45C1315F2AB3E9F8006D6551 /* Debug */,
388
+ 45C131602AB3E9F8006D6551 /* Release */,
389
+ );
390
+ defaultConfigurationIsVisible = 0;
391
+ defaultConfigurationName = Release;
392
+ };
393
+ /* End XCConfigurationList section */
394
+ };
395
+ rootObject = 45C131472AB3E9F7006D6551 /* Project object */;
396
+ }
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <Workspace
3
+ version = "1.0">
4
+ <FileRef
5
+ location = "self:/Users/gboyraz/Desktop/flownet/apps/fnet-macos-app/fnet-macos-app.xcodeproj">
6
+ </FileRef>
7
+ </Workspace>
@@ -0,0 +1,8 @@
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>IDEDidComputeMac32BitWarning</key>
6
+ <true/>
7
+ </dict>
8
+ </plist>
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+
3
+ export default function RootLayout({
4
+ children,
5
+ }: {
6
+ children: React.ReactNode
7
+ }) {
8
+ return (
9
+ <html lang="en" style={ { height: "100%", padding: 0 } }>
10
+ <body style={ { height: "100%", padding: 0, overflow: "hidden" } }>{children}</body>
11
+ </html>
12
+ )
13
+ }
@@ -0,0 +1,28 @@
1
+ "use client";
2
+
3
+ import React, { useEffect, useRef } from 'react';
4
+
5
+ import { createApp } from '../dist/{{params.entry}}';
6
+
7
+ {% if params.include_css===true %}
8
+ import from '../dist/{{params.entry}}/index.css'
9
+ {% endif %}
10
+
11
+ export default function Page() {
12
+
13
+ const containerRef = useRef();
14
+
15
+ useEffect(() => {
16
+ const run = createApp({
17
+ container: containerRef.current,
18
+ });
19
+ const dispose = run();
20
+ return () => {
21
+ console.log('dispose', dispose);
22
+ };
23
+ }, []);
24
+
25
+ return (
26
+ <div ref={containerRef} id='container' style={ { height: "100%", padding: 0, overflow: "hidden", boxSizing: "border-box" } }></div>
27
+ )
28
+ }
@@ -0,0 +1,5 @@
1
+ /// <reference types="next" />
2
+ /// <reference types="next/image-types/global" />
3
+
4
+ // NOTE: This file should not be edited
5
+ // see https://nextjs.org/docs/basic-features/typescript for more information.
@@ -0,0 +1,20 @@
1
+ {
2
+ "name": "{{params.name}}",
3
+ "version": "{{params.version}}",
4
+ "scripts": {
5
+ "dev": "next dev",
6
+ "build": "next build",
7
+ "start": "next start",
8
+ "lint": "next lint"
9
+ },
10
+ "dependencies": {
11
+ {% for dep in params.dependencies %}
12
+ "{{dep.package}}":"{{dep.version}}" {% if not loop.last%},{%endif%}
13
+ {% endfor %}
14
+ },
15
+ "devDependencies": {
16
+ "@types/node": "^20.7",
17
+ "@types/react": "^18.2",
18
+ "typescript": "^5.2"
19
+ }
20
+ }
@@ -0,0 +1,34 @@
1
+ {
2
+ "compilerOptions": {
3
+ "lib": [
4
+ "dom",
5
+ "dom.iterable",
6
+ "esnext"
7
+ ],
8
+ "allowJs": true,
9
+ "skipLibCheck": true,
10
+ "strict": false,
11
+ "noEmit": true,
12
+ "incremental": true,
13
+ "esModuleInterop": true,
14
+ "module": "esnext",
15
+ "moduleResolution": "node",
16
+ "resolveJsonModule": true,
17
+ "isolatedModules": true,
18
+ "jsx": "preserve",
19
+ "plugins": [
20
+ {
21
+ "name": "next"
22
+ }
23
+ ]
24
+ },
25
+ "include": [
26
+ "next-env.d.ts",
27
+ ".next/types/**/*.ts",
28
+ "**/*.ts",
29
+ "**/*.tsx"
30
+ ],
31
+ "exclude": [
32
+ "node_modules"
33
+ ]
34
+ }
@@ -0,0 +1,4 @@
1
+ from {{params.package_name}}.lib import default
2
+ from {{params.package_name}}.cli import main
3
+
4
+ __all__ = ["default", "main"]
@@ -0,0 +1,3 @@
1
+ from .index import main
2
+
3
+ __all__ = ["main"]
@@ -0,0 +1,24 @@
1
+ from {{params.package_name}}.lib import default
2
+ import argparse
3
+ def main():
4
+ # Create an argument parser to handle command-line input
5
+ parser = argparse.ArgumentParser(description="{{params.name}}")
6
+
7
+ # Parse known and unknown arguments. We only need unknown arguments here.
8
+ _, unknown_args = parser.parse_known_args()
9
+
10
+ # Convert unknown arguments into a kwargs dictionary
11
+ kwargs = {}
12
+ for i in range(0, len(unknown_args), 2):
13
+ key = unknown_args[i].lstrip("--") # Remove the leading "--" from the argument name
14
+ value = unknown_args[i + 1] if i + 1 < len(unknown_args) else None # Handle key-value pairs
15
+ kwargs[key] = value # Add the key-value pair to the kwargs dictionary
16
+
17
+ # Pass the kwargs to the default function
18
+ result=default(**kwargs)
19
+ {# print(json.dumps(result, indent=2)) # Print the result as a JSON string #}
20
+ print(result) # Print the result as a string
21
+
22
+ # Entry point for the script
23
+ if __name__ == "__main__":
24
+ main()
@@ -0,0 +1,3 @@
1
+ from .index import default
2
+
3
+ __all__ = ["default"]
@@ -0,0 +1,3 @@
1
+ [build-system]
2
+ requires = ["setuptools", "wheel"]
3
+ build-backend = "setuptools.build_meta"
@@ -0,0 +1,32 @@
1
+ from setuptools import setup, find_packages
2
+
3
+ setup(
4
+ name="{{params.package_name}}",
5
+ version="{{params.version}}",
6
+ packages=["{{params.package_name}}","{{params.package_name}}/lib","{{params.package_name}}/cli"],
7
+ package_dir={"": "."},
8
+ entry_points={
9
+ "console_scripts": [
10
+ "{{params.bin_name}}={{params.package_name}}.cli:main",
11
+ ],
12
+ },
13
+ python_requires="{{params.python_requires | default('>=3.12') | safe}}",
14
+ install_requires=[
15
+ {% for dep in params.dependencies %}
16
+ "{{dep.package}}" {% if not loop.last%},{%endif%}
17
+ {% endfor %}
18
+ ],
19
+ # Optional metadata, to be added later:
20
+ # author="justai.pro", # Your name (optional)
21
+ # author_email="devops@justai.pro", # Your email address (optional)
22
+ # description="A Python dependency analyzer for import parsing and metadata extraction.",
23
+ # long_description=open("README.md").read(),
24
+ # long_description_content_type="text/markdown",
25
+ # url="https://gitlab.com/fnetai/py-import-parser",
26
+ # classifiers=[
27
+ # "Programming Language :: Python :: 3",
28
+ # "License :: OSI Approved :: MIT License",
29
+ # # "Operating System :: OS Independent",
30
+ # ],
31
+ # include_package_data=True, # Include non-Python files (e.g., YAML files) (optional)
32
+ )
@@ -0,0 +1,16 @@
1
+ [package]
2
+ name = "{{params.package_name}}"
3
+ version = "{{params.version}}"
4
+
5
+ edition = "2021"
6
+
7
+ [dependencies]
8
+ warp = "0.3.7"
9
+ tokio = { version = "1.40", features = ["full"] }
10
+ webbrowser = "1.0"
11
+ rust-embed = "8.5"
12
+ mime_guess = "2.0"
13
+ serde = "1.0"
14
+ serde_urlencoded = "0.7"
15
+ serde_derive = "1.0"
16
+ clap = "3.0"