Remove ente/tsconfig dependencies from photos
This commit is contained in:
parent
c363f871a5
commit
8aa1f3e070
|
@ -1,4 +1,9 @@
|
||||||
module.exports = {
|
module.exports = {
|
||||||
root: true,
|
|
||||||
extends: ['@ente/eslint-config'],
|
extends: ['@ente/eslint-config'],
|
||||||
|
parser: '@typescript-eslint/parser',
|
||||||
|
parserOptions: {
|
||||||
|
tsconfigRootDir: __dirname,
|
||||||
|
project: './tsconfig.json',
|
||||||
|
},
|
||||||
|
ignorePatterns: ['.eslintrc.js'],
|
||||||
};
|
};
|
||||||
|
|
|
@ -52,7 +52,6 @@ module.exports = (phase) =>
|
||||||
'@mui/material',
|
'@mui/material',
|
||||||
'@mui/system',
|
'@mui/system',
|
||||||
'@mui/icons-material',
|
'@mui/icons-material',
|
||||||
'@ente/tsconfig',
|
|
||||||
'@ente/eslint-config',
|
'@ente/eslint-config',
|
||||||
],
|
],
|
||||||
env: {
|
env: {
|
||||||
|
|
|
@ -90,8 +90,8 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@ente/eslint-config": "*",
|
"@ente/eslint-config": "*",
|
||||||
"@ente/tsconfig": "*",
|
|
||||||
"@next/bundle-analyzer": "^13.1.6",
|
"@next/bundle-analyzer": "^13.1.6",
|
||||||
|
"@typescript-eslint/parser": "^5.59.2",
|
||||||
"@types/bs58": "^4.0.1",
|
"@types/bs58": "^4.0.1",
|
||||||
"@types/debounce-promise": "^3.1.3",
|
"@types/debounce-promise": "^3.1.3",
|
||||||
"@types/libsodium-wrappers": "^0.7.8",
|
"@types/libsodium-wrappers": "^0.7.8",
|
||||||
|
|
9
packages/eslint-config/.eslintrc.js
Normal file
9
packages/eslint-config/.eslintrc.js
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
module.exports = {
|
||||||
|
extends: ['@ente/eslint-config'],
|
||||||
|
parser: '@typescript-eslint/parser',
|
||||||
|
parserOptions: {
|
||||||
|
tsconfigRootDir: __dirname,
|
||||||
|
project: './tsconfig.json',
|
||||||
|
},
|
||||||
|
ignorePatterns: ['.eslintrc.js'],
|
||||||
|
};
|
|
@ -7,6 +7,7 @@ module.exports = {
|
||||||
'prettier',
|
'prettier',
|
||||||
],
|
],
|
||||||
parserOptions: {
|
parserOptions: {
|
||||||
|
tsconfigRootDir: __dirname,
|
||||||
project: './tsconfig.json',
|
project: './tsconfig.json',
|
||||||
},
|
},
|
||||||
plugins: ['@typescript-eslint'],
|
plugins: ['@typescript-eslint'],
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
"parser": "babel-eslint"
|
"parser": "babel-eslint"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@ente/tsconfig": "*",
|
"@typescript-eslint/parser": "^5.59.2",
|
||||||
"@typescript-eslint/eslint-plugin": "^5.43.0",
|
"@typescript-eslint/eslint-plugin": "^5.43.0",
|
||||||
"eslint": "latest",
|
"eslint": "latest",
|
||||||
"eslint-config-next": "latest",
|
"eslint-config-next": "latest",
|
||||||
|
|
3
packages/eslint-config/tsconfig.json
Normal file
3
packages/eslint-config/tsconfig.json
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"extends": "../../tsconfig.base.json"
|
||||||
|
}
|
|
@ -1,28 +0,0 @@
|
||||||
{
|
|
||||||
"compilerOptions": {
|
|
||||||
"target": "es5",
|
|
||||||
"lib": ["dom", "dom.iterable", "esnext", "webworker"],
|
|
||||||
"allowJs": true,
|
|
||||||
"skipLibCheck": true,
|
|
||||||
"strict": true,
|
|
||||||
"strictBindCallApply": false,
|
|
||||||
"strictNullChecks": false,
|
|
||||||
"strictPropertyInitialization": false,
|
|
||||||
"noImplicitAny": false,
|
|
||||||
"useUnknownInCatchVariables": false,
|
|
||||||
"forceConsistentCasingInFileNames": true,
|
|
||||||
"noEmit": true,
|
|
||||||
"esModuleInterop": true,
|
|
||||||
"module": "esnext",
|
|
||||||
"moduleResolution": "node",
|
|
||||||
"resolveJsonModule": true,
|
|
||||||
"isolatedModules": true,
|
|
||||||
"jsx": "preserve",
|
|
||||||
"baseUrl": "./src",
|
|
||||||
"downlevelIteration": true,
|
|
||||||
"jsxImportSource": "@emotion/react",
|
|
||||||
"incremental": true
|
|
||||||
},
|
|
||||||
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", "**/*.js"],
|
|
||||||
"exclude": ["node_modules", "out", ".next", "thirdparty"]
|
|
||||||
}
|
|
|
@ -1,8 +0,0 @@
|
||||||
{
|
|
||||||
"name": "@ente/tsconfig",
|
|
||||||
"version": "0.0.0",
|
|
||||||
"private": true,
|
|
||||||
"exports": {
|
|
||||||
"./ente.json": "./ente.json"
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -19,8 +19,10 @@
|
||||||
"resolveJsonModule": true,
|
"resolveJsonModule": true,
|
||||||
"skipLibCheck": true,
|
"skipLibCheck": true,
|
||||||
"strict": true,
|
"strict": true,
|
||||||
"target": "es2021"
|
"target": "es2021",
|
||||||
|
"paths": {
|
||||||
|
"@ente/eslint-config/*": ["./packages/eslint-config/*"]
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
"exclude": ["**/node_modules", "**/.*/"]
|
"exclude": ["**/node_modules", "**/.*/"]
|
||||||
}
|
}
|
||||||
|
|
44
yarn.lock
44
yarn.lock
|
@ -1095,6 +1095,16 @@
|
||||||
"@typescript-eslint/typescript-estree" "5.48.1"
|
"@typescript-eslint/typescript-estree" "5.48.1"
|
||||||
debug "^4.3.4"
|
debug "^4.3.4"
|
||||||
|
|
||||||
|
"@typescript-eslint/parser@^5.59.2":
|
||||||
|
version "5.59.7"
|
||||||
|
resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.59.7.tgz#02682554d7c1028b89aa44a48bf598db33048caa"
|
||||||
|
integrity sha512-VhpsIEuq/8i5SF+mPg9jSdIwgMBBp0z9XqjiEay+81PYLJuroN+ET1hM5IhkiYMJd9MkTz8iJLt7aaGAgzWUbQ==
|
||||||
|
dependencies:
|
||||||
|
"@typescript-eslint/scope-manager" "5.59.7"
|
||||||
|
"@typescript-eslint/types" "5.59.7"
|
||||||
|
"@typescript-eslint/typescript-estree" "5.59.7"
|
||||||
|
debug "^4.3.4"
|
||||||
|
|
||||||
"@typescript-eslint/scope-manager@5.48.1":
|
"@typescript-eslint/scope-manager@5.48.1":
|
||||||
version "5.48.1"
|
version "5.48.1"
|
||||||
resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-5.48.1.tgz#39c71e4de639f5fe08b988005beaaf6d79f9d64d"
|
resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-5.48.1.tgz#39c71e4de639f5fe08b988005beaaf6d79f9d64d"
|
||||||
|
@ -1111,6 +1121,14 @@
|
||||||
"@typescript-eslint/types" "5.59.1"
|
"@typescript-eslint/types" "5.59.1"
|
||||||
"@typescript-eslint/visitor-keys" "5.59.1"
|
"@typescript-eslint/visitor-keys" "5.59.1"
|
||||||
|
|
||||||
|
"@typescript-eslint/scope-manager@5.59.7":
|
||||||
|
version "5.59.7"
|
||||||
|
resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-5.59.7.tgz#0243f41f9066f3339d2f06d7f72d6c16a16769e2"
|
||||||
|
integrity sha512-FL6hkYWK9zBGdxT2wWEd2W8ocXMu3K94i3gvMrjXpx+koFYdYV7KprKfirpgY34vTGzEPPuKoERpP8kD5h7vZQ==
|
||||||
|
dependencies:
|
||||||
|
"@typescript-eslint/types" "5.59.7"
|
||||||
|
"@typescript-eslint/visitor-keys" "5.59.7"
|
||||||
|
|
||||||
"@typescript-eslint/type-utils@5.59.1":
|
"@typescript-eslint/type-utils@5.59.1":
|
||||||
version "5.59.1"
|
version "5.59.1"
|
||||||
resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-5.59.1.tgz#63981d61684fd24eda2f9f08c0a47ecb000a2111"
|
resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-5.59.1.tgz#63981d61684fd24eda2f9f08c0a47ecb000a2111"
|
||||||
|
@ -1131,6 +1149,11 @@
|
||||||
resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.59.1.tgz#03f3fedd1c044cb336ebc34cc7855f121991f41d"
|
resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.59.1.tgz#03f3fedd1c044cb336ebc34cc7855f121991f41d"
|
||||||
integrity sha512-dg0ICB+RZwHlysIy/Dh1SP+gnXNzwd/KS0JprD3Lmgmdq+dJAJnUPe1gNG34p0U19HvRlGX733d/KqscrGC1Pg==
|
integrity sha512-dg0ICB+RZwHlysIy/Dh1SP+gnXNzwd/KS0JprD3Lmgmdq+dJAJnUPe1gNG34p0U19HvRlGX733d/KqscrGC1Pg==
|
||||||
|
|
||||||
|
"@typescript-eslint/types@5.59.7":
|
||||||
|
version "5.59.7"
|
||||||
|
resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.59.7.tgz#6f4857203fceee91d0034ccc30512d2939000742"
|
||||||
|
integrity sha512-UnVS2MRRg6p7xOSATscWkKjlf/NDKuqo5TdbWck6rIRZbmKpVNTLALzNvcjIfHBE7736kZOFc/4Z3VcZwuOM/A==
|
||||||
|
|
||||||
"@typescript-eslint/typescript-estree@5.48.1":
|
"@typescript-eslint/typescript-estree@5.48.1":
|
||||||
version "5.48.1"
|
version "5.48.1"
|
||||||
resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.48.1.tgz#9efa8ee2aa471c6ab62e649f6e64d8d121bc2056"
|
resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.48.1.tgz#9efa8ee2aa471c6ab62e649f6e64d8d121bc2056"
|
||||||
|
@ -1157,6 +1180,19 @@
|
||||||
semver "^7.3.7"
|
semver "^7.3.7"
|
||||||
tsutils "^3.21.0"
|
tsutils "^3.21.0"
|
||||||
|
|
||||||
|
"@typescript-eslint/typescript-estree@5.59.7":
|
||||||
|
version "5.59.7"
|
||||||
|
resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.59.7.tgz#b887acbd4b58e654829c94860dbff4ac55c5cff8"
|
||||||
|
integrity sha512-4A1NtZ1I3wMN2UGDkU9HMBL+TIQfbrh4uS0WDMMpf3xMRursDbqEf1ahh6vAAe3mObt8k3ZATnezwG4pdtWuUQ==
|
||||||
|
dependencies:
|
||||||
|
"@typescript-eslint/types" "5.59.7"
|
||||||
|
"@typescript-eslint/visitor-keys" "5.59.7"
|
||||||
|
debug "^4.3.4"
|
||||||
|
globby "^11.1.0"
|
||||||
|
is-glob "^4.0.3"
|
||||||
|
semver "^7.3.7"
|
||||||
|
tsutils "^3.21.0"
|
||||||
|
|
||||||
"@typescript-eslint/utils@5.59.1":
|
"@typescript-eslint/utils@5.59.1":
|
||||||
version "5.59.1"
|
version "5.59.1"
|
||||||
resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-5.59.1.tgz#d89fc758ad23d2157cfae53f0b429bdf15db9473"
|
resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-5.59.1.tgz#d89fc758ad23d2157cfae53f0b429bdf15db9473"
|
||||||
|
@ -1187,6 +1223,14 @@
|
||||||
"@typescript-eslint/types" "5.59.1"
|
"@typescript-eslint/types" "5.59.1"
|
||||||
eslint-visitor-keys "^3.3.0"
|
eslint-visitor-keys "^3.3.0"
|
||||||
|
|
||||||
|
"@typescript-eslint/visitor-keys@5.59.7":
|
||||||
|
version "5.59.7"
|
||||||
|
resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.59.7.tgz#09c36eaf268086b4fbb5eb9dc5199391b6485fc5"
|
||||||
|
integrity sha512-tyN+X2jvMslUszIiYbF0ZleP+RqQsFVpGrKI6e0Eet1w8WmhsAtmzaqm8oM8WJQ1ysLwhnsK/4hYHJjOgJVfQQ==
|
||||||
|
dependencies:
|
||||||
|
"@typescript-eslint/types" "5.59.7"
|
||||||
|
eslint-visitor-keys "^3.3.0"
|
||||||
|
|
||||||
"@zip.js/zip.js@^2.4.2":
|
"@zip.js/zip.js@^2.4.2":
|
||||||
version "2.4.2"
|
version "2.4.2"
|
||||||
resolved "https://registry.yarnpkg.com/@zip.js/zip.js/-/zip.js-2.4.2.tgz#7c2d4b381c0f73dffa1d02ef630c4168ebd5cc4a"
|
resolved "https://registry.yarnpkg.com/@zip.js/zip.js/-/zip.js-2.4.2.tgz#7c2d4b381c0f73dffa1d02ef630c4168ebd5cc4a"
|
||||||
|
|
Loading…
Reference in a new issue