@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.
- package/README.md +6 -4
- package/dist/index.js +34 -30
- package/package.json +2 -2
- package/template-react/.vscode/extensions.json +9 -0
- package/template-react/.vscode/settings.json +24 -0
- package/template-react/README.md.art +86 -0
- package/template-react/eslint.config.js +18 -0
- package/template-react/index.html.art +13 -0
- package/template-react/lint-staged.config.js +6 -0
- package/template-react/package.json +68 -0
- package/template-react/pnpm-lock.yaml +9897 -0
- package/template-react/public/vite.svg +1 -0
- package/template-react/src/App.tsx +6 -0
- package/template-react/src/__tests__/e2e/home.spec.ts +40 -0
- package/template-react/src/__tests__/unit/pages/home/components/HelloWorld.test.tsx +45 -0
- package/template-react/src/__tests__/unit/pages/home/index.test.tsx +19 -0
- package/template-react/src/__tests__/unit/render/index.tsx +15 -0
- package/template-react/src/assets/svg-icons/react.svg +1 -0
- package/template-react/src/components/common/index.ts +1 -0
- package/template-react/src/components/common/svg-icon/index.ts +1 -0
- package/template-react/src/components/common/svg-icon/src/index.tsx +23 -0
- package/template-react/src/main.tsx +26 -0
- package/template-react/src/mocks/browser.ts +4 -0
- package/template-react/src/mocks/handlers/index.ts +1 -0
- package/template-react/src/mocks/server.ts +4 -0
- package/template-react/src/pages/home/components/hello-world/index.tsx +47 -0
- package/template-react/src/pages/home/index.module.css +8 -0
- package/template-react/src/pages/home/index.tsx +37 -0
- package/template-react/src/plugins/i18n/index.ts +15 -0
- package/template-react/src/plugins/i18n/locales/en-US.json +3 -0
- package/template-react/src/plugins/i18n/locales/zh-TW.json +3 -0
- package/template-react/src/router/index.tsx +22 -0
- package/template-react/src/stores/constants.ts +1 -0
- package/template-react/src/stores/index.ts +1 -0
- package/template-react/src/stores/middleware.ts +17 -0
- package/template-react/src/stores/modules/config.ts +25 -0
- package/template-react/src/styles/base.css +68 -0
- package/template-react/src/styles/common/all.css +1 -0
- package/template-react/src/styles/common/button.css +26 -0
- package/template-react/src/styles/index.css +3 -0
- package/template-react/src/styles/tailwind.css +14 -0
- package/template-react/src/vite-env.d.ts +9 -0
- package/template-react/tsconfig.app.json +32 -0
- package/template-react/tsconfig.vitest.json +10 -0
- package/template-react/vite.config.ts +50 -0
- package/template-react/vitest.config.ts +18 -0
- package/template-react/vitest.setup.ts +13 -0
- package/template-shared/.browserslistrc +10 -0
- package/{template-vue → template-shared}/.github/workflows/preview.yml +1 -1
- package/{template-vue → template-shared}/.husky/commit-msg +0 -2
- package/{template-vue → template-shared}/.husky/pre-commit +0 -2
- package/{template-vue → template-shared}/_gitignore +0 -3
- package/{template-vue → template-shared}/postcss.config.js +2 -0
- package/{template-vue → template-shared}/tsconfig.node.json +2 -2
- package/template-vue/README.md.art +8 -10
- package/template-vue/package.json +25 -29
- package/template-vue/src/__tests__/e2e/home.spec.ts +28 -20
- package/template-vue/src/__tests__/unit/{components/home → pages/home/components}/HelloWorld.test.ts +1 -1
- package/template-vue/src/__tests__/unit/pages/home/index.test.ts +17 -0
- package/template-vue/src/components/common/index.ts +1 -0
- package/template-vue/src/main.ts +2 -4
- package/template-vue/src/pages/home/index.vue +2 -1
- package/template-vue/src/plugins/i18n.ts +2 -6
- package/template-vue/src/stores/constants.ts.art +1 -0
- package/template-vue/src/stores/index.ts +14 -2
- package/template-vue/src/stores/modules/{config.ts.art → config.ts} +1 -1
- package/template-vue/src/styles/base.css +14 -3
- package/template-vue/tsconfig.app.json +2 -3
- package/template-vue/tsconfig.vitest.json +5 -3
- package/template-vue/vite.config.ts +7 -1
- package/template-vue/vitest.config.ts +1 -4
- package/template-vue/{src/__tests__/setup/unit-test.ts → vitest.setup.ts} +7 -1
- /package/{template-vue → template-shared}/.github/actions/setup-environment/action.yml +0 -0
- /package/{template-vue → template-shared}/.github/renovate.json +0 -0
- /package/{template-vue → template-shared}/.github/workflows/ci.yml +0 -0
- /package/{template-vue → template-shared}/.github/workflows/deploy.yml +0 -0
- /package/{template-vue → template-shared}/.gitlab/setup.yml +0 -0
- /package/{template-vue → template-shared}/LICENSE +0 -0
- /package/{template-vue → template-shared}/_gitlab-ci.yml +0 -0
- /package/{template-vue → template-shared}/commitlint.config.js +0 -0
- /package/{template-vue → template-shared}/playwright.config.ts +0 -0
- /package/{template-vue → template-shared}/prettier.config.js +0 -0
- /package/{template-vue → template-shared}/tsconfig.json +0 -0
- /package/template-vue/src/assets/{images/svg-icons → svg-icons}/vue.svg +0 -0
- /package/template-vue/src/components/{svg-icon → common/svg-icon}/index.ts +0 -0
- /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.