@component-hook/create-app 1.1.1 → 1.1.3

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 (86) hide show
  1. package/README.md +6 -4
  2. package/dist/index.js +34 -30
  3. package/package.json +2 -2
  4. package/template-react/.vscode/extensions.json +9 -0
  5. package/template-react/.vscode/settings.json +24 -0
  6. package/template-react/README.md.art +86 -0
  7. package/template-react/eslint.config.js +18 -0
  8. package/template-react/index.html.art +13 -0
  9. package/template-react/lint-staged.config.js +6 -0
  10. package/template-react/package.json +68 -0
  11. package/template-react/pnpm-lock.yaml +9897 -0
  12. package/template-react/public/vite.svg +1 -0
  13. package/template-react/src/App.tsx +6 -0
  14. package/template-react/src/__tests__/e2e/home.spec.ts +40 -0
  15. package/template-react/src/__tests__/unit/pages/home/components/HelloWorld.test.tsx +45 -0
  16. package/template-react/src/__tests__/unit/pages/home/index.test.tsx +19 -0
  17. package/template-react/src/__tests__/unit/render/index.tsx +15 -0
  18. package/template-react/src/assets/svg-icons/react.svg +1 -0
  19. package/template-react/src/components/common/index.ts +1 -0
  20. package/template-react/src/components/common/svg-icon/index.ts +1 -0
  21. package/template-react/src/components/common/svg-icon/src/index.tsx +23 -0
  22. package/template-react/src/main.tsx +26 -0
  23. package/template-react/src/mocks/browser.ts +4 -0
  24. package/template-react/src/mocks/handlers/index.ts +1 -0
  25. package/template-react/src/mocks/server.ts +4 -0
  26. package/template-react/src/pages/home/components/hello-world/index.tsx +47 -0
  27. package/template-react/src/pages/home/index.module.css +8 -0
  28. package/template-react/src/pages/home/index.tsx +37 -0
  29. package/template-react/src/plugins/i18n/index.ts +15 -0
  30. package/template-react/src/plugins/i18n/locales/en-US.json +3 -0
  31. package/template-react/src/plugins/i18n/locales/zh-TW.json +3 -0
  32. package/template-react/src/router/index.tsx +22 -0
  33. package/template-react/src/stores/constants.ts +1 -0
  34. package/template-react/src/stores/index.ts +1 -0
  35. package/template-react/src/stores/middleware.ts +17 -0
  36. package/template-react/src/stores/modules/config.ts +25 -0
  37. package/template-react/src/styles/base.css +68 -0
  38. package/template-react/src/styles/common/all.css +1 -0
  39. package/template-react/src/styles/common/button.css +26 -0
  40. package/template-react/src/styles/index.css +3 -0
  41. package/template-react/src/styles/tailwind.css +14 -0
  42. package/template-react/src/vite-env.d.ts +9 -0
  43. package/template-react/tsconfig.app.json +32 -0
  44. package/template-react/tsconfig.vitest.json +10 -0
  45. package/template-react/vite.config.ts +50 -0
  46. package/template-react/vitest.config.ts +18 -0
  47. package/template-react/vitest.setup.ts +13 -0
  48. package/template-shared/.browserslistrc +10 -0
  49. package/{template-vue → template-shared}/.github/workflows/preview.yml +1 -1
  50. package/{template-vue → template-shared}/.husky/commit-msg +0 -2
  51. package/{template-vue → template-shared}/.husky/pre-commit +0 -2
  52. package/{template-vue → template-shared}/_gitignore +0 -3
  53. package/{template-vue → template-shared}/postcss.config.js +2 -0
  54. package/{template-vue → template-shared}/tsconfig.node.json +2 -2
  55. package/template-vue/README.md.art +8 -10
  56. package/template-vue/package.json +25 -29
  57. package/template-vue/src/__tests__/e2e/home.spec.ts +28 -20
  58. package/template-vue/src/__tests__/unit/{components/home → pages/home/components}/HelloWorld.test.ts +1 -1
  59. package/template-vue/src/__tests__/unit/pages/home/index.test.ts +17 -0
  60. package/template-vue/src/components/common/index.ts +1 -0
  61. package/template-vue/src/main.ts +2 -4
  62. package/template-vue/src/pages/home/index.vue +2 -1
  63. package/template-vue/src/plugins/i18n.ts +2 -6
  64. package/template-vue/src/stores/constants.ts.art +1 -0
  65. package/template-vue/src/stores/index.ts +14 -2
  66. package/template-vue/src/stores/modules/{config.ts.art → config.ts} +1 -1
  67. package/template-vue/src/styles/base.css +14 -3
  68. package/template-vue/tsconfig.app.json +2 -3
  69. package/template-vue/tsconfig.vitest.json +5 -3
  70. package/template-vue/vite.config.ts +7 -1
  71. package/template-vue/vitest.config.ts +1 -4
  72. package/template-vue/{src/__tests__/setup/unit-test.ts → vitest.setup.ts} +7 -1
  73. /package/{template-vue → template-shared}/.github/actions/setup-environment/action.yml +0 -0
  74. /package/{template-vue → template-shared}/.github/renovate.json +0 -0
  75. /package/{template-vue → template-shared}/.github/workflows/ci.yml +0 -0
  76. /package/{template-vue → template-shared}/.github/workflows/deploy.yml +0 -0
  77. /package/{template-vue → template-shared}/.gitlab/setup.yml +0 -0
  78. /package/{template-vue → template-shared}/LICENSE +0 -0
  79. /package/{template-vue → template-shared}/_gitlab-ci.yml +0 -0
  80. /package/{template-vue → template-shared}/commitlint.config.js +0 -0
  81. /package/{template-vue → template-shared}/playwright.config.ts +0 -0
  82. /package/{template-vue → template-shared}/prettier.config.js +0 -0
  83. /package/{template-vue → template-shared}/tsconfig.json +0 -0
  84. /package/template-vue/src/assets/{images/svg-icons → svg-icons}/vue.svg +0 -0
  85. /package/template-vue/src/components/{svg-icon → common/svg-icon}/index.ts +0 -0
  86. /package/template-vue/src/components/{svg-icon → common/svg-icon}/src/index.vue +0 -0

There are too many changes on this page to be displayed.


The amount of changes on this page would crash your brower.

You can still verify the content by downloading the package file manually.