postmerge
This commit is contained in:
commit
1aef9cc952
11
README.md
11
README.md
|
@ -5,18 +5,19 @@ npm start
|
||||||
```
|
```
|
||||||
|
|
||||||
## Useful commands
|
## Useful commands
|
||||||
run checks
|
|
||||||
|
run checks with your favorite package manager: npm, yarn, pnpm or bun
|
||||||
|
|
||||||
```
|
```
|
||||||
npm run check
|
npm run check
|
||||||
```
|
```
|
||||||
type checking with watch
|
|
||||||
```
|
|
||||||
npm run typecheck:watch
|
|
||||||
```
|
|
||||||
fix styles, imports, formatting and autofixable linting errors:
|
fix styles, imports, formatting and autofixable linting errors:
|
||||||
|
|
||||||
```
|
```
|
||||||
npm run fix
|
npm run fix
|
||||||
```
|
```
|
||||||
|
|
||||||
## Code generation
|
## Code generation
|
||||||
|
|
||||||
generate new SolidJS component:
|
generate new SolidJS component:
|
||||||
|
|
19
codegen.yml
19
codegen.yml
|
@ -11,7 +11,7 @@ generates:
|
||||||
skipTypename: true
|
skipTypename: true
|
||||||
useTypeImports: true
|
useTypeImports: true
|
||||||
outputPath: './src/graphql/types/chat.gen.ts'
|
outputPath: './src/graphql/types/chat.gen.ts'
|
||||||
# namingConvention: change-case#CamelCase # for generated types
|
# namingConvention: lodash#pascalCase
|
||||||
|
|
||||||
# Generate types for core
|
# Generate types for core
|
||||||
src/graphql/schema/core.gen.ts:
|
src/graphql/schema/core.gen.ts:
|
||||||
|
@ -24,7 +24,7 @@ generates:
|
||||||
skipTypename: true
|
skipTypename: true
|
||||||
useTypeImports: true
|
useTypeImports: true
|
||||||
outputPath: './src/graphql/types/core.gen.ts'
|
outputPath: './src/graphql/types/core.gen.ts'
|
||||||
# namingConvention: change-case#CamelCase # for generated types
|
# namingConvention: lodash#pascalCase
|
||||||
|
|
||||||
# Generate types for notifier
|
# Generate types for notifier
|
||||||
src/graphql/schema/notifier.gen.ts:
|
src/graphql/schema/notifier.gen.ts:
|
||||||
|
@ -37,20 +37,7 @@ generates:
|
||||||
skipTypename: true
|
skipTypename: true
|
||||||
useTypeImports: true
|
useTypeImports: true
|
||||||
outputPath: './src/graphql/types/notifier.gen.ts'
|
outputPath: './src/graphql/types/notifier.gen.ts'
|
||||||
# namingConvention: change-case#CamelCase # for generated types
|
# namingConvention: lodash#pascalCase
|
||||||
|
|
||||||
# internal types for auth
|
|
||||||
# src/graphql/schema/auth.gen.ts:
|
|
||||||
# schema: 'https://auth.discours.io/graphql'
|
|
||||||
# plugins:
|
|
||||||
# - 'typescript'
|
|
||||||
# - 'typescript-operations'
|
|
||||||
# - 'typescript-urql'
|
|
||||||
# config:
|
|
||||||
# skipTypename: true
|
|
||||||
# useTypeImports: true
|
|
||||||
# outputPath: './src/graphql/types/auth.gen.ts'
|
|
||||||
# namingConvention: change-case#CamelCase # for generated types
|
|
||||||
|
|
||||||
hooks:
|
hooks:
|
||||||
afterAllFileWrite:
|
afterAllFileWrite:
|
||||||
|
|
4915
package-lock.json
generated
4915
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
84
package.json
84
package.json
|
@ -37,14 +37,12 @@
|
||||||
"@authorizerdev/authorizer-js": "2.0.0",
|
"@authorizerdev/authorizer-js": "2.0.0",
|
||||||
"@babel/core": "7.23.3",
|
"@babel/core": "7.23.3",
|
||||||
"@biomejs/biome": "^1.5.3",
|
"@biomejs/biome": "^1.5.3",
|
||||||
"@graphql-codegen/cli": "5.0.0",
|
"@graphql-codegen/cli": "^5.0.0",
|
||||||
"@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-codegen/urql-introspection": "3.0.0",
|
|
||||||
"@graphql-tools/url-loader": "8.0.1",
|
"@graphql-tools/url-loader": "8.0.1",
|
||||||
"@graphql-typed-document-node/core": "3.2.0",
|
"@hocuspocus/provider": "2.2.2",
|
||||||
"@hocuspocus/provider": "2.0.6",
|
|
||||||
"@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",
|
||||||
|
@ -59,42 +57,41 @@
|
||||||
"@solid-primitives/upload": "0.0.110",
|
"@solid-primitives/upload": "0.0.110",
|
||||||
"@solidjs/meta": "0.29.1",
|
"@solidjs/meta": "0.29.1",
|
||||||
"@thisbeyond/solid-select": "0.14.0",
|
"@thisbeyond/solid-select": "0.14.0",
|
||||||
"@tiptap/core": "2.0.3",
|
"@tiptap/core": "2.2.2",
|
||||||
"@tiptap/extension-blockquote": "2.0.3",
|
"@tiptap/extension-blockquote": "2.2.2",
|
||||||
"@tiptap/extension-bold": "2.0.3",
|
"@tiptap/extension-bold": "2.2.2",
|
||||||
"@tiptap/extension-bubble-menu": "2.0.3",
|
"@tiptap/extension-bubble-menu": "2.2.2",
|
||||||
"@tiptap/extension-bullet-list": "2.0.3",
|
"@tiptap/extension-bullet-list": "2.2.2",
|
||||||
"@tiptap/extension-character-count": "2.0.3",
|
"@tiptap/extension-character-count": "2.2.2",
|
||||||
"@tiptap/extension-collaboration": "2.0.3",
|
"@tiptap/extension-collaboration": "2.2.2",
|
||||||
"@tiptap/extension-collaboration-cursor": "2.0.3",
|
"@tiptap/extension-collaboration-cursor": "2.2.2",
|
||||||
"@tiptap/extension-document": "2.0.3",
|
"@tiptap/extension-document": "2.2.2",
|
||||||
"@tiptap/extension-dropcursor": "2.0.3",
|
"@tiptap/extension-dropcursor": "2.2.2",
|
||||||
"@tiptap/extension-floating-menu": "2.0.3",
|
"@tiptap/extension-floating-menu": "2.2.2",
|
||||||
"@tiptap/extension-focus": "2.0.3",
|
"@tiptap/extension-focus": "2.2.2",
|
||||||
"@tiptap/extension-gapcursor": "2.0.3",
|
"@tiptap/extension-gapcursor": "2.2.2",
|
||||||
"@tiptap/extension-hard-break": "2.0.3",
|
"@tiptap/extension-hard-break": "2.2.2",
|
||||||
"@tiptap/extension-heading": "2.0.3",
|
"@tiptap/extension-heading": "2.2.2",
|
||||||
"@tiptap/extension-highlight": "2.0.3",
|
"@tiptap/extension-highlight": "2.2.2",
|
||||||
"@tiptap/extension-history": "2.0.3",
|
"@tiptap/extension-history": "2.2.2",
|
||||||
"@tiptap/extension-horizontal-rule": "2.0.3",
|
"@tiptap/extension-horizontal-rule": "2.2.2",
|
||||||
"@tiptap/extension-image": "2.0.3",
|
"@tiptap/extension-image": "2.2.2",
|
||||||
"@tiptap/extension-italic": "2.0.3",
|
"@tiptap/extension-italic": "2.2.2",
|
||||||
"@tiptap/extension-link": "2.0.3",
|
"@tiptap/extension-link": "2.2.2",
|
||||||
"@tiptap/extension-list-item": "2.0.3",
|
"@tiptap/extension-list-item": "2.2.2",
|
||||||
"@tiptap/extension-ordered-list": "2.0.3",
|
"@tiptap/extension-ordered-list": "2.2.2",
|
||||||
"@tiptap/extension-paragraph": "2.0.3",
|
"@tiptap/extension-paragraph": "2.2.2",
|
||||||
"@tiptap/extension-placeholder": "2.0.3",
|
"@tiptap/extension-placeholder": "2.2.2",
|
||||||
"@tiptap/extension-strike": "2.0.3",
|
"@tiptap/extension-strike": "2.2.2",
|
||||||
"@tiptap/extension-text": "2.0.3",
|
"@tiptap/extension-text": "2.2.2",
|
||||||
"@tiptap/extension-underline": "2.0.3",
|
"@tiptap/extension-underline": "2.2.2",
|
||||||
"@tiptap/extension-youtube": "2.0.3",
|
"@tiptap/extension-youtube": "2.2.2",
|
||||||
"@types/js-cookie": "3.0.6",
|
"@types/js-cookie": "3.0.6",
|
||||||
"@types/node": "20.9.0",
|
"@types/node": "^20.9.0",
|
||||||
"@urql/core": "4.2.3",
|
"@urql/core": "4.2.3",
|
||||||
"@urql/devtools": "2.0.3",
|
"@urql/devtools": "^2.0.3",
|
||||||
"babel-preset-solid": "1.8.4",
|
"babel-preset-solid": "1.8.4",
|
||||||
"bootstrap": "5.3.2",
|
"bootstrap": "5.3.2",
|
||||||
"change-case": "5.2.0",
|
|
||||||
"clsx": "2.0.0",
|
"clsx": "2.0.0",
|
||||||
"cropperjs": "1.6.1",
|
"cropperjs": "1.6.1",
|
||||||
"cross-env": "7.0.3",
|
"cross-env": "7.0.3",
|
||||||
|
@ -109,7 +106,6 @@
|
||||||
"i18next-icu": "2.3.0",
|
"i18next-icu": "2.3.0",
|
||||||
"intl-messageformat": "10.5.3",
|
"intl-messageformat": "10.5.3",
|
||||||
"javascript-time-ago": "2.5.9",
|
"javascript-time-ago": "2.5.9",
|
||||||
"jest": "29.7.0",
|
|
||||||
"js-cookie": "3.0.5",
|
"js-cookie": "3.0.5",
|
||||||
"lint-staged": "15.1.0",
|
"lint-staged": "15.1.0",
|
||||||
"loglevel": "1.8.1",
|
"loglevel": "1.8.1",
|
||||||
|
@ -118,14 +114,12 @@
|
||||||
"prosemirror-history": "1.3.0",
|
"prosemirror-history": "1.3.0",
|
||||||
"prosemirror-trailing-node": "2.0.3",
|
"prosemirror-trailing-node": "2.0.3",
|
||||||
"prosemirror-view": "1.30.2",
|
"prosemirror-view": "1.30.2",
|
||||||
"rollup": "3.21.6",
|
"rollup": "4.9.6",
|
||||||
"sass": "1.69.5",
|
"sass": "1.69.5",
|
||||||
"solid-js": "1.8.7",
|
"solid-js": "1.8.14",
|
||||||
"solid-popper": "0.3.0",
|
"solid-popper": "0.3.0",
|
||||||
"solid-tiptap": "0.6.0",
|
"solid-tiptap": "0.7.0",
|
||||||
"solid-transition-group": "0.2.3",
|
"solid-transition-group": "0.2.3",
|
||||||
"sort-json": "2.0.1",
|
|
||||||
"sort-package-json": "2.6.0",
|
|
||||||
"stylelint": "15.11.0",
|
"stylelint": "15.11.0",
|
||||||
"stylelint-config-standard-scss": "11.1.0",
|
"stylelint-config-standard-scss": "11.1.0",
|
||||||
"stylelint-order": "6.0.3",
|
"stylelint-order": "6.0.3",
|
||||||
|
|
|
@ -73,9 +73,8 @@ export const AuthorBadge = (props: Props) => {
|
||||||
createEffect(
|
createEffect(
|
||||||
on(
|
on(
|
||||||
() => props.isFollowed,
|
() => props.isFollowed,
|
||||||
() => {
|
(followed) => setIsFollowed(followed?.value),
|
||||||
setIsFollowed(props.isFollowed?.value)
|
{ defer: true },
|
||||||
},
|
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,7 @@ const getDevCssClassPrefix = (filename: string): string => {
|
||||||
return filename
|
return filename
|
||||||
.slice(filename.indexOf(PATH_PREFIX) + PATH_PREFIX.length)
|
.slice(filename.indexOf(PATH_PREFIX) + PATH_PREFIX.length)
|
||||||
.replace('.module.scss', '')
|
.replace('.module.scss', '')
|
||||||
.replaceAll(/[/?\\]/g, '-')
|
.replace(/[/?\\]/g, '-')
|
||||||
}
|
}
|
||||||
|
|
||||||
const devGenerateScopedName = (name: string, filename: string, _css: string) =>
|
const devGenerateScopedName = (name: string, filename: string, _css: string) =>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user