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,27 +1,27 @@
|
|
|
1
|
-
# Logs
|
|
2
|
-
logs
|
|
3
|
-
*.log
|
|
4
|
-
npm-debug.log*
|
|
5
|
-
yarn-debug.log*
|
|
6
|
-
yarn-error.log*
|
|
7
|
-
pnpm-debug.log*
|
|
8
|
-
lerna-debug.log*
|
|
9
|
-
|
|
10
|
-
node_modules
|
|
11
|
-
dist
|
|
12
|
-
dist-ssr
|
|
13
|
-
*.local
|
|
14
|
-
stats.html
|
|
15
|
-
vite.config.ts.*
|
|
16
|
-
|
|
17
|
-
# Editor directories and files
|
|
18
|
-
.vscode/*
|
|
19
|
-
!.vscode/extensions.json
|
|
20
|
-
.history
|
|
21
|
-
.idea
|
|
22
|
-
.DS_Store
|
|
23
|
-
*.suo
|
|
24
|
-
*.ntvs*
|
|
25
|
-
*.njsproj
|
|
26
|
-
*.sln
|
|
27
|
-
*.sw?
|
|
1
|
+
# Logs
|
|
2
|
+
logs
|
|
3
|
+
*.log
|
|
4
|
+
npm-debug.log*
|
|
5
|
+
yarn-debug.log*
|
|
6
|
+
yarn-error.log*
|
|
7
|
+
pnpm-debug.log*
|
|
8
|
+
lerna-debug.log*
|
|
9
|
+
|
|
10
|
+
node_modules
|
|
11
|
+
dist
|
|
12
|
+
dist-ssr
|
|
13
|
+
*.local
|
|
14
|
+
stats.html
|
|
15
|
+
vite.config.ts.*
|
|
16
|
+
|
|
17
|
+
# Editor directories and files
|
|
18
|
+
.vscode/*
|
|
19
|
+
!.vscode/extensions.json
|
|
20
|
+
.history
|
|
21
|
+
.idea
|
|
22
|
+
.DS_Store
|
|
23
|
+
*.suo
|
|
24
|
+
*.ntvs*
|
|
25
|
+
*.njsproj
|
|
26
|
+
*.sln
|
|
27
|
+
*.sw?
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#!/usr/bin/env sh
|
|
2
|
-
. "$(dirname -- "$0")/_/husky.sh"
|
|
3
|
-
|
|
4
|
-
npx --no -- commitlint --edit
|
|
1
|
+
#!/usr/bin/env sh
|
|
2
|
+
. "$(dirname -- "$0")/_/husky.sh"
|
|
3
|
+
|
|
4
|
+
npx --no -- commitlint --edit
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#!/usr/bin/env sh
|
|
2
|
-
. "$(dirname -- "$0")/_/husky.sh"
|
|
3
|
-
|
|
4
|
-
npm run lint
|
|
1
|
+
#!/usr/bin/env sh
|
|
2
|
+
. "$(dirname -- "$0")/_/husky.sh"
|
|
3
|
+
|
|
4
|
+
npm run lint
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
**/*.md
|
|
2
|
-
**/*.svg
|
|
3
|
-
**/*.ejs
|
|
4
|
-
**/*.html
|
|
5
|
-
.history
|
|
6
|
-
dist
|
|
1
|
+
**/*.md
|
|
2
|
+
**/*.svg
|
|
3
|
+
**/*.ejs
|
|
4
|
+
**/*.html
|
|
5
|
+
.history
|
|
6
|
+
dist
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
{
|
|
2
|
-
"plugins": ["prettier-plugin-svelte"],
|
|
3
|
-
"overrides": [{ "files": "*.svelte", "options": { "parser": "svelte" } }],
|
|
4
|
-
"printWidth": 100,
|
|
5
|
-
"tabWidth": 4,
|
|
6
|
-
"useTabs": false,
|
|
7
|
-
"semi": false,
|
|
8
|
-
"singleQuote": true,
|
|
9
|
-
"trailingComma": "none",
|
|
10
|
-
"bracketSpacing": true,
|
|
11
|
-
"bracketSameLine": false,
|
|
12
|
-
"arrowParens": "avoid",
|
|
13
|
-
"rangeStart": 0
|
|
14
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"plugins": ["prettier-plugin-svelte"],
|
|
3
|
+
"overrides": [{ "files": "*.svelte", "options": { "parser": "svelte" } }],
|
|
4
|
+
"printWidth": 100,
|
|
5
|
+
"tabWidth": 4,
|
|
6
|
+
"useTabs": false,
|
|
7
|
+
"semi": false,
|
|
8
|
+
"singleQuote": true,
|
|
9
|
+
"trailingComma": "none",
|
|
10
|
+
"bracketSpacing": true,
|
|
11
|
+
"bracketSameLine": false,
|
|
12
|
+
"arrowParens": "avoid",
|
|
13
|
+
"rangeStart": 0
|
|
14
|
+
}
|
|
@@ -1,153 +1,153 @@
|
|
|
1
|
-
|
|
2
|
-
// this file is generated — do not edit it
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
/// <reference types="@sveltejs/kit" />
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* Environment variables [loaded by Vite](https://vitejs.dev/guide/env-and-mode.html#env-files) from `.env` files and `process.env`. Like [`$env/dynamic/private`](https://kit.svelte.dev/docs/modules#$env-dynamic-private), this module cannot be imported into client-side code. This module only includes variables that _do not_ begin with [`config.kit.env.publicPrefix`](https://kit.svelte.dev/docs/configuration#env) _and do_ start with [`config.kit.env.privatePrefix`](https://kit.svelte.dev/docs/configuration#env) (if configured).
|
|
9
|
-
*
|
|
10
|
-
* _Unlike_ [`$env/dynamic/private`](https://kit.svelte.dev/docs/modules#$env-dynamic-private), the values exported from this module are statically injected into your bundle at build time, enabling optimisations like dead code elimination.
|
|
11
|
-
*
|
|
12
|
-
* ```ts
|
|
13
|
-
* import { API_KEY } from '$env/static/private';
|
|
14
|
-
* ```
|
|
15
|
-
*
|
|
16
|
-
* Note that all environment variables referenced in your code should be declared (for example in an `.env` file), even if they don't have a value until the app is deployed:
|
|
17
|
-
*
|
|
18
|
-
* ```
|
|
19
|
-
* MY_FEATURE_FLAG=""
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* You can override `.env` values from the command line like so:
|
|
23
|
-
*
|
|
24
|
-
* ```bash
|
|
25
|
-
* MY_FEATURE_FLAG="enabled" npm run dev
|
|
26
|
-
* ```
|
|
27
|
-
*/
|
|
28
|
-
declare module '$env/static/private' {
|
|
29
|
-
export const VITE_BASE_URL: string;
|
|
30
|
-
export const VITE_API_HOST: string;
|
|
31
|
-
export const PATH: string;
|
|
32
|
-
export const FORCE_COLOR: string;
|
|
33
|
-
export const MANPATH: string;
|
|
34
|
-
export const HOMEBREW_PREFIX: string;
|
|
35
|
-
export const LANG: string;
|
|
36
|
-
export const DEBUG_COLORS: string;
|
|
37
|
-
export const COMMAND_MODE: string;
|
|
38
|
-
export const npm_config_color: string;
|
|
39
|
-
export const MOCHA_COLORS: string;
|
|
40
|
-
export const COLORTERM: string;
|
|
41
|
-
export const LOGNAME: string;
|
|
42
|
-
export const HOMEBREW_REPOSITORY: string;
|
|
43
|
-
export const XPC_SERVICE_NAME: string;
|
|
44
|
-
export const PWD: string;
|
|
45
|
-
export const TOOLBOX_VERSION: string;
|
|
46
|
-
export const INFOPATH: string;
|
|
47
|
-
export const __CFBundleIdentifier: string;
|
|
48
|
-
export const HOMEBREW_PIP_INDEX_URL: string;
|
|
49
|
-
export const SHELL: string;
|
|
50
|
-
export const PAGER: string;
|
|
51
|
-
export const LSCOLORS: string;
|
|
52
|
-
export const HOMEBREW_BOTTLE_DOMAIN: string;
|
|
53
|
-
export const OLDPWD: string;
|
|
54
|
-
export const HOMEBREW_CELLAR: string;
|
|
55
|
-
export const USER: string;
|
|
56
|
-
export const ZSH: string;
|
|
57
|
-
export const TMPDIR: string;
|
|
58
|
-
export const SSH_AUTH_SOCK: string;
|
|
59
|
-
export const XPC_FLAGS: string;
|
|
60
|
-
export const LC_ALL: string;
|
|
61
|
-
export const __CF_USER_TEXT_ENCODING: string;
|
|
62
|
-
export const LESS: string;
|
|
63
|
-
export const NODE_ENV: string;
|
|
64
|
-
export const LS_COLORS: string;
|
|
65
|
-
export const HOME: string;
|
|
66
|
-
export const HOMEBREW_API_DOMAIN: string;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
/**
|
|
70
|
-
* Similar to [`$env/static/private`](https://kit.svelte.dev/docs/modules#$env-static-private), except that it only includes environment variables that begin with [`config.kit.env.publicPrefix`](https://kit.svelte.dev/docs/configuration#env) (which defaults to `PUBLIC_`), and can therefore safely be exposed to client-side code.
|
|
71
|
-
*
|
|
72
|
-
* Values are replaced statically at build time.
|
|
73
|
-
*
|
|
74
|
-
* ```ts
|
|
75
|
-
* import { PUBLIC_BASE_URL } from '$env/static/public';
|
|
76
|
-
* ```
|
|
77
|
-
*/
|
|
78
|
-
declare module '$env/static/public' {
|
|
79
|
-
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
/**
|
|
83
|
-
* This module provides access to runtime environment variables, as defined by the platform you're running on. For example if you're using [`adapter-node`](https://github.com/sveltejs/kit/tree/master/packages/adapter-node) (or running [`vite preview`](https://kit.svelte.dev/docs/cli)), this is equivalent to `process.env`. This module only includes variables that _do not_ begin with [`config.kit.env.publicPrefix`](https://kit.svelte.dev/docs/configuration#env) _and do_ start with [`config.kit.env.privatePrefix`](https://kit.svelte.dev/docs/configuration#env) (if configured).
|
|
84
|
-
*
|
|
85
|
-
* This module cannot be imported into client-side code.
|
|
86
|
-
*
|
|
87
|
-
* ```ts
|
|
88
|
-
* import { env } from '$env/dynamic/private';
|
|
89
|
-
* console.log(env.DEPLOYMENT_SPECIFIC_VARIABLE);
|
|
90
|
-
* ```
|
|
91
|
-
*
|
|
92
|
-
* > In `dev`, `$env/dynamic` always includes environment variables from `.env`. In `prod`, this behavior will depend on your adapter.
|
|
93
|
-
*/
|
|
94
|
-
declare module '$env/dynamic/private' {
|
|
95
|
-
export const env: {
|
|
96
|
-
VITE_BASE_URL: string;
|
|
97
|
-
VITE_API_HOST: string;
|
|
98
|
-
PATH: string;
|
|
99
|
-
FORCE_COLOR: string;
|
|
100
|
-
MANPATH: string;
|
|
101
|
-
HOMEBREW_PREFIX: string;
|
|
102
|
-
LANG: string;
|
|
103
|
-
DEBUG_COLORS: string;
|
|
104
|
-
COMMAND_MODE: string;
|
|
105
|
-
npm_config_color: string;
|
|
106
|
-
MOCHA_COLORS: string;
|
|
107
|
-
COLORTERM: string;
|
|
108
|
-
LOGNAME: string;
|
|
109
|
-
HOMEBREW_REPOSITORY: string;
|
|
110
|
-
XPC_SERVICE_NAME: string;
|
|
111
|
-
PWD: string;
|
|
112
|
-
TOOLBOX_VERSION: string;
|
|
113
|
-
INFOPATH: string;
|
|
114
|
-
__CFBundleIdentifier: string;
|
|
115
|
-
HOMEBREW_PIP_INDEX_URL: string;
|
|
116
|
-
SHELL: string;
|
|
117
|
-
PAGER: string;
|
|
118
|
-
LSCOLORS: string;
|
|
119
|
-
HOMEBREW_BOTTLE_DOMAIN: string;
|
|
120
|
-
OLDPWD: string;
|
|
121
|
-
HOMEBREW_CELLAR: string;
|
|
122
|
-
USER: string;
|
|
123
|
-
ZSH: string;
|
|
124
|
-
TMPDIR: string;
|
|
125
|
-
SSH_AUTH_SOCK: string;
|
|
126
|
-
XPC_FLAGS: string;
|
|
127
|
-
LC_ALL: string;
|
|
128
|
-
__CF_USER_TEXT_ENCODING: string;
|
|
129
|
-
LESS: string;
|
|
130
|
-
NODE_ENV: string;
|
|
131
|
-
LS_COLORS: string;
|
|
132
|
-
HOME: string;
|
|
133
|
-
HOMEBREW_API_DOMAIN: string;
|
|
134
|
-
[key: `PUBLIC_${string}`]: undefined;
|
|
135
|
-
[key: `${string}`]: string | undefined;
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
/**
|
|
140
|
-
* Similar to [`$env/dynamic/private`](https://kit.svelte.dev/docs/modules#$env-dynamic-private), but only includes variables that begin with [`config.kit.env.publicPrefix`](https://kit.svelte.dev/docs/configuration#env) (which defaults to `PUBLIC_`), and can therefore safely be exposed to client-side code.
|
|
141
|
-
*
|
|
142
|
-
* Note that public dynamic environment variables must all be sent from the server to the client, causing larger network requests — when possible, use `$env/static/public` instead.
|
|
143
|
-
*
|
|
144
|
-
* ```ts
|
|
145
|
-
* import { env } from '$env/dynamic/public';
|
|
146
|
-
* console.log(env.PUBLIC_DEPLOYMENT_SPECIFIC_VARIABLE);
|
|
147
|
-
* ```
|
|
148
|
-
*/
|
|
149
|
-
declare module '$env/dynamic/public' {
|
|
150
|
-
export const env: {
|
|
151
|
-
[key: `PUBLIC_${string}`]: string | undefined;
|
|
152
|
-
}
|
|
153
|
-
}
|
|
1
|
+
|
|
2
|
+
// this file is generated — do not edit it
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
/// <reference types="@sveltejs/kit" />
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Environment variables [loaded by Vite](https://vitejs.dev/guide/env-and-mode.html#env-files) from `.env` files and `process.env`. Like [`$env/dynamic/private`](https://kit.svelte.dev/docs/modules#$env-dynamic-private), this module cannot be imported into client-side code. This module only includes variables that _do not_ begin with [`config.kit.env.publicPrefix`](https://kit.svelte.dev/docs/configuration#env) _and do_ start with [`config.kit.env.privatePrefix`](https://kit.svelte.dev/docs/configuration#env) (if configured).
|
|
9
|
+
*
|
|
10
|
+
* _Unlike_ [`$env/dynamic/private`](https://kit.svelte.dev/docs/modules#$env-dynamic-private), the values exported from this module are statically injected into your bundle at build time, enabling optimisations like dead code elimination.
|
|
11
|
+
*
|
|
12
|
+
* ```ts
|
|
13
|
+
* import { API_KEY } from '$env/static/private';
|
|
14
|
+
* ```
|
|
15
|
+
*
|
|
16
|
+
* Note that all environment variables referenced in your code should be declared (for example in an `.env` file), even if they don't have a value until the app is deployed:
|
|
17
|
+
*
|
|
18
|
+
* ```
|
|
19
|
+
* MY_FEATURE_FLAG=""
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* You can override `.env` values from the command line like so:
|
|
23
|
+
*
|
|
24
|
+
* ```bash
|
|
25
|
+
* MY_FEATURE_FLAG="enabled" npm run dev
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
declare module '$env/static/private' {
|
|
29
|
+
export const VITE_BASE_URL: string;
|
|
30
|
+
export const VITE_API_HOST: string;
|
|
31
|
+
export const PATH: string;
|
|
32
|
+
export const FORCE_COLOR: string;
|
|
33
|
+
export const MANPATH: string;
|
|
34
|
+
export const HOMEBREW_PREFIX: string;
|
|
35
|
+
export const LANG: string;
|
|
36
|
+
export const DEBUG_COLORS: string;
|
|
37
|
+
export const COMMAND_MODE: string;
|
|
38
|
+
export const npm_config_color: string;
|
|
39
|
+
export const MOCHA_COLORS: string;
|
|
40
|
+
export const COLORTERM: string;
|
|
41
|
+
export const LOGNAME: string;
|
|
42
|
+
export const HOMEBREW_REPOSITORY: string;
|
|
43
|
+
export const XPC_SERVICE_NAME: string;
|
|
44
|
+
export const PWD: string;
|
|
45
|
+
export const TOOLBOX_VERSION: string;
|
|
46
|
+
export const INFOPATH: string;
|
|
47
|
+
export const __CFBundleIdentifier: string;
|
|
48
|
+
export const HOMEBREW_PIP_INDEX_URL: string;
|
|
49
|
+
export const SHELL: string;
|
|
50
|
+
export const PAGER: string;
|
|
51
|
+
export const LSCOLORS: string;
|
|
52
|
+
export const HOMEBREW_BOTTLE_DOMAIN: string;
|
|
53
|
+
export const OLDPWD: string;
|
|
54
|
+
export const HOMEBREW_CELLAR: string;
|
|
55
|
+
export const USER: string;
|
|
56
|
+
export const ZSH: string;
|
|
57
|
+
export const TMPDIR: string;
|
|
58
|
+
export const SSH_AUTH_SOCK: string;
|
|
59
|
+
export const XPC_FLAGS: string;
|
|
60
|
+
export const LC_ALL: string;
|
|
61
|
+
export const __CF_USER_TEXT_ENCODING: string;
|
|
62
|
+
export const LESS: string;
|
|
63
|
+
export const NODE_ENV: string;
|
|
64
|
+
export const LS_COLORS: string;
|
|
65
|
+
export const HOME: string;
|
|
66
|
+
export const HOMEBREW_API_DOMAIN: string;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* Similar to [`$env/static/private`](https://kit.svelte.dev/docs/modules#$env-static-private), except that it only includes environment variables that begin with [`config.kit.env.publicPrefix`](https://kit.svelte.dev/docs/configuration#env) (which defaults to `PUBLIC_`), and can therefore safely be exposed to client-side code.
|
|
71
|
+
*
|
|
72
|
+
* Values are replaced statically at build time.
|
|
73
|
+
*
|
|
74
|
+
* ```ts
|
|
75
|
+
* import { PUBLIC_BASE_URL } from '$env/static/public';
|
|
76
|
+
* ```
|
|
77
|
+
*/
|
|
78
|
+
declare module '$env/static/public' {
|
|
79
|
+
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* This module provides access to runtime environment variables, as defined by the platform you're running on. For example if you're using [`adapter-node`](https://github.com/sveltejs/kit/tree/master/packages/adapter-node) (or running [`vite preview`](https://kit.svelte.dev/docs/cli)), this is equivalent to `process.env`. This module only includes variables that _do not_ begin with [`config.kit.env.publicPrefix`](https://kit.svelte.dev/docs/configuration#env) _and do_ start with [`config.kit.env.privatePrefix`](https://kit.svelte.dev/docs/configuration#env) (if configured).
|
|
84
|
+
*
|
|
85
|
+
* This module cannot be imported into client-side code.
|
|
86
|
+
*
|
|
87
|
+
* ```ts
|
|
88
|
+
* import { env } from '$env/dynamic/private';
|
|
89
|
+
* console.log(env.DEPLOYMENT_SPECIFIC_VARIABLE);
|
|
90
|
+
* ```
|
|
91
|
+
*
|
|
92
|
+
* > In `dev`, `$env/dynamic` always includes environment variables from `.env`. In `prod`, this behavior will depend on your adapter.
|
|
93
|
+
*/
|
|
94
|
+
declare module '$env/dynamic/private' {
|
|
95
|
+
export const env: {
|
|
96
|
+
VITE_BASE_URL: string;
|
|
97
|
+
VITE_API_HOST: string;
|
|
98
|
+
PATH: string;
|
|
99
|
+
FORCE_COLOR: string;
|
|
100
|
+
MANPATH: string;
|
|
101
|
+
HOMEBREW_PREFIX: string;
|
|
102
|
+
LANG: string;
|
|
103
|
+
DEBUG_COLORS: string;
|
|
104
|
+
COMMAND_MODE: string;
|
|
105
|
+
npm_config_color: string;
|
|
106
|
+
MOCHA_COLORS: string;
|
|
107
|
+
COLORTERM: string;
|
|
108
|
+
LOGNAME: string;
|
|
109
|
+
HOMEBREW_REPOSITORY: string;
|
|
110
|
+
XPC_SERVICE_NAME: string;
|
|
111
|
+
PWD: string;
|
|
112
|
+
TOOLBOX_VERSION: string;
|
|
113
|
+
INFOPATH: string;
|
|
114
|
+
__CFBundleIdentifier: string;
|
|
115
|
+
HOMEBREW_PIP_INDEX_URL: string;
|
|
116
|
+
SHELL: string;
|
|
117
|
+
PAGER: string;
|
|
118
|
+
LSCOLORS: string;
|
|
119
|
+
HOMEBREW_BOTTLE_DOMAIN: string;
|
|
120
|
+
OLDPWD: string;
|
|
121
|
+
HOMEBREW_CELLAR: string;
|
|
122
|
+
USER: string;
|
|
123
|
+
ZSH: string;
|
|
124
|
+
TMPDIR: string;
|
|
125
|
+
SSH_AUTH_SOCK: string;
|
|
126
|
+
XPC_FLAGS: string;
|
|
127
|
+
LC_ALL: string;
|
|
128
|
+
__CF_USER_TEXT_ENCODING: string;
|
|
129
|
+
LESS: string;
|
|
130
|
+
NODE_ENV: string;
|
|
131
|
+
LS_COLORS: string;
|
|
132
|
+
HOME: string;
|
|
133
|
+
HOMEBREW_API_DOMAIN: string;
|
|
134
|
+
[key: `PUBLIC_${string}`]: undefined;
|
|
135
|
+
[key: `${string}`]: string | undefined;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* Similar to [`$env/dynamic/private`](https://kit.svelte.dev/docs/modules#$env-dynamic-private), but only includes variables that begin with [`config.kit.env.publicPrefix`](https://kit.svelte.dev/docs/configuration#env) (which defaults to `PUBLIC_`), and can therefore safely be exposed to client-side code.
|
|
141
|
+
*
|
|
142
|
+
* Note that public dynamic environment variables must all be sent from the server to the client, causing larger network requests — when possible, use `$env/static/public` instead.
|
|
143
|
+
*
|
|
144
|
+
* ```ts
|
|
145
|
+
* import { env } from '$env/dynamic/public';
|
|
146
|
+
* console.log(env.PUBLIC_DEPLOYMENT_SPECIFIC_VARIABLE);
|
|
147
|
+
* ```
|
|
148
|
+
*/
|
|
149
|
+
declare module '$env/dynamic/public' {
|
|
150
|
+
export const env: {
|
|
151
|
+
[key: `PUBLIC_${string}`]: string | undefined;
|
|
152
|
+
}
|
|
153
|
+
}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
export { matchers } from './matchers.js';
|
|
2
|
-
|
|
3
|
-
export const nodes = [
|
|
4
|
-
() => import('./nodes/0'),
|
|
5
|
-
() => import('./nodes/1'),
|
|
6
|
-
() => import('./nodes/2')
|
|
7
|
-
];
|
|
8
|
-
|
|
9
|
-
export const server_loads = [];
|
|
10
|
-
|
|
11
|
-
export const dictionary = {
|
|
12
|
-
"/": [2]
|
|
13
|
-
};
|
|
14
|
-
|
|
15
|
-
export const hooks = {
|
|
16
|
-
handleError: (({ error }) => { console.error(error) }),
|
|
17
|
-
};
|
|
18
|
-
|
|
1
|
+
export { matchers } from './matchers.js';
|
|
2
|
+
|
|
3
|
+
export const nodes = [
|
|
4
|
+
() => import('./nodes/0'),
|
|
5
|
+
() => import('./nodes/1'),
|
|
6
|
+
() => import('./nodes/2')
|
|
7
|
+
];
|
|
8
|
+
|
|
9
|
+
export const server_loads = [];
|
|
10
|
+
|
|
11
|
+
export const dictionary = {
|
|
12
|
+
"/": [2]
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
export const hooks = {
|
|
16
|
+
handleError: (({ error }) => { console.error(error) }),
|
|
17
|
+
};
|
|
18
|
+
|
|
19
19
|
export { default as root } from '../root.svelte';
|
|
@@ -1,56 +1,56 @@
|
|
|
1
|
-
<!-- This file is generated by @sveltejs/kit — do not edit it! -->
|
|
2
|
-
<script>
|
|
3
|
-
import { setContext, afterUpdate, onMount, tick } from 'svelte';
|
|
4
|
-
import { browser } from '$app/environment';
|
|
5
|
-
|
|
6
|
-
// stores
|
|
7
|
-
export let stores;
|
|
8
|
-
export let page;
|
|
9
|
-
|
|
10
|
-
export let constructors;
|
|
11
|
-
export let components = [];
|
|
12
|
-
export let form;
|
|
13
|
-
export let data_0 = null;
|
|
14
|
-
export let data_1 = null;
|
|
15
|
-
|
|
16
|
-
if (!browser) {
|
|
17
|
-
setContext('__svelte__', stores);
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
$: stores.page.set(page);
|
|
21
|
-
afterUpdate(stores.page.notify);
|
|
22
|
-
|
|
23
|
-
let mounted = false;
|
|
24
|
-
let navigated = false;
|
|
25
|
-
let title = null;
|
|
26
|
-
|
|
27
|
-
onMount(() => {
|
|
28
|
-
const unsubscribe = stores.page.subscribe(() => {
|
|
29
|
-
if (mounted) {
|
|
30
|
-
navigated = true;
|
|
31
|
-
tick().then(() => {
|
|
32
|
-
title = document.title || 'untitled page';
|
|
33
|
-
});
|
|
34
|
-
}
|
|
35
|
-
});
|
|
36
|
-
|
|
37
|
-
mounted = true;
|
|
38
|
-
return unsubscribe;
|
|
39
|
-
});
|
|
40
|
-
</script>
|
|
41
|
-
|
|
42
|
-
{#if constructors[1]}
|
|
43
|
-
<svelte:component this={constructors[0]} bind:this={components[0]} data={data_0}>
|
|
44
|
-
<svelte:component this={constructors[1]} bind:this={components[1]} data={data_1} {form} />
|
|
45
|
-
</svelte:component>
|
|
46
|
-
{:else}
|
|
47
|
-
<svelte:component this={constructors[0]} bind:this={components[0]} data={data_0} {form} />
|
|
48
|
-
{/if}
|
|
49
|
-
|
|
50
|
-
{#if mounted}
|
|
51
|
-
<div id="svelte-announcer" aria-live="assertive" aria-atomic="true" style="position: absolute; left: 0; top: 0; clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap; width: 1px; height: 1px">
|
|
52
|
-
{#if navigated}
|
|
53
|
-
{title}
|
|
54
|
-
{/if}
|
|
55
|
-
</div>
|
|
1
|
+
<!-- This file is generated by @sveltejs/kit — do not edit it! -->
|
|
2
|
+
<script>
|
|
3
|
+
import { setContext, afterUpdate, onMount, tick } from 'svelte';
|
|
4
|
+
import { browser } from '$app/environment';
|
|
5
|
+
|
|
6
|
+
// stores
|
|
7
|
+
export let stores;
|
|
8
|
+
export let page;
|
|
9
|
+
|
|
10
|
+
export let constructors;
|
|
11
|
+
export let components = [];
|
|
12
|
+
export let form;
|
|
13
|
+
export let data_0 = null;
|
|
14
|
+
export let data_1 = null;
|
|
15
|
+
|
|
16
|
+
if (!browser) {
|
|
17
|
+
setContext('__svelte__', stores);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
$: stores.page.set(page);
|
|
21
|
+
afterUpdate(stores.page.notify);
|
|
22
|
+
|
|
23
|
+
let mounted = false;
|
|
24
|
+
let navigated = false;
|
|
25
|
+
let title = null;
|
|
26
|
+
|
|
27
|
+
onMount(() => {
|
|
28
|
+
const unsubscribe = stores.page.subscribe(() => {
|
|
29
|
+
if (mounted) {
|
|
30
|
+
navigated = true;
|
|
31
|
+
tick().then(() => {
|
|
32
|
+
title = document.title || 'untitled page';
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
|
|
37
|
+
mounted = true;
|
|
38
|
+
return unsubscribe;
|
|
39
|
+
});
|
|
40
|
+
</script>
|
|
41
|
+
|
|
42
|
+
{#if constructors[1]}
|
|
43
|
+
<svelte:component this={constructors[0]} bind:this={components[0]} data={data_0}>
|
|
44
|
+
<svelte:component this={constructors[1]} bind:this={components[1]} data={data_1} {form} />
|
|
45
|
+
</svelte:component>
|
|
46
|
+
{:else}
|
|
47
|
+
<svelte:component this={constructors[0]} bind:this={components[0]} data={data_0} {form} />
|
|
48
|
+
{/if}
|
|
49
|
+
|
|
50
|
+
{#if mounted}
|
|
51
|
+
<div id="svelte-announcer" aria-live="assertive" aria-atomic="true" style="position: absolute; left: 0; top: 0; clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap; width: 1px; height: 1px">
|
|
52
|
+
{#if navigated}
|
|
53
|
+
{title}
|
|
54
|
+
{/if}
|
|
55
|
+
</div>
|
|
56
56
|
{/if}
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
|
|
2
|
-
import root from '../root.svelte';
|
|
3
|
-
import { set_building } from '__sveltekit/environment';
|
|
4
|
-
import { set_assets } from '__sveltekit/paths';
|
|
5
|
-
import { set_private_env, set_public_env } from '../../../../../../node_modules/.pnpm/@sveltejs+kit@1.25.0_svelte@4.2.1_vite@4.4.9/node_modules/@sveltejs/kit/src/runtime/shared-server.js';
|
|
6
|
-
|
|
7
|
-
export const options = {
|
|
8
|
-
app_template_contains_nonce: false,
|
|
9
|
-
csp: {"mode":"auto","directives":{"upgrade-insecure-requests":false,"block-all-mixed-content":false},"reportOnly":{"upgrade-insecure-requests":false,"block-all-mixed-content":false}},
|
|
10
|
-
csrf_check_origin: true,
|
|
11
|
-
track_server_fetches: false,
|
|
12
|
-
embedded: false,
|
|
13
|
-
env_public_prefix: 'PUBLIC_',
|
|
14
|
-
env_private_prefix: '',
|
|
15
|
-
hooks: null, // added lazily, via `get_hooks`
|
|
16
|
-
preload_strategy: "modulepreload",
|
|
17
|
-
root,
|
|
18
|
-
service_worker: false,
|
|
19
|
-
templates: {
|
|
20
|
-
app: ({ head, body, assets, nonce, env }) => "<!DOCTYPE html>\n<html lang=\"en\">\n\t<head>\n\t\t<meta charset=\"utf-8\" />\n\t\t<link rel=\"icon\" href=\"" + assets + "/favicon.png\" />\n\t\t<meta name=\"viewport\" content=\"width=device-width\" />\n\t\t" + head + "\n\t</head>\n\t<body data-sveltekit-preload-data=\"hover\">\n\t\t<div style=\"display: contents\">" + body + "</div>\n\t</body>\n</html>\n",
|
|
21
|
-
error: ({ status, message }) => "<!DOCTYPE html>\n<html lang=\"en\">\n\t<head>\n\t\t<meta charset=\"utf-8\" />\n\t\t<title>" + message + "</title>\n\n\t\t<style>\n\t\t\tbody {\n\t\t\t\t--bg: white;\n\t\t\t\t--fg: #222;\n\t\t\t\t--divider: #ccc;\n\t\t\t\tbackground: var(--bg);\n\t\t\t\tcolor: var(--fg);\n\t\t\t\tfont-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,\n\t\t\t\t\tUbuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;\n\t\t\t\tdisplay: flex;\n\t\t\t\talign-items: center;\n\t\t\t\tjustify-content: center;\n\t\t\t\theight: 100vh;\n\t\t\t\tmargin: 0;\n\t\t\t}\n\n\t\t\t.error {\n\t\t\t\tdisplay: flex;\n\t\t\t\talign-items: center;\n\t\t\t\tmax-width: 32rem;\n\t\t\t\tmargin: 0 1rem;\n\t\t\t}\n\n\t\t\t.status {\n\t\t\t\tfont-weight: 200;\n\t\t\t\tfont-size: 3rem;\n\t\t\t\tline-height: 1;\n\t\t\t\tposition: relative;\n\t\t\t\ttop: -0.05rem;\n\t\t\t}\n\n\t\t\t.message {\n\t\t\t\tborder-left: 1px solid var(--divider);\n\t\t\t\tpadding: 0 0 0 1rem;\n\t\t\t\tmargin: 0 0 0 1rem;\n\t\t\t\tmin-height: 2.5rem;\n\t\t\t\tdisplay: flex;\n\t\t\t\talign-items: center;\n\t\t\t}\n\n\t\t\t.message h1 {\n\t\t\t\tfont-weight: 400;\n\t\t\t\tfont-size: 1em;\n\t\t\t\tmargin: 0;\n\t\t\t}\n\n\t\t\t@media (prefers-color-scheme: dark) {\n\t\t\t\tbody {\n\t\t\t\t\t--bg: #222;\n\t\t\t\t\t--fg: #ddd;\n\t\t\t\t\t--divider: #666;\n\t\t\t\t}\n\t\t\t}\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<div class=\"error\">\n\t\t\t<span class=\"status\">" + status + "</span>\n\t\t\t<div class=\"message\">\n\t\t\t\t<h1>" + message + "</h1>\n\t\t\t</div>\n\t\t</div>\n\t</body>\n</html>\n"
|
|
22
|
-
},
|
|
23
|
-
version_hash: "1hs1m8n"
|
|
24
|
-
};
|
|
25
|
-
|
|
26
|
-
export function get_hooks() {
|
|
27
|
-
return {};
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
export { set_assets, set_building, set_private_env, set_public_env };
|
|
1
|
+
|
|
2
|
+
import root from '../root.svelte';
|
|
3
|
+
import { set_building } from '__sveltekit/environment';
|
|
4
|
+
import { set_assets } from '__sveltekit/paths';
|
|
5
|
+
import { set_private_env, set_public_env } from '../../../../../../node_modules/.pnpm/@sveltejs+kit@1.25.0_svelte@4.2.1_vite@4.4.9/node_modules/@sveltejs/kit/src/runtime/shared-server.js';
|
|
6
|
+
|
|
7
|
+
export const options = {
|
|
8
|
+
app_template_contains_nonce: false,
|
|
9
|
+
csp: {"mode":"auto","directives":{"upgrade-insecure-requests":false,"block-all-mixed-content":false},"reportOnly":{"upgrade-insecure-requests":false,"block-all-mixed-content":false}},
|
|
10
|
+
csrf_check_origin: true,
|
|
11
|
+
track_server_fetches: false,
|
|
12
|
+
embedded: false,
|
|
13
|
+
env_public_prefix: 'PUBLIC_',
|
|
14
|
+
env_private_prefix: '',
|
|
15
|
+
hooks: null, // added lazily, via `get_hooks`
|
|
16
|
+
preload_strategy: "modulepreload",
|
|
17
|
+
root,
|
|
18
|
+
service_worker: false,
|
|
19
|
+
templates: {
|
|
20
|
+
app: ({ head, body, assets, nonce, env }) => "<!DOCTYPE html>\n<html lang=\"en\">\n\t<head>\n\t\t<meta charset=\"utf-8\" />\n\t\t<link rel=\"icon\" href=\"" + assets + "/favicon.png\" />\n\t\t<meta name=\"viewport\" content=\"width=device-width\" />\n\t\t" + head + "\n\t</head>\n\t<body data-sveltekit-preload-data=\"hover\">\n\t\t<div style=\"display: contents\">" + body + "</div>\n\t</body>\n</html>\n",
|
|
21
|
+
error: ({ status, message }) => "<!DOCTYPE html>\n<html lang=\"en\">\n\t<head>\n\t\t<meta charset=\"utf-8\" />\n\t\t<title>" + message + "</title>\n\n\t\t<style>\n\t\t\tbody {\n\t\t\t\t--bg: white;\n\t\t\t\t--fg: #222;\n\t\t\t\t--divider: #ccc;\n\t\t\t\tbackground: var(--bg);\n\t\t\t\tcolor: var(--fg);\n\t\t\t\tfont-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,\n\t\t\t\t\tUbuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;\n\t\t\t\tdisplay: flex;\n\t\t\t\talign-items: center;\n\t\t\t\tjustify-content: center;\n\t\t\t\theight: 100vh;\n\t\t\t\tmargin: 0;\n\t\t\t}\n\n\t\t\t.error {\n\t\t\t\tdisplay: flex;\n\t\t\t\talign-items: center;\n\t\t\t\tmax-width: 32rem;\n\t\t\t\tmargin: 0 1rem;\n\t\t\t}\n\n\t\t\t.status {\n\t\t\t\tfont-weight: 200;\n\t\t\t\tfont-size: 3rem;\n\t\t\t\tline-height: 1;\n\t\t\t\tposition: relative;\n\t\t\t\ttop: -0.05rem;\n\t\t\t}\n\n\t\t\t.message {\n\t\t\t\tborder-left: 1px solid var(--divider);\n\t\t\t\tpadding: 0 0 0 1rem;\n\t\t\t\tmargin: 0 0 0 1rem;\n\t\t\t\tmin-height: 2.5rem;\n\t\t\t\tdisplay: flex;\n\t\t\t\talign-items: center;\n\t\t\t}\n\n\t\t\t.message h1 {\n\t\t\t\tfont-weight: 400;\n\t\t\t\tfont-size: 1em;\n\t\t\t\tmargin: 0;\n\t\t\t}\n\n\t\t\t@media (prefers-color-scheme: dark) {\n\t\t\t\tbody {\n\t\t\t\t\t--bg: #222;\n\t\t\t\t\t--fg: #ddd;\n\t\t\t\t\t--divider: #666;\n\t\t\t\t}\n\t\t\t}\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<div class=\"error\">\n\t\t\t<span class=\"status\">" + status + "</span>\n\t\t\t<div class=\"message\">\n\t\t\t\t<h1>" + message + "</h1>\n\t\t\t</div>\n\t\t</div>\n\t</body>\n</html>\n"
|
|
22
|
+
},
|
|
23
|
+
version_hash: "1hs1m8n"
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
export function get_hooks() {
|
|
27
|
+
return {};
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export { set_assets, set_building, set_private_env, set_public_env };
|