chore: avoid circular deps (#23520)
This commit is contained in:
1 parent
75465ac4bf
commit
2023926a3a
3 files changed
+153
-7
No files matched your search
@@ -2,6 +2,10 @@
|
||||
/** @type {import("eslint").Linter.Config} */
|
||||
module.exports = {
|
||||
extends: ["./packages/config/eslint-preset.js"],
|
||||
plugins: ["import"],
|
||||
rules: {
|
||||
"import/no-cycle": ["warn", { maxDepth: Infinity }],
|
||||
},
|
||||
overrides: [
|
||||
{
|
||||
files: ["packages/lib/**/*.{ts,tsx,js,jsx}", "packages/prisma/**/*.{ts,tsx,js,jsx}"],
|
||||
|
||||
+1
-1
@@ -9,7 +9,6 @@
|
||||
"packages/embeds/*",
|
||||
"packages/features/*",
|
||||
"packages/app-store/*",
|
||||
"packages/app-store/ee/*",
|
||||
"packages/platform/*",
|
||||
"packages/platform/examples/base",
|
||||
"example-apps/*"
|
||||
@@ -96,6 +95,7 @@
|
||||
"c8": "^7.13.0",
|
||||
"checkly": "latest",
|
||||
"dotenv-checker": "^1.1.5",
|
||||
"eslint-plugin-import": "^2.32.0",
|
||||
"husky": "^8.0.0",
|
||||
"i18n-unused": "^0.13.0",
|
||||
"jest-diff": "^29.5.0",
|
||||
|
||||
@@ -21256,6 +21256,22 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"array-includes@npm:^3.1.9":
|
||||
version: 3.1.9
|
||||
resolution: "array-includes@npm:3.1.9"
|
||||
dependencies:
|
||||
call-bind: ^1.0.8
|
||||
call-bound: ^1.0.4
|
||||
define-properties: ^1.2.1
|
||||
es-abstract: ^1.24.0
|
||||
es-object-atoms: ^1.1.1
|
||||
get-intrinsic: ^1.3.0
|
||||
is-string: ^1.1.1
|
||||
math-intrinsics: ^1.1.0
|
||||
checksum: b58dc526fe415252e50319eaf88336e06e75aa673e3b58d252414739a4612dbe56e7b613fdcc7c90561dc9cf9202bbe5ca029ccd8c08362746459475ae5a8f3e
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"array-timsort@npm:^1.0.3":
|
||||
version: 1.0.3
|
||||
resolution: "array-timsort@npm:1.0.3"
|
||||
@@ -21323,7 +21339,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"array.prototype.findlastindex@npm:^1.2.5":
|
||||
"array.prototype.findlastindex@npm:^1.2.5, array.prototype.findlastindex@npm:^1.2.6":
|
||||
version: 1.2.6
|
||||
resolution: "array.prototype.findlastindex@npm:1.2.6"
|
||||
dependencies:
|
||||
@@ -21350,6 +21366,18 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"array.prototype.flat@npm:^1.3.3":
|
||||
version: 1.3.3
|
||||
resolution: "array.prototype.flat@npm:1.3.3"
|
||||
dependencies:
|
||||
call-bind: ^1.0.8
|
||||
define-properties: ^1.2.1
|
||||
es-abstract: ^1.23.5
|
||||
es-shim-unscopables: ^1.0.2
|
||||
checksum: 5d5a7829ab2bb271a8d30a1c91e6271cef0ec534593c0fe6d2fb9ebf8bb62c1e5326e2fddcbbcbbe5872ca04f5e6b54a1ecf092e0af704fb538da9b2bfd95b40
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"array.prototype.flatmap@npm:^1.3.0":
|
||||
version: 1.3.0
|
||||
resolution: "array.prototype.flatmap@npm:1.3.0"
|
||||
@@ -22701,6 +22729,7 @@ __metadata:
|
||||
date-fns-tz: ^3.2.0
|
||||
dotenv-checker: ^1.1.5
|
||||
eslint: ^8.34.0
|
||||
eslint-plugin-import: ^2.32.0
|
||||
husky: ^8.0.0
|
||||
i18n-unused: ^0.13.0
|
||||
jest-diff: ^29.5.0
|
||||
@@ -26502,6 +26531,68 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"es-abstract@npm:^1.24.0":
|
||||
version: 1.24.0
|
||||
resolution: "es-abstract@npm:1.24.0"
|
||||
dependencies:
|
||||
array-buffer-byte-length: ^1.0.2
|
||||
arraybuffer.prototype.slice: ^1.0.4
|
||||
available-typed-arrays: ^1.0.7
|
||||
call-bind: ^1.0.8
|
||||
call-bound: ^1.0.4
|
||||
data-view-buffer: ^1.0.2
|
||||
data-view-byte-length: ^1.0.2
|
||||
data-view-byte-offset: ^1.0.1
|
||||
es-define-property: ^1.0.1
|
||||
es-errors: ^1.3.0
|
||||
es-object-atoms: ^1.1.1
|
||||
es-set-tostringtag: ^2.1.0
|
||||
es-to-primitive: ^1.3.0
|
||||
function.prototype.name: ^1.1.8
|
||||
get-intrinsic: ^1.3.0
|
||||
get-proto: ^1.0.1
|
||||
get-symbol-description: ^1.1.0
|
||||
globalthis: ^1.0.4
|
||||
gopd: ^1.2.0
|
||||
has-property-descriptors: ^1.0.2
|
||||
has-proto: ^1.2.0
|
||||
has-symbols: ^1.1.0
|
||||
hasown: ^2.0.2
|
||||
internal-slot: ^1.1.0
|
||||
is-array-buffer: ^3.0.5
|
||||
is-callable: ^1.2.7
|
||||
is-data-view: ^1.0.2
|
||||
is-negative-zero: ^2.0.3
|
||||
is-regex: ^1.2.1
|
||||
is-set: ^2.0.3
|
||||
is-shared-array-buffer: ^1.0.4
|
||||
is-string: ^1.1.1
|
||||
is-typed-array: ^1.1.15
|
||||
is-weakref: ^1.1.1
|
||||
math-intrinsics: ^1.1.0
|
||||
object-inspect: ^1.13.4
|
||||
object-keys: ^1.1.1
|
||||
object.assign: ^4.1.7
|
||||
own-keys: ^1.0.1
|
||||
regexp.prototype.flags: ^1.5.4
|
||||
safe-array-concat: ^1.1.3
|
||||
safe-push-apply: ^1.0.0
|
||||
safe-regex-test: ^1.1.0
|
||||
set-proto: ^1.0.0
|
||||
stop-iteration-iterator: ^1.1.0
|
||||
string.prototype.trim: ^1.2.10
|
||||
string.prototype.trimend: ^1.0.9
|
||||
string.prototype.trimstart: ^1.0.8
|
||||
typed-array-buffer: ^1.0.3
|
||||
typed-array-byte-length: ^1.0.3
|
||||
typed-array-byte-offset: ^1.0.4
|
||||
typed-array-length: ^1.0.7
|
||||
unbox-primitive: ^1.1.0
|
||||
which-typed-array: ^1.1.19
|
||||
checksum: 06b3d605e56e3da9d16d4db2629a42dac1ca31f2961a41d15c860422a266115e865b43e82d6b9da81a0fabbbb65ebc12fb68b0b755bc9dbddacb6bf7450e96df
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"es-array-method-boxes-properly@npm:^1.0.0":
|
||||
version: 1.0.0
|
||||
resolution: "es-array-method-boxes-properly@npm:1.0.0"
|
||||
@@ -27342,6 +27433,18 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"eslint-module-utils@npm:^2.12.1":
|
||||
version: 2.12.1
|
||||
resolution: "eslint-module-utils@npm:2.12.1"
|
||||
dependencies:
|
||||
debug: ^3.2.7
|
||||
peerDependenciesMeta:
|
||||
eslint:
|
||||
optional: true
|
||||
checksum: 2f074670d8c934687820a83140048776b28bbaf35fc37f35623f63cc9c438d496d11f0683b4feabb9a120435435d4a69604b1c6c567f118be2c9a0aba6760fc1
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"eslint-module-utils@npm:^2.8.0":
|
||||
version: 2.8.1
|
||||
resolution: "eslint-module-utils@npm:2.8.1"
|
||||
@@ -27410,6 +27513,35 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"eslint-plugin-import@npm:^2.32.0":
|
||||
version: 2.32.0
|
||||
resolution: "eslint-plugin-import@npm:2.32.0"
|
||||
dependencies:
|
||||
"@rtsao/scc": ^1.1.0
|
||||
array-includes: ^3.1.9
|
||||
array.prototype.findlastindex: ^1.2.6
|
||||
array.prototype.flat: ^1.3.3
|
||||
array.prototype.flatmap: ^1.3.3
|
||||
debug: ^3.2.7
|
||||
doctrine: ^2.1.0
|
||||
eslint-import-resolver-node: ^0.3.9
|
||||
eslint-module-utils: ^2.12.1
|
||||
hasown: ^2.0.2
|
||||
is-core-module: ^2.16.1
|
||||
is-glob: ^4.0.3
|
||||
minimatch: ^3.1.2
|
||||
object.fromentries: ^2.0.8
|
||||
object.groupby: ^1.0.3
|
||||
object.values: ^1.2.1
|
||||
semver: ^6.3.1
|
||||
string.prototype.trimend: ^1.0.9
|
||||
tsconfig-paths: ^3.15.0
|
||||
peerDependencies:
|
||||
eslint: ^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8 || ^9
|
||||
checksum: 8cd40595b5e4346d3698eb577014b4b6d0ba57b7b9edf975be4f052a89330ec202d0cc5c3861d37ebeafa151b6264821410243889b0c31710911a6b625bcf76b
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"eslint-plugin-jsx-a11y@npm:^6.10.0":
|
||||
version: 6.10.2
|
||||
resolution: "eslint-plugin-jsx-a11y@npm:6.10.2"
|
||||
@@ -32037,7 +32169,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"is-core-module@npm:^2.15.1, is-core-module@npm:^2.16.0":
|
||||
"is-core-module@npm:^2.15.1, is-core-module@npm:^2.16.0, is-core-module@npm:^2.16.1":
|
||||
version: 2.16.1
|
||||
resolution: "is-core-module@npm:2.16.1"
|
||||
dependencies:
|
||||
@@ -32689,7 +32821,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"is-weakref@npm:^1.1.0":
|
||||
"is-weakref@npm:^1.1.0, is-weakref@npm:^1.1.1":
|
||||
version: 1.1.1
|
||||
resolution: "is-weakref@npm:1.1.1"
|
||||
dependencies:
|
||||
@@ -38398,7 +38530,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"object-inspect@npm:^1.13.3":
|
||||
"object-inspect@npm:^1.13.3, object-inspect@npm:^1.13.4":
|
||||
version: 1.13.4
|
||||
resolution: "object-inspect@npm:1.13.4"
|
||||
checksum: 582810c6a8d2ef988ea0a39e69e115a138dad8f42dd445383b394877e5816eb4268489f316a6f74ee9c4e0a984b3eab1028e3e79d62b1ed67c726661d55c7a8b
|
||||
@@ -42463,7 +42595,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"regexp.prototype.flags@npm:^1.5.3":
|
||||
"regexp.prototype.flags@npm:^1.5.3, regexp.prototype.flags@npm:^1.5.4":
|
||||
version: 1.5.4
|
||||
resolution: "regexp.prototype.flags@npm:1.5.4"
|
||||
dependencies:
|
||||
@@ -45122,6 +45254,16 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"stop-iteration-iterator@npm:^1.1.0":
|
||||
version: 1.1.0
|
||||
resolution: "stop-iteration-iterator@npm:1.1.0"
|
||||
dependencies:
|
||||
es-errors: ^1.3.0
|
||||
internal-slot: ^1.1.0
|
||||
checksum: be944489d8829fb3bdec1a1cc4a2142c6b6eb317305eeace1ece978d286d6997778afa1ae8cb3bd70e2b274b9aa8c69f93febb1e15b94b1359b11058f9d3c3a1
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"stoppable@npm:^1.1.0":
|
||||
version: 1.1.0
|
||||
resolution: "stoppable@npm:1.1.0"
|
||||
@@ -49355,7 +49497,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"which-typed-array@npm:^1.1.16, which-typed-array@npm:^1.1.18":
|
||||
"which-typed-array@npm:^1.1.16, which-typed-array@npm:^1.1.18, which-typed-array@npm:^1.1.19":
|
||||
version: 1.1.19
|
||||
resolution: "which-typed-array@npm:1.1.19"
|
||||
dependencies:
|
||||
|
||||
Reference in new issue
Block a user