@2digits/tsconfig 0.8.7 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/effect.json +195 -0
- package/package.json +19 -7
package/effect.json
ADDED
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "./node_modules/@effect/tsgo/schema.json",
|
|
3
|
+
"display": "@2digits/tsconfig/effect",
|
|
4
|
+
"extends": "./tsconfig.json",
|
|
5
|
+
"compilerOptions": {
|
|
6
|
+
"plugins": [
|
|
7
|
+
{
|
|
8
|
+
"name": "@effect/language-service",
|
|
9
|
+
"allowedDuplicatedPackages": [],
|
|
10
|
+
"barrelImportPackages": [],
|
|
11
|
+
"completions": true,
|
|
12
|
+
"diagnostics": true,
|
|
13
|
+
"diagnosticsName": true,
|
|
14
|
+
"effectFn": ["span", "suggested-span", "inferred-span"],
|
|
15
|
+
"extendedKeyDetection": true,
|
|
16
|
+
"goto": true,
|
|
17
|
+
"ignoreEffectErrorsInTscExitCode": false,
|
|
18
|
+
"ignoreEffectSuggestionsInTscExitCode": true,
|
|
19
|
+
"ignoreEffectWarningsInTscExitCode": false,
|
|
20
|
+
"importAliases": {
|
|
21
|
+
"Array": "Arr",
|
|
22
|
+
"Boolean": "Bool",
|
|
23
|
+
"Equal": "Eq",
|
|
24
|
+
"Function": "Fn",
|
|
25
|
+
"Number": "Num",
|
|
26
|
+
"Option": "Opt",
|
|
27
|
+
"Predicate": "P",
|
|
28
|
+
"Record": "R",
|
|
29
|
+
"String": "Str"
|
|
30
|
+
},
|
|
31
|
+
"includeSuggestionsInTsc": true,
|
|
32
|
+
"inlays": true,
|
|
33
|
+
"layerGraphFollowDepth": 0,
|
|
34
|
+
"mermaidProvider": "mermaid.live",
|
|
35
|
+
"missingDiagnosticNextLine": "error",
|
|
36
|
+
"namespaceImportPackages": ["effect", "@effect/*"],
|
|
37
|
+
"noExternal": false,
|
|
38
|
+
"pipeableMinArgCount": 2,
|
|
39
|
+
"quickinfo": true,
|
|
40
|
+
"quickinfoEffectParameters": "always",
|
|
41
|
+
"quickinfoMaximumLength": -1,
|
|
42
|
+
"refactors": true,
|
|
43
|
+
"renames": true,
|
|
44
|
+
"skipDisabledOptimization": false,
|
|
45
|
+
"topLevelNamedReexports": "follow",
|
|
46
|
+
"debug": false,
|
|
47
|
+
"diagnosticSeverity": {
|
|
48
|
+
"abortControllerInEffect": "error",
|
|
49
|
+
"acquireReleaseDisposable": "error",
|
|
50
|
+
"allOfMapToForEach": "error",
|
|
51
|
+
"anyUnknownInErrorContext": "error",
|
|
52
|
+
"asyncFunction": "error",
|
|
53
|
+
"catchAllTagDispatchToCatchTag": "error",
|
|
54
|
+
"catchAllToMapError": "error",
|
|
55
|
+
"catchChainToFirstSuccessOf": "error",
|
|
56
|
+
"catchConditionalRefailToCatchIf": "error",
|
|
57
|
+
"catchDieToOrDie": "error",
|
|
58
|
+
"catchTagToCatchReason": "error",
|
|
59
|
+
"catchToIgnore": "error",
|
|
60
|
+
"catchToOrElseSucceed": "error",
|
|
61
|
+
"catchUnfailableEffect": "error",
|
|
62
|
+
"classSelfMismatch": "error",
|
|
63
|
+
"cryptoRandomUUID": "error",
|
|
64
|
+
"cryptoRandomUUIDInEffect": "error",
|
|
65
|
+
"deterministicKeys": "error",
|
|
66
|
+
"duplicatePackage": "error",
|
|
67
|
+
"effectDoNotation": "error",
|
|
68
|
+
"effectFnIife": "error",
|
|
69
|
+
"effectFnImplicitAny": "error",
|
|
70
|
+
"effectFnOpportunity": "error",
|
|
71
|
+
"effectGenUsesAdapter": "error",
|
|
72
|
+
"effectInFailure": "error",
|
|
73
|
+
"effectInVoidSuccess": "error",
|
|
74
|
+
"effectMapFlatten": "error",
|
|
75
|
+
"effectMapVoid": "error",
|
|
76
|
+
"effectSucceedWithVoid": "error",
|
|
77
|
+
"extendsNativeError": "error",
|
|
78
|
+
"flatMapConditionalToFilterOrFail": "error",
|
|
79
|
+
"flatMapToMap": "error",
|
|
80
|
+
"floatingEffect": "error",
|
|
81
|
+
"floatingEffectInVitest": "error",
|
|
82
|
+
"genericEffectServices": "error",
|
|
83
|
+
"globalConsole": "error",
|
|
84
|
+
"globalConsoleInEffect": "error",
|
|
85
|
+
"globalDate": "error",
|
|
86
|
+
"globalDateInEffect": "error",
|
|
87
|
+
"globalErrorInEffectCatch": "error",
|
|
88
|
+
"globalErrorInEffectFailure": "error",
|
|
89
|
+
"globalFetch": "error",
|
|
90
|
+
"globalFetchInEffect": "error",
|
|
91
|
+
"globalRandom": "error",
|
|
92
|
+
"globalRandomInEffect": "error",
|
|
93
|
+
"globalTimers": "error",
|
|
94
|
+
"globalTimersInEffect": "error",
|
|
95
|
+
"importFromBarrel": "off",
|
|
96
|
+
"instanceOfSchema": "error",
|
|
97
|
+
"layerMergeAllWithDependencies": "error",
|
|
98
|
+
"lazyEffect": "error",
|
|
99
|
+
"lazyPromiseInEffectSync": "error",
|
|
100
|
+
"leakingRequirements": "error",
|
|
101
|
+
"mapSomeToAsSome": "error",
|
|
102
|
+
"matchEffectToMapBoth": "error",
|
|
103
|
+
"matchEffectToMatch": "error",
|
|
104
|
+
"missedPipeableOpportunity": "error",
|
|
105
|
+
"missingEffectContext": "error",
|
|
106
|
+
"missingEffectError": "error",
|
|
107
|
+
"missingEffectServiceDependency": "error",
|
|
108
|
+
"missingLayerContext": "error",
|
|
109
|
+
"missingPipeableSignature": "suggestion",
|
|
110
|
+
"missingReturnYieldStar": "error",
|
|
111
|
+
"missingStarInYieldEffectGen": "error",
|
|
112
|
+
"multipleCatchTag": "error",
|
|
113
|
+
"multipleEffectProvide": "error",
|
|
114
|
+
"nestedEffectGenYield": "error",
|
|
115
|
+
"newPromise": "error",
|
|
116
|
+
"newSchemaClass": "error",
|
|
117
|
+
"nodeBuiltinImport": "error",
|
|
118
|
+
"nonObjectEffectServiceType": "error",
|
|
119
|
+
"obsoleteMatchImport": "error",
|
|
120
|
+
"obsoleteSchemaImport": "error",
|
|
121
|
+
"optionMatchToFromOption": "error",
|
|
122
|
+
"outdatedApi": "error",
|
|
123
|
+
"outdatedEffectCodegen": "error",
|
|
124
|
+
"overriddenSchemaConstructor": "error",
|
|
125
|
+
"preferSchemaOverJson": "error",
|
|
126
|
+
"preferSchemaTypeProperty": "error",
|
|
127
|
+
"preferSucceedSomeOrNone": "error",
|
|
128
|
+
"preferTypedSchemaDecoder": "error",
|
|
129
|
+
"preferUnsafeConstructor": "error",
|
|
130
|
+
"processEnv": "off",
|
|
131
|
+
"processEnvInEffect": "error",
|
|
132
|
+
"promiseInEffectSuccess": "error",
|
|
133
|
+
"provideLayerSucceedToProvideService": "error",
|
|
134
|
+
"raceFirstWithSleepToTimeout": "error",
|
|
135
|
+
"redundantMapError": "error",
|
|
136
|
+
"redundantOrDie": "error",
|
|
137
|
+
"redundantSchemaTagIdentifier": "error",
|
|
138
|
+
"returnEffectInGen": "error",
|
|
139
|
+
"runEffectInsideEffect": "error",
|
|
140
|
+
"runOfExitToRunExit": "error",
|
|
141
|
+
"schemaLiteralNonFinite": "error",
|
|
142
|
+
"schemaNumber": "error",
|
|
143
|
+
"schemaOpaqueInstanceMember": "error",
|
|
144
|
+
"schemaStructWithTag": "error",
|
|
145
|
+
"schemaSync": "error",
|
|
146
|
+
"schemaSyncInEffect": "error",
|
|
147
|
+
"schemaUnionOfLiterals": "error",
|
|
148
|
+
"scopeInLayerEffect": "error",
|
|
149
|
+
"serviceNotAsClass": "error",
|
|
150
|
+
"strictBooleanExpressions": "off",
|
|
151
|
+
"strictEffectProvide": "message",
|
|
152
|
+
"syncToSucceed": "error",
|
|
153
|
+
"timeoutCatchTagToTimeoutOrElse": "error",
|
|
154
|
+
"tryCatchInEffectGen": "error",
|
|
155
|
+
"unknownInEffectCatch": "error",
|
|
156
|
+
"unnecessaryArrowBlock": "warning",
|
|
157
|
+
"unnecessaryEffectGen": "error",
|
|
158
|
+
"unnecessaryFailYieldableError": "error",
|
|
159
|
+
"unnecessaryPipe": "error",
|
|
160
|
+
"unnecessaryPipeChain": "error",
|
|
161
|
+
"unnecessaryTypeofType": "error",
|
|
162
|
+
"unsafeEffectTypeAssertion": "error",
|
|
163
|
+
"unsupportedServiceAccessors": "error"
|
|
164
|
+
},
|
|
165
|
+
"keyPatterns": [
|
|
166
|
+
{
|
|
167
|
+
"target": "service",
|
|
168
|
+
"pattern": "default",
|
|
169
|
+
"skipLeadingPath": ["src/"]
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"target": "custom",
|
|
173
|
+
"pattern": "default",
|
|
174
|
+
"skipLeadingPath": ["src/"]
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
"target": "error",
|
|
178
|
+
"pattern": "default",
|
|
179
|
+
"skipLeadingPath": ["src/"]
|
|
180
|
+
}
|
|
181
|
+
],
|
|
182
|
+
"overrides": [
|
|
183
|
+
{
|
|
184
|
+
"include": ["**/*.spec.ts"],
|
|
185
|
+
"options": {
|
|
186
|
+
"diagnosticSeverity": {
|
|
187
|
+
"strictEffectProvide": "off"
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
]
|
|
192
|
+
}
|
|
193
|
+
]
|
|
194
|
+
}
|
|
195
|
+
}
|
package/package.json
CHANGED
|
@@ -1,30 +1,42 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@2digits/tsconfig",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Simplify your TypeScript configuration with @2digits/tsconfig - the hassle-free solution for seamless TypeScript development!",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"tsconfig"
|
|
8
|
+
],
|
|
9
|
+
"license": "MIT",
|
|
6
10
|
"repository": {
|
|
7
11
|
"type": "git",
|
|
8
12
|
"url": "git+https://github.com/2digits-agency/configs.git",
|
|
9
13
|
"directory": "packages/tsconfig"
|
|
10
14
|
},
|
|
11
15
|
"files": [
|
|
16
|
+
"effect.json",
|
|
12
17
|
"tsconfig.json"
|
|
13
18
|
],
|
|
14
19
|
"exports": {
|
|
15
20
|
"./package.json": "./package.json",
|
|
16
21
|
".": "./tsconfig.json",
|
|
22
|
+
"./effect.json": "./effect.json",
|
|
17
23
|
"./tsconfig.json": "./tsconfig.json"
|
|
18
24
|
},
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
|
|
22
|
-
"license": "MIT",
|
|
25
|
+
"publishConfig": {
|
|
26
|
+
"access": "public"
|
|
27
|
+
},
|
|
23
28
|
"devDependencies": {
|
|
24
|
-
"
|
|
29
|
+
"@effect/tsgo": "0.45.0",
|
|
30
|
+
"typescript": "7.0.2"
|
|
25
31
|
},
|
|
26
32
|
"peerDependencies": {
|
|
27
|
-
"
|
|
33
|
+
"@effect/tsgo": "^0.45.0",
|
|
34
|
+
"typescript": "^6.0.3 || ^7.0.2"
|
|
35
|
+
},
|
|
36
|
+
"peerDependenciesMeta": {
|
|
37
|
+
"@effect/tsgo": {
|
|
38
|
+
"optional": true
|
|
39
|
+
}
|
|
28
40
|
},
|
|
29
41
|
"scripts": {}
|
|
30
42
|
}
|