@qlover/create-app 0.1.11 → 0.1.14

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 (67) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/bin/create-app.js +0 -0
  3. package/dist/index.cjs +3631 -0
  4. package/dist/{cjs/index.d.ts → index.d.ts} +3 -2
  5. package/dist/index.js +3625 -0
  6. package/package.json +17 -16
  7. package/templates/node-lib/bin/test.js +1 -1
  8. package/templates/node-lib/package.json +2 -2
  9. package/templates/node-lib/rollup.config.js +1 -2
  10. package/templates/pack-app/package.json +1 -1
  11. package/templates/react-app/.env +23 -2
  12. package/templates/react-app/.env.local +24 -0
  13. package/templates/react-app/config/common.ts +3 -0
  14. package/templates/react-app/lib/bootstrap/Bootstrap.ts +36 -0
  15. package/templates/react-app/lib/bootstrap/BootstrapExecutorPlugin.ts +20 -0
  16. package/templates/react-app/lib/bootstrap/IOCContainerInterface.ts +33 -0
  17. package/templates/react-app/lib/bootstrap/IOCManagerInterface.ts +12 -0
  18. package/templates/react-app/lib/bootstrap/index.ts +7 -0
  19. package/templates/react-app/lib/bootstrap/plugins/InjectEnv.ts +61 -0
  20. package/templates/react-app/lib/bootstrap/plugins/InjectGlobal.ts +36 -0
  21. package/templates/react-app/lib/bootstrap/plugins/InjectIOC.ts +24 -0
  22. package/templates/react-app/lib/env-config/injectPkgConfig.ts +11 -0
  23. package/templates/react-app/lib/openAiApi/OpenAIClient.ts +1 -1
  24. package/templates/react-app/lib/router-loader/Page.ts +8 -4
  25. package/templates/react-app/lib/router-loader/RouterLoader.ts +1 -1
  26. package/templates/react-app/package.json +3 -1
  27. package/templates/react-app/pnpm-lock.yaml +5892 -0
  28. package/templates/react-app/src/base/consts/IOCIdentifier.ts +16 -0
  29. package/templates/react-app/src/base/port/IOCFunctionInterface.ts +39 -0
  30. package/templates/react-app/src/base/port/InversifyIocInterface.ts +9 -0
  31. package/templates/react-app/src/base/port/StorageTokenInterface.ts +22 -0
  32. package/templates/react-app/src/base/types/Page.ts +4 -13
  33. package/templates/react-app/src/base/types/global.d.ts +2 -1
  34. package/templates/react-app/src/components/ThemeSwitcher.tsx +1 -1
  35. package/templates/react-app/src/core/AppConfig.ts +27 -0
  36. package/templates/react-app/src/core/AppIOCContainer.ts +30 -0
  37. package/templates/react-app/src/core/IOC.ts +48 -0
  38. package/templates/react-app/src/core/bootstrap.ts +59 -14
  39. package/templates/react-app/src/core/globals.ts +1 -1
  40. package/templates/react-app/src/core/registers/RegisterApi.ts +59 -0
  41. package/templates/react-app/src/core/registers/RegisterCommon.ts +21 -0
  42. package/templates/react-app/src/core/{feIOC → registers}/RegisterControllers.ts +16 -11
  43. package/templates/react-app/src/core/registers/RegisterGlobals.ts +20 -0
  44. package/templates/react-app/src/core/registers/index.ts +17 -0
  45. package/templates/react-app/src/main.tsx +4 -3
  46. package/templates/react-app/src/pages/auth/Layout.tsx +1 -1
  47. package/templates/react-app/src/pages/auth/Login.tsx +4 -4
  48. package/templates/react-app/src/pages/base/Executor.tsx +1 -1
  49. package/templates/react-app/src/pages/base/JSONStorage.tsx +1 -1
  50. package/templates/react-app/src/pages/base/Request.tsx +1 -1
  51. package/templates/react-app/src/services/I18nService.ts +18 -14
  52. package/templates/react-app/src/uikit/contexts/BaseRouteContext.ts +7 -1
  53. package/templates/react-app/src/uikit/providers/ProcessProvider.tsx +1 -1
  54. package/templates/react-app/src/uikit/utils/RequestLogger.ts +4 -1
  55. package/templates/react-app/tsconfig.json +2 -1
  56. package/templates/react-app/tsconfig.node.json +6 -2
  57. package/templates/react-app/vite.config.ts +14 -0
  58. package/configs/_common/.release-it.json.template +0 -42
  59. package/dist/cjs/index.js +0 -1
  60. package/dist/es/index.d.ts +0 -112
  61. package/dist/es/index.js +0 -1
  62. package/templates/react-app/config/app.common.ts +0 -52
  63. package/templates/react-app/src/base/port/IOCInterface.ts +0 -53
  64. package/templates/react-app/src/core/feIOC/FeIOC.ts +0 -32
  65. package/templates/react-app/src/core/feIOC/RegisterApi.ts +0 -41
  66. package/templates/react-app/src/core/feIOC/RegisterCommon.ts +0 -20
  67. package/templates/react-app/src/core/index.ts +0 -31
package/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
 
2
2
 
3
+ ## 0.1.14 (2025-04-17)
4
+
5
+ ## [0.1.12](https://github.com/qlover/fe-base/compare/create-app-v0.1.11...create-app-v0.1.12) (2025-03-18)
6
+
7
+
8
+ ### Features
9
+
10
+ * add inversify ioc ([#270](https://github.com/qlover/fe-base/issues/270)) ([8c7ba06](https://github.com/qlover/fe-base/commit/8c7ba06bc5bef63d85c59a94737afac9be59138f))
11
+
3
12
  ## [0.1.11](https://github.com/qlover/fe-base/compare/create-app-v0.1.10...create-app-v0.1.11) (2025-03-12)
4
13
 
5
14
  ## [0.1.10](https://github.com/qlover/fe-base/compare/create-app-v0.1.9...create-app-v0.1.10) (2025-02-20)
package/bin/create-app.js CHANGED
File without changes