create-switch-framework-app 0.1.0 → 0.2.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.
Files changed (37) hide show
  1. package/README.md +25 -25
  2. package/bin/create-switch-framework-app.js +510 -502
  3. package/package.json +31 -31
  4. package/templates/electron/base/app/(tabs)/+not-found.js +157 -157
  5. package/templates/electron/base/app/(tabs)/_layout.js +57 -93
  6. package/templates/electron/base/app/(tabs)/explore.js +55 -44
  7. package/templates/electron/base/app/(tabs)/index.js +10 -24
  8. package/templates/electron/base/app/+not-found.js +148 -158
  9. package/templates/electron/base/app/_layout.js +24 -44
  10. package/templates/electron/base/app/index.js +16 -30
  11. package/templates/electron/base/assets/logo.svg +5 -5
  12. package/templates/electron/base/components/SwSplashScreen.js +1 -1
  13. package/templates/electron/base/components/SwStarterSplashScreen.js +130 -140
  14. package/templates/electron/base/components/SwTabBar.js +146 -153
  15. package/templates/electron/base/electron/electron-builder.json +19 -19
  16. package/templates/electron/base/electron/main.js +30 -30
  17. package/templates/electron/base/electron/preload.js +5 -5
  18. package/templates/electron/base/index.js +2 -3
  19. package/templates/electron/base/main.js +1 -1
  20. package/templates/electron/base/preload.js +1 -1
  21. package/templates/electron/base/server.js +27 -42
  22. package/templates/web/base/app/(tabs)/+not-found.js +157 -157
  23. package/templates/web/base/app/(tabs)/_layout.js +57 -93
  24. package/templates/web/base/app/(tabs)/explore.js +55 -44
  25. package/templates/web/base/app/(tabs)/index.js +10 -24
  26. package/templates/web/base/app/+not-found.js +148 -158
  27. package/templates/web/base/app/_layout.js +24 -44
  28. package/templates/web/base/app/index.js +16 -30
  29. package/templates/web/base/assets/logo.svg +5 -5
  30. package/templates/web/base/components/SwSplashScreen.js +1 -1
  31. package/templates/web/base/components/SwStarterSplashScreen.js +130 -140
  32. package/templates/web/base/components/SwTabBar.js +146 -153
  33. package/templates/web/base/index.js +2 -3
  34. package/templates/electron/base/app/(tabs)/register.js +0 -12
  35. package/templates/electron/base/app/register.js +0 -12
  36. package/templates/web/base/app/(tabs)/register.js +0 -12
  37. package/templates/web/base/app/register.js +0 -12
package/README.md CHANGED
@@ -1,25 +1,25 @@
1
- # create-switch-framework-app
2
-
3
- Status: Under maintenance. Documentation is not ready yet.
4
-
5
- create-switch-framework-app is a CLI for initializing apps that use Switch Framework tools.
6
-
7
- It can scaffold projects for:
8
-
9
- - Web app development
10
- - Electron desktop app development
11
-
12
- ## Usage
13
-
14
- ```bash
15
- npx create-switch-framework-app my-app
16
- ```
17
-
18
- Or install globally:
19
-
20
- ```bash
21
- npm i -g create-switch-framework-app
22
- create-switch-framework-app my-app
23
- ```
24
-
25
- Made by Switcherfaiz
1
+ # create-switch-framework-app
2
+
3
+ Status: Under maintenance. Documentation is not ready yet.
4
+
5
+ create-switch-framework-app is a CLI for initializing apps that use Switch Framework tools.
6
+
7
+ It can scaffold projects for:
8
+
9
+ - Web app development
10
+ - Electron desktop app development
11
+
12
+ ## Usage
13
+
14
+ ```bash
15
+ npx create-switch-framework-app my-app
16
+ ```
17
+
18
+ Or install globally:
19
+
20
+ ```bash
21
+ npm i -g create-switch-framework-app
22
+ create-switch-framework-app my-app
23
+ ```
24
+
25
+ Made by Switcherfaiz