@sentry/wizard 4.0.0 → 4.0.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 (307) hide show
  1. package/CHANGELOG.md +6 -2
  2. package/dist/lib/Steps/Integrations/Electron.js +1 -1
  3. package/dist/lib/Steps/Integrations/Electron.js.map +1 -1
  4. package/package.json +5 -2
  5. package/.node-cache/node-v22.14.0-darwin-arm64 +0 -0
  6. package/.node-cache/node-v22.14.0-darwin-x64 +0 -0
  7. package/.node-cache/node-v22.14.0-linux-arm64 +0 -0
  8. package/.node-cache/node-v22.14.0-linux-x64 +0 -0
  9. package/.node-cache/node-v22.14.0-win-x64.exe +0 -0
  10. package/COPYING +0 -3575
  11. package/bin.ts +0 -143
  12. package/codecov.yml +0 -15
  13. package/e2e-tests/.env.example +0 -11
  14. package/e2e-tests/README.md +0 -63
  15. package/e2e-tests/jest.config.ts +0 -22
  16. package/e2e-tests/package.json +0 -14
  17. package/e2e-tests/run.sh +0 -15
  18. package/e2e-tests/test-applications/apple/damaged-missing-configuration-list/Project.xcodeproj/project.pbxproj +0 -52
  19. package/e2e-tests/test-applications/apple/damaged-missing-configuration-list/Project.xcodeproj/xcshareddata/xcschemes/Project1.xcscheme +0 -78
  20. package/e2e-tests/test-applications/apple/no-targets/Project.xcodeproj/project.pbxproj +0 -62
  21. package/e2e-tests/test-applications/apple/no-targets/Project.xcodeproj/xcshareddata/xcschemes/Project1.xcscheme +0 -78
  22. package/e2e-tests/test-applications/apple/spm-swiftui-multi-targets/Project.xcodeproj/project.pbxproj +0 -470
  23. package/e2e-tests/test-applications/apple/spm-swiftui-multi-targets/Project.xcodeproj/xcshareddata/xcschemes/Project1.xcscheme +0 -78
  24. package/e2e-tests/test-applications/apple/spm-swiftui-multi-targets/Project1/ContentView.swift +0 -7
  25. package/e2e-tests/test-applications/apple/spm-swiftui-multi-targets/Project1/Project1App.swift +0 -10
  26. package/e2e-tests/test-applications/apple/spm-swiftui-multi-targets/Project2/ContentView.swift +0 -7
  27. package/e2e-tests/test-applications/apple/spm-swiftui-multi-targets/Project2/Project2App.swift +0 -10
  28. package/e2e-tests/test-applications/apple/spm-swiftui-single-target/Project.xcodeproj/project.pbxproj +0 -382
  29. package/e2e-tests/test-applications/apple/spm-swiftui-single-target/Project.xcodeproj/xcshareddata/xcschemes/Project.xcscheme +0 -78
  30. package/e2e-tests/test-applications/apple/spm-swiftui-single-target/Sources/ContentView.swift +0 -7
  31. package/e2e-tests/test-applications/apple/spm-swiftui-single-target/Sources/MainApp.swift +0 -10
  32. package/e2e-tests/test-applications/flutter-test-app/.metadata +0 -45
  33. package/e2e-tests/test-applications/flutter-test-app/README.md +0 -16
  34. package/e2e-tests/test-applications/flutter-test-app/analysis_options.yaml +0 -28
  35. package/e2e-tests/test-applications/flutter-test-app/android/app/build.gradle +0 -44
  36. package/e2e-tests/test-applications/flutter-test-app/android/app/src/debug/AndroidManifest.xml +0 -7
  37. package/e2e-tests/test-applications/flutter-test-app/android/app/src/main/AndroidManifest.xml +0 -45
  38. package/e2e-tests/test-applications/flutter-test-app/android/app/src/main/kotlin/com/example/flutter_magic/MainActivity.kt +0 -5
  39. package/e2e-tests/test-applications/flutter-test-app/android/app/src/main/res/drawable/launch_background.xml +0 -12
  40. package/e2e-tests/test-applications/flutter-test-app/android/app/src/main/res/drawable-v21/launch_background.xml +0 -12
  41. package/e2e-tests/test-applications/flutter-test-app/android/app/src/main/res/mipmap-hdpi/ic_launcher.png +0 -0
  42. package/e2e-tests/test-applications/flutter-test-app/android/app/src/main/res/mipmap-mdpi/ic_launcher.png +0 -0
  43. package/e2e-tests/test-applications/flutter-test-app/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png +0 -0
  44. package/e2e-tests/test-applications/flutter-test-app/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png +0 -0
  45. package/e2e-tests/test-applications/flutter-test-app/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png +0 -0
  46. package/e2e-tests/test-applications/flutter-test-app/android/app/src/main/res/values/styles.xml +0 -18
  47. package/e2e-tests/test-applications/flutter-test-app/android/app/src/main/res/values-night/styles.xml +0 -18
  48. package/e2e-tests/test-applications/flutter-test-app/android/app/src/profile/AndroidManifest.xml +0 -7
  49. package/e2e-tests/test-applications/flutter-test-app/android/build.gradle +0 -18
  50. package/e2e-tests/test-applications/flutter-test-app/android/gradle/wrapper/gradle-wrapper.properties +0 -5
  51. package/e2e-tests/test-applications/flutter-test-app/android/gradle.properties +0 -3
  52. package/e2e-tests/test-applications/flutter-test-app/android/settings.gradle +0 -25
  53. package/e2e-tests/test-applications/flutter-test-app/lib/main.dart +0 -125
  54. package/e2e-tests/test-applications/flutter-test-app/linux/CMakeLists.txt +0 -145
  55. package/e2e-tests/test-applications/flutter-test-app/linux/flutter/CMakeLists.txt +0 -88
  56. package/e2e-tests/test-applications/flutter-test-app/linux/flutter/generated_plugin_registrant.cc +0 -11
  57. package/e2e-tests/test-applications/flutter-test-app/linux/flutter/generated_plugin_registrant.h +0 -15
  58. package/e2e-tests/test-applications/flutter-test-app/linux/flutter/generated_plugins.cmake +0 -23
  59. package/e2e-tests/test-applications/flutter-test-app/linux/main.cc +0 -6
  60. package/e2e-tests/test-applications/flutter-test-app/linux/my_application.cc +0 -124
  61. package/e2e-tests/test-applications/flutter-test-app/linux/my_application.h +0 -18
  62. package/e2e-tests/test-applications/flutter-test-app/macos/Flutter/Flutter-Debug.xcconfig +0 -2
  63. package/e2e-tests/test-applications/flutter-test-app/macos/Flutter/Flutter-Release.xcconfig +0 -2
  64. package/e2e-tests/test-applications/flutter-test-app/macos/Flutter/GeneratedPluginRegistrant.swift +0 -10
  65. package/e2e-tests/test-applications/flutter-test-app/macos/Podfile +0 -43
  66. package/e2e-tests/test-applications/flutter-test-app/macos/Runner/AppDelegate.swift +0 -9
  67. package/e2e-tests/test-applications/flutter-test-app/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json +0 -68
  68. package/e2e-tests/test-applications/flutter-test-app/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png +0 -0
  69. package/e2e-tests/test-applications/flutter-test-app/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png +0 -0
  70. package/e2e-tests/test-applications/flutter-test-app/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png +0 -0
  71. package/e2e-tests/test-applications/flutter-test-app/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png +0 -0
  72. package/e2e-tests/test-applications/flutter-test-app/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png +0 -0
  73. package/e2e-tests/test-applications/flutter-test-app/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png +0 -0
  74. package/e2e-tests/test-applications/flutter-test-app/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png +0 -0
  75. package/e2e-tests/test-applications/flutter-test-app/macos/Runner/Base.lproj/MainMenu.xib +0 -343
  76. package/e2e-tests/test-applications/flutter-test-app/macos/Runner/Configs/AppInfo.xcconfig +0 -14
  77. package/e2e-tests/test-applications/flutter-test-app/macos/Runner/Configs/Debug.xcconfig +0 -2
  78. package/e2e-tests/test-applications/flutter-test-app/macos/Runner/Configs/Release.xcconfig +0 -2
  79. package/e2e-tests/test-applications/flutter-test-app/macos/Runner/Configs/Warnings.xcconfig +0 -13
  80. package/e2e-tests/test-applications/flutter-test-app/macos/Runner/DebugProfile.entitlements +0 -12
  81. package/e2e-tests/test-applications/flutter-test-app/macos/Runner/Info.plist +0 -32
  82. package/e2e-tests/test-applications/flutter-test-app/macos/Runner/MainFlutterWindow.swift +0 -15
  83. package/e2e-tests/test-applications/flutter-test-app/macos/Runner/Release.entitlements +0 -8
  84. package/e2e-tests/test-applications/flutter-test-app/macos/Runner.xcodeproj/project.pbxproj +0 -705
  85. package/e2e-tests/test-applications/flutter-test-app/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +0 -8
  86. package/e2e-tests/test-applications/flutter-test-app/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme +0 -98
  87. package/e2e-tests/test-applications/flutter-test-app/macos/Runner.xcworkspace/contents.xcworkspacedata +0 -7
  88. package/e2e-tests/test-applications/flutter-test-app/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +0 -8
  89. package/e2e-tests/test-applications/flutter-test-app/macos/RunnerTests/RunnerTests.swift +0 -12
  90. package/e2e-tests/test-applications/flutter-test-app/pubspec.lock +0 -213
  91. package/e2e-tests/test-applications/flutter-test-app/pubspec.yaml +0 -89
  92. package/e2e-tests/test-applications/flutter-test-app/test/widget_test.dart +0 -30
  93. package/e2e-tests/test-applications/flutter-test-app/web/favicon.png +0 -0
  94. package/e2e-tests/test-applications/flutter-test-app/web/icons/Icon-192.png +0 -0
  95. package/e2e-tests/test-applications/flutter-test-app/web/icons/Icon-512.png +0 -0
  96. package/e2e-tests/test-applications/flutter-test-app/web/icons/Icon-maskable-192.png +0 -0
  97. package/e2e-tests/test-applications/flutter-test-app/web/icons/Icon-maskable-512.png +0 -0
  98. package/e2e-tests/test-applications/flutter-test-app/web/index.html +0 -38
  99. package/e2e-tests/test-applications/flutter-test-app/web/manifest.json +0 -35
  100. package/e2e-tests/test-applications/flutter-test-app/windows/CMakeLists.txt +0 -108
  101. package/e2e-tests/test-applications/flutter-test-app/windows/flutter/CMakeLists.txt +0 -109
  102. package/e2e-tests/test-applications/flutter-test-app/windows/flutter/generated_plugin_registrant.cc +0 -11
  103. package/e2e-tests/test-applications/flutter-test-app/windows/flutter/generated_plugin_registrant.h +0 -15
  104. package/e2e-tests/test-applications/flutter-test-app/windows/flutter/generated_plugins.cmake +0 -23
  105. package/e2e-tests/test-applications/flutter-test-app/windows/runner/CMakeLists.txt +0 -40
  106. package/e2e-tests/test-applications/flutter-test-app/windows/runner/Runner.rc +0 -121
  107. package/e2e-tests/test-applications/flutter-test-app/windows/runner/flutter_window.cpp +0 -71
  108. package/e2e-tests/test-applications/flutter-test-app/windows/runner/flutter_window.h +0 -33
  109. package/e2e-tests/test-applications/flutter-test-app/windows/runner/main.cpp +0 -43
  110. package/e2e-tests/test-applications/flutter-test-app/windows/runner/resource.h +0 -16
  111. package/e2e-tests/test-applications/flutter-test-app/windows/runner/resources/app_icon.ico +0 -0
  112. package/e2e-tests/test-applications/flutter-test-app/windows/runner/runner.exe.manifest +0 -14
  113. package/e2e-tests/test-applications/flutter-test-app/windows/runner/utils.cpp +0 -65
  114. package/e2e-tests/test-applications/flutter-test-app/windows/runner/utils.h +0 -19
  115. package/e2e-tests/test-applications/flutter-test-app/windows/runner/win32_window.cpp +0 -288
  116. package/e2e-tests/test-applications/flutter-test-app/windows/runner/win32_window.h +0 -102
  117. package/e2e-tests/test-applications/nextjs-test-app/next.config.mjs +0 -4
  118. package/e2e-tests/test-applications/nextjs-test-app/package.json +0 -22
  119. package/e2e-tests/test-applications/nextjs-test-app/src/app/layout.tsx +0 -20
  120. package/e2e-tests/test-applications/nextjs-test-app/src/app/page.tsx +0 -90
  121. package/e2e-tests/test-applications/nuxt-3-test-app/README.md +0 -75
  122. package/e2e-tests/test-applications/nuxt-3-test-app/nuxt.config.ts +0 -5
  123. package/e2e-tests/test-applications/nuxt-3-test-app/package.json +0 -18
  124. package/e2e-tests/test-applications/nuxt-3-test-app/public/favicon.ico +0 -0
  125. package/e2e-tests/test-applications/nuxt-3-test-app/public/robots.txt +0 -1
  126. package/e2e-tests/test-applications/nuxt-4-test-app/README.md +0 -75
  127. package/e2e-tests/test-applications/nuxt-4-test-app/nuxt.config.ts +0 -6
  128. package/e2e-tests/test-applications/nuxt-4-test-app/package.json +0 -18
  129. package/e2e-tests/test-applications/nuxt-4-test-app/public/favicon.ico +0 -0
  130. package/e2e-tests/test-applications/nuxt-4-test-app/public/robots.txt +0 -1
  131. package/e2e-tests/test-applications/remix-test-app/app/entry.client.tsx +0 -18
  132. package/e2e-tests/test-applications/remix-test-app/app/entry.server.tsx +0 -140
  133. package/e2e-tests/test-applications/remix-test-app/app/root.tsx +0 -30
  134. package/e2e-tests/test-applications/remix-test-app/app/routes/_index.tsx +0 -48
  135. package/e2e-tests/test-applications/remix-test-app/app/tailwind.css +0 -3
  136. package/e2e-tests/test-applications/remix-test-app/package.json +0 -37
  137. package/e2e-tests/test-applications/remix-test-app/postcss.config.js +0 -6
  138. package/e2e-tests/test-applications/remix-test-app/tailwind.config.ts +0 -9
  139. package/e2e-tests/test-applications/remix-test-app/vite.config.ts +0 -16
  140. package/e2e-tests/test-applications/sveltekit-test-app/package.json +0 -21
  141. package/e2e-tests/test-applications/sveltekit-test-app/src/app.d.ts +0 -13
  142. package/e2e-tests/test-applications/sveltekit-test-app/src/app.html +0 -11
  143. package/e2e-tests/test-applications/sveltekit-test-app/src/lib/index.ts +0 -1
  144. package/e2e-tests/test-applications/sveltekit-test-app/src/routes/+page.svelte +0 -2
  145. package/e2e-tests/test-applications/sveltekit-test-app/svelte.config.js +0 -18
  146. package/e2e-tests/test-applications/sveltekit-test-app/vite.config.ts +0 -6
  147. package/e2e-tests/tests/flutter.test.ts +0 -127
  148. package/e2e-tests/tests/nextjs.test.ts +0 -161
  149. package/e2e-tests/tests/nuxt-3.test.ts +0 -189
  150. package/e2e-tests/tests/nuxt-4.test.ts +0 -188
  151. package/e2e-tests/tests/remix.test.ts +0 -277
  152. package/e2e-tests/tests/sveltekit.test.ts +0 -284
  153. package/e2e-tests/utils/index.ts +0 -456
  154. package/index.ts +0 -2
  155. package/lib/Constants.ts +0 -118
  156. package/lib/Helper/BottomBar.ts +0 -28
  157. package/lib/Helper/Env.ts +0 -7
  158. package/lib/Helper/File.ts +0 -65
  159. package/lib/Helper/Git.ts +0 -39
  160. package/lib/Helper/Logging.ts +0 -44
  161. package/lib/Helper/MergeConfig.ts +0 -19
  162. package/lib/Helper/Package.ts +0 -80
  163. package/lib/Helper/SentryCli.ts +0 -139
  164. package/lib/Helper/Wizard.ts +0 -58
  165. package/lib/Helper/__tests__/File.ts +0 -15
  166. package/lib/Helper/__tests__/MergeConfig.ts +0 -98
  167. package/lib/Helper/__tests__/SentryCli.ts +0 -86
  168. package/lib/Helper/test-fixtures/next.config.1-merged.js +0 -18
  169. package/lib/Helper/test-fixtures/next.config.1.js +0 -6
  170. package/lib/Helper/test-fixtures/next.config.2.js +0 -8
  171. package/lib/Helper/test-fixtures/next.config.3-merged.js +0 -21
  172. package/lib/Helper/test-fixtures/next.config.3.js +0 -9
  173. package/lib/Helper/test-fixtures/next.config.4-merged.js +0 -21
  174. package/lib/Helper/test-fixtures/next.config.4.js +0 -9
  175. package/lib/Setup.ts +0 -40
  176. package/lib/Steps/BaseStep.ts +0 -25
  177. package/lib/Steps/ChooseIntegration.ts +0 -144
  178. package/lib/Steps/ConfigureProject.ts +0 -10
  179. package/lib/Steps/Initial.ts +0 -35
  180. package/lib/Steps/Integrations/BaseIntegration.ts +0 -42
  181. package/lib/Steps/Integrations/Cordova.ts +0 -283
  182. package/lib/Steps/Integrations/Electron.ts +0 -164
  183. package/lib/Steps/Integrations/MobileProject.ts +0 -72
  184. package/lib/Steps/OpenSentry.ts +0 -80
  185. package/lib/Steps/PromptForParameters.ts +0 -200
  186. package/lib/Steps/Result.ts +0 -22
  187. package/lib/Steps/SentryProjectSelector.ts +0 -83
  188. package/lib/Steps/ShouldConfigure.ts +0 -10
  189. package/lib/Steps/WaitForSentry.ts +0 -56
  190. package/lib/Steps/Welcome.ts +0 -21
  191. package/lib/Steps/index.ts +0 -10
  192. package/lib/__tests__/Env.ts +0 -29
  193. package/scripts/NextJs/configs/_error.js +0 -39
  194. package/scripts/NextJs/configs/next.config.js +0 -36
  195. package/scripts/NextJs/configs/next.config.template.js +0 -12
  196. package/scripts/NextJs/configs/sentry.client.config.js +0 -17
  197. package/scripts/NextJs/configs/sentry.edge.config.js +0 -17
  198. package/scripts/NextJs/configs/sentry.server.config.js +0 -17
  199. package/scripts/NextJs/sentry_sample_error.js +0 -47
  200. package/scripts/craft-pre-release.sh +0 -10
  201. package/src/android/android-wizard.ts +0 -192
  202. package/src/android/code-tools.ts +0 -170
  203. package/src/android/gradle.ts +0 -250
  204. package/src/android/manifest.ts +0 -180
  205. package/src/android/templates.ts +0 -86
  206. package/src/apple/apple-wizard.ts +0 -269
  207. package/src/apple/cocoapod.ts +0 -73
  208. package/src/apple/code-tools.ts +0 -147
  209. package/src/apple/fastlane.ts +0 -170
  210. package/src/apple/templates.ts +0 -65
  211. package/src/apple/xcode-manager.ts +0 -404
  212. package/src/flutter/code-tools.ts +0 -284
  213. package/src/flutter/flutter-wizard.ts +0 -164
  214. package/src/flutter/templates.ts +0 -90
  215. package/src/nextjs/nextjs-wizard.ts +0 -1007
  216. package/src/nextjs/templates.ts +0 -525
  217. package/src/nextjs/utils.ts +0 -21
  218. package/src/nuxt/nuxt-wizard.ts +0 -188
  219. package/src/nuxt/sdk-example.ts +0 -135
  220. package/src/nuxt/sdk-setup.ts +0 -352
  221. package/src/nuxt/templates.ts +0 -303
  222. package/src/nuxt/types.ts +0 -8
  223. package/src/nuxt/utils.ts +0 -42
  224. package/src/react-native/expo-env-file.ts +0 -55
  225. package/src/react-native/expo-metro.ts +0 -212
  226. package/src/react-native/expo.ts +0 -175
  227. package/src/react-native/git.ts +0 -25
  228. package/src/react-native/glob.ts +0 -13
  229. package/src/react-native/gradle.ts +0 -26
  230. package/src/react-native/javascript.ts +0 -103
  231. package/src/react-native/metro.ts +0 -599
  232. package/src/react-native/options.ts +0 -5
  233. package/src/react-native/react-native-wizard.ts +0 -512
  234. package/src/react-native/uninstall.ts +0 -109
  235. package/src/react-native/xcode.ts +0 -302
  236. package/src/remix/codemods/express-server.ts +0 -44
  237. package/src/remix/codemods/handle-error.ts +0 -118
  238. package/src/remix/codemods/root-common.ts +0 -63
  239. package/src/remix/codemods/root-v1.ts +0 -41
  240. package/src/remix/codemods/root-v2.ts +0 -153
  241. package/src/remix/remix-wizard.ts +0 -261
  242. package/src/remix/sdk-example.ts +0 -120
  243. package/src/remix/sdk-setup.ts +0 -546
  244. package/src/remix/templates.ts +0 -11
  245. package/src/remix/utils.ts +0 -96
  246. package/src/run.ts +0 -211
  247. package/src/sourcemaps/sourcemaps-wizard.ts +0 -364
  248. package/src/sourcemaps/tools/angular.ts +0 -42
  249. package/src/sourcemaps/tools/create-react-app.ts +0 -19
  250. package/src/sourcemaps/tools/esbuild.ts +0 -65
  251. package/src/sourcemaps/tools/nextjs.ts +0 -114
  252. package/src/sourcemaps/tools/remix.ts +0 -90
  253. package/src/sourcemaps/tools/rollup.ts +0 -67
  254. package/src/sourcemaps/tools/sentry-cli.ts +0 -287
  255. package/src/sourcemaps/tools/tsc.ts +0 -144
  256. package/src/sourcemaps/tools/types.ts +0 -11
  257. package/src/sourcemaps/tools/vite.ts +0 -300
  258. package/src/sourcemaps/tools/webpack.ts +0 -383
  259. package/src/sourcemaps/utils/detect-tool.ts +0 -46
  260. package/src/sourcemaps/utils/other-wizards.ts +0 -167
  261. package/src/sourcemaps/utils/sdk-version.ts +0 -266
  262. package/src/sveltekit/sdk-example.ts +0 -56
  263. package/src/sveltekit/sdk-setup.ts +0 -667
  264. package/src/sveltekit/sveltekit-wizard.ts +0 -192
  265. package/src/sveltekit/templates.ts +0 -185
  266. package/src/sveltekit/utils.ts +0 -50
  267. package/src/telemetry.ts +0 -144
  268. package/src/utils/ast-utils.ts +0 -270
  269. package/src/utils/bash.ts +0 -57
  270. package/src/utils/clack-utils.ts +0 -1536
  271. package/src/utils/debug.ts +0 -20
  272. package/src/utils/package-json.ts +0 -51
  273. package/src/utils/package-manager.ts +0 -172
  274. package/src/utils/release-registry.ts +0 -19
  275. package/src/utils/semver.ts +0 -33
  276. package/src/utils/sentrycli-utils.ts +0 -24
  277. package/src/utils/string.ts +0 -7
  278. package/src/utils/types.ts +0 -77
  279. package/src/utils/url.ts +0 -27
  280. package/src/utils/vendor/is-unicorn-supported.ts +0 -29
  281. package/test/android/code-tools.test.ts +0 -49
  282. package/test/apple/cocoapod.test.ts +0 -310
  283. package/test/apple/code-tools.test.ts +0 -1042
  284. package/test/apple/fastfile.test.ts +0 -555
  285. package/test/apple/templates.test.ts +0 -191
  286. package/test/apple/xcode-manager.test.ts +0 -1068
  287. package/test/flutter/code-tools.test.ts +0 -212
  288. package/test/flutter/templates.test.ts +0 -100
  289. package/test/nextjs/templates.test.ts +0 -429
  290. package/test/nuxt/templates.test.ts +0 -255
  291. package/test/react-native/expo-metro.test.ts +0 -81
  292. package/test/react-native/expo.test.ts +0 -86
  293. package/test/react-native/gradle.test.ts +0 -310
  294. package/test/react-native/javascript.test.ts +0 -134
  295. package/test/react-native/metro.test.ts +0 -396
  296. package/test/react-native/xcode.test.ts +0 -401
  297. package/test/remix/client-entry.test.ts +0 -122
  298. package/test/remix/server-instrumentation.test.ts +0 -36
  299. package/test/sourcemaps/tools/sentry-cli.test.ts +0 -57
  300. package/test/sourcemaps/tools/tsc.test.ts +0 -181
  301. package/test/sourcemaps/tools/vite.test.ts +0 -149
  302. package/test/sourcemaps/tools/webpack.test.ts +0 -303
  303. package/test/sveltekit/templates.test.ts +0 -152
  304. package/test/utils/ast-utils.test.ts +0 -264
  305. package/test/utils/clack-utils.test.ts +0 -224
  306. package/types/read-env.d.ts +0 -3
  307. package/types/xcode.d.ts +0 -527
@@ -1,12 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <!-- Modify this file to customize your launch splash screen -->
3
- <layer-list xmlns:android="http://schemas.android.com/apk/res/android">
4
- <item android:drawable="@android:color/white" />
5
-
6
- <!-- You can insert your own image assets here -->
7
- <!-- <item>
8
- <bitmap
9
- android:gravity="center"
10
- android:src="@mipmap/launch_image" />
11
- </item> -->
12
- </layer-list>
@@ -1,12 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <!-- Modify this file to customize your launch splash screen -->
3
- <layer-list xmlns:android="http://schemas.android.com/apk/res/android">
4
- <item android:drawable="?android:colorBackground" />
5
-
6
- <!-- You can insert your own image assets here -->
7
- <!-- <item>
8
- <bitmap
9
- android:gravity="center"
10
- android:src="@mipmap/launch_image" />
11
- </item> -->
12
- </layer-list>
@@ -1,18 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <resources>
3
- <!-- Theme applied to the Android Window while the process is starting when the OS's Dark Mode setting is off -->
4
- <style name="LaunchTheme" parent="@android:style/Theme.Light.NoTitleBar">
5
- <!-- Show a splash screen on the activity. Automatically removed when
6
- the Flutter engine draws its first frame -->
7
- <item name="android:windowBackground">@drawable/launch_background</item>
8
- </style>
9
- <!-- Theme applied to the Android Window as soon as the process has started.
10
- This theme determines the color of the Android Window while your
11
- Flutter UI initializes, as well as behind your Flutter UI while its
12
- running.
13
-
14
- This Theme is only used starting with V2 of Flutter's Android embedding. -->
15
- <style name="NormalTheme" parent="@android:style/Theme.Light.NoTitleBar">
16
- <item name="android:windowBackground">?android:colorBackground</item>
17
- </style>
18
- </resources>
@@ -1,18 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <resources>
3
- <!-- Theme applied to the Android Window while the process is starting when the OS's Dark Mode setting is on -->
4
- <style name="LaunchTheme" parent="@android:style/Theme.Black.NoTitleBar">
5
- <!-- Show a splash screen on the activity. Automatically removed when
6
- the Flutter engine draws its first frame -->
7
- <item name="android:windowBackground">@drawable/launch_background</item>
8
- </style>
9
- <!-- Theme applied to the Android Window as soon as the process has started.
10
- This theme determines the color of the Android Window while your
11
- Flutter UI initializes, as well as behind your Flutter UI while its
12
- running.
13
-
14
- This Theme is only used starting with V2 of Flutter's Android embedding. -->
15
- <style name="NormalTheme" parent="@android:style/Theme.Black.NoTitleBar">
16
- <item name="android:windowBackground">?android:colorBackground</item>
17
- </style>
18
- </resources>
@@ -1,7 +0,0 @@
1
- <manifest xmlns:android="http://schemas.android.com/apk/res/android">
2
- <!-- The INTERNET permission is required for development. Specifically,
3
- the Flutter tool needs it to communicate with the running application
4
- to allow setting breakpoints, to provide hot reload, etc.
5
- -->
6
- <uses-permission android:name="android.permission.INTERNET"/>
7
- </manifest>
@@ -1,18 +0,0 @@
1
- allprojects {
2
- repositories {
3
- google()
4
- mavenCentral()
5
- }
6
- }
7
-
8
- rootProject.buildDir = "../build"
9
- subprojects {
10
- project.buildDir = "${rootProject.buildDir}/${project.name}"
11
- }
12
- subprojects {
13
- project.evaluationDependsOn(":app")
14
- }
15
-
16
- tasks.register("clean", Delete) {
17
- delete rootProject.buildDir
18
- }
@@ -1,5 +0,0 @@
1
- distributionBase=GRADLE_USER_HOME
2
- distributionPath=wrapper/dists
3
- zipStoreBase=GRADLE_USER_HOME
4
- zipStorePath=wrapper/dists
5
- distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-all.zip
@@ -1,3 +0,0 @@
1
- org.gradle.jvmargs=-Xmx4G -XX:MaxMetaspaceSize=2G -XX:+HeapDumpOnOutOfMemoryError
2
- android.useAndroidX=true
3
- android.enableJetifier=true
@@ -1,25 +0,0 @@
1
- pluginManagement {
2
- def flutterSdkPath = {
3
- def properties = new Properties()
4
- file("local.properties").withInputStream { properties.load(it) }
5
- def flutterSdkPath = properties.getProperty("flutter.sdk")
6
- assert flutterSdkPath != null, "flutter.sdk not set in local.properties"
7
- return flutterSdkPath
8
- }()
9
-
10
- includeBuild("$flutterSdkPath/packages/flutter_tools/gradle")
11
-
12
- repositories {
13
- google()
14
- mavenCentral()
15
- gradlePluginPortal()
16
- }
17
- }
18
-
19
- plugins {
20
- id "dev.flutter.flutter-plugin-loader" version "1.0.0"
21
- id "com.android.application" version "8.1.0" apply false
22
- id "org.jetbrains.kotlin.android" version "1.8.22" apply false
23
- }
24
-
25
- include ":app"
@@ -1,125 +0,0 @@
1
- import 'package:flutter/material.dart';
2
-
3
- void main() {
4
- runApp(const MyApp());
5
- }
6
-
7
- class MyApp extends StatelessWidget {
8
- const MyApp({super.key});
9
-
10
- // This widget is the root of your application.
11
- @override
12
- Widget build(BuildContext context) {
13
- return MaterialApp(
14
- title: 'Flutter Demo',
15
- theme: ThemeData(
16
- // This is the theme of your application.
17
- //
18
- // TRY THIS: Try running your application with "flutter run". You'll see
19
- // the application has a purple toolbar. Then, without quitting the app,
20
- // try changing the seedColor in the colorScheme below to Colors.green
21
- // and then invoke "hot reload" (save your changes or press the "hot
22
- // reload" button in a Flutter-supported IDE, or press "r" if you used
23
- // the command line to start the app).
24
- //
25
- // Notice that the counter didn't reset back to zero; the application
26
- // state is not lost during the reload. To reset the state, use hot
27
- // restart instead.
28
- //
29
- // This works for code too, not just values: Most code changes can be
30
- // tested with just a hot reload.
31
- colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
32
- useMaterial3: true,
33
- ),
34
- home: const MyHomePage(title: 'Flutter Demo Home Page'),
35
- );
36
- }
37
- }
38
-
39
- class MyHomePage extends StatefulWidget {
40
- const MyHomePage({super.key, required this.title});
41
-
42
- // This widget is the home page of your application. It is stateful, meaning
43
- // that it has a State object (defined below) that contains fields that affect
44
- // how it looks.
45
-
46
- // This class is the configuration for the state. It holds the values (in this
47
- // case the title) provided by the parent (in this case the App widget) and
48
- // used by the build method of the State. Fields in a Widget subclass are
49
- // always marked "final".
50
-
51
- final String title;
52
-
53
- @override
54
- State<MyHomePage> createState() => _MyHomePageState();
55
- }
56
-
57
- class _MyHomePageState extends State<MyHomePage> {
58
- int _counter = 0;
59
-
60
- void _incrementCounter() {
61
- setState(() {
62
- // This call to setState tells the Flutter framework that something has
63
- // changed in this State, which causes it to rerun the build method below
64
- // so that the display can reflect the updated values. If we changed
65
- // _counter without calling setState(), then the build method would not be
66
- // called again, and so nothing would appear to happen.
67
- _counter++;
68
- });
69
- }
70
-
71
- @override
72
- Widget build(BuildContext context) {
73
- // This method is rerun every time setState is called, for instance as done
74
- // by the _incrementCounter method above.
75
- //
76
- // The Flutter framework has been optimized to make rerunning build methods
77
- // fast, so that you can just rebuild anything that needs updating rather
78
- // than having to individually change instances of widgets.
79
- return Scaffold(
80
- appBar: AppBar(
81
- // TRY THIS: Try changing the color here to a specific color (to
82
- // Colors.amber, perhaps?) and trigger a hot reload to see the AppBar
83
- // change color while the other colors stay the same.
84
- backgroundColor: Theme.of(context).colorScheme.inversePrimary,
85
- // Here we take the value from the MyHomePage object that was created by
86
- // the App.build method, and use it to set our appbar title.
87
- title: Text(widget.title),
88
- ),
89
- body: Center(
90
- // Center is a layout widget. It takes a single child and positions it
91
- // in the middle of the parent.
92
- child: Column(
93
- // Column is also a layout widget. It takes a list of children and
94
- // arranges them vertically. By default, it sizes itself to fit its
95
- // children horizontally, and tries to be as tall as its parent.
96
- //
97
- // Column has various properties to control how it sizes itself and
98
- // how it positions its children. Here we use mainAxisAlignment to
99
- // center the children vertically; the main axis here is the vertical
100
- // axis because Columns are vertical (the cross axis would be
101
- // horizontal).
102
- //
103
- // TRY THIS: Invoke "debug painting" (choose the "Toggle Debug Paint"
104
- // action in the IDE, or press "p" in the console), to see the
105
- // wireframe for each widget.
106
- mainAxisAlignment: MainAxisAlignment.center,
107
- children: <Widget>[
108
- const Text(
109
- 'You have pushed the button this many times:',
110
- ),
111
- Text(
112
- '$_counter',
113
- style: Theme.of(context).textTheme.headlineMedium,
114
- ),
115
- ],
116
- ),
117
- ),
118
- floatingActionButton: FloatingActionButton(
119
- onPressed: _incrementCounter,
120
- tooltip: 'Increment',
121
- child: const Icon(Icons.add),
122
- ), // This trailing comma makes auto-formatting nicer for build methods.
123
- );
124
- }
125
- }
@@ -1,145 +0,0 @@
1
- # Project-level configuration.
2
- cmake_minimum_required(VERSION 3.10)
3
- project(runner LANGUAGES CXX)
4
-
5
- # The name of the executable created for the application. Change this to change
6
- # the on-disk name of your application.
7
- set(BINARY_NAME "flutter_magic")
8
- # The unique GTK application identifier for this application. See:
9
- # https://wiki.gnome.org/HowDoI/ChooseApplicationID
10
- set(APPLICATION_ID "com.example.flutter_magic")
11
-
12
- # Explicitly opt in to modern CMake behaviors to avoid warnings with recent
13
- # versions of CMake.
14
- cmake_policy(SET CMP0063 NEW)
15
-
16
- # Load bundled libraries from the lib/ directory relative to the binary.
17
- set(CMAKE_INSTALL_RPATH "$ORIGIN/lib")
18
-
19
- # Root filesystem for cross-building.
20
- if(FLUTTER_TARGET_PLATFORM_SYSROOT)
21
- set(CMAKE_SYSROOT ${FLUTTER_TARGET_PLATFORM_SYSROOT})
22
- set(CMAKE_FIND_ROOT_PATH ${CMAKE_SYSROOT})
23
- set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
24
- set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY)
25
- set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
26
- set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
27
- endif()
28
-
29
- # Define build configuration options.
30
- if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
31
- set(CMAKE_BUILD_TYPE "Debug" CACHE
32
- STRING "Flutter build mode" FORCE)
33
- set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS
34
- "Debug" "Profile" "Release")
35
- endif()
36
-
37
- # Compilation settings that should be applied to most targets.
38
- #
39
- # Be cautious about adding new options here, as plugins use this function by
40
- # default. In most cases, you should add new options to specific targets instead
41
- # of modifying this function.
42
- function(APPLY_STANDARD_SETTINGS TARGET)
43
- target_compile_features(${TARGET} PUBLIC cxx_std_14)
44
- target_compile_options(${TARGET} PRIVATE -Wall -Werror)
45
- target_compile_options(${TARGET} PRIVATE "$<$<NOT:$<CONFIG:Debug>>:-O3>")
46
- target_compile_definitions(${TARGET} PRIVATE "$<$<NOT:$<CONFIG:Debug>>:NDEBUG>")
47
- endfunction()
48
-
49
- # Flutter library and tool build rules.
50
- set(FLUTTER_MANAGED_DIR "${CMAKE_CURRENT_SOURCE_DIR}/flutter")
51
- add_subdirectory(${FLUTTER_MANAGED_DIR})
52
-
53
- # System-level dependencies.
54
- find_package(PkgConfig REQUIRED)
55
- pkg_check_modules(GTK REQUIRED IMPORTED_TARGET gtk+-3.0)
56
-
57
- add_definitions(-DAPPLICATION_ID="${APPLICATION_ID}")
58
-
59
- # Define the application target. To change its name, change BINARY_NAME above,
60
- # not the value here, or `flutter run` will no longer work.
61
- #
62
- # Any new source files that you add to the application should be added here.
63
- add_executable(${BINARY_NAME}
64
- "main.cc"
65
- "my_application.cc"
66
- "${FLUTTER_MANAGED_DIR}/generated_plugin_registrant.cc"
67
- )
68
-
69
- # Apply the standard set of build settings. This can be removed for applications
70
- # that need different build settings.
71
- apply_standard_settings(${BINARY_NAME})
72
-
73
- # Add dependency libraries. Add any application-specific dependencies here.
74
- target_link_libraries(${BINARY_NAME} PRIVATE flutter)
75
- target_link_libraries(${BINARY_NAME} PRIVATE PkgConfig::GTK)
76
-
77
- # Run the Flutter tool portions of the build. This must not be removed.
78
- add_dependencies(${BINARY_NAME} flutter_assemble)
79
-
80
- # Only the install-generated bundle's copy of the executable will launch
81
- # correctly, since the resources must in the right relative locations. To avoid
82
- # people trying to run the unbundled copy, put it in a subdirectory instead of
83
- # the default top-level location.
84
- set_target_properties(${BINARY_NAME}
85
- PROPERTIES
86
- RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/intermediates_do_not_run"
87
- )
88
-
89
-
90
- # Generated plugin build rules, which manage building the plugins and adding
91
- # them to the application.
92
- include(flutter/generated_plugins.cmake)
93
-
94
-
95
- # === Installation ===
96
- # By default, "installing" just makes a relocatable bundle in the build
97
- # directory.
98
- set(BUILD_BUNDLE_DIR "${PROJECT_BINARY_DIR}/bundle")
99
- if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
100
- set(CMAKE_INSTALL_PREFIX "${BUILD_BUNDLE_DIR}" CACHE PATH "..." FORCE)
101
- endif()
102
-
103
- # Start with a clean build bundle directory every time.
104
- install(CODE "
105
- file(REMOVE_RECURSE \"${BUILD_BUNDLE_DIR}/\")
106
- " COMPONENT Runtime)
107
-
108
- set(INSTALL_BUNDLE_DATA_DIR "${CMAKE_INSTALL_PREFIX}/data")
109
- set(INSTALL_BUNDLE_LIB_DIR "${CMAKE_INSTALL_PREFIX}/lib")
110
-
111
- install(TARGETS ${BINARY_NAME} RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}"
112
- COMPONENT Runtime)
113
-
114
- install(FILES "${FLUTTER_ICU_DATA_FILE}" DESTINATION "${INSTALL_BUNDLE_DATA_DIR}"
115
- COMPONENT Runtime)
116
-
117
- install(FILES "${FLUTTER_LIBRARY}" DESTINATION "${INSTALL_BUNDLE_LIB_DIR}"
118
- COMPONENT Runtime)
119
-
120
- foreach(bundled_library ${PLUGIN_BUNDLED_LIBRARIES})
121
- install(FILES "${bundled_library}"
122
- DESTINATION "${INSTALL_BUNDLE_LIB_DIR}"
123
- COMPONENT Runtime)
124
- endforeach(bundled_library)
125
-
126
- # Copy the native assets provided by the build.dart from all packages.
127
- set(NATIVE_ASSETS_DIR "${PROJECT_BUILD_DIR}native_assets/linux/")
128
- install(DIRECTORY "${NATIVE_ASSETS_DIR}"
129
- DESTINATION "${INSTALL_BUNDLE_LIB_DIR}"
130
- COMPONENT Runtime)
131
-
132
- # Fully re-copy the assets directory on each build to avoid having stale files
133
- # from a previous install.
134
- set(FLUTTER_ASSET_DIR_NAME "flutter_assets")
135
- install(CODE "
136
- file(REMOVE_RECURSE \"${INSTALL_BUNDLE_DATA_DIR}/${FLUTTER_ASSET_DIR_NAME}\")
137
- " COMPONENT Runtime)
138
- install(DIRECTORY "${PROJECT_BUILD_DIR}/${FLUTTER_ASSET_DIR_NAME}"
139
- DESTINATION "${INSTALL_BUNDLE_DATA_DIR}" COMPONENT Runtime)
140
-
141
- # Install the AOT library on non-Debug builds only.
142
- if(NOT CMAKE_BUILD_TYPE MATCHES "Debug")
143
- install(FILES "${AOT_LIBRARY}" DESTINATION "${INSTALL_BUNDLE_LIB_DIR}"
144
- COMPONENT Runtime)
145
- endif()
@@ -1,88 +0,0 @@
1
- # This file controls Flutter-level build steps. It should not be edited.
2
- cmake_minimum_required(VERSION 3.10)
3
-
4
- set(EPHEMERAL_DIR "${CMAKE_CURRENT_SOURCE_DIR}/ephemeral")
5
-
6
- # Configuration provided via flutter tool.
7
- include(${EPHEMERAL_DIR}/generated_config.cmake)
8
-
9
- # TODO: Move the rest of this into files in ephemeral. See
10
- # https://github.com/flutter/flutter/issues/57146.
11
-
12
- # Serves the same purpose as list(TRANSFORM ... PREPEND ...),
13
- # which isn't available in 3.10.
14
- function(list_prepend LIST_NAME PREFIX)
15
- set(NEW_LIST "")
16
- foreach(element ${${LIST_NAME}})
17
- list(APPEND NEW_LIST "${PREFIX}${element}")
18
- endforeach(element)
19
- set(${LIST_NAME} "${NEW_LIST}" PARENT_SCOPE)
20
- endfunction()
21
-
22
- # === Flutter Library ===
23
- # System-level dependencies.
24
- find_package(PkgConfig REQUIRED)
25
- pkg_check_modules(GTK REQUIRED IMPORTED_TARGET gtk+-3.0)
26
- pkg_check_modules(GLIB REQUIRED IMPORTED_TARGET glib-2.0)
27
- pkg_check_modules(GIO REQUIRED IMPORTED_TARGET gio-2.0)
28
-
29
- set(FLUTTER_LIBRARY "${EPHEMERAL_DIR}/libflutter_linux_gtk.so")
30
-
31
- # Published to parent scope for install step.
32
- set(FLUTTER_LIBRARY ${FLUTTER_LIBRARY} PARENT_SCOPE)
33
- set(FLUTTER_ICU_DATA_FILE "${EPHEMERAL_DIR}/icudtl.dat" PARENT_SCOPE)
34
- set(PROJECT_BUILD_DIR "${PROJECT_DIR}/build/" PARENT_SCOPE)
35
- set(AOT_LIBRARY "${PROJECT_DIR}/build/lib/libapp.so" PARENT_SCOPE)
36
-
37
- list(APPEND FLUTTER_LIBRARY_HEADERS
38
- "fl_basic_message_channel.h"
39
- "fl_binary_codec.h"
40
- "fl_binary_messenger.h"
41
- "fl_dart_project.h"
42
- "fl_engine.h"
43
- "fl_json_message_codec.h"
44
- "fl_json_method_codec.h"
45
- "fl_message_codec.h"
46
- "fl_method_call.h"
47
- "fl_method_channel.h"
48
- "fl_method_codec.h"
49
- "fl_method_response.h"
50
- "fl_plugin_registrar.h"
51
- "fl_plugin_registry.h"
52
- "fl_standard_message_codec.h"
53
- "fl_standard_method_codec.h"
54
- "fl_string_codec.h"
55
- "fl_value.h"
56
- "fl_view.h"
57
- "flutter_linux.h"
58
- )
59
- list_prepend(FLUTTER_LIBRARY_HEADERS "${EPHEMERAL_DIR}/flutter_linux/")
60
- add_library(flutter INTERFACE)
61
- target_include_directories(flutter INTERFACE
62
- "${EPHEMERAL_DIR}"
63
- )
64
- target_link_libraries(flutter INTERFACE "${FLUTTER_LIBRARY}")
65
- target_link_libraries(flutter INTERFACE
66
- PkgConfig::GTK
67
- PkgConfig::GLIB
68
- PkgConfig::GIO
69
- )
70
- add_dependencies(flutter flutter_assemble)
71
-
72
- # === Flutter tool backend ===
73
- # _phony_ is a non-existent file to force this command to run every time,
74
- # since currently there's no way to get a full input/output list from the
75
- # flutter tool.
76
- add_custom_command(
77
- OUTPUT ${FLUTTER_LIBRARY} ${FLUTTER_LIBRARY_HEADERS}
78
- ${CMAKE_CURRENT_BINARY_DIR}/_phony_
79
- COMMAND ${CMAKE_COMMAND} -E env
80
- ${FLUTTER_TOOL_ENVIRONMENT}
81
- "${FLUTTER_ROOT}/packages/flutter_tools/bin/tool_backend.sh"
82
- ${FLUTTER_TARGET_PLATFORM} ${CMAKE_BUILD_TYPE}
83
- VERBATIM
84
- )
85
- add_custom_target(flutter_assemble DEPENDS
86
- "${FLUTTER_LIBRARY}"
87
- ${FLUTTER_LIBRARY_HEADERS}
88
- )
@@ -1,11 +0,0 @@
1
- //
2
- // Generated file. Do not edit.
3
- //
4
-
5
- // clang-format off
6
-
7
- #include "generated_plugin_registrant.h"
8
-
9
-
10
- void fl_register_plugins(FlPluginRegistry* registry) {
11
- }
@@ -1,15 +0,0 @@
1
- //
2
- // Generated file. Do not edit.
3
- //
4
-
5
- // clang-format off
6
-
7
- #ifndef GENERATED_PLUGIN_REGISTRANT_
8
- #define GENERATED_PLUGIN_REGISTRANT_
9
-
10
- #include <flutter_linux/flutter_linux.h>
11
-
12
- // Registers Flutter plugins.
13
- void fl_register_plugins(FlPluginRegistry* registry);
14
-
15
- #endif // GENERATED_PLUGIN_REGISTRANT_
@@ -1,23 +0,0 @@
1
- #
2
- # Generated file, do not edit.
3
- #
4
-
5
- list(APPEND FLUTTER_PLUGIN_LIST
6
- )
7
-
8
- list(APPEND FLUTTER_FFI_PLUGIN_LIST
9
- )
10
-
11
- set(PLUGIN_BUNDLED_LIBRARIES)
12
-
13
- foreach(plugin ${FLUTTER_PLUGIN_LIST})
14
- add_subdirectory(flutter/ephemeral/.plugin_symlinks/${plugin}/linux plugins/${plugin})
15
- target_link_libraries(${BINARY_NAME} PRIVATE ${plugin}_plugin)
16
- list(APPEND PLUGIN_BUNDLED_LIBRARIES $<TARGET_FILE:${plugin}_plugin>)
17
- list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${plugin}_bundled_libraries})
18
- endforeach(plugin)
19
-
20
- foreach(ffi_plugin ${FLUTTER_FFI_PLUGIN_LIST})
21
- add_subdirectory(flutter/ephemeral/.plugin_symlinks/${ffi_plugin}/linux plugins/${ffi_plugin})
22
- list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${ffi_plugin}_bundled_libraries})
23
- endforeach(ffi_plugin)
@@ -1,6 +0,0 @@
1
- #include "my_application.h"
2
-
3
- int main(int argc, char** argv) {
4
- g_autoptr(MyApplication) app = my_application_new();
5
- return g_application_run(G_APPLICATION(app), argc, argv);
6
- }