mirror of
https://github.com/twentyhq/twenty.git
synced 2024-09-11 23:37:21 +03:00
Added vite-plugin-checker to twenty-front (#3289)
* Added vite-plugin-checker to twenty-front * Installed vite-plugin-checker globally
This commit is contained in:
parent
d2e8df52cf
commit
71034849d3
@ -254,6 +254,7 @@
|
|||||||
"ts-node": "10.9.1",
|
"ts-node": "10.9.1",
|
||||||
"typescript": "^5.3.3",
|
"typescript": "^5.3.3",
|
||||||
"vite": "^5.0.0",
|
"vite": "^5.0.0",
|
||||||
|
"vite-plugin-checker": "^0.6.2",
|
||||||
"vite-plugin-svgr": "^4.2.0",
|
"vite-plugin-svgr": "^4.2.0",
|
||||||
"zapier-platform-cli": "^15.4.1"
|
"zapier-platform-cli": "^15.4.1"
|
||||||
},
|
},
|
||||||
|
@ -2,6 +2,7 @@ import { defineConfig, loadEnv } from 'vite';
|
|||||||
import react from '@vitejs/plugin-react-swc';
|
import react from '@vitejs/plugin-react-swc';
|
||||||
import tsconfigPaths from 'vite-tsconfig-paths';
|
import tsconfigPaths from 'vite-tsconfig-paths';
|
||||||
import svgr from 'vite-plugin-svgr';
|
import svgr from 'vite-plugin-svgr';
|
||||||
|
import checker from 'vite-plugin-checker'
|
||||||
|
|
||||||
// https://vitejs.dev/config/
|
// https://vitejs.dev/config/
|
||||||
export default defineConfig(({ mode }) => {
|
export default defineConfig(({ mode }) => {
|
||||||
@ -18,6 +19,11 @@ export default defineConfig(({ mode }) => {
|
|||||||
react({ jsxImportSource: "@emotion/react" }),
|
react({ jsxImportSource: "@emotion/react" }),
|
||||||
tsconfigPaths(),
|
tsconfigPaths(),
|
||||||
svgr(),
|
svgr(),
|
||||||
|
checker({
|
||||||
|
typescript: {
|
||||||
|
tsconfigPath: "tsconfig.app.json"
|
||||||
|
}
|
||||||
|
}),
|
||||||
]
|
]
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
121
yarn.lock
121
yarn.lock
@ -19742,7 +19742,7 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"commander@npm:^8.3.0":
|
"commander@npm:^8.0.0, commander@npm:^8.3.0":
|
||||||
version: 8.3.0
|
version: 8.3.0
|
||||||
resolution: "commander@npm:8.3.0"
|
resolution: "commander@npm:8.3.0"
|
||||||
checksum: 8b043bb8322ea1c39664a1598a95e0495bfe4ca2fad0d84a92d7d1d8d213e2a155b441d2470c8e08de7c4a28cf2bc6e169211c49e1b21d9f7edc6ae4d9356060
|
checksum: 8b043bb8322ea1c39664a1598a95e0495bfe4ca2fad0d84a92d7d1d8d213e2a155b441d2470c8e08de7c4a28cf2bc6e169211c49e1b21d9f7edc6ae4d9356060
|
||||||
@ -23356,7 +23356,7 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"fast-glob@npm:^3.2.11, fast-glob@npm:^3.2.9, fast-glob@npm:^3.3.0, fast-glob@npm:^3.3.1":
|
"fast-glob@npm:^3.2.11, fast-glob@npm:^3.2.7, fast-glob@npm:^3.2.9, fast-glob@npm:^3.3.0, fast-glob@npm:^3.3.1":
|
||||||
version: 3.3.2
|
version: 3.3.2
|
||||||
resolution: "fast-glob@npm:3.3.2"
|
resolution: "fast-glob@npm:3.3.2"
|
||||||
dependencies:
|
dependencies:
|
||||||
@ -38842,7 +38842,7 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"semver@npm:7.5.4, semver@npm:^7.0.0, semver@npm:^7.1.1, semver@npm:^7.1.3, semver@npm:^7.2.1, semver@npm:^7.3.2, semver@npm:^7.3.4, semver@npm:^7.3.5, semver@npm:^7.3.7, semver@npm:^7.3.8, semver@npm:^7.5.1, semver@npm:^7.5.3, semver@npm:^7.5.4":
|
"semver@npm:7.5.4, semver@npm:^7.0.0, semver@npm:^7.1.1, semver@npm:^7.1.3, semver@npm:^7.2.1, semver@npm:^7.3.2, semver@npm:^7.3.4, semver@npm:^7.3.5, semver@npm:^7.3.7, semver@npm:^7.3.8, semver@npm:^7.5.0, semver@npm:^7.5.1, semver@npm:^7.5.3, semver@npm:^7.5.4":
|
||||||
version: 7.5.4
|
version: 7.5.4
|
||||||
resolution: "semver@npm:7.5.4"
|
resolution: "semver@npm:7.5.4"
|
||||||
dependencies:
|
dependencies:
|
||||||
@ -40825,7 +40825,7 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"tiny-invariant@npm:^1.0.2, tiny-invariant@npm:^1.0.6, tiny-invariant@npm:^1.3.1":
|
"tiny-invariant@npm:^1.0.2, tiny-invariant@npm:^1.0.6, tiny-invariant@npm:^1.1.0, tiny-invariant@npm:^1.3.1":
|
||||||
version: 1.3.1
|
version: 1.3.1
|
||||||
resolution: "tiny-invariant@npm:1.3.1"
|
resolution: "tiny-invariant@npm:1.3.1"
|
||||||
checksum: 5b87c1d52847d9452b60d0dcb77011b459044e0361ca8253bfe7b43d6288106e12af926adb709a6fc28900e3864349b91dad9a4ac93c39aa15f360b26c2ff4db
|
checksum: 5b87c1d52847d9452b60d0dcb77011b459044e0361ca8253bfe7b43d6288106e12af926adb709a6fc28900e3864349b91dad9a4ac93c39aa15f360b26c2ff4db
|
||||||
@ -41720,6 +41720,7 @@ __metadata:
|
|||||||
typescript: "npm:^5.3.3"
|
typescript: "npm:^5.3.3"
|
||||||
uuid: "npm:^9.0.0"
|
uuid: "npm:^9.0.0"
|
||||||
vite: "npm:^5.0.0"
|
vite: "npm:^5.0.0"
|
||||||
|
vite-plugin-checker: "npm:^0.6.2"
|
||||||
vite-plugin-svgr: "npm:^4.2.0"
|
vite-plugin-svgr: "npm:^4.2.0"
|
||||||
vite-tsconfig-paths: "npm:^4.2.1"
|
vite-tsconfig-paths: "npm:^4.2.1"
|
||||||
xlsx-ugnis: "npm:^0.19.3"
|
xlsx-ugnis: "npm:^0.19.3"
|
||||||
@ -43270,6 +43271,58 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
|
"vite-plugin-checker@npm:^0.6.2":
|
||||||
|
version: 0.6.2
|
||||||
|
resolution: "vite-plugin-checker@npm:0.6.2"
|
||||||
|
dependencies:
|
||||||
|
"@babel/code-frame": "npm:^7.12.13"
|
||||||
|
ansi-escapes: "npm:^4.3.0"
|
||||||
|
chalk: "npm:^4.1.1"
|
||||||
|
chokidar: "npm:^3.5.1"
|
||||||
|
commander: "npm:^8.0.0"
|
||||||
|
fast-glob: "npm:^3.2.7"
|
||||||
|
fs-extra: "npm:^11.1.0"
|
||||||
|
lodash.debounce: "npm:^4.0.8"
|
||||||
|
lodash.pick: "npm:^4.4.0"
|
||||||
|
npm-run-path: "npm:^4.0.1"
|
||||||
|
semver: "npm:^7.5.0"
|
||||||
|
strip-ansi: "npm:^6.0.0"
|
||||||
|
tiny-invariant: "npm:^1.1.0"
|
||||||
|
vscode-languageclient: "npm:^7.0.0"
|
||||||
|
vscode-languageserver: "npm:^7.0.0"
|
||||||
|
vscode-languageserver-textdocument: "npm:^1.0.1"
|
||||||
|
vscode-uri: "npm:^3.0.2"
|
||||||
|
peerDependencies:
|
||||||
|
eslint: ">=7"
|
||||||
|
meow: ^9.0.0
|
||||||
|
optionator: ^0.9.1
|
||||||
|
stylelint: ">=13"
|
||||||
|
typescript: "*"
|
||||||
|
vite: ">=2.0.0"
|
||||||
|
vls: "*"
|
||||||
|
vti: "*"
|
||||||
|
vue-tsc: ">=1.3.9"
|
||||||
|
peerDependenciesMeta:
|
||||||
|
eslint:
|
||||||
|
optional: true
|
||||||
|
meow:
|
||||||
|
optional: true
|
||||||
|
optionator:
|
||||||
|
optional: true
|
||||||
|
stylelint:
|
||||||
|
optional: true
|
||||||
|
typescript:
|
||||||
|
optional: true
|
||||||
|
vls:
|
||||||
|
optional: true
|
||||||
|
vti:
|
||||||
|
optional: true
|
||||||
|
vue-tsc:
|
||||||
|
optional: true
|
||||||
|
checksum: 8c991c63b61e52fc69a22033aa34c6cb698d6af7dd7505a9fecb62c6e8486bc6f9667c23f5ad6f7289d9d2780bdb4711740433a5cabc27c4c7d763d028d54b2a
|
||||||
|
languageName: node
|
||||||
|
linkType: hard
|
||||||
|
|
||||||
"vite-plugin-istanbul@npm:^3.0.1":
|
"vite-plugin-istanbul@npm:^3.0.1":
|
||||||
version: 3.0.4
|
version: 3.0.4
|
||||||
resolution: "vite-plugin-istanbul@npm:3.0.4"
|
resolution: "vite-plugin-istanbul@npm:3.0.4"
|
||||||
@ -43358,6 +43411,48 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
|
"vscode-jsonrpc@npm:6.0.0":
|
||||||
|
version: 6.0.0
|
||||||
|
resolution: "vscode-jsonrpc@npm:6.0.0"
|
||||||
|
checksum: 22c35873155a62e71c454ad71165683536361eaabc1f07af41cbfd83c4c3bbfe3b36b58faba2b059d8f20da61b645a8c687bdf449407196e0bdb0a080257ca69
|
||||||
|
languageName: node
|
||||||
|
linkType: hard
|
||||||
|
|
||||||
|
"vscode-languageclient@npm:^7.0.0":
|
||||||
|
version: 7.0.0
|
||||||
|
resolution: "vscode-languageclient@npm:7.0.0"
|
||||||
|
dependencies:
|
||||||
|
minimatch: "npm:^3.0.4"
|
||||||
|
semver: "npm:^7.3.4"
|
||||||
|
vscode-languageserver-protocol: "npm:3.16.0"
|
||||||
|
checksum: 3eabd90cb76159bcbabd0884c130a8bb9cd90a583c348730eee97e565cf939ea87e3033d7e58c94a3d8709fabf9d794e6316167bf7de1e7481882357dd02aa28
|
||||||
|
languageName: node
|
||||||
|
linkType: hard
|
||||||
|
|
||||||
|
"vscode-languageserver-protocol@npm:3.16.0":
|
||||||
|
version: 3.16.0
|
||||||
|
resolution: "vscode-languageserver-protocol@npm:3.16.0"
|
||||||
|
dependencies:
|
||||||
|
vscode-jsonrpc: "npm:6.0.0"
|
||||||
|
vscode-languageserver-types: "npm:3.16.0"
|
||||||
|
checksum: 6a1ca737d826a710271b36d72c0833dfc8f78c68416725173892195d04b358ee8eb1095d5edfb7a62c7ea01128c762b9463ee8b6b1949efe060a43fe621ea62a
|
||||||
|
languageName: node
|
||||||
|
linkType: hard
|
||||||
|
|
||||||
|
"vscode-languageserver-textdocument@npm:^1.0.1":
|
||||||
|
version: 1.0.11
|
||||||
|
resolution: "vscode-languageserver-textdocument@npm:1.0.11"
|
||||||
|
checksum: 1996a38e24571e05aa21dd4f46e0a6849e22301c9a66996762e77d9c6df3622de0bd31cd5742a0c0c47fb9dfd00b310ad08c44d08241873ea571edacd5238da6
|
||||||
|
languageName: node
|
||||||
|
linkType: hard
|
||||||
|
|
||||||
|
"vscode-languageserver-types@npm:3.16.0":
|
||||||
|
version: 3.16.0
|
||||||
|
resolution: "vscode-languageserver-types@npm:3.16.0"
|
||||||
|
checksum: cc1bd68a7fe94152849e434cfc6fd8471f5c17198057fc6c95814d4b1655ab2b76d577b5fcd0f1f2a5df0285f054c96b9698e6d33e8183846f152d6e7d3ecc97
|
||||||
|
languageName: node
|
||||||
|
linkType: hard
|
||||||
|
|
||||||
"vscode-languageserver-types@npm:^3.17.1":
|
"vscode-languageserver-types@npm:^3.17.1":
|
||||||
version: 3.17.5
|
version: 3.17.5
|
||||||
resolution: "vscode-languageserver-types@npm:3.17.5"
|
resolution: "vscode-languageserver-types@npm:3.17.5"
|
||||||
@ -43365,6 +43460,24 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
|
"vscode-languageserver@npm:^7.0.0":
|
||||||
|
version: 7.0.0
|
||||||
|
resolution: "vscode-languageserver@npm:7.0.0"
|
||||||
|
dependencies:
|
||||||
|
vscode-languageserver-protocol: "npm:3.16.0"
|
||||||
|
bin:
|
||||||
|
installServerIntoExtension: bin/installServerIntoExtension
|
||||||
|
checksum: a36f66ab2f43ff3a754ccca5030ac3ec73cf373ab3d4d65c1de59895198b3abb3760691ada71fd7837e7dbda1eb14526420b4b91fe562facabfc568a2e58a88a
|
||||||
|
languageName: node
|
||||||
|
linkType: hard
|
||||||
|
|
||||||
|
"vscode-uri@npm:^3.0.2":
|
||||||
|
version: 3.0.8
|
||||||
|
resolution: "vscode-uri@npm:3.0.8"
|
||||||
|
checksum: f7f217f526bf109589969fe6e66b71e70b937de1385a1d7bb577ca3ee7c5e820d3856a86e9ff2fa9b7a0bc56a3dd8c3a9a557d3fedd7df414bc618d5e6b567f9
|
||||||
|
languageName: node
|
||||||
|
linkType: hard
|
||||||
|
|
||||||
"w3c-keyname@npm:^2.2.0, w3c-keyname@npm:^2.2.4":
|
"w3c-keyname@npm:^2.2.0, w3c-keyname@npm:^2.2.4":
|
||||||
version: 2.2.8
|
version: 2.2.8
|
||||||
resolution: "w3c-keyname@npm:2.2.8"
|
resolution: "w3c-keyname@npm:2.2.8"
|
||||||
|
Loading…
Reference in New Issue
Block a user