mirror of
https://github.com/glitch-soc/mastodon.git
synced 2026-03-29 03:00:33 +02:00
Conflicts: - `app/services/post_status_service.rb`: Upstream added a line adjacent to one that had been modified due to local-only posting. Added upstream's change. - `tsconfig.json`: Upstream updated Typescript and updated `tsconfig` in the process by changing paths, where glitch-soc had extra paths. Updated as upstream did.
36 lines
1.0 KiB
JSON
36 lines
1.0 KiB
JSON
{
|
|
"compilerOptions": {
|
|
"jsx": "react-jsx",
|
|
"allowJs": true,
|
|
"resolveJsonModule": true,
|
|
"noEmit": true,
|
|
"strict": true,
|
|
"isolatedModules": true, // Required by Vite
|
|
"noImplicitReturns": true,
|
|
"noUncheckedIndexedAccess": true,
|
|
"esModuleInterop": true,
|
|
"skipLibCheck": true,
|
|
"types": ["vite/client", "vitest/globals"],
|
|
"incremental": true,
|
|
"tsBuildInfoFile": "tmp/cache/tsconfig.tsbuildinfo",
|
|
"paths": {
|
|
"@/*": ["./app/javascript/*"],
|
|
"mastodon": ["./app/javascript/mastodon"],
|
|
"mastodon/*": ["./app/javascript/mastodon/*"],
|
|
"locales": ["./app/javascript/locales"],
|
|
"flavours/glitch": ["./app/javascript/flavours/glitch"],
|
|
"flavours/glitch/*": ["./app/javascript/flavours/glitch/*"],
|
|
"images/*": ["./app/javascript/images/*"],
|
|
"styles/*": ["./app/javascript/styles/*"]
|
|
},
|
|
"plugins": [{ "name": "typescript-plugin-css-modules" }]
|
|
},
|
|
"include": [
|
|
"vite.config.mts",
|
|
"vitest.config.mts",
|
|
"config/vite",
|
|
"app/javascript",
|
|
".storybook/*"
|
|
]
|
|
}
|