create-packer 1.26.4 → 1.28.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.
- package/.gitignore +30 -30
- package/LICENSE +21 -21
- package/README.md +22 -22
- package/package.json +4 -4
- package/template/cli/.eslintrc +35 -35
- package/template/cli/.gitignore +29 -29
- package/template/cli/.prettierignore +6 -6
- package/template/cli/.prettierrc.js +20 -20
- package/template/cli/LICENSE +21 -21
- package/template/cli/README.md +13 -13
- package/template/cli/commitlint.config.cjs +1 -1
- package/template/cli/package.json +50 -50
- package/template/cli/pnpm-workspace.yaml +2 -2
- package/template/cli/src/createTemp.ts +63 -63
- package/template/cli/src/index.ts +5 -5
- package/template/cli/src/utils/index.ts +49 -49
- package/template/cli/template/template-1/index.ts +1 -1
- package/template/cli/tsconfig.json +20 -20
- package/template/cli/utils/pub.js +43 -43
- package/template/docusaurus/.gitignore +35 -35
- package/template/docusaurus/README.md +41 -41
- package/template/docusaurus/babel.config.js +3 -3
- package/template/docusaurus/blog/2019-05-28-first-blog-post.md +12 -12
- package/template/docusaurus/blog/2019-05-29-long-blog-post.md +44 -44
- package/template/docusaurus/blog/2021-08-01-mdx-blog-post.mdx +20 -20
- package/template/docusaurus/blog/2021-08-26-welcome/index.md +25 -25
- package/template/docusaurus/blog/authors.yml +17 -17
- package/template/docusaurus/docs/intro.mdx +47 -47
- package/template/docusaurus/docs/tutorial-basics/_category_.json +8 -8
- package/template/docusaurus/docs/tutorial-basics/congratulations.md +23 -23
- package/template/docusaurus/docs/tutorial-basics/create-a-blog-post.md +34 -34
- package/template/docusaurus/docs/tutorial-basics/create-a-document.md +57 -57
- package/template/docusaurus/docs/tutorial-basics/create-a-page.md +43 -43
- package/template/docusaurus/docs/tutorial-basics/deploy-your-site.md +31 -31
- package/template/docusaurus/docs/tutorial-basics/markdown-features.mdx +150 -150
- package/template/docusaurus/docs/tutorial-extras/_category_.json +7 -7
- package/template/docusaurus/docs/tutorial-extras/manage-docs-versions.md +55 -55
- package/template/docusaurus/docs/tutorial-extras/translate-your-site.md +88 -88
- package/template/docusaurus/docusaurus.config.js +116 -116
- package/template/docusaurus/package.json +52 -52
- package/template/docusaurus/sidebars.js +19 -19
- package/template/docusaurus/src/components/HomepageFeatures/index.tsx +70 -70
- package/template/docusaurus/src/components/HomepageFeatures/styles.module.css +11 -11
- package/template/docusaurus/src/css/custom.css +30 -30
- package/template/docusaurus/src/pages/index.module.css +23 -23
- package/template/docusaurus/src/pages/index.tsx +40 -40
- package/template/docusaurus/src/pages/markdown-page.md +7 -7
- package/template/docusaurus/static/img/undraw_docusaurus_mountain.svg +171 -171
- package/template/docusaurus/static/img/undraw_docusaurus_react.svg +170 -170
- package/template/docusaurus/static/img/undraw_docusaurus_tree.svg +40 -40
- package/template/docusaurus/tsconfig.json +7 -7
- package/template/lib/react/.eslintrc +84 -84
- package/template/lib/react/.storybook/main.ts +23 -23
- package/template/lib/react/.storybook/preview.ts +16 -16
- package/template/lib/react/.stylelintrc +29 -23
- package/template/lib/react/global.d.ts +18 -18
- package/template/lib/react/package.json +51 -51
- package/template/lib/react/postcss.config.cjs +9 -9
- package/template/lib/react/src/Introduction.mdx +3 -3
- package/template/lib/react/src/button/button.css +30 -30
- package/template/lib/react/src/button/button.stories.ts +43 -43
- package/template/lib/react/src/button/button.tsx +50 -50
- package/template/lib/react/src/button/index.ts +1 -1
- package/template/lib/react/src/index.ts +1 -1
- package/template/lib/react/tailwind.config.cjs +11 -11
- package/template/lib/react/tsconfig.json +26 -26
- package/template/lib/ts/.eslintrc +73 -73
- package/template/lib/ts/package.json +29 -29
- package/template/lib/ts/src/index.ts +5 -5
- package/template/lib/ts/tsconfig.json +19 -19
- package/template/nest/.eslintrc.js +25 -25
- package/template/nest/.gitignore +34 -34
- package/template/nest/.husky/pre-commit +4 -4
- package/template/nest/.prettierrc +6 -6
- package/template/nest/README.md +73 -73
- package/template/nest/nest-cli.json +5 -5
- package/template/nest/package.json +84 -84
- package/template/nest/src/app.controller.spec.ts +22 -22
- package/template/nest/src/app.controller.ts +12 -12
- package/template/nest/src/app.module.ts +10 -10
- package/template/nest/src/app.service.ts +8 -8
- package/template/nest/src/main.ts +10 -10
- package/template/nest/src/utils/transform.interceptor.ts +26 -26
- package/template/nest/test/app.e2e-spec.ts +24 -24
- package/template/nest/test/jest-e2e.json +9 -9
- package/template/nest/tsconfig.build.json +5 -5
- package/template/nest/tsconfig.json +21 -21
- package/template/web-app/next/.eslintrc.json +8 -8
- package/template/web-app/next/.gitignore +36 -36
- package/template/web-app/next/.husky/commit-msg +4 -4
- package/template/web-app/next/.husky/pre-commit +4 -4
- package/template/web-app/next/.stylelintrc +29 -23
- package/template/web-app/next/README.md +34 -34
- package/template/web-app/next/app/globals.css +22 -22
- package/template/web-app/next/app/layout.tsx +18 -18
- package/template/web-app/next/app/page.tsx +113 -113
- package/template/web-app/next/commitlint.config.cjs +1 -1
- package/template/web-app/next/next-env.d.ts +5 -5
- package/template/web-app/next/next.config.js +5 -5
- package/template/web-app/next/package.json +47 -47
- package/template/web-app/next/postcss.config.js +6 -6
- package/template/web-app/next/tailwind.config.js +20 -20
- package/template/web-app/next/tsconfig.json +21 -21
- package/template/web-app/react/.env +2 -2
- package/template/web-app/react/.env.development +2 -2
- package/template/web-app/react/.eslintignore +4 -4
- package/template/web-app/react/.eslintrc +92 -92
- package/template/web-app/react/.gitignore +27 -27
- package/template/web-app/react/.husky/commit-msg +4 -4
- package/template/web-app/react/.husky/pre-commit +4 -4
- package/template/web-app/react/.prettierignore +6 -6
- package/template/web-app/react/.stylelintignore +4 -4
- package/template/web-app/react/.stylelintrc +29 -23
- package/template/web-app/react/README.md +14 -14
- package/template/web-app/react/commitlint.config.cjs +1 -1
- package/template/web-app/react/domain/app/app.model.ts +7 -7
- package/template/web-app/react/domain/app/components/app.tsx +23 -17
- package/template/web-app/react/domain/app/components/index.ts +1 -1
- package/template/web-app/react/domain/app/index.ts +2 -2
- package/template/web-app/react/{router → domain/router}/home/ids.ts +3 -3
- package/template/web-app/react/{router → domain/router}/home/index.ts +2 -2
- package/template/web-app/{react-webpack → react/domain}/router/home/routes.tsx +13 -13
- package/template/web-app/{react-webpack → react/domain}/router/ids.ts +6 -6
- package/template/web-app/react/{router → domain/router}/index.ts +3 -4
- package/template/web-app/react/domain/router/router.tsx +28 -0
- package/template/web-app/react/domain/router/router.types.ts +3 -0
- package/template/web-app/react/index.css +3 -3
- package/template/web-app/react/index.html +13 -13
- package/template/web-app/react/main.tsx +5 -11
- package/template/web-app/react/mockUtils.ts +6 -6
- package/template/web-app/react/package.json +78 -77
- package/template/web-app/react/pages/home/home.css +1 -1
- package/template/web-app/react/pages/home/home.mock.ts +16 -16
- package/template/web-app/react/pages/home/home.tsx +13 -13
- package/template/web-app/react/pages/home/index.ts +1 -1
- package/template/web-app/react/pages/index.tsx +22 -21
- package/template/web-app/react/pages/not-found.tsx +3 -3
- package/template/web-app/react/postcss.config.cjs +9 -9
- package/template/web-app/react/scripts/createChunks.ts +26 -26
- package/template/web-app/react/scripts/index.ts +1 -1
- package/template/web-app/react/shared/hooks/defineRouter/defineRouter.types.ts +30 -0
- package/template/web-app/react/shared/hooks/defineRouter/deineRouter.tsx +160 -0
- package/template/web-app/react/shared/hooks/defineRouter/index.ts +2 -0
- package/template/web-app/react/shared/hooks/index.ts +6 -5
- package/template/web-app/react/shared/hooks/useInterval.ts +26 -26
- package/template/web-app/react/shared/hooks/useLoadingAction.ts +27 -27
- package/template/web-app/react/shared/hooks/useLowPriorityState.ts +26 -26
- package/template/web-app/react/shared/hooks/useSyncState.ts +15 -15
- package/template/web-app/react/shared/hooks/useVisible.ts +27 -27
- package/template/web-app/react/shared/service/api.ts +1 -1
- package/template/web-app/react/shared/service/index.ts +2 -2
- package/template/web-app/react/shared/service/request.ts +7 -7
- package/template/web-app/react/shared/tools/componentInstance.tsx +80 -78
- package/template/web-app/react/shared/tools/index.ts +1 -1
- package/template/web-app/react/shared/types/index.ts +1 -1
- package/template/web-app/react/shared/types/utils.ts +2 -2
- package/template/web-app/react/tailwind.config.cjs +17 -17
- package/template/web-app/react/tsconfig.json +28 -27
- package/template/web-app/react/tsconfig.node.json +10 -10
- package/template/web-app/react/vite-env.d.ts +12 -12
- package/template/web-app/react/vite.config.ts +65 -76
- package/template/web-app/react-webpack/.editorconfig +13 -13
- package/template/web-app/react-webpack/.env +2 -2
- package/template/web-app/react-webpack/.env.dev +2 -2
- package/template/web-app/react-webpack/.eslintignore +4 -4
- package/template/web-app/react-webpack/.eslintrc +119 -91
- package/template/web-app/react-webpack/.gitignore +26 -26
- package/template/web-app/react-webpack/.husky/commit-msg +4 -4
- package/template/web-app/react-webpack/.husky/pre-commit +4 -4
- package/template/web-app/react-webpack/.prettierignore +6 -6
- package/template/web-app/react-webpack/.stylelintignore +4 -4
- package/template/web-app/react-webpack/.stylelintrc +29 -23
- package/template/web-app/react-webpack/README.md +13 -13
- package/template/web-app/react-webpack/commitlint.config.js +1 -1
- package/template/web-app/react-webpack/domain/app/app.model.ts +7 -7
- package/template/web-app/react-webpack/domain/app/components/app.tsx +23 -17
- package/template/web-app/react-webpack/domain/app/components/index.ts +1 -1
- package/template/web-app/react-webpack/domain/app/index.ts +2 -2
- package/template/web-app/react-webpack/{router → domain/router}/home/ids.ts +3 -3
- package/template/web-app/react-webpack/{router → domain/router}/home/index.ts +2 -2
- package/template/web-app/{react → react-webpack/domain}/router/home/routes.tsx +13 -13
- package/template/web-app/{react → react-webpack/domain}/router/ids.ts +6 -6
- package/template/web-app/react-webpack/{router → domain/router}/index.ts +3 -4
- package/template/web-app/react-webpack/domain/router/router.tsx +28 -0
- package/template/web-app/react-webpack/domain/router/router.types.ts +3 -0
- package/template/web-app/react-webpack/global.d.ts +17 -17
- package/template/web-app/react-webpack/index.css +3 -3
- package/template/web-app/react-webpack/index.html +12 -12
- package/template/web-app/react-webpack/main.tsx +5 -11
- package/template/web-app/react-webpack/package.json +86 -89
- package/template/web-app/react-webpack/pages/home/home.tsx +6 -6
- package/template/web-app/react-webpack/pages/home/index.ts +1 -1
- package/template/web-app/react-webpack/pages/index.tsx +22 -21
- package/template/web-app/react-webpack/pages/not-found.tsx +3 -3
- package/template/web-app/react-webpack/postcss.config.js +9 -9
- package/template/web-app/react-webpack/shared/hooks/defineRouter/defineRouter.types.ts +30 -0
- package/template/web-app/react-webpack/shared/hooks/defineRouter/deineRouter.tsx +160 -0
- package/template/web-app/react-webpack/shared/hooks/defineRouter/index.ts +2 -0
- package/template/web-app/react-webpack/shared/hooks/index.ts +6 -5
- package/template/web-app/react-webpack/shared/hooks/useInterval.ts +26 -26
- package/template/web-app/react-webpack/shared/hooks/useLoadingAction.ts +27 -27
- package/template/web-app/react-webpack/shared/hooks/useLowPriorityState.ts +26 -26
- package/template/web-app/react-webpack/shared/hooks/useSyncState.ts +15 -15
- package/template/web-app/react-webpack/shared/hooks/useVisible.ts +27 -27
- package/template/web-app/react-webpack/shared/service/index.ts +1 -1
- package/template/web-app/react-webpack/shared/service/request.ts +7 -7
- package/template/web-app/react-webpack/shared/tools/componentInstance.tsx +78 -78
- package/template/web-app/react-webpack/shared/tools/index.ts +1 -1
- package/template/web-app/react-webpack/shared/types/index.ts +1 -1
- package/template/web-app/react-webpack/shared/types/utils.ts +2 -2
- package/template/web-app/react-webpack/tailwind.config.js +17 -17
- package/template/web-app/react-webpack/tsconfig.json +38 -27
- package/template/web-app/react-webpack/tsconfig.node.json +9 -9
- package/template/web-app/react-webpack/webpack.config.mjs +162 -163
- package/template/web-app/react-webpack/webpack_config/constant.mjs +5 -5
- package/template/web-app/solid/.gitignore +1 -1
- package/template/web-app/solid/.stylelintrc +29 -23
- package/template/web-app/solid/README.md +34 -34
- package/template/web-app/solid/index.html +16 -16
- package/template/web-app/solid/package.json +51 -51
- package/template/web-app/solid/src/app.container.tsx +12 -12
- package/template/web-app/solid/src/index.css +15 -15
- package/template/web-app/solid/src/index.tsx +15 -15
- package/template/web-app/solid/src/layout/index.ts +1 -1
- package/template/web-app/solid/src/layout/layout.container.tsx +5 -5
- package/template/web-app/solid/src/pages/home/home.container.tsx +5 -5
- package/template/web-app/solid/src/pages/home/index.ts +1 -1
- package/template/web-app/solid/src/pages/notFound/index.ts +1 -1
- package/template/web-app/solid/src/pages/notFound/notFound.container.tsx +3 -3
- package/template/web-app/solid/src/router/home/index.ts +2 -2
- package/template/web-app/solid/src/router/home/paths.ts +3 -3
- package/template/web-app/solid/src/router/home/routes.tsx +12 -12
- package/template/web-app/solid/src/router/index.ts +2 -2
- package/template/web-app/solid/src/router/paths.ts +5 -5
- package/template/web-app/solid/src/router/routes.ts +16 -16
- package/template/web-app/solid/tsconfig.json +20 -20
- package/template/web-app/solid/vite.config.ts +23 -23
- package/template/web-app/svelte/.env +2 -2
- package/template/web-app/svelte/.env.development +2 -2
- package/template/web-app/svelte/.eslintignore +13 -13
- package/template/web-app/svelte/.eslintrc +76 -76
- package/template/web-app/svelte/.gitignore +27 -27
- package/template/web-app/svelte/.husky/commit-msg +4 -4
- package/template/web-app/svelte/.husky/pre-commit +4 -4
- package/template/web-app/svelte/.prettierignore +6 -6
- package/template/web-app/svelte/.prettierrc +14 -14
- package/template/web-app/svelte/.svelte-kit/ambient.d.ts +153 -153
- package/template/web-app/svelte/.svelte-kit/generated/client/app.js +18 -18
- package/template/web-app/svelte/.svelte-kit/generated/root.svelte +55 -55
- package/template/web-app/svelte/.svelte-kit/generated/server/internal.js +30 -30
- package/template/web-app/svelte/.svelte-kit/tsconfig.json +38 -38
- package/template/web-app/svelte/.svelte-kit/types/route_meta_data.json +2 -2
- package/template/web-app/svelte/.svelte-kit/types/src/routes/$types.d.ts +19 -19
- package/template/web-app/svelte/README.md +38 -38
- package/template/web-app/svelte/commitlint.config.cjs +1 -1
- package/template/web-app/svelte/package.json +51 -51
- package/template/web-app/svelte/scripts/createChunks.ts +26 -26
- package/template/web-app/svelte/scripts/index.ts +1 -1
- package/template/web-app/svelte/src/app.d.ts +12 -12
- package/template/web-app/svelte/src/app.html +12 -12
- package/template/web-app/svelte/src/routes/+page.svelte +2 -2
- package/template/web-app/svelte/svelte.config.js +18 -18
- package/template/web-app/svelte/tsconfig.json +21 -21
- package/template/web-app/svelte/vite-env.d.ts +12 -12
- package/template/web-app/svelte/vite.config.ts +49 -49
- package/template/web-app/vue/.env +2 -2
- package/template/web-app/vue/.env.development +2 -2
- package/template/web-app/vue/.eslintignore +4 -4
- package/template/web-app/vue/.eslintrc +104 -104
- package/template/web-app/vue/.gitignore +27 -27
- package/template/web-app/vue/.prettierignore +6 -6
- package/template/web-app/vue/.stylelintignore +4 -4
- package/template/web-app/vue/.stylelintrc +29 -23
- package/template/web-app/vue/README.md +13 -13
- package/template/web-app/vue/domain/app/app.ts +4 -4
- package/template/web-app/vue/domain/app/components/app.vue +18 -18
- package/template/web-app/vue/domain/app/components/index.ts +1 -1
- package/template/web-app/vue/domain/app/createComponentInstance.ts +44 -44
- package/template/web-app/vue/main.ts +6 -6
- package/template/web-app/vue/mockUtils.ts +6 -6
- package/template/web-app/vue/package.json +70 -68
- package/template/web-app/vue/pages/home/home.mock.ts +16 -16
- package/template/web-app/vue/pages/home/home.vue +13 -13
- package/template/web-app/vue/pages/home/index.ts +1 -1
- package/template/web-app/vue/pages/index.ts +1 -1
- package/template/web-app/vue/pages/index.vue +3 -3
- package/template/web-app/vue/pages/not-found.vue +3 -3
- package/template/web-app/vue/router/home/index.ts +2 -2
- package/template/web-app/vue/router/home/names.ts +3 -3
- package/template/web-app/vue/router/home/routes.ts +8 -8
- package/template/web-app/vue/router/index.ts +26 -26
- package/template/web-app/vue/router/names.ts +5 -5
- package/template/web-app/vue/scripts/createChunks.ts +26 -26
- package/template/web-app/vue/scripts/index.ts +1 -1
- package/template/web-app/vue/shared/hooks/index.ts +2 -2
- package/template/web-app/vue/shared/hooks/useList.ts +104 -104
- package/template/web-app/vue/shared/hooks/useVisible.ts +27 -27
- package/template/web-app/vue/shared/service/api.ts +1 -1
- package/template/web-app/vue/shared/service/index.ts +2 -2
- package/template/web-app/vue/shared/service/request.ts +7 -7
- package/template/web-app/vue/style.css +3 -3
- package/template/web-app/vue/tailwind.config.cjs +18 -18
- package/template/web-app/vue/tsconfig.json +24 -24
- package/template/web-app/vue/vite-env.d.ts +18 -18
- package/template/web-app/vue/vite.config.ts +68 -83
- package/template/web-extension/.env +1 -1
- package/template/web-extension/.env.development +1 -1
- package/template/web-extension/.eslintignore +4 -4
- package/template/web-extension/.eslintrc +94 -83
- package/template/web-extension/.gitignore +26 -26
- package/template/web-extension/.husky/commit-msg +4 -4
- package/template/web-extension/.husky/pre-commit +4 -4
- package/template/web-extension/.prettierignore +6 -6
- package/template/web-extension/.stylelintignore +4 -4
- package/template/web-extension/.stylelintrc +29 -23
- package/template/web-extension/.vscode/extensions.json +7 -7
- package/template/web-extension/README.md +14 -14
- package/template/web-extension/background/index.ts +0 -0
- package/template/web-extension/commitlint.config.cjs +1 -1
- package/template/web-extension/content_script/content.css +3 -3
- package/template/web-extension/content_script/content.tsx +5 -5
- package/template/web-extension/content_script/index.tsx +12 -12
- package/template/web-extension/defineManifest.ts +32 -27
- package/template/web-extension/package.json +76 -71
- package/template/web-extension/pnpm-lock.yaml +6220 -0
- package/template/web-extension/popup/index.tsx +9 -9
- package/template/web-extension/popup/popup.container.tsx +5 -5
- package/template/web-extension/popup/popup.css +3 -3
- package/template/web-extension/popup/popup.html +13 -13
- package/template/web-extension/postcss.config.cjs +9 -9
- package/template/web-extension/shared/background/index.ts +1 -0
- package/template/web-extension/shared/background/message.ts +11 -0
- package/template/web-extension/shared/constant/index.ts +0 -0
- package/template/web-extension/shared/content/index.ts +1 -0
- package/template/web-extension/shared/content/message.ts +15 -0
- package/template/web-extension/shared/hooks/index.ts +2 -2
- package/template/web-extension/shared/hooks/useSyncState.ts +15 -15
- package/template/web-extension/shared/hooks/useVisible.ts +27 -27
- package/template/web-extension/shared/popup/index.ts +1 -0
- package/template/web-extension/shared/popup/message.ts +12 -0
- package/template/web-extension/shared/service/index.ts +1 -1
- package/template/web-extension/shared/service/request.ts +5 -5
- package/template/web-extension/shared/service/tools/base.ts +33 -33
- package/template/web-extension/shared/service/tools/createRequestActions.ts +80 -58
- package/template/web-extension/shared/service/tools/createService.ts +45 -46
- package/template/web-extension/shared/service/tools/{createServiceHooks.ts → hooks.ts} +28 -26
- package/template/web-extension/shared/service/tools/index.ts +4 -4
- package/template/web-extension/shared/service/types.ts +46 -40
- package/template/web-extension/shared/tools/index.ts +1 -0
- package/template/web-extension/shared/tools/message.ts +80 -0
- package/template/web-extension/shared/types/index.ts +1 -1
- package/template/web-extension/shared/types/utils.ts +3 -19
- package/template/web-extension/tailwind.config.cjs +13 -13
- package/template/web-extension/tsconfig.json +28 -28
- package/template/web-extension/tsconfig.node.json +10 -10
- package/template/web-extension/vite-env.d.ts +10 -10
- package/template/web-extension/vite.config.ts +35 -40
- package/template/workspace/nx/.editorconfig +13 -13
- package/template/workspace/nx/.eslintignore +1 -1
- package/template/workspace/nx/.eslintrc.json +35 -35
- package/template/workspace/nx/.gitignore +41 -41
- package/template/workspace/nx/.husky/commit-msg +4 -4
- package/template/workspace/nx/.husky/pre-commit +4 -4
- package/template/workspace/nx/.prettierignore +2 -2
- package/template/workspace/nx/.prettierrc +18 -18
- package/template/workspace/nx/.stylelintrc.json +11 -11
- package/template/workspace/nx/.vscode/extensions.json +9 -9
- package/template/workspace/nx/README.md +17 -17
- package/template/workspace/nx/commitlint.config.cjs +1 -1
- package/template/workspace/nx/jest.config.ts +5 -5
- package/template/workspace/nx/jest.preset.js +3 -3
- package/template/workspace/nx/lerna.json +10 -10
- package/template/workspace/nx/nx.json +53 -53
- package/template/workspace/nx/package.json +130 -130
- package/template/workspace/nx/packages/vue-lib/.eslintrc.json +21 -21
- package/template/workspace/nx/packages/vue-lib/README.md +3 -3
- package/template/workspace/nx/packages/vue-lib/jest.config.ts +20 -20
- package/template/workspace/nx/packages/vue-lib/package.json +12 -12
- package/template/workspace/nx/packages/vue-lib/project.json +40 -40
- package/template/workspace/nx/packages/vue-lib/src/index.ts +2 -2
- package/template/workspace/nx/packages/vue-lib/src/lib/HelloWorld.vue +11 -11
- package/template/workspace/nx/packages/vue-lib/src/shims-vue.d.ts +6 -6
- package/template/workspace/nx/packages/vue-lib/tests/unit/example.spec.ts +9 -9
- package/template/workspace/nx/packages/vue-lib/tsconfig.json +20 -20
- package/template/workspace/nx/packages/vue-lib/tsconfig.lib.json +22 -22
- package/template/workspace/nx/packages/vue-lib/tsconfig.spec.json +19 -19
- package/template/workspace/nx/packages/vue-lib/vite.config.ts +49 -49
- package/template/workspace/nx/pnpm-workspace.yaml +2 -2
- package/template/workspace/nx/scripts/patch-nx-dep-graph.js +40 -40
- package/template/workspace/nx/tools/tsconfig.tools.json +12 -12
- package/template/workspace/nx/tsconfig.base.json +22 -22
- package/template/workspace/pnpm/.changeset/README.md +8 -8
- package/template/workspace/pnpm/.changeset/config.json +11 -11
- package/template/workspace/pnpm/.gitignore +36 -36
- package/template/workspace/pnpm/.prettierrc.js +21 -21
- package/template/workspace/pnpm/commitlint.config.cjs +1 -1
- package/template/workspace/pnpm/package.json +40 -40
- package/template/workspace/pnpm/packages/test/.eslintrc +73 -73
- package/template/workspace/pnpm/packages/test/package.json +23 -23
- package/template/workspace/pnpm/packages/test/src/index.ts +5 -5
- package/template/workspace/pnpm/packages/test/tsconfig.json +18 -18
- package/template/workspace/pnpm/pnpm-workspace.yaml +2 -2
- package/template/workspace/pnpm/scripts/build.ts +7 -7
- package/template/workspace/pnpm/tsconfig.json +18 -18
- package/template/web-app/react/router/router.controller.ts +0 -18
- package/template/web-app/react/router/router.tool.ts +0 -41
- package/template/web-app/react/router/router.tsx +0 -43
- package/template/web-app/react/router/router.types.ts +0 -6
- package/template/web-app/react-webpack/router/router.controller.ts +0 -18
- package/template/web-app/react-webpack/router/router.tool.ts +0 -41
- package/template/web-app/react-webpack/router/router.tsx +0 -43
- package/template/web-app/react-webpack/router/router.types.ts +0 -6
- package/template/web-extension/content_script/content.spec.tsx +0 -15
- package/template/workspace/nx/node_modules/.pnpm/minipass-fetch@3.0.3/node_modules/minipass-sized/.gitignore +0 -22
- package/template/workspace/nx/node_modules/.pnpm/minipass-sized@1.0.3/node_modules/minipass-sized/.gitignore +0 -22
- package/template/workspace/nx/node_modules/.pnpm/node_modules/minipass-sized/.gitignore +0 -22
- package/template/workspace/nx/node_modules/.pnpm/node_modules/npm-normalize-package-bin/.gitignore +0 -24
- package/template/workspace/nx/node_modules/.pnpm/npm-bundled@1.1.2/node_modules/npm-normalize-package-bin/.gitignore +0 -24
- package/template/workspace/nx/node_modules/.pnpm/npm-normalize-package-bin@1.0.1/node_modules/npm-normalize-package-bin/.gitignore +0 -24
- package/template/workspace/nx/node_modules/.pnpm/npm-packlist@5.1.1/node_modules/npm-normalize-package-bin/.gitignore +0 -24
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
{
|
|
2
|
-
"ignoreFiles": ["**/*"],
|
|
3
|
-
"overrides": [
|
|
4
|
-
{
|
|
5
|
-
"files": ["**/*.css"],
|
|
6
|
-
"extends": ["stylelint-config-standard"],
|
|
7
|
-
"rules": {}
|
|
8
|
-
}
|
|
9
|
-
],
|
|
10
|
-
"rules": {}
|
|
11
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"ignoreFiles": ["**/*"],
|
|
3
|
+
"overrides": [
|
|
4
|
+
{
|
|
5
|
+
"files": ["**/*.css"],
|
|
6
|
+
"extends": ["stylelint-config-standard"],
|
|
7
|
+
"rules": {}
|
|
8
|
+
}
|
|
9
|
+
],
|
|
10
|
+
"rules": {}
|
|
11
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
{
|
|
2
|
-
"recommendations": [
|
|
3
|
-
"nrwl.angular-console",
|
|
4
|
-
"dbaeumer.vscode-eslint",
|
|
5
|
-
"stylelint.vscode-stylelint",
|
|
6
|
-
"esbenp.prettier-vscode",
|
|
7
|
-
"firsttris.vscode-jest-runner"
|
|
8
|
-
]
|
|
9
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"recommendations": [
|
|
3
|
+
"nrwl.angular-console",
|
|
4
|
+
"dbaeumer.vscode-eslint",
|
|
5
|
+
"stylelint.vscode-stylelint",
|
|
6
|
+
"esbenp.prettier-vscode",
|
|
7
|
+
"firsttris.vscode-jest-runner"
|
|
8
|
+
]
|
|
9
|
+
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
# MyLib
|
|
2
|
-
|
|
3
|
-
<a alt="Nx logo" href="https://nx.dev" target="_blank" rel="noreferrer"><img src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-logo.png" width="45"></a>
|
|
4
|
-
|
|
5
|
-
✨ **This workspace has been generated by [Nx, a Smart, fast and extensible build system.](https://nx.dev)** ✨
|
|
6
|
-
|
|
7
|
-
## Understand this workspace
|
|
8
|
-
|
|
9
|
-
Run `nx graph` to see a diagram of the dependencies of the projects.
|
|
10
|
-
|
|
11
|
-
## Remote caching
|
|
12
|
-
|
|
13
|
-
Run `npx nx connect-to-nx-cloud` to enable [remote caching](https://nx.app) and make CI faster.
|
|
14
|
-
|
|
15
|
-
## Further help
|
|
16
|
-
|
|
17
|
-
Visit the [Nx Documentation](https://nx.dev) to learn more.
|
|
1
|
+
# MyLib
|
|
2
|
+
|
|
3
|
+
<a alt="Nx logo" href="https://nx.dev" target="_blank" rel="noreferrer"><img src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-logo.png" width="45"></a>
|
|
4
|
+
|
|
5
|
+
✨ **This workspace has been generated by [Nx, a Smart, fast and extensible build system.](https://nx.dev)** ✨
|
|
6
|
+
|
|
7
|
+
## Understand this workspace
|
|
8
|
+
|
|
9
|
+
Run `nx graph` to see a diagram of the dependencies of the projects.
|
|
10
|
+
|
|
11
|
+
## Remote caching
|
|
12
|
+
|
|
13
|
+
Run `npx nx connect-to-nx-cloud` to enable [remote caching](https://nx.app) and make CI faster.
|
|
14
|
+
|
|
15
|
+
## Further help
|
|
16
|
+
|
|
17
|
+
Visit the [Nx Documentation](https://nx.dev) to learn more.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
module.exports = { extends: ['@commitlint/config-conventional'] }
|
|
1
|
+
module.exports = { extends: ['@commitlint/config-conventional'] }
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { getJestProjects } from '@nrwl/jest'
|
|
2
|
-
|
|
3
|
-
export default {
|
|
4
|
-
projects: getJestProjects()
|
|
5
|
-
}
|
|
1
|
+
import { getJestProjects } from '@nrwl/jest'
|
|
2
|
+
|
|
3
|
+
export default {
|
|
4
|
+
projects: getJestProjects()
|
|
5
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
const nxPreset = require('@nrwl/jest/preset').default
|
|
2
|
-
|
|
3
|
-
module.exports = { ...nxPreset }
|
|
1
|
+
const nxPreset = require('@nrwl/jest/preset').default
|
|
2
|
+
|
|
3
|
+
module.exports = { ...nxPreset }
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
|
|
3
|
-
"version": "0.0.0",
|
|
4
|
-
"useNx": true,
|
|
5
|
-
"command": {
|
|
6
|
-
"publish": {
|
|
7
|
-
"directory": "{workspaceRoot}/dist/{projectRoot}"
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
|
|
3
|
+
"version": "0.0.0",
|
|
4
|
+
"useNx": true,
|
|
5
|
+
"command": {
|
|
6
|
+
"publish": {
|
|
7
|
+
"directory": "{workspaceRoot}/dist/{projectRoot}"
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -1,53 +1,53 @@
|
|
|
1
|
-
{
|
|
2
|
-
"namedInputs": {
|
|
3
|
-
"default": ["{projectRoot}/**/*", "sharedGlobals"],
|
|
4
|
-
"production": [
|
|
5
|
-
"default",
|
|
6
|
-
"!{projectRoot}/.eslintrc.json",
|
|
7
|
-
"!{projectRoot}/**/?(*.)+(spec|test).[jt]s?(x)?(.snap)",
|
|
8
|
-
"!{projectRoot}/tsconfig.spec.json",
|
|
9
|
-
"!{projectRoot}/jest.config.[jt]s"
|
|
10
|
-
],
|
|
11
|
-
"sharedGlobals": []
|
|
12
|
-
},
|
|
13
|
-
"targetDefaults": {
|
|
14
|
-
"build": {
|
|
15
|
-
"dependsOn": ["^build"],
|
|
16
|
-
"inputs": ["production", "^production"]
|
|
17
|
-
},
|
|
18
|
-
"stylelint": {
|
|
19
|
-
"inputs": ["default", "{workspaceRoot}/.stylelintrc(.(json|yml|yaml|js))?"]
|
|
20
|
-
},
|
|
21
|
-
"lint": {
|
|
22
|
-
"inputs": ["default", "{workspaceRoot}/.eslintrc.json", "{workspaceRoot}/.eslintignore"]
|
|
23
|
-
},
|
|
24
|
-
"test": {
|
|
25
|
-
"inputs": ["default", "^production", "{workspaceRoot}/jest.preset.js"]
|
|
26
|
-
}
|
|
27
|
-
},
|
|
28
|
-
"workspaceLayout": {
|
|
29
|
-
"appsDir": "packages",
|
|
30
|
-
"libsDir": "packages"
|
|
31
|
-
},
|
|
32
|
-
"tasksRunnerOptions": {
|
|
33
|
-
"default": {
|
|
34
|
-
"runner": "nx/tasks-runners/default",
|
|
35
|
-
"options": {
|
|
36
|
-
"cacheableOperations": ["build", "lint", "test", "e2e"]
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
},
|
|
40
|
-
"affected": {
|
|
41
|
-
"defaultBase": "master"
|
|
42
|
-
},
|
|
43
|
-
"generators": {
|
|
44
|
-
"@nx/react": {
|
|
45
|
-
"application": {
|
|
46
|
-
"babel": true
|
|
47
|
-
},
|
|
48
|
-
"library": {
|
|
49
|
-
"unitTestRunner": "none"
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"namedInputs": {
|
|
3
|
+
"default": ["{projectRoot}/**/*", "sharedGlobals"],
|
|
4
|
+
"production": [
|
|
5
|
+
"default",
|
|
6
|
+
"!{projectRoot}/.eslintrc.json",
|
|
7
|
+
"!{projectRoot}/**/?(*.)+(spec|test).[jt]s?(x)?(.snap)",
|
|
8
|
+
"!{projectRoot}/tsconfig.spec.json",
|
|
9
|
+
"!{projectRoot}/jest.config.[jt]s"
|
|
10
|
+
],
|
|
11
|
+
"sharedGlobals": []
|
|
12
|
+
},
|
|
13
|
+
"targetDefaults": {
|
|
14
|
+
"build": {
|
|
15
|
+
"dependsOn": ["^build"],
|
|
16
|
+
"inputs": ["production", "^production"]
|
|
17
|
+
},
|
|
18
|
+
"stylelint": {
|
|
19
|
+
"inputs": ["default", "{workspaceRoot}/.stylelintrc(.(json|yml|yaml|js))?"]
|
|
20
|
+
},
|
|
21
|
+
"lint": {
|
|
22
|
+
"inputs": ["default", "{workspaceRoot}/.eslintrc.json", "{workspaceRoot}/.eslintignore"]
|
|
23
|
+
},
|
|
24
|
+
"test": {
|
|
25
|
+
"inputs": ["default", "^production", "{workspaceRoot}/jest.preset.js"]
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"workspaceLayout": {
|
|
29
|
+
"appsDir": "packages",
|
|
30
|
+
"libsDir": "packages"
|
|
31
|
+
},
|
|
32
|
+
"tasksRunnerOptions": {
|
|
33
|
+
"default": {
|
|
34
|
+
"runner": "nx/tasks-runners/default",
|
|
35
|
+
"options": {
|
|
36
|
+
"cacheableOperations": ["build", "lint", "test", "e2e"]
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"affected": {
|
|
41
|
+
"defaultBase": "master"
|
|
42
|
+
},
|
|
43
|
+
"generators": {
|
|
44
|
+
"@nx/react": {
|
|
45
|
+
"application": {
|
|
46
|
+
"babel": true
|
|
47
|
+
},
|
|
48
|
+
"library": {
|
|
49
|
+
"unitTestRunner": "none"
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
@@ -1,130 +1,130 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "nx",
|
|
3
|
-
"version": "0.0.0",
|
|
4
|
-
"license": "MIT",
|
|
5
|
-
"private": true,
|
|
6
|
-
"publishConfig": {
|
|
7
|
-
"registry": "http://registry.npmjs.org"
|
|
8
|
-
},
|
|
9
|
-
"workspaces": [
|
|
10
|
-
"packages/*"
|
|
11
|
-
],
|
|
12
|
-
"config": {
|
|
13
|
-
"commitizen": {
|
|
14
|
-
"path": "@commitlint/cz-commitlint"
|
|
15
|
-
}
|
|
16
|
-
},
|
|
17
|
-
"scripts": {
|
|
18
|
-
"postinstall": "node ./scripts/patch-nx-dep-graph.js",
|
|
19
|
-
"prepare": "husky install",
|
|
20
|
-
"storybook:dev": "nx storybook",
|
|
21
|
-
"storybook:build": "nx build-storybook",
|
|
22
|
-
"storybook:build-all": "nx run-many -t build-storybook",
|
|
23
|
-
"build": "nx build",
|
|
24
|
-
"build:all": "pnpm run rm:dist && nx run-many -t build",
|
|
25
|
-
"rm:dist": "rimraf ./dist",
|
|
26
|
-
"lint": "nx run-many -t lint && nx run-many -t stylelint",
|
|
27
|
-
"lint:fix": "nx run-many -t lint --fix && nx run-many -t stylelint --fix",
|
|
28
|
-
"format": "nx format:write",
|
|
29
|
-
"format:all": "nx format:write --libs-and-apps",
|
|
30
|
-
"add:react-lib": "nx g @nrwl/react:lib",
|
|
31
|
-
"add:react-app": "nx g @nrwl/react:app",
|
|
32
|
-
"add:vue-lib": "nx g @nx-plus/vue:lib",
|
|
33
|
-
"add:vue-app": "nx g @nx-plus/vue:app",
|
|
34
|
-
"add:ng-lib": "nx g @nrwl/angular:lib",
|
|
35
|
-
"add:ng-app": "nx g @nrwl/angular:app",
|
|
36
|
-
"add:ts-lib": "nx g @nrwl/js:lib",
|
|
37
|
-
"add:ts-app": "nx g @nrwl/js:app",
|
|
38
|
-
"add:eslint": "nx g @nrwl/linter:workspace-rule",
|
|
39
|
-
"add:storybook": "nx g @nrwl/storybook:configuration",
|
|
40
|
-
"add:stylelint": "nx g nx-stylelint:configuration --project",
|
|
41
|
-
"rm": "nx g @nx/workspace:remove",
|
|
42
|
-
"log": "nx view-logs",
|
|
43
|
-
"changeVersion": "lerna version --no-private",
|
|
44
|
-
"pub": "pnpm run build:all && lerna publish --no-private",
|
|
45
|
-
"login": "npm login --registry https://registry.npmjs.org",
|
|
46
|
-
"cz": "cz",
|
|
47
|
-
"push": "npm run commit && git push",
|
|
48
|
-
"commit": "git add . && npm run cz"
|
|
49
|
-
},
|
|
50
|
-
"devDependencies": {
|
|
51
|
-
"@angular-devkit/build-angular": "16",
|
|
52
|
-
"@angular-devkit/core": "16",
|
|
53
|
-
"@angular-devkit/schematics": "16",
|
|
54
|
-
"@commitlint/cli": "17.6.5",
|
|
55
|
-
"@commitlint/config-conventional": "17.6.5",
|
|
56
|
-
"@commitlint/cz-commitlint": "17.5.0",
|
|
57
|
-
"@nrwl/angular": "16.3.2",
|
|
58
|
-
"@nrwl/cypress": "14",
|
|
59
|
-
"@nrwl/jest": "14.8.8",
|
|
60
|
-
"@nrwl/js": "16.3.2",
|
|
61
|
-
"@nrwl/linter": "16.3.2",
|
|
62
|
-
"@nrwl/react": "16.3.2",
|
|
63
|
-
"@nrwl/storybook": "16.3.2",
|
|
64
|
-
"@nrwl/workspace": "16.3.2",
|
|
65
|
-
"@nx-plus/vue": "15.0.0-rc.0",
|
|
66
|
-
"@nx/devkit": "16.3.2",
|
|
67
|
-
"@nx/eslint-plugin": "16.3.2",
|
|
68
|
-
"@nx/js": "16.3.2",
|
|
69
|
-
"@nx/linter": "16.3.2",
|
|
70
|
-
"@nx/react": "16.3.2",
|
|
71
|
-
"@nx/vite": "16.3.2",
|
|
72
|
-
"@schematics/angular": "16",
|
|
73
|
-
"@testing-library/react": "14.0.0",
|
|
74
|
-
"@types/jest": "28.1.1",
|
|
75
|
-
"@types/node": "20.3.1",
|
|
76
|
-
"@types/react": "18.0.28",
|
|
77
|
-
"@types/react-dom": "18.0.11",
|
|
78
|
-
"@typescript-eslint/eslint-plugin": "5.58.0",
|
|
79
|
-
"@typescript-eslint/parser": "5.58.0",
|
|
80
|
-
"@vitejs/plugin-react": "3.0.0",
|
|
81
|
-
"@vitejs/plugin-vue": "4.2.3",
|
|
82
|
-
"@vitest/ui": "0.31.0",
|
|
83
|
-
"@vue/cli-plugin-typescript": "~5.0.8",
|
|
84
|
-
"@vue/cli-service": "~5.0.8",
|
|
85
|
-
"@vue/compiler-sfc": "3.0.0",
|
|
86
|
-
"@vue/eslint-config-prettier": "7.0.0",
|
|
87
|
-
"@vue/eslint-config-typescript": "11.0.0",
|
|
88
|
-
"@vue/test-utils": "2.2.0",
|
|
89
|
-
"@vue/vue3-jest": "28.1.0",
|
|
90
|
-
"commitizen": "4.3.0",
|
|
91
|
-
"eslint": "8.42.0",
|
|
92
|
-
"eslint-config-prettier": "8.1.0",
|
|
93
|
-
"eslint-plugin-import": "2.27.5",
|
|
94
|
-
"eslint-plugin-jsx-a11y": "6.7.1",
|
|
95
|
-
"eslint-plugin-prettier": "4.2.0",
|
|
96
|
-
"eslint-plugin-react": "7.32.2",
|
|
97
|
-
"eslint-plugin-react-hooks": "4.6.0",
|
|
98
|
-
"eslint-plugin-vue": "9.8.0",
|
|
99
|
-
"husky": "8.0.3",
|
|
100
|
-
"inquirer": "8",
|
|
101
|
-
"jest": "28.1.1",
|
|
102
|
-
"jest-environment-jsdom": "28.1.1",
|
|
103
|
-
"jest-serializer-vue": "3.0.0",
|
|
104
|
-
"jest-transform-stub": "2.0.0",
|
|
105
|
-
"jsdom": "~20.0.3",
|
|
106
|
-
"lerna": "7.0.1",
|
|
107
|
-
"nx": "16.3.2",
|
|
108
|
-
"nx-stylelint": "15.0.0",
|
|
109
|
-
"prettier": "2.8.8",
|
|
110
|
-
"rimraf": "5.0.1",
|
|
111
|
-
"rxjs": "7",
|
|
112
|
-
"sass": "1.55.0",
|
|
113
|
-
"stylelint": "15.7.0",
|
|
114
|
-
"ts-jest": "28.0.5",
|
|
115
|
-
"ts-node": "10.9.1",
|
|
116
|
-
"typescript": "5.1.3",
|
|
117
|
-
"vite": "4.3.4",
|
|
118
|
-
"vite-plugin-dts": "~1.7.1",
|
|
119
|
-
"vite-plugin-eslint": "1.8.1",
|
|
120
|
-
"vite-tsconfig-paths": "4.0.2",
|
|
121
|
-
"vitest": "0.31.0",
|
|
122
|
-
"webpack": "5.87.0"
|
|
123
|
-
},
|
|
124
|
-
"dependencies": {
|
|
125
|
-
"react": "18.2.0",
|
|
126
|
-
"react-dom": "18.2.0",
|
|
127
|
-
"tslib": "2.3.0",
|
|
128
|
-
"vue": "3.0.0"
|
|
129
|
-
}
|
|
130
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "nx",
|
|
3
|
+
"version": "0.0.0",
|
|
4
|
+
"license": "MIT",
|
|
5
|
+
"private": true,
|
|
6
|
+
"publishConfig": {
|
|
7
|
+
"registry": "http://registry.npmjs.org"
|
|
8
|
+
},
|
|
9
|
+
"workspaces": [
|
|
10
|
+
"packages/*"
|
|
11
|
+
],
|
|
12
|
+
"config": {
|
|
13
|
+
"commitizen": {
|
|
14
|
+
"path": "@commitlint/cz-commitlint"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"scripts": {
|
|
18
|
+
"postinstall": "node ./scripts/patch-nx-dep-graph.js",
|
|
19
|
+
"prepare": "husky install",
|
|
20
|
+
"storybook:dev": "nx storybook",
|
|
21
|
+
"storybook:build": "nx build-storybook",
|
|
22
|
+
"storybook:build-all": "nx run-many -t build-storybook",
|
|
23
|
+
"build": "nx build",
|
|
24
|
+
"build:all": "pnpm run rm:dist && nx run-many -t build",
|
|
25
|
+
"rm:dist": "rimraf ./dist",
|
|
26
|
+
"lint": "nx run-many -t lint && nx run-many -t stylelint",
|
|
27
|
+
"lint:fix": "nx run-many -t lint --fix && nx run-many -t stylelint --fix",
|
|
28
|
+
"format": "nx format:write",
|
|
29
|
+
"format:all": "nx format:write --libs-and-apps",
|
|
30
|
+
"add:react-lib": "nx g @nrwl/react:lib",
|
|
31
|
+
"add:react-app": "nx g @nrwl/react:app",
|
|
32
|
+
"add:vue-lib": "nx g @nx-plus/vue:lib",
|
|
33
|
+
"add:vue-app": "nx g @nx-plus/vue:app",
|
|
34
|
+
"add:ng-lib": "nx g @nrwl/angular:lib",
|
|
35
|
+
"add:ng-app": "nx g @nrwl/angular:app",
|
|
36
|
+
"add:ts-lib": "nx g @nrwl/js:lib",
|
|
37
|
+
"add:ts-app": "nx g @nrwl/js:app",
|
|
38
|
+
"add:eslint": "nx g @nrwl/linter:workspace-rule",
|
|
39
|
+
"add:storybook": "nx g @nrwl/storybook:configuration",
|
|
40
|
+
"add:stylelint": "nx g nx-stylelint:configuration --project",
|
|
41
|
+
"rm": "nx g @nx/workspace:remove",
|
|
42
|
+
"log": "nx view-logs",
|
|
43
|
+
"changeVersion": "lerna version --no-private",
|
|
44
|
+
"pub": "pnpm run build:all && lerna publish --no-private",
|
|
45
|
+
"login": "npm login --registry https://registry.npmjs.org",
|
|
46
|
+
"cz": "cz",
|
|
47
|
+
"push": "npm run commit && git push",
|
|
48
|
+
"commit": "git add . && npm run cz"
|
|
49
|
+
},
|
|
50
|
+
"devDependencies": {
|
|
51
|
+
"@angular-devkit/build-angular": "16",
|
|
52
|
+
"@angular-devkit/core": "16",
|
|
53
|
+
"@angular-devkit/schematics": "16",
|
|
54
|
+
"@commitlint/cli": "17.6.5",
|
|
55
|
+
"@commitlint/config-conventional": "17.6.5",
|
|
56
|
+
"@commitlint/cz-commitlint": "17.5.0",
|
|
57
|
+
"@nrwl/angular": "16.3.2",
|
|
58
|
+
"@nrwl/cypress": "14",
|
|
59
|
+
"@nrwl/jest": "14.8.8",
|
|
60
|
+
"@nrwl/js": "16.3.2",
|
|
61
|
+
"@nrwl/linter": "16.3.2",
|
|
62
|
+
"@nrwl/react": "16.3.2",
|
|
63
|
+
"@nrwl/storybook": "16.3.2",
|
|
64
|
+
"@nrwl/workspace": "16.3.2",
|
|
65
|
+
"@nx-plus/vue": "15.0.0-rc.0",
|
|
66
|
+
"@nx/devkit": "16.3.2",
|
|
67
|
+
"@nx/eslint-plugin": "16.3.2",
|
|
68
|
+
"@nx/js": "16.3.2",
|
|
69
|
+
"@nx/linter": "16.3.2",
|
|
70
|
+
"@nx/react": "16.3.2",
|
|
71
|
+
"@nx/vite": "16.3.2",
|
|
72
|
+
"@schematics/angular": "16",
|
|
73
|
+
"@testing-library/react": "14.0.0",
|
|
74
|
+
"@types/jest": "28.1.1",
|
|
75
|
+
"@types/node": "20.3.1",
|
|
76
|
+
"@types/react": "18.0.28",
|
|
77
|
+
"@types/react-dom": "18.0.11",
|
|
78
|
+
"@typescript-eslint/eslint-plugin": "5.58.0",
|
|
79
|
+
"@typescript-eslint/parser": "5.58.0",
|
|
80
|
+
"@vitejs/plugin-react": "3.0.0",
|
|
81
|
+
"@vitejs/plugin-vue": "4.2.3",
|
|
82
|
+
"@vitest/ui": "0.31.0",
|
|
83
|
+
"@vue/cli-plugin-typescript": "~5.0.8",
|
|
84
|
+
"@vue/cli-service": "~5.0.8",
|
|
85
|
+
"@vue/compiler-sfc": "3.0.0",
|
|
86
|
+
"@vue/eslint-config-prettier": "7.0.0",
|
|
87
|
+
"@vue/eslint-config-typescript": "11.0.0",
|
|
88
|
+
"@vue/test-utils": "2.2.0",
|
|
89
|
+
"@vue/vue3-jest": "28.1.0",
|
|
90
|
+
"commitizen": "4.3.0",
|
|
91
|
+
"eslint": "8.42.0",
|
|
92
|
+
"eslint-config-prettier": "8.1.0",
|
|
93
|
+
"eslint-plugin-import": "2.27.5",
|
|
94
|
+
"eslint-plugin-jsx-a11y": "6.7.1",
|
|
95
|
+
"eslint-plugin-prettier": "4.2.0",
|
|
96
|
+
"eslint-plugin-react": "7.32.2",
|
|
97
|
+
"eslint-plugin-react-hooks": "4.6.0",
|
|
98
|
+
"eslint-plugin-vue": "9.8.0",
|
|
99
|
+
"husky": "8.0.3",
|
|
100
|
+
"inquirer": "8",
|
|
101
|
+
"jest": "28.1.1",
|
|
102
|
+
"jest-environment-jsdom": "28.1.1",
|
|
103
|
+
"jest-serializer-vue": "3.0.0",
|
|
104
|
+
"jest-transform-stub": "2.0.0",
|
|
105
|
+
"jsdom": "~20.0.3",
|
|
106
|
+
"lerna": "7.0.1",
|
|
107
|
+
"nx": "16.3.2",
|
|
108
|
+
"nx-stylelint": "15.0.0",
|
|
109
|
+
"prettier": "2.8.8",
|
|
110
|
+
"rimraf": "5.0.1",
|
|
111
|
+
"rxjs": "7",
|
|
112
|
+
"sass": "1.55.0",
|
|
113
|
+
"stylelint": "15.7.0",
|
|
114
|
+
"ts-jest": "28.0.5",
|
|
115
|
+
"ts-node": "10.9.1",
|
|
116
|
+
"typescript": "5.1.3",
|
|
117
|
+
"vite": "4.3.4",
|
|
118
|
+
"vite-plugin-dts": "~1.7.1",
|
|
119
|
+
"vite-plugin-eslint": "1.8.1",
|
|
120
|
+
"vite-tsconfig-paths": "4.0.2",
|
|
121
|
+
"vitest": "0.31.0",
|
|
122
|
+
"webpack": "5.87.0"
|
|
123
|
+
},
|
|
124
|
+
"dependencies": {
|
|
125
|
+
"react": "18.2.0",
|
|
126
|
+
"react-dom": "18.2.0",
|
|
127
|
+
"tslib": "2.3.0",
|
|
128
|
+
"vue": "3.0.0"
|
|
129
|
+
}
|
|
130
|
+
}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": [
|
|
3
|
-
"../../.eslintrc.json",
|
|
4
|
-
"plugin:vue/vue3-essential",
|
|
5
|
-
"@vue/typescript/recommended",
|
|
6
|
-
"prettier"
|
|
7
|
-
],
|
|
8
|
-
"rules": {},
|
|
9
|
-
"ignorePatterns": ["!**/*"],
|
|
10
|
-
"env": {
|
|
11
|
-
"node": true
|
|
12
|
-
},
|
|
13
|
-
"overrides": [
|
|
14
|
-
{
|
|
15
|
-
"files": ["**/*.spec.{j,t}s?(x)"],
|
|
16
|
-
"env": {
|
|
17
|
-
"jest": true
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
]
|
|
21
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"extends": [
|
|
3
|
+
"../../.eslintrc.json",
|
|
4
|
+
"plugin:vue/vue3-essential",
|
|
5
|
+
"@vue/typescript/recommended",
|
|
6
|
+
"prettier"
|
|
7
|
+
],
|
|
8
|
+
"rules": {},
|
|
9
|
+
"ignorePatterns": ["!**/*"],
|
|
10
|
+
"env": {
|
|
11
|
+
"node": true
|
|
12
|
+
},
|
|
13
|
+
"overrides": [
|
|
14
|
+
{
|
|
15
|
+
"files": ["**/*.spec.{j,t}s?(x)"],
|
|
16
|
+
"env": {
|
|
17
|
+
"jest": true
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
]
|
|
21
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
# vue-lib
|
|
2
|
-
|
|
3
|
-
This library was generated with [Nx Plus Vue](https://github.com/ZachJW34/nx-plus/tree/master/libs/vue).
|
|
1
|
+
# vue-lib
|
|
2
|
+
|
|
3
|
+
This library was generated with [Nx Plus Vue](https://github.com/ZachJW34/nx-plus/tree/master/libs/vue).
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
displayName: 'vue-lib',
|
|
3
|
-
preset: '../../jest.preset.js',
|
|
4
|
-
transform: {
|
|
5
|
-
'^.+.vue$': '@vue/vue3-jest',
|
|
6
|
-
'.+.(css|styl|less|sass|scss|svg|png|jpg|ttf|woff|woff2)$': 'jest-transform-stub',
|
|
7
|
-
'^.+.tsx?$': 'ts-jest'
|
|
8
|
-
},
|
|
9
|
-
moduleFileExtensions: ['ts', 'tsx', 'vue', 'js', 'json'],
|
|
10
|
-
coverageDirectory: '../../coverage/packages/vue-lib',
|
|
11
|
-
snapshotSerializers: ['jest-serializer-vue'],
|
|
12
|
-
globals: {
|
|
13
|
-
'ts-jest': {
|
|
14
|
-
tsconfig: 'packages/vue-lib/tsconfig.spec.json'
|
|
15
|
-
},
|
|
16
|
-
'vue-jest': {
|
|
17
|
-
tsConfig: 'packages/vue-lib/tsconfig.spec.json'
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
}
|
|
1
|
+
module.exports = {
|
|
2
|
+
displayName: 'vue-lib',
|
|
3
|
+
preset: '../../jest.preset.js',
|
|
4
|
+
transform: {
|
|
5
|
+
'^.+.vue$': '@vue/vue3-jest',
|
|
6
|
+
'.+.(css|styl|less|sass|scss|svg|png|jpg|ttf|woff|woff2)$': 'jest-transform-stub',
|
|
7
|
+
'^.+.tsx?$': 'ts-jest'
|
|
8
|
+
},
|
|
9
|
+
moduleFileExtensions: ['ts', 'tsx', 'vue', 'js', 'json'],
|
|
10
|
+
coverageDirectory: '../../coverage/packages/vue-lib',
|
|
11
|
+
snapshotSerializers: ['jest-serializer-vue'],
|
|
12
|
+
globals: {
|
|
13
|
+
'ts-jest': {
|
|
14
|
+
tsconfig: 'packages/vue-lib/tsconfig.spec.json'
|
|
15
|
+
},
|
|
16
|
+
'vue-jest': {
|
|
17
|
+
tsConfig: 'packages/vue-lib/tsconfig.spec.json'
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "vue-lib",
|
|
3
|
-
"version": "0.0.1",
|
|
4
|
-
"main": "./index.js",
|
|
5
|
-
"types": "./index.d.ts",
|
|
6
|
-
"exports": {
|
|
7
|
-
".": {
|
|
8
|
-
"import": "./index.mjs",
|
|
9
|
-
"require": "./index.js"
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "vue-lib",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"main": "./index.js",
|
|
5
|
+
"types": "./index.d.ts",
|
|
6
|
+
"exports": {
|
|
7
|
+
".": {
|
|
8
|
+
"import": "./index.mjs",
|
|
9
|
+
"require": "./index.js"
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
}
|