This commit is contained in:
Untone 2024-02-08 10:25:32 +03:00
parent 3f03f03e49
commit e72dcdadc1
4 changed files with 820 additions and 901 deletions

View File

@ -2,7 +2,7 @@
"$schema": "https://biomejs.dev/schemas/1.5.3/schema.json", "$schema": "https://biomejs.dev/schemas/1.5.3/schema.json",
"files": { "files": {
"include": ["*.tsx", "*.ts", "*.js", "*.json"], "include": ["*.tsx", "*.ts", "*.js", "*.json"],
"ignore": ["./dist", "./node_modules", ".husky", "docs", "gen"] "ignore": ["*.d.ts", "./dist", "./node_modules", ".husky", "docs", "gen"]
}, },
"vcs": { "vcs": {
"defaultBranch": "dev", "defaultBranch": "dev",

1662
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -41,14 +41,14 @@
"@graphql-codegen/typescript": "^4.0.1", "@graphql-codegen/typescript": "^4.0.1",
"@graphql-codegen/typescript-operations": "^4.0.1", "@graphql-codegen/typescript-operations": "^4.0.1",
"@graphql-codegen/typescript-urql": "^4.0.0", "@graphql-codegen/typescript-urql": "^4.0.0",
"@graphql-tools/url-loader": "8.0.1", "@graphql-tools/url-loader": "^8.0.1",
"@hocuspocus/provider": "2.11.0", "@hocuspocus/provider": "2.11.0",
"@microsoft/fetch-event-source": "^2.0.1", "@microsoft/fetch-event-source": "^2.0.1",
"@nanostores/router": "0.13.0", "@nanostores/router": "0.13.0",
"@nanostores/solid": "0.4.2", "@nanostores/solid": "0.4.2",
"@playwright/test": "1.41.2", "@playwright/test": "^1.41.2",
"@popperjs/core": "2.11.8", "@popperjs/core": "2.11.8",
"@sentry/browser": "7.99.0", "@sentry/browser": "^7.99.0",
"@solid-primitives/media": "2.2.3", "@solid-primitives/media": "2.2.3",
"@solid-primitives/memo": "1.2.4", "@solid-primitives/memo": "1.2.4",
"@solid-primitives/pagination": "0.2.10", "@solid-primitives/pagination": "0.2.10",
@ -98,8 +98,8 @@
"ga-gtag": "1.2.0", "ga-gtag": "1.2.0",
"graphql": "16.8.1", "graphql": "16.8.1",
"graphql-tag": "2.12.6", "graphql-tag": "2.12.6",
"husky": "8.0.3", "husky": "^9.0.10",
"hygen": "6.2.11", "hygen": "^6.2.11",
"i18next": "22.4.15", "i18next": "22.4.15",
"i18next-http-backend": "2.2.0", "i18next-http-backend": "2.2.0",
"i18next-icu": "2.3.0", "i18next-icu": "2.3.0",
@ -119,25 +119,30 @@
"solid-popper": "0.3.0", "solid-popper": "0.3.0",
"solid-tiptap": "0.7.0", "solid-tiptap": "0.7.0",
"solid-transition-group": "0.2.3", "solid-transition-group": "0.2.3",
"stylelint": "15.11.0", "stylelint": "^16.0.0",
"stylelint-config-standard-scss": "11.1.0", "stylelint-config-standard-scss": "^13.0.0",
"stylelint-order": "6.0.3", "stylelint-order": "^6.0.3",
"stylelint-scss": "5.3.1", "stylelint-scss": "^6.1.0",
"swiper": "11.0.5", "swiper": "11.0.5",
"throttle-debounce": "5.0.0", "throttle-debounce": "5.0.0",
"typescript": "5.2.2", "typescript": "5.2.2",
"typograf": "7.1.0", "typograf": "7.3.0",
"uniqolor": "1.1.0", "uniqolor": "1.1.0",
"vike": "0.4.148", "vike": "0.4.161",
"vite": "4.5.2", "vite": "5.0.12",
"vite-plugin-mkcert": "1.16.0", "vite-plugin-mkcert": "1.17.3",
"vite-plugin-sass-dts": "1.3.11", "vite-plugin-sass-dts": "1.3.11",
"vite-plugin-solid": "2.7.2", "vite-plugin-solid": "2.9.1",
"y-prosemirror": "1.2.2", "y-prosemirror": "1.2.2",
"yjs": "13.6.8" "yjs": "13.6.8"
}, },
"overrides": { "overrides": {
"esbuild": "0.17.19", "esbuild": "0.17.19",
"graphql": "16.8.1",
"prosemirror-view": "1.32.7",
"solid-js": "1.8.14",
"stylelint": "^16.0.0",
"vite": "5.0.12",
"y-prosemirror": "1.2.2", "y-prosemirror": "1.2.2",
"yjs": "13.6.8" "yjs": "13.6.8"
} }

View File

@ -17,7 +17,7 @@ const cssModuleHMR = () => {
module.isSelfAccepting = true module.isSelfAccepting = true
} }
}) })
}, }
} }
} }
@ -38,7 +38,7 @@ export default defineConfig(({ mode, command }) => {
solidPlugin({ ssr: true }), solidPlugin({ ssr: true }),
ssrPlugin({ includeAssetsImportedByServer: true }), ssrPlugin({ includeAssetsImportedByServer: true }),
sassDts(), sassDts(),
cssModuleHMR(), cssModuleHMR()
] ]
if (command === 'serve') { if (command === 'serve') {
@ -51,24 +51,24 @@ export default defineConfig(({ mode, command }) => {
envPrefix: 'PUBLIC_', envPrefix: 'PUBLIC_',
plugins, plugins,
server: { server: {
https: true, https: {},
port: 3000, port: 3000
}, },
css: { css: {
devSourcemap: isDev, devSourcemap: isDev,
preprocessorOptions: { preprocessorOptions: {
scss: { additionalData: '@import "src/styles/imports";\n' }, scss: { additionalData: '@import "src/styles/imports";\n' }
}, },
modules: { modules: {
generateScopedName: isDev ? devGenerateScopedName : '[hash:base64:5]', generateScopedName: isDev ? devGenerateScopedName : '[hash:base64:5]'
}, }
}, },
build: { build: {
rollupOptions: { rollupOptions: {
external: [], external: []
}, },
chunkSizeWarningLimit: 1024, chunkSizeWarningLimit: 1024,
target: 'esnext', target: 'esnext'
}, },
ssr: { ssr: {
noExternal: [ noExternal: [
@ -106,8 +106,8 @@ export default defineConfig(({ mode, command }) => {
'@tiptap/extension-link', '@tiptap/extension-link',
'@tiptap/extension-image', '@tiptap/extension-image',
'@tiptap/extension-character-count', '@tiptap/extension-character-count',
'clsx', 'clsx'
], ]
}, }
} }
}) })