@ttsc/unplugin 0.31.5 → 0.32.1
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/lib/core/bridge/TtscProjectRecord.d.cts +8 -0
- package/lib/core/bridge/TtscProjectRecord.d.mts +8 -0
- package/lib/core/bridge/TtscProjectRecord.d.ts +8 -0
- package/lib/core/bridge/readProjectRecordFile.js +5 -1
- package/lib/core/bridge/readProjectRecordFile.js.map +1 -1
- package/lib/core/bridge/readProjectRecordFile.mjs +5 -1
- package/lib/core/bridge/readProjectRecordFile.mjs.map +1 -1
- package/lib/core/observer/WatchScope.d.cts +3 -3
- package/lib/core/observer/WatchScope.d.mts +3 -3
- package/lib/core/observer/WatchScope.d.ts +3 -3
- package/lib/core/observer/createInputObserver.d.cts +7 -8
- package/lib/core/observer/createInputObserver.d.mts +7 -8
- package/lib/core/observer/createInputObserver.d.ts +7 -8
- package/lib/core/observer/createInputObserver.js +7 -8
- package/lib/core/observer/createInputObserver.js.map +1 -1
- package/lib/core/observer/createInputObserver.mjs +7 -8
- package/lib/core/observer/createInputObserver.mjs.map +1 -1
- package/lib/core/options/ResolvedTtscUnpluginOptions.d.cts +2 -0
- package/lib/core/options/ResolvedTtscUnpluginOptions.d.mts +2 -0
- package/lib/core/options/ResolvedTtscUnpluginOptions.d.ts +2 -0
- package/lib/core/options/TtscUnpluginOptions.d.cts +12 -2
- package/lib/core/options/TtscUnpluginOptions.d.mts +12 -2
- package/lib/core/options/TtscUnpluginOptions.d.ts +12 -2
- package/lib/core/options/resolveOptions.d.cts +4 -3
- package/lib/core/options/resolveOptions.d.mts +4 -3
- package/lib/core/options/resolveOptions.d.ts +4 -3
- package/lib/core/options/resolveOptions.js +5 -3
- package/lib/core/options/resolveOptions.js.map +1 -1
- package/lib/core/options/resolveOptions.mjs +5 -3
- package/lib/core/options/resolveOptions.mjs.map +1 -1
- package/lib/core/transform/TtscPrecompilation.d.cts +52 -0
- package/lib/core/transform/TtscPrecompilation.d.mts +52 -0
- package/lib/core/transform/TtscPrecompilation.d.ts +52 -0
- package/lib/core/transform/TtscPrecompilation.js +101 -0
- package/lib/core/transform/TtscPrecompilation.js.map +1 -0
- package/lib/core/transform/TtscPrecompilation.mjs +101 -0
- package/lib/core/transform/TtscPrecompilation.mjs.map +1 -0
- package/lib/core/transform/cache/selectCachedGenerationAction.d.cts +2 -0
- package/lib/core/transform/cache/selectCachedGenerationAction.d.mts +2 -0
- package/lib/core/transform/cache/selectCachedGenerationAction.d.ts +2 -0
- package/lib/core/transform/cache/selectCachedGenerationAction.js +1 -1
- package/lib/core/transform/cache/selectCachedGenerationAction.js.map +1 -1
- package/lib/core/transform/cache/selectCachedGenerationAction.mjs +1 -1
- package/lib/core/transform/cache/selectCachedGenerationAction.mjs.map +1 -1
- package/lib/core/transform/cache/withdrawTtscTransformGenerations.js +2 -0
- package/lib/core/transform/cache/withdrawTtscTransformGenerations.js.map +1 -1
- package/lib/core/transform/cache/withdrawTtscTransformGenerations.mjs +2 -0
- package/lib/core/transform/cache/withdrawTtscTransformGenerations.mjs.map +1 -1
- package/lib/core/transform/envelope/generationCaseSensitivity.d.cts +32 -0
- package/lib/core/transform/envelope/generationCaseSensitivity.d.mts +32 -0
- package/lib/core/transform/envelope/generationCaseSensitivity.d.ts +32 -0
- package/lib/core/transform/envelope/generationCaseSensitivity.js +39 -0
- package/lib/core/transform/envelope/generationCaseSensitivity.js.map +1 -0
- package/lib/core/transform/envelope/generationCaseSensitivity.mjs +37 -0
- package/lib/core/transform/envelope/generationCaseSensitivity.mjs.map +1 -0
- package/lib/core/transform/envelope/selectExternalInputPaths.js +2 -1
- package/lib/core/transform/envelope/selectExternalInputPaths.js.map +1 -1
- package/lib/core/transform/envelope/selectExternalInputPaths.mjs +2 -1
- package/lib/core/transform/envelope/selectExternalInputPaths.mjs.map +1 -1
- package/lib/core/transform/envelope/selectNotifiableAbsentInputs.js +2 -1
- package/lib/core/transform/envelope/selectNotifiableAbsentInputs.js.map +1 -1
- package/lib/core/transform/envelope/selectNotifiableAbsentInputs.mjs +2 -1
- package/lib/core/transform/envelope/selectNotifiableAbsentInputs.mjs.map +1 -1
- package/lib/core/transform/filesystem/createHostPathIdentityContext.d.cts +9 -1
- package/lib/core/transform/filesystem/createHostPathIdentityContext.d.mts +9 -1
- package/lib/core/transform/filesystem/createHostPathIdentityContext.d.ts +9 -1
- package/lib/core/transform/filesystem/createHostPathIdentityContext.js +10 -2
- package/lib/core/transform/filesystem/createHostPathIdentityContext.js.map +1 -1
- package/lib/core/transform/filesystem/createHostPathIdentityContext.mjs +10 -2
- package/lib/core/transform/filesystem/createHostPathIdentityContext.mjs.map +1 -1
- package/lib/core/transform/generation/captureTransformGeneration.d.cts +2 -0
- package/lib/core/transform/generation/captureTransformGeneration.d.mts +2 -0
- package/lib/core/transform/generation/captureTransformGeneration.d.ts +2 -0
- package/lib/core/transform/generation/captureTransformGeneration.js +17 -4
- package/lib/core/transform/generation/captureTransformGeneration.js.map +1 -1
- package/lib/core/transform/generation/captureTransformGeneration.mjs +17 -4
- package/lib/core/transform/generation/captureTransformGeneration.mjs.map +1 -1
- package/lib/core/transform/generation/selectPersistentHostInputs.js +2 -1
- package/lib/core/transform/generation/selectPersistentHostInputs.js.map +1 -1
- package/lib/core/transform/generation/selectPersistentHostInputs.mjs +2 -1
- package/lib/core/transform/generation/selectPersistentHostInputs.mjs.map +1 -1
- package/lib/core/transform/generation/transformProject.d.cts +2 -0
- package/lib/core/transform/generation/transformProject.d.mts +2 -0
- package/lib/core/transform/generation/transformProject.d.ts +2 -0
- package/lib/core/transform/generation/transformProject.js.map +1 -1
- package/lib/core/transform/generation/transformProject.mjs.map +1 -1
- package/lib/core/transform/inputs/nativeInputPredicateState.js.map +1 -1
- package/lib/core/transform/inputs/nativeInputPredicateState.mjs.map +1 -1
- package/lib/core/transform/tracker/createHostInputMutationTracker.d.cts +7 -1
- package/lib/core/transform/tracker/createHostInputMutationTracker.d.mts +7 -1
- package/lib/core/transform/tracker/createHostInputMutationTracker.d.ts +7 -1
- package/lib/core/transform/tracker/createHostInputMutationTracker.js +8 -2
- package/lib/core/transform/tracker/createHostInputMutationTracker.js.map +1 -1
- package/lib/core/transform/tracker/createHostInputMutationTracker.mjs +8 -2
- package/lib/core/transform/tracker/createHostInputMutationTracker.mjs.map +1 -1
- package/lib/core/transform/tracker/createProjectMutationTracker.d.cts +6 -4
- package/lib/core/transform/tracker/createProjectMutationTracker.d.mts +6 -4
- package/lib/core/transform/tracker/createProjectMutationTracker.d.ts +6 -4
- package/lib/core/transform/tracker/createProjectMutationTracker.js +29 -6
- package/lib/core/transform/tracker/createProjectMutationTracker.js.map +1 -1
- package/lib/core/transform/tracker/createProjectMutationTracker.mjs +29 -6
- package/lib/core/transform/tracker/createProjectMutationTracker.mjs.map +1 -1
- package/lib/core/transform/transformTtsc.d.cts +8 -24
- package/lib/core/transform/transformTtsc.d.mts +8 -24
- package/lib/core/transform/transformTtsc.d.ts +8 -24
- package/lib/core/transform/transformTtsc.js +56 -32
- package/lib/core/transform/transformTtsc.js.map +1 -1
- package/lib/core/transform/transformTtsc.mjs +56 -32
- package/lib/core/transform/transformTtsc.mjs.map +1 -1
- package/lib/core/transform/validation/captureUniversalHostInputValidation.d.cts +1 -1
- package/lib/core/transform/validation/captureUniversalHostInputValidation.d.mts +1 -1
- package/lib/core/transform/validation/captureUniversalHostInputValidation.d.ts +1 -1
- package/lib/core/transform/validation/captureUniversalHostInputValidation.js +12 -4
- package/lib/core/transform/validation/captureUniversalHostInputValidation.js.map +1 -1
- package/lib/core/transform/validation/captureUniversalHostInputValidation.mjs +12 -4
- package/lib/core/transform/validation/captureUniversalHostInputValidation.mjs.map +1 -1
- package/lib/core/transform/validation/matchesCachedSource.d.cts +9 -2
- package/lib/core/transform/validation/matchesCachedSource.d.mts +9 -2
- package/lib/core/transform/validation/matchesCachedSource.d.ts +9 -2
- package/lib/core/transform/validation/matchesCachedSource.js +11 -3
- package/lib/core/transform/validation/matchesCachedSource.js.map +1 -1
- package/lib/core/transform/validation/matchesCachedSource.mjs +11 -3
- package/lib/core/transform/validation/matchesCachedSource.mjs.map +1 -1
- package/lib/core/transform/watch/TtscTransformHooks.d.cts +9 -0
- package/lib/core/transform/watch/TtscTransformHooks.d.mts +9 -0
- package/lib/core/transform/watch/TtscTransformHooks.d.ts +9 -0
- package/lib/core/transform/watch/TtscWatchInputBaseline.d.cts +2 -1
- package/lib/core/transform/watch/TtscWatchInputBaseline.d.mts +2 -1
- package/lib/core/transform/watch/TtscWatchInputBaseline.d.ts +2 -1
- package/lib/core/transform/watch/isWatchInputKeyBaseline.js.map +1 -1
- package/lib/core/transform/watch/isWatchInputKeyBaseline.mjs.map +1 -1
- package/lib/core/transform/watch/notifyProjectRecord.d.cts +3 -4
- package/lib/core/transform/watch/notifyProjectRecord.d.mts +3 -4
- package/lib/core/transform/watch/notifyProjectRecord.d.ts +3 -4
- package/lib/core/transform/watch/notifyProjectRecord.js +5 -4
- package/lib/core/transform/watch/notifyProjectRecord.js.map +1 -1
- package/lib/core/transform/watch/notifyProjectRecord.mjs +5 -4
- package/lib/core/transform/watch/notifyProjectRecord.mjs.map +1 -1
- package/lib/core/transform/watch/recordedDependencyWitnesses.d.cts +30 -0
- package/lib/core/transform/watch/recordedDependencyWitnesses.d.mts +30 -0
- package/lib/core/transform/watch/recordedDependencyWitnesses.d.ts +30 -0
- package/lib/core/transform/watch/recordedDependencyWitnesses.js +51 -0
- package/lib/core/transform/watch/recordedDependencyWitnesses.js.map +1 -0
- package/lib/core/transform/watch/recordedDependencyWitnesses.mjs +49 -0
- package/lib/core/transform/watch/recordedDependencyWitnesses.mjs.map +1 -0
- package/lib/core/transform/watch/watchInputEvidenceMatchesBaseline.d.cts +1 -2
- package/lib/core/transform/watch/watchInputEvidenceMatchesBaseline.d.mts +1 -2
- package/lib/core/transform/watch/watchInputEvidenceMatchesBaseline.d.ts +1 -2
- package/lib/core/transform/watch/watchInputEvidenceMatchesBaseline.js +1 -2
- package/lib/core/transform/watch/watchInputEvidenceMatchesBaseline.js.map +1 -1
- package/lib/core/transform/watch/watchInputEvidenceMatchesBaseline.mjs +1 -2
- package/lib/core/transform/watch/watchInputEvidenceMatchesBaseline.mjs.map +1 -1
- package/lib/core/tsconfig/TsconfigReadTransaction.d.cts +11 -8
- package/lib/core/tsconfig/TsconfigReadTransaction.d.mts +11 -8
- package/lib/core/tsconfig/TsconfigReadTransaction.d.ts +11 -8
- package/lib/core/tsconfig/TsconfigReadTransaction.js +11 -8
- package/lib/core/tsconfig/TsconfigReadTransaction.js.map +1 -1
- package/lib/core/tsconfig/TsconfigReadTransaction.mjs +11 -8
- package/lib/core/tsconfig/TsconfigReadTransaction.mjs.map +1 -1
- package/lib/core/tsconfig/findDeclaredCompilerOption.d.cts +3 -2
- package/lib/core/tsconfig/findDeclaredCompilerOption.d.mts +3 -2
- package/lib/core/tsconfig/findDeclaredCompilerOption.d.ts +3 -2
- package/lib/core/tsconfig/findDeclaredCompilerOption.js +3 -2
- package/lib/core/tsconfig/findDeclaredCompilerOption.js.map +1 -1
- package/lib/core/tsconfig/findDeclaredCompilerOption.mjs +3 -2
- package/lib/core/tsconfig/findDeclaredCompilerOption.mjs.map +1 -1
- package/lib/core/tsconfig/findDeclaredFileSpecs.d.cts +3 -2
- package/lib/core/tsconfig/findDeclaredFileSpecs.d.mts +3 -2
- package/lib/core/tsconfig/findDeclaredFileSpecs.d.ts +3 -2
- package/lib/core/tsconfig/findDeclaredFileSpecs.js +3 -2
- package/lib/core/tsconfig/findDeclaredFileSpecs.js.map +1 -1
- package/lib/core/tsconfig/findDeclaredFileSpecs.mjs +3 -2
- package/lib/core/tsconfig/findDeclaredFileSpecs.mjs.map +1 -1
- package/lib/core/tsconfig/findDeclaredPaths.d.cts +3 -3
- package/lib/core/tsconfig/findDeclaredPaths.d.mts +3 -3
- package/lib/core/tsconfig/findDeclaredPaths.d.ts +3 -3
- package/lib/core/tsconfig/findDeclaredPaths.js +2 -2
- package/lib/core/tsconfig/findDeclaredPaths.mjs +2 -2
- package/lib/core/tsconfig/findDeclaredValue.d.cts +2 -1
- package/lib/core/tsconfig/findDeclaredValue.d.mts +2 -1
- package/lib/core/tsconfig/findDeclaredValue.d.ts +2 -1
- package/lib/core/tsconfig/findDeclaredValue.js +2 -1
- package/lib/core/tsconfig/findDeclaredValue.js.map +1 -1
- package/lib/core/tsconfig/findDeclaredValue.mjs +2 -1
- package/lib/core/tsconfig/findDeclaredValue.mjs.map +1 -1
- package/lib/core/tsconfig/readEffectiveTsconfigTemplateCompilerOptions.js +1 -1
- package/lib/core/tsconfig/readEffectiveTsconfigTemplateCompilerOptions.mjs +1 -1
- package/lib/core/tsconfig/readEffectiveTsconfigTemplateFileSpecs.d.cts +2 -2
- package/lib/core/tsconfig/readEffectiveTsconfigTemplateFileSpecs.d.mts +2 -2
- package/lib/core/tsconfig/readEffectiveTsconfigTemplateFileSpecs.d.ts +2 -2
- package/lib/core/tsconfig/readEffectiveTsconfigTemplateFileSpecs.js +2 -2
- package/lib/core/tsconfig/readEffectiveTsconfigTemplateFileSpecs.mjs +2 -2
- package/lib/core/tsconfig/readProjectMembershipPolicy.d.cts +3 -3
- package/lib/core/tsconfig/readProjectMembershipPolicy.d.mts +3 -3
- package/lib/core/tsconfig/readProjectMembershipPolicy.d.ts +3 -3
- package/lib/core/tsconfig/readProjectMembershipPolicy.js +4 -4
- package/lib/core/tsconfig/readProjectMembershipPolicy.mjs +4 -4
- package/lib/core/unplugin.js +14 -0
- package/lib/core/unplugin.js.map +1 -1
- package/lib/core/unplugin.mjs +14 -0
- package/lib/core/unplugin.mjs.map +1 -1
- package/lib/core/vite/installViteDependencyScanPlugins.d.cts +46 -0
- package/lib/core/vite/installViteDependencyScanPlugins.d.mts +46 -0
- package/lib/core/vite/installViteDependencyScanPlugins.d.ts +46 -0
- package/lib/core/vite/installViteDependencyScanPlugins.js +186 -0
- package/lib/core/vite/installViteDependencyScanPlugins.js.map +1 -0
- package/lib/core/vite/installViteDependencyScanPlugins.mjs +184 -0
- package/lib/core/vite/installViteDependencyScanPlugins.mjs.map +1 -0
- package/package.json +5 -4
- package/src/core/bridge/TtscProjectRecord.ts +9 -0
- package/src/core/bridge/readProjectRecordFile.ts +5 -1
- package/src/core/observer/WatchScope.ts +3 -3
- package/src/core/observer/createInputObserver.ts +7 -8
- package/src/core/options/ResolvedTtscUnpluginOptions.ts +3 -0
- package/src/core/options/TtscUnpluginOptions.ts +13 -2
- package/src/core/options/resolveOptions.ts +6 -3
- package/src/core/transform/TtscPrecompilation.ts +103 -0
- package/src/core/transform/cache/selectCachedGenerationAction.ts +3 -0
- package/src/core/transform/cache/withdrawTtscTransformGenerations.ts +2 -0
- package/src/core/transform/envelope/generationCaseSensitivity.ts +46 -0
- package/src/core/transform/envelope/selectExternalInputPaths.ts +5 -1
- package/src/core/transform/envelope/selectNotifiableAbsentInputs.ts +5 -1
- package/src/core/transform/filesystem/createHostPathIdentityContext.ts +9 -1
- package/src/core/transform/generation/captureTransformGeneration.ts +22 -2
- package/src/core/transform/generation/selectPersistentHostInputs.ts +5 -1
- package/src/core/transform/generation/transformProject.ts +3 -0
- package/src/core/transform/inputs/nativeInputPredicateState.ts +1 -3
- package/src/core/transform/tracker/createHostInputMutationTracker.ts +10 -1
- package/src/core/transform/tracker/createProjectMutationTracker.ts +34 -6
- package/src/core/transform/transformTtsc.ts +86 -37
- package/src/core/transform/validation/captureUniversalHostInputValidation.ts +12 -4
- package/src/core/transform/validation/matchesCachedSource.ts +9 -2
- package/src/core/transform/watch/TtscTransformHooks.ts +10 -0
- package/src/core/transform/watch/TtscWatchInputBaseline.ts +2 -1
- package/src/core/transform/watch/isWatchInputKeyBaseline.ts +4 -2
- package/src/core/transform/watch/notifyProjectRecord.ts +5 -4
- package/src/core/transform/watch/recordedDependencyWitnesses.ts +50 -0
- package/src/core/transform/watch/watchInputEvidenceMatchesBaseline.ts +1 -2
- package/src/core/tsconfig/TsconfigReadTransaction.ts +11 -8
- package/src/core/tsconfig/findDeclaredCompilerOption.ts +3 -2
- package/src/core/tsconfig/findDeclaredFileSpecs.ts +3 -2
- package/src/core/tsconfig/findDeclaredPaths.ts +3 -3
- package/src/core/tsconfig/findDeclaredValue.ts +2 -1
- package/src/core/tsconfig/readEffectiveTsconfigTemplateCompilerOptions.ts +1 -1
- package/src/core/tsconfig/readEffectiveTsconfigTemplateFileSpecs.ts +2 -2
- package/src/core/tsconfig/readProjectMembershipPolicy.ts +4 -4
- package/src/core/unplugin.ts +32 -0
- package/src/core/vite/installViteDependencyScanPlugins.ts +219 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"watchInputEvidenceMatchesBaseline.mjs","sources":["../../../../src/core/transform/watch/watchInputEvidenceMatchesBaseline.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;AAOA
|
|
1
|
+
{"version":3,"file":"watchInputEvidenceMatchesBaseline.mjs","sources":["../../../../src/core/transform/watch/watchInputEvidenceMatchesBaseline.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;AAOA;;;;;;;;;;;;;;;AAeG;AACG,SAAU,iCAAiC,CAC/C,QAAgC,EAChC,QAAmC,EAAA;AAEnC,IAAA,IACE,CAAC,uBAAuB,CAAC,QAAQ,CAAC;AAClC,QAAA,QAAQ,CAAC,QAAQ,KAAK,QAAQ,CAAC,QAAQ;AACvC,QAAA,QAAQ,CAAC,KAAK,KAAK,SAAS,EAC5B;AACA,QAAA,OAAO,KAAK;IACd;AACA,IAAA,MAAM,KAAK,GAAG,uBAAuB,CAAC,QAAQ,CAAC;IAC/C,IAAI,QAAQ,CAAC,KAAK,CAAC,KAAK,KAAK,MAAM,EAAE;AACnC,QAAA,OAAO,KAAK,KAAK,SAAS,IAAI,QAAQ,CAAC,KAAK,CAAC,IAAI,KAAK,KAAK,CAAC,QAAQ;IACtE;AACA,IAAA,MAAM,UAAU,GAAG,6BAA6B,EAAE;IAClD,IAAI,QAAQ,CAAC,KAAK,CAAC,KAAK,KAAK,OAAO,EAAE;QACpC,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;AACjB,YAAA,CAAC,qBAAqB,CACpB,WAAW,CAAC,QAAQ,CAAC,IAAI,EACzB,KAAK,CAAC,QAAQ,CAAC,IAAI,EACnB,UAAU,CACX,EACD;AACA,YAAA,OAAO,KAAK;QACd;IACF;AACA,IAAA,OAAO,IAAI;AACb;AAEA;AACA,SAAS,uBAAuB,CAC9B,QAAmC,EAAA;IAEnC,OAAO,iBAAiB,IAAI,QAAQ,GAAG,QAAQ,GAAG,SAAS;AAC7D;AAEA;AACA,SAAS,cAAc,CACrB,IAAuB,EACvB,KAAwB,EAAA;AAExB,IAAA,IAAI,IAAI,CAAC,MAAM,KAAK,KAAK,CAAC,MAAM;AAAE,QAAA,OAAO,KAAK;AAC9C,IAAA,KAAK,IAAI,KAAK,GAAG,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC,MAAM,EAAE,EAAE,KAAK,EAAE;QAChD,IAAI,IAAI,CAAC,KAAK,CAAC,KAAK,KAAK,CAAC,KAAK,CAAC;AAAE,YAAA,OAAO,KAAK;IAChD;AACA,IAAA,OAAO,IAAI;AACb;;;;"}
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Share config observations and contextual selections within one synchronous
|
|
2
|
+
* Share config observations and contextual selections within one synchronous
|
|
3
|
+
* read.
|
|
3
4
|
*
|
|
4
5
|
* Lexical paths own parsing and relative extends resolution. Physical paths
|
|
5
6
|
* only guard ancestry cycles. A completed selection can be borrowed when the
|
|
6
7
|
* current ancestors intersect its encountered physical identities exactly as
|
|
7
8
|
* they did originally; otherwise a different cycle cut requires evaluation.
|
|
8
9
|
* Ordered source observations travel with a completed selection, including
|
|
9
|
-
* unresolved file candidates, so reuse preserves the caller's invalidation
|
|
10
|
+
* unresolved file candidates, so reuse preserves the caller's invalidation
|
|
11
|
+
* inputs.
|
|
10
12
|
*
|
|
11
13
|
* Create a new transaction for each independent freshness observation. This
|
|
12
14
|
* owner neither validates reuse across reads nor supplies compiler diagnostics.
|
|
@@ -74,12 +76,13 @@ export declare class TsconfigReadTransaction {
|
|
|
74
76
|
/**
|
|
75
77
|
* Select one declaration, preserving its lexical directory and observations.
|
|
76
78
|
*
|
|
77
|
-
* An undefined own selection inherits. Null masks inheritance without
|
|
78
|
-
* a value, as an invalid own file list does; a parent ignores that
|
|
79
|
-
* First queries search later bases first; last queries visit
|
|
80
|
-
* The caller's physical ancestor set is copied once and
|
|
81
|
-
* Selectors must preserve the parsed inputs and give the same
|
|
82
|
-
* the same source; query reuse does not repeat their
|
|
79
|
+
* An undefined own selection inherits. Null masks inheritance without
|
|
80
|
+
* supplying a value, as an invalid own file list does; a parent ignores that
|
|
81
|
+
* empty result. First queries search later bases first; last queries visit
|
|
82
|
+
* all bases forward. The caller's physical ancestor set is copied once and
|
|
83
|
+
* never mutated. Selectors must preserve the parsed inputs and give the same
|
|
84
|
+
* declaration for the same source; query reuse does not repeat their
|
|
85
|
+
* incidental effects.
|
|
83
86
|
*
|
|
84
87
|
* @evidence contracts/common.md#principled-implementation A completed answer is reusable only when its encountered physical identities have the same intersection with current ancestry. That preserves every observed cycle decision, including cuts; own declarations and first/last traversal retain lexical origins and key-specific precedence.
|
|
85
88
|
* @evidence contracts/common.md#clear-and-simple-design A query-local visitor owns selection and contextual completed answers; transaction nodes separately share lexical source, identity and edge observations across keys.
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Share config observations and contextual selections within one synchronous
|
|
2
|
+
* Share config observations and contextual selections within one synchronous
|
|
3
|
+
* read.
|
|
3
4
|
*
|
|
4
5
|
* Lexical paths own parsing and relative extends resolution. Physical paths
|
|
5
6
|
* only guard ancestry cycles. A completed selection can be borrowed when the
|
|
6
7
|
* current ancestors intersect its encountered physical identities exactly as
|
|
7
8
|
* they did originally; otherwise a different cycle cut requires evaluation.
|
|
8
9
|
* Ordered source observations travel with a completed selection, including
|
|
9
|
-
* unresolved file candidates, so reuse preserves the caller's invalidation
|
|
10
|
+
* unresolved file candidates, so reuse preserves the caller's invalidation
|
|
11
|
+
* inputs.
|
|
10
12
|
*
|
|
11
13
|
* Create a new transaction for each independent freshness observation. This
|
|
12
14
|
* owner neither validates reuse across reads nor supplies compiler diagnostics.
|
|
@@ -74,12 +76,13 @@ export declare class TsconfigReadTransaction {
|
|
|
74
76
|
/**
|
|
75
77
|
* Select one declaration, preserving its lexical directory and observations.
|
|
76
78
|
*
|
|
77
|
-
* An undefined own selection inherits. Null masks inheritance without
|
|
78
|
-
* a value, as an invalid own file list does; a parent ignores that
|
|
79
|
-
* First queries search later bases first; last queries visit
|
|
80
|
-
* The caller's physical ancestor set is copied once and
|
|
81
|
-
* Selectors must preserve the parsed inputs and give the same
|
|
82
|
-
* the same source; query reuse does not repeat their
|
|
79
|
+
* An undefined own selection inherits. Null masks inheritance without
|
|
80
|
+
* supplying a value, as an invalid own file list does; a parent ignores that
|
|
81
|
+
* empty result. First queries search later bases first; last queries visit
|
|
82
|
+
* all bases forward. The caller's physical ancestor set is copied once and
|
|
83
|
+
* never mutated. Selectors must preserve the parsed inputs and give the same
|
|
84
|
+
* declaration for the same source; query reuse does not repeat their
|
|
85
|
+
* incidental effects.
|
|
83
86
|
*
|
|
84
87
|
* @evidence contracts/common.md#principled-implementation A completed answer is reusable only when its encountered physical identities have the same intersection with current ancestry. That preserves every observed cycle decision, including cuts; own declarations and first/last traversal retain lexical origins and key-specific precedence.
|
|
85
88
|
* @evidence contracts/common.md#clear-and-simple-design A query-local visitor owns selection and contextual completed answers; transaction nodes separately share lexical source, identity and edge observations across keys.
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Share config observations and contextual selections within one synchronous
|
|
2
|
+
* Share config observations and contextual selections within one synchronous
|
|
3
|
+
* read.
|
|
3
4
|
*
|
|
4
5
|
* Lexical paths own parsing and relative extends resolution. Physical paths
|
|
5
6
|
* only guard ancestry cycles. A completed selection can be borrowed when the
|
|
6
7
|
* current ancestors intersect its encountered physical identities exactly as
|
|
7
8
|
* they did originally; otherwise a different cycle cut requires evaluation.
|
|
8
9
|
* Ordered source observations travel with a completed selection, including
|
|
9
|
-
* unresolved file candidates, so reuse preserves the caller's invalidation
|
|
10
|
+
* unresolved file candidates, so reuse preserves the caller's invalidation
|
|
11
|
+
* inputs.
|
|
10
12
|
*
|
|
11
13
|
* Create a new transaction for each independent freshness observation. This
|
|
12
14
|
* owner neither validates reuse across reads nor supplies compiler diagnostics.
|
|
@@ -74,12 +76,13 @@ export declare class TsconfigReadTransaction {
|
|
|
74
76
|
/**
|
|
75
77
|
* Select one declaration, preserving its lexical directory and observations.
|
|
76
78
|
*
|
|
77
|
-
* An undefined own selection inherits. Null masks inheritance without
|
|
78
|
-
* a value, as an invalid own file list does; a parent ignores that
|
|
79
|
-
* First queries search later bases first; last queries visit
|
|
80
|
-
* The caller's physical ancestor set is copied once and
|
|
81
|
-
* Selectors must preserve the parsed inputs and give the same
|
|
82
|
-
* the same source; query reuse does not repeat their
|
|
79
|
+
* An undefined own selection inherits. Null masks inheritance without
|
|
80
|
+
* supplying a value, as an invalid own file list does; a parent ignores that
|
|
81
|
+
* empty result. First queries search later bases first; last queries visit
|
|
82
|
+
* all bases forward. The caller's physical ancestor set is copied once and
|
|
83
|
+
* never mutated. Selectors must preserve the parsed inputs and give the same
|
|
84
|
+
* declaration for the same source; query reuse does not repeat their
|
|
85
|
+
* incidental effects.
|
|
83
86
|
*
|
|
84
87
|
* @evidence contracts/common.md#principled-implementation A completed answer is reusable only when its encountered physical identities have the same intersection with current ancestry. That preserves every observed cycle decision, including cuts; own declarations and first/last traversal retain lexical origins and key-specific precedence.
|
|
85
88
|
* @evidence contracts/common.md#clear-and-simple-design A query-local visitor owns selection and contextual completed answers; transaction nodes separately share lexical source, identity and edge observations across keys.
|
|
@@ -8,14 +8,16 @@ var resolveExtendsConfig = require('./resolveExtendsConfig.js');
|
|
|
8
8
|
var resolveRealPath = require('./resolveRealPath.js');
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
|
-
* Share config observations and contextual selections within one synchronous
|
|
11
|
+
* Share config observations and contextual selections within one synchronous
|
|
12
|
+
* read.
|
|
12
13
|
*
|
|
13
14
|
* Lexical paths own parsing and relative extends resolution. Physical paths
|
|
14
15
|
* only guard ancestry cycles. A completed selection can be borrowed when the
|
|
15
16
|
* current ancestors intersect its encountered physical identities exactly as
|
|
16
17
|
* they did originally; otherwise a different cycle cut requires evaluation.
|
|
17
18
|
* Ordered source observations travel with a completed selection, including
|
|
18
|
-
* unresolved file candidates, so reuse preserves the caller's invalidation
|
|
19
|
+
* unresolved file candidates, so reuse preserves the caller's invalidation
|
|
20
|
+
* inputs.
|
|
19
21
|
*
|
|
20
22
|
* Create a new transaction for each independent freshness observation. This
|
|
21
23
|
* owner neither validates reuse across reads nor supplies compiler diagnostics.
|
|
@@ -96,12 +98,13 @@ class TsconfigReadTransaction {
|
|
|
96
98
|
/**
|
|
97
99
|
* Select one declaration, preserving its lexical directory and observations.
|
|
98
100
|
*
|
|
99
|
-
* An undefined own selection inherits. Null masks inheritance without
|
|
100
|
-
* a value, as an invalid own file list does; a parent ignores that
|
|
101
|
-
* First queries search later bases first; last queries visit
|
|
102
|
-
* The caller's physical ancestor set is copied once and
|
|
103
|
-
* Selectors must preserve the parsed inputs and give the same
|
|
104
|
-
* the same source; query reuse does not repeat their
|
|
101
|
+
* An undefined own selection inherits. Null masks inheritance without
|
|
102
|
+
* supplying a value, as an invalid own file list does; a parent ignores that
|
|
103
|
+
* empty result. First queries search later bases first; last queries visit
|
|
104
|
+
* all bases forward. The caller's physical ancestor set is copied once and
|
|
105
|
+
* never mutated. Selectors must preserve the parsed inputs and give the same
|
|
106
|
+
* declaration for the same source; query reuse does not repeat their
|
|
107
|
+
* incidental effects.
|
|
105
108
|
*
|
|
106
109
|
* @evidence contracts/common.md#principled-implementation A completed answer is reusable only when its encountered physical identities have the same intersection with current ancestry. That preserves every observed cycle decision, including cuts; own declarations and first/last traversal retain lexical origins and key-specific precedence.
|
|
107
110
|
* @evidence contracts/common.md#clear-and-simple-design A query-local visitor owns selection and contextual completed answers; transaction nodes separately share lexical source, identity and edge observations across keys.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TsconfigReadTransaction.js","sources":["../../../src/core/tsconfig/TsconfigReadTransaction.ts"],"sourcesContent":[null],"names":["parseJsonc","tsconfig","resolveRealPath","extendsSpecifiers","resolveExtendsConfig","tsconfigExtendsFileCandidates"],"mappings":";;;;;;;;;AAQA
|
|
1
|
+
{"version":3,"file":"TsconfigReadTransaction.js","sources":["../../../src/core/tsconfig/TsconfigReadTransaction.ts"],"sourcesContent":[null],"names":["parseJsonc","tsconfig","resolveRealPath","extendsSpecifiers","resolveExtendsConfig","tsconfigExtendsFileCandidates"],"mappings":";;;;;;;;;AAQA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoDG;MACU,uBAAuB,CAAA;AAIE,IAAA,OAAA;AAHnB,IAAA,KAAK,GAAG,IAAI,GAAG,EAAsB;;IAGtD,WAAA,CAAoC,OAAA,GAAU,IAAI,GAAG,EAAmB,EAAA;QAApC,IAAA,CAAA,OAAO,GAAP,OAAO;IAAgC;AAE3E;;;;;;;;;;;;;;;AAeG;AACI,IAAA,IAAI,CAAC,IAAY,EAAA;AACtB,QAAA,IAAI;YACF,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC;AACzB,gBAAA,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,EAAEA,mBAAU,CAAC,EAAE,CAAC,YAAY,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC;YACnE,MAAM,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC;AACrC,YAAA,OAAO,OAAO,MAAM,KAAK,QAAQ,IAAI,MAAM,KAAK,IAAI,GAAG,MAAM,GAAG,IAAI;QACtE;AAAE,QAAA,MAAM;YACN,IAAI,CAAC,OAAO,CAAC,G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;AAClB,QAAA,CAAC;QACD,MAAM,MAAM,GAAG,KAAK,CAAC,IAAI,CAAC,OAAO,CAACJ,UAAQ,CAAC,CAAC;AAC5C,QAAA,KAAK,MAAM,MAAM,IAAI,MAAM,CAAC,OAAO;AAAE,YAAA,OAAO,EAAE,GAAG,CAAC,MAAM,CAAC;QACzD,OAAO,MAAM,CAAC,QAAQ;IACxB;AACD;;;;"}
|
|
@@ -6,14 +6,16 @@ import { resolveExtendsConfig } from './resolveExtendsConfig.mjs';
|
|
|
6
6
|
import { resolveRealPath } from './resolveRealPath.mjs';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
|
-
* Share config observations and contextual selections within one synchronous
|
|
9
|
+
* Share config observations and contextual selections within one synchronous
|
|
10
|
+
* read.
|
|
10
11
|
*
|
|
11
12
|
* Lexical paths own parsing and relative extends resolution. Physical paths
|
|
12
13
|
* only guard ancestry cycles. A completed selection can be borrowed when the
|
|
13
14
|
* current ancestors intersect its encountered physical identities exactly as
|
|
14
15
|
* they did originally; otherwise a different cycle cut requires evaluation.
|
|
15
16
|
* Ordered source observations travel with a completed selection, including
|
|
16
|
-
* unresolved file candidates, so reuse preserves the caller's invalidation
|
|
17
|
+
* unresolved file candidates, so reuse preserves the caller's invalidation
|
|
18
|
+
* inputs.
|
|
17
19
|
*
|
|
18
20
|
* Create a new transaction for each independent freshness observation. This
|
|
19
21
|
* owner neither validates reuse across reads nor supplies compiler diagnostics.
|
|
@@ -94,12 +96,13 @@ class TsconfigReadTransaction {
|
|
|
94
96
|
/**
|
|
95
97
|
* Select one declaration, preserving its lexical directory and observations.
|
|
96
98
|
*
|
|
97
|
-
* An undefined own selection inherits. Null masks inheritance without
|
|
98
|
-
* a value, as an invalid own file list does; a parent ignores that
|
|
99
|
-
* First queries search later bases first; last queries visit
|
|
100
|
-
* The caller's physical ancestor set is copied once and
|
|
101
|
-
* Selectors must preserve the parsed inputs and give the same
|
|
102
|
-
* the same source; query reuse does not repeat their
|
|
99
|
+
* An undefined own selection inherits. Null masks inheritance without
|
|
100
|
+
* supplying a value, as an invalid own file list does; a parent ignores that
|
|
101
|
+
* empty result. First queries search later bases first; last queries visit
|
|
102
|
+
* all bases forward. The caller's physical ancestor set is copied once and
|
|
103
|
+
* never mutated. Selectors must preserve the parsed inputs and give the same
|
|
104
|
+
* declaration for the same source; query reuse does not repeat their
|
|
105
|
+
* incidental effects.
|
|
103
106
|
*
|
|
104
107
|
* @evidence contracts/common.md#principled-implementation A completed answer is reusable only when its encountered physical identities have the same intersection with current ancestry. That preserves every observed cycle decision, including cuts; own declarations and first/last traversal retain lexical origins and key-specific precedence.
|
|
105
108
|
* @evidence contracts/common.md#clear-and-simple-design A query-local visitor owns selection and contextual completed answers; transaction nodes separately share lexical source, identity and edge observations across keys.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TsconfigReadTransaction.mjs","sources":["../../../src/core/tsconfig/TsconfigReadTransaction.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;AAQA
|
|
1
|
+
{"version":3,"file":"TsconfigReadTransaction.mjs","sources":["../../../src/core/tsconfig/TsconfigReadTransaction.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;AAQA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoDG;MACU,uBAAuB,CAAA;AAIE,IAAA,OAAA;AAHnB,IAAA,KAAK,GAAG,IAAI,GAAG,EAAsB;;IAGtD,WAAA,CAAoC,OAAA,GAAU,IAAI,GAAG,EAAmB,EAAA;QAApC,IAAA,CAAA,OAAO,GAAP,OAAO;IAAgC;AAE3E;;;;;;;;;;;;;;;AAeG;AACI,IAAA,IAAI,CAAC,IAAY,EAAA;AACtB,QAAA,IAAI;YACF,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC;AACzB,gBAAA,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,UAAU,CAAC,EAAE,CAAC,YA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,SAAS,CAAC,GAAG,CAAC,QAAQ,CAAC;AAAE,oBAAA,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC;AACpD,YAAA,MAAM,SAAS,GAAG;gBAChB,QAAQ;gBACR,UAAU;gBACV,OAAO;gBACP,OAAO;aACR;AACD,YAAA,SAAS,CAAC,GAAG,CAAC,IAAI,EAAE,SAAS,CAAC;AAC9B,YAAA,OAAO,SAAS;AAClB,QAAA,CAAC;QACD,MAAM,MAAM,GAAG,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;AAC5C,QAAA,KAAK,MAAM,MAAM,IAAI,MAAM,CAAC,OAAO;AAAE,YAAA,OAAO,EAAE,GAAG,CAAC,MAAM,CAAC;QACzD,OAAO,MAAM,CAAC,QAAQ;IACxB;AACD;;;;"}
|
|
@@ -4,8 +4,9 @@ import { TsconfigReadTransaction } from "./TsconfigReadTransaction.cjs";
|
|
|
4
4
|
*
|
|
5
5
|
* Own key presence is significant even for null or undefined values; the caller
|
|
6
6
|
* decides whether the selected option value is usable. An optional
|
|
7
|
-
* decoded-source map or graph transaction belongs to one caller read;
|
|
8
|
-
* option searches retain their selectors and physical ancestry
|
|
7
|
+
* decoded-source map or graph transaction belongs to one caller read;
|
|
8
|
+
* independent option searches retain their selectors and physical ancestry
|
|
9
|
+
* contexts.
|
|
9
10
|
*
|
|
10
11
|
* @evidence contracts/common.md#principled-implementation
|
|
11
12
|
* A wrapper preserves key presence through the generic selector, so the own
|
|
@@ -4,8 +4,9 @@ import { TsconfigReadTransaction } from "./TsconfigReadTransaction.mjs";
|
|
|
4
4
|
*
|
|
5
5
|
* Own key presence is significant even for null or undefined values; the caller
|
|
6
6
|
* decides whether the selected option value is usable. An optional
|
|
7
|
-
* decoded-source map or graph transaction belongs to one caller read;
|
|
8
|
-
* option searches retain their selectors and physical ancestry
|
|
7
|
+
* decoded-source map or graph transaction belongs to one caller read;
|
|
8
|
+
* independent option searches retain their selectors and physical ancestry
|
|
9
|
+
* contexts.
|
|
9
10
|
*
|
|
10
11
|
* @evidence contracts/common.md#principled-implementation
|
|
11
12
|
* A wrapper preserves key presence through the generic selector, so the own
|
|
@@ -4,8 +4,9 @@ import { TsconfigReadTransaction } from "./TsconfigReadTransaction";
|
|
|
4
4
|
*
|
|
5
5
|
* Own key presence is significant even for null or undefined values; the caller
|
|
6
6
|
* decides whether the selected option value is usable. An optional
|
|
7
|
-
* decoded-source map or graph transaction belongs to one caller read;
|
|
8
|
-
* option searches retain their selectors and physical ancestry
|
|
7
|
+
* decoded-source map or graph transaction belongs to one caller read;
|
|
8
|
+
* independent option searches retain their selectors and physical ancestry
|
|
9
|
+
* contexts.
|
|
9
10
|
*
|
|
10
11
|
* @evidence contracts/common.md#principled-implementation
|
|
11
12
|
* A wrapper preserves key presence through the generic selector, so the own
|
|
@@ -7,8 +7,9 @@ var findDeclaredValue = require('./findDeclaredValue.js');
|
|
|
7
7
|
*
|
|
8
8
|
* Own key presence is significant even for null or undefined values; the caller
|
|
9
9
|
* decides whether the selected option value is usable. An optional
|
|
10
|
-
* decoded-source map or graph transaction belongs to one caller read;
|
|
11
|
-
* option searches retain their selectors and physical ancestry
|
|
10
|
+
* decoded-source map or graph transaction belongs to one caller read;
|
|
11
|
+
* independent option searches retain their selectors and physical ancestry
|
|
12
|
+
* contexts.
|
|
12
13
|
*
|
|
13
14
|
* @evidence contracts/common.md#principled-implementation
|
|
14
15
|
* A wrapper preserves key presence through the generic selector, so the own
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"findDeclaredCompilerOption.js","sources":["../../../src/core/tsconfig/findDeclaredCompilerOption.ts"],"sourcesContent":[null],"names":["findDeclaredValue"],"mappings":";;;;AAGA
|
|
1
|
+
{"version":3,"file":"findDeclaredCompilerOption.js","sources":["../../../src/core/tsconfig/findDeclaredCompilerOption.ts"],"sourcesContent":[null],"names":["findDeclaredValue"],"mappings":";;;;AAGA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsCG;SACa,0BAA0B,CACxC,QAAgB,EAChB,GAAW,EACX,OAAwD,EAAA;IAExD,MAAM,QAAQ,GAAGA,mCAAiB,CAChC,QAAQ,EACR,CAAC,MAAM,KAAI;QACT,MAAM,OAAO,GAAI;AACd,aAAA,eAAe;QAClB,OAAO,OAAO,OAAO,KAAK,QAAQ;AAChC,YAAA,OAAO,KAAK,IAAI;AAChB,YAAA,CAAC,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC;YACvB,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,OAAO,EAAE,GAAG;cAC/C,EAAE,KAAK,EAAE,OAAO,CAAC,GAAG,CAAC;cACrB,SAAS;IACf,CAAC,EACD,IAAI,GAAG,EAAE,EACT,SAAS,EACT,OAAO,CACR;IACD,OAAO,QAAQ,KAAK;AAClB,UAAE;AACF,UAAE,EAAE,OAAO,EAAE,QAAQ,CAAC,OAAO,EAAE,KAAK,EAAE,QAAQ,CAAC,KAAK,CAAC,KAAK,EAAE;AAChE;;;;"}
|
|
@@ -5,8 +5,9 @@ import { findDeclaredValue } from './findDeclaredValue.mjs';
|
|
|
5
5
|
*
|
|
6
6
|
* Own key presence is significant even for null or undefined values; the caller
|
|
7
7
|
* decides whether the selected option value is usable. An optional
|
|
8
|
-
* decoded-source map or graph transaction belongs to one caller read;
|
|
9
|
-
* option searches retain their selectors and physical ancestry
|
|
8
|
+
* decoded-source map or graph transaction belongs to one caller read;
|
|
9
|
+
* independent option searches retain their selectors and physical ancestry
|
|
10
|
+
* contexts.
|
|
10
11
|
*
|
|
11
12
|
* @evidence contracts/common.md#principled-implementation
|
|
12
13
|
* A wrapper preserves key presence through the generic selector, so the own
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"findDeclaredCompilerOption.mjs","sources":["../../../src/core/tsconfig/findDeclaredCompilerOption.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAGA
|
|
1
|
+
{"version":3,"file":"findDeclaredCompilerOption.mjs","sources":["../../../src/core/tsconfig/findDeclaredCompilerOption.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAGA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsCG;SACa,0BAA0B,CACxC,QAAgB,EAChB,GAAW,EACX,OAAwD,EAAA;IAExD,MAAM,QAAQ,GAAG,iBAAiB,CAChC,QAAQ,EACR,CAAC,MAAM,KAAI;QACT,MAAM,OAAO,GAAI;AACd,aAAA,eAAe;QAClB,OAAO,OAAO,OAAO,KAAK,QAAQ;AAChC,YAAA,OAAO,KAAK,IAAI;AAChB,YAAA,CAAC,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC;YACvB,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,OAAO,EAAE,GAAG;cAC/C,EAAE,KAAK,EAAE,OAAO,CAAC,GAAG,CAAC;cACrB,SAAS;IACf,CAAC,EACD,IAAI,GAAG,EAAE,EACT,SAAS,EACT,OAAO,CACR;IACD,OAAO,QAAQ,KAAK;AAClB,UAAE;AACF,UAAE,EAAE,OAAO,EAAE,QAAQ,CAAC,OAAO,EAAE,KAAK,EAAE,QAAQ,CAAC,KAAK,CAAC,KAAK,EAAE;AAChE;;;;"}
|
|
@@ -10,8 +10,9 @@ import { TsconfigReadTransaction } from "./TsconfigReadTransaction.cjs";
|
|
|
10
10
|
* anchored at the named declaring config, including independent link aliases.
|
|
11
11
|
*
|
|
12
12
|
* @returns The list and its directory, undefined when no array is selected, or
|
|
13
|
-
* null when the root config cannot be read as an object. A supplied
|
|
14
|
-
* belongs to this freshness observation; later reads require a
|
|
13
|
+
* null when the root config cannot be read as an object. A supplied
|
|
14
|
+
* transaction belongs to this freshness observation; later reads require a
|
|
15
|
+
* fresh owner.
|
|
15
16
|
* @evidence contracts/common.md#principled-implementation
|
|
16
17
|
* Own invalid values stop inheritance at that node. Forward inherited
|
|
17
18
|
* traversal keeps the last array and ignores empty selections, preserving
|
|
@@ -10,8 +10,9 @@ import { TsconfigReadTransaction } from "./TsconfigReadTransaction.mjs";
|
|
|
10
10
|
* anchored at the named declaring config, including independent link aliases.
|
|
11
11
|
*
|
|
12
12
|
* @returns The list and its directory, undefined when no array is selected, or
|
|
13
|
-
* null when the root config cannot be read as an object. A supplied
|
|
14
|
-
* belongs to this freshness observation; later reads require a
|
|
13
|
+
* null when the root config cannot be read as an object. A supplied
|
|
14
|
+
* transaction belongs to this freshness observation; later reads require a
|
|
15
|
+
* fresh owner.
|
|
15
16
|
* @evidence contracts/common.md#principled-implementation
|
|
16
17
|
* Own invalid values stop inheritance at that node. Forward inherited
|
|
17
18
|
* traversal keeps the last array and ignores empty selections, preserving
|
|
@@ -10,8 +10,9 @@ import { TsconfigReadTransaction } from "./TsconfigReadTransaction";
|
|
|
10
10
|
* anchored at the named declaring config, including independent link aliases.
|
|
11
11
|
*
|
|
12
12
|
* @returns The list and its directory, undefined when no array is selected, or
|
|
13
|
-
* null when the root config cannot be read as an object. A supplied
|
|
14
|
-
* belongs to this freshness observation; later reads require a
|
|
13
|
+
* null when the root config cannot be read as an object. A supplied
|
|
14
|
+
* transaction belongs to this freshness observation; later reads require a
|
|
15
|
+
* fresh owner.
|
|
15
16
|
* @evidence contracts/common.md#principled-implementation
|
|
16
17
|
* Own invalid values stop inheritance at that node. Forward inherited
|
|
17
18
|
* traversal keeps the last array and ignores empty selections, preserving
|
|
@@ -14,8 +14,9 @@ var TsconfigReadTransaction = require('./TsconfigReadTransaction.js');
|
|
|
14
14
|
* anchored at the named declaring config, including independent link aliases.
|
|
15
15
|
*
|
|
16
16
|
* @returns The list and its directory, undefined when no array is selected, or
|
|
17
|
-
* null when the root config cannot be read as an object. A supplied
|
|
18
|
-
* belongs to this freshness observation; later reads require a
|
|
17
|
+
* null when the root config cannot be read as an object. A supplied
|
|
18
|
+
* transaction belongs to this freshness observation; later reads require a
|
|
19
|
+
* fresh owner.
|
|
19
20
|
* @evidence contracts/common.md#principled-implementation
|
|
20
21
|
* Own invalid values stop inheritance at that node. Forward inherited
|
|
21
22
|
* traversal keeps the last array and ignores empty selections, preserving
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"findDeclaredFileSpecs.js","sources":["../../../src/core/tsconfig/findDeclaredFileSpecs.ts"],"sourcesContent":[null],"names":["TsconfigReadTransaction"],"mappings":";;;;;AAIA
|
|
1
|
+
{"version":3,"file":"findDeclaredFileSpecs.js","sources":["../../../src/core/tsconfig/findDeclaredFileSpecs.ts"],"sourcesContent":[null],"names":["TsconfigReadTransaction"],"mappings":";;;;;AAIA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0CG;AACG,SAAU,qBAAqB,CACnC,QAAgB,EAChB,GAAoC,EACpC,OAAqB,EACrB,OAAwD,EAAA;IAKxD,MAAM,QAAQ,GAAG,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC;AACvC,IAAA,OAAO,EAAE,GAAG,CAAC,QAAQ,CAAC;AACtB,IAAA,MAAM,WAAW,GACf,OAAO,YAAYA;AACjB,UAAE;AACF,UAAE,IAAIA,+CAAuB,CAAC,OAAO,CAAC;IAC1C,MAAM,IAAI,GAAG,WAAW,CAAC,IAAI,CAAC,QAAQ,CAAC;IACvC,IAAI,IAAI,KAAK,IAAI,IAAI,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC;AAAE,QAAA,OAAO,IAAI;IACrD,MAAM,QAAQ,GAAG,WAAW,CAAC,IAAI,CAC/B,QAAQ,EACR,CAAC,MAAM,KAAI;AACT,QAAA,IAAI,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC;AAAE,YAAA,OAAO,IAAI;AACtC,QAAA,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,EAAE,GAAG,CAAC;AAAE,YAAA,OAAO,SAAS;AACxE,QAAA,MAAM,KAAK,GAAI,MAAkC,CAAC,GAAG,CAAC;AACtD,QAAA,OAAO,KAAK,CAAC,OAAO,CAAC,KAAK;AACxB,cAAE;AACE,gBAAA,QAAQ,EAAE,KAAK,CAAC,KAAK,EAAE;AACvB,gBAAA,KAAK,EAAE,KAAK,CAAC,MAAM,CACjB,CAAC,KAAK,KAAsB,OAAO,KAAK,KAAK,QAAQ,CACtD;AACF;cACD,IAAI;IACV,CAAC,EACD,IAAI,GAAG,EAAE,EACT,OAAO,EACP,MAAM,CACP;IACD,OAAO,QAAQ,KAAK;AAClB,UAAE;AACF,UAAE,EAAE,OAAO,EAAE,QAAQ,CAAC,OAAO,EAAE,GAAG,QAAQ,CAAC,KAAK,EAAE;AACtD;;;;"}
|
|
@@ -12,8 +12,9 @@ import { TsconfigReadTransaction } from './TsconfigReadTransaction.mjs';
|
|
|
12
12
|
* anchored at the named declaring config, including independent link aliases.
|
|
13
13
|
*
|
|
14
14
|
* @returns The list and its directory, undefined when no array is selected, or
|
|
15
|
-
* null when the root config cannot be read as an object. A supplied
|
|
16
|
-
* belongs to this freshness observation; later reads require a
|
|
15
|
+
* null when the root config cannot be read as an object. A supplied
|
|
16
|
+
* transaction belongs to this freshness observation; later reads require a
|
|
17
|
+
* fresh owner.
|
|
17
18
|
* @evidence contracts/common.md#principled-implementation
|
|
18
19
|
* Own invalid values stop inheritance at that node. Forward inherited
|
|
19
20
|
* traversal keeps the last array and ignores empty selections, preserving
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"findDeclaredFileSpecs.mjs","sources":["../../../src/core/tsconfig/findDeclaredFileSpecs.ts"],"sourcesContent":[null],"names":[],"mappings":";;;AAIA
|
|
1
|
+
{"version":3,"file":"findDeclaredFileSpecs.mjs","sources":["../../../src/core/tsconfig/findDeclaredFileSpecs.ts"],"sourcesContent":[null],"names":[],"mappings":";;;AAIA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0CG;AACG,SAAU,qBAAqB,CACnC,QAAgB,EAChB,GAAoC,EACpC,OAAqB,EACrB,OAAwD,EAAA;IAKxD,MAAM,QAAQ,GAA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
|
+
import { TsconfigReadTransaction } from "./TsconfigReadTransaction.cjs";
|
|
3
3
|
/**
|
|
4
4
|
* Locate the nearest `compilerOptions.paths` declaration in the `extends` chain
|
|
5
5
|
* rooted at `tsconfig`. The own config wins over its bases; within an `extends`
|
|
6
6
|
* array, later entries win over earlier ones. `seen` breaks circular chains;
|
|
7
7
|
* the compiler reports the actual config error. Optional decoded sources or
|
|
8
|
-
* graph observations share only within the caller's current read; physical
|
|
9
|
-
* guards remain branch-local.
|
|
8
|
+
* graph observations share only within the caller's current read; physical
|
|
9
|
+
* cycle guards remain branch-local.
|
|
10
10
|
*
|
|
11
11
|
* @evidence contracts/common.md#principled-implementation
|
|
12
12
|
* The selector accepts a non-array paths record and the shared value reader
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { TsconfigReadTransaction } from "./TsconfigReadTransaction.mjs";
|
|
2
1
|
import type { IDeclaredPaths } from "./IDeclaredPaths.mjs";
|
|
2
|
+
import { TsconfigReadTransaction } from "./TsconfigReadTransaction.mjs";
|
|
3
3
|
/**
|
|
4
4
|
* Locate the nearest `compilerOptions.paths` declaration in the `extends` chain
|
|
5
5
|
* rooted at `tsconfig`. The own config wins over its bases; within an `extends`
|
|
6
6
|
* array, later entries win over earlier ones. `seen` breaks circular chains;
|
|
7
7
|
* the compiler reports the actual config error. Optional decoded sources or
|
|
8
|
-
* graph observations share only within the caller's current read; physical
|
|
9
|
-
* guards remain branch-local.
|
|
8
|
+
* graph observations share only within the caller's current read; physical
|
|
9
|
+
* cycle guards remain branch-local.
|
|
10
10
|
*
|
|
11
11
|
* @evidence contracts/common.md#principled-implementation
|
|
12
12
|
* The selector accepts a non-array paths record and the shared value reader
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { TsconfigReadTransaction } from "./TsconfigReadTransaction";
|
|
2
1
|
import type { IDeclaredPaths } from "./IDeclaredPaths";
|
|
2
|
+
import { TsconfigReadTransaction } from "./TsconfigReadTransaction";
|
|
3
3
|
/**
|
|
4
4
|
* Locate the nearest `compilerOptions.paths` declaration in the `extends` chain
|
|
5
5
|
* rooted at `tsconfig`. The own config wins over its bases; within an `extends`
|
|
6
6
|
* array, later entries win over earlier ones. `seen` breaks circular chains;
|
|
7
7
|
* the compiler reports the actual config error. Optional decoded sources or
|
|
8
|
-
* graph observations share only within the caller's current read; physical
|
|
9
|
-
* guards remain branch-local.
|
|
8
|
+
* graph observations share only within the caller's current read; physical
|
|
9
|
+
* cycle guards remain branch-local.
|
|
10
10
|
*
|
|
11
11
|
* @evidence contracts/common.md#principled-implementation
|
|
12
12
|
* The selector accepts a non-array paths record and the shared value reader
|
|
@@ -7,8 +7,8 @@ var findDeclaredValue = require('./findDeclaredValue.js');
|
|
|
7
7
|
* rooted at `tsconfig`. The own config wins over its bases; within an `extends`
|
|
8
8
|
* array, later entries win over earlier ones. `seen` breaks circular chains;
|
|
9
9
|
* the compiler reports the actual config error. Optional decoded sources or
|
|
10
|
-
* graph observations share only within the caller's current read; physical
|
|
11
|
-
* guards remain branch-local.
|
|
10
|
+
* graph observations share only within the caller's current read; physical
|
|
11
|
+
* cycle guards remain branch-local.
|
|
12
12
|
*
|
|
13
13
|
* @evidence contracts/common.md#principled-implementation
|
|
14
14
|
* The selector accepts a non-array paths record and the shared value reader
|
|
@@ -5,8 +5,8 @@ import { findDeclaredValue } from './findDeclaredValue.mjs';
|
|
|
5
5
|
* rooted at `tsconfig`. The own config wins over its bases; within an `extends`
|
|
6
6
|
* array, later entries win over earlier ones. `seen` breaks circular chains;
|
|
7
7
|
* the compiler reports the actual config error. Optional decoded sources or
|
|
8
|
-
* graph observations share only within the caller's current read; physical
|
|
9
|
-
* guards remain branch-local.
|
|
8
|
+
* graph observations share only within the caller's current read; physical
|
|
9
|
+
* cycle guards remain branch-local.
|
|
10
10
|
*
|
|
11
11
|
* @evidence contracts/common.md#principled-implementation
|
|
12
12
|
* The selector accepts a non-array paths record and the shared value reader
|
|
@@ -6,7 +6,8 @@ import { TsconfigReadTransaction } from "./TsconfigReadTransaction.cjs";
|
|
|
6
6
|
* remain anchored at the named config; physical identity only cuts branch
|
|
7
7
|
* cycles. Independent aliases can therefore resolve different relative bases.
|
|
8
8
|
* Missing or malformed configs remain best-effort absence; the compiler owns
|
|
9
|
-
* configuration diagnostics. Unresolved file candidates remain observed
|
|
9
|
+
* configuration diagnostics. Unresolved file candidates remain observed
|
|
10
|
+
* inputs.
|
|
10
11
|
*
|
|
11
12
|
* A supplied transaction shares source, identity and edge observations across
|
|
12
13
|
* keys. A decoded-source map remains supported for callers that own that map;
|
|
@@ -6,7 +6,8 @@ import { TsconfigReadTransaction } from "./TsconfigReadTransaction.mjs";
|
|
|
6
6
|
* remain anchored at the named config; physical identity only cuts branch
|
|
7
7
|
* cycles. Independent aliases can therefore resolve different relative bases.
|
|
8
8
|
* Missing or malformed configs remain best-effort absence; the compiler owns
|
|
9
|
-
* configuration diagnostics. Unresolved file candidates remain observed
|
|
9
|
+
* configuration diagnostics. Unresolved file candidates remain observed
|
|
10
|
+
* inputs.
|
|
10
11
|
*
|
|
11
12
|
* A supplied transaction shares source, identity and edge observations across
|
|
12
13
|
* keys. A decoded-source map remains supported for callers that own that map;
|
|
@@ -6,7 +6,8 @@ import { TsconfigReadTransaction } from "./TsconfigReadTransaction";
|
|
|
6
6
|
* remain anchored at the named config; physical identity only cuts branch
|
|
7
7
|
* cycles. Independent aliases can therefore resolve different relative bases.
|
|
8
8
|
* Missing or malformed configs remain best-effort absence; the compiler owns
|
|
9
|
-
* configuration diagnostics. Unresolved file candidates remain observed
|
|
9
|
+
* configuration diagnostics. Unresolved file candidates remain observed
|
|
10
|
+
* inputs.
|
|
10
11
|
*
|
|
11
12
|
* A supplied transaction shares source, identity and edge observations across
|
|
12
13
|
* keys. A decoded-source map remains supported for callers that own that map;
|
|
@@ -9,7 +9,8 @@ var TsconfigReadTransaction = require('./TsconfigReadTransaction.js');
|
|
|
9
9
|
* remain anchored at the named config; physical identity only cuts branch
|
|
10
10
|
* cycles. Independent aliases can therefore resolve different relative bases.
|
|
11
11
|
* Missing or malformed configs remain best-effort absence; the compiler owns
|
|
12
|
-
* configuration diagnostics. Unresolved file candidates remain observed
|
|
12
|
+
* configuration diagnostics. Unresolved file candidates remain observed
|
|
13
|
+
* inputs.
|
|
13
14
|
*
|
|
14
15
|
* A supplied transaction shares source, identity and edge observations across
|
|
15
16
|
* keys. A decoded-source map remains supported for callers that own that map;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"findDeclaredValue.js","sources":["../../../src/core/tsconfig/findDeclaredValue.ts"],"sourcesContent":[null],"names":["TsconfigReadTransaction"],"mappings":";;;;AAEA
|
|
1
|
+
{"version":3,"file":"findDeclaredValue.js","sources":["../../../src/core/tsconfig/findDeclaredValue.ts"],"sourcesContent":[null],"names":["TsconfigReadTransaction"],"mappings":";;;;AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2CG;SACa,iBAAiB,CAC/B,QAAgB,EAChB,MAAyC,EACzC,IAAiB;AACjB;AACA,OAAqB,EACrB,OAAwD,EAAA;AAExD,IAAA,MAAM,WAAW,GACf,OAAO,YAAYA;AACjB,UAAE;AACF,UAAE,IAAIA,+CAAuB,CAAC,OAAO,CAAC;IAC1C,MAAM,QAAQ,GAAG,WAAW,CAAC,IAAI,CAC/B,QAAQ,EACR,CAAC,MAAM,KAAI;AACT,QAAA,MAAM,KAAK,GAAG,MAAM,CAAC,MAAM,CAAC;AAC5B,QAAA,OAAO,KAAK,KAAK,SAAS,GAAG,SAAS,GAAG,EAAE,KAAK,EAAE;AACpD,IAAA,CAAC,EACD,IAAI,EACJ,OAAO,CACR;IACD,OAAO,QAAQ,KAAK;AAClB,UAAE;AACF,UAAE,EAAE,OAAO,EAAE,QAAQ,CAAC,OAAO,EAAE,KAAK,EAAE,QAAQ,CAAC,KAAK,CAAC,KAAK,EAAE;AAChE;;;;"}
|
|
@@ -7,7 +7,8 @@ import { TsconfigReadTransaction } from './TsconfigReadTransaction.mjs';
|
|
|
7
7
|
* remain anchored at the named config; physical identity only cuts branch
|
|
8
8
|
* cycles. Independent aliases can therefore resolve different relative bases.
|
|
9
9
|
* Missing or malformed configs remain best-effort absence; the compiler owns
|
|
10
|
-
* configuration diagnostics. Unresolved file candidates remain observed
|
|
10
|
+
* configuration diagnostics. Unresolved file candidates remain observed
|
|
11
|
+
* inputs.
|
|
11
12
|
*
|
|
12
13
|
* A supplied transaction shares source, identity and edge observations across
|
|
13
14
|
* keys. A decoded-source map remains supported for callers that own that map;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"findDeclaredValue.mjs","sources":["../../../src/core/tsconfig/findDeclaredValue.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAEA
|
|
1
|
+
{"version":3,"file":"findDeclaredValue.mjs","sources":["../../../src/core/tsconfig/findDeclaredValue.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2CG;SACa,iBAAiB,CAC/B,QAAgB,EAChB,MAAyC,EACzC,IAAiB;AACjB;AACA,OAAqB,EACrB,OAAwD,EAAA;AAExD,IAAA,MAAM,WAAW,GACf,OAAO,YAAY;AACjB,UAAE;AACF,UAAE,IAAI,uBAAuB,CAAC,OAAO,CAAC;IAC1C,MAAM,QAAQ,GAAG,WAAW,CAAC,IAAI,CAC/B,QAAQ,EACR,CAAC,MAAM,KAAI;AACT,QAAA,MAAM,KAAK,GAAG,MAAM,CAAC,MAAM,CAAC;AAC5B,QAAA,OAAO,KAAK,KAAK,SAAS,GAAG,SAAS,GAAG,EAAE,KAAK,EAAE;AACpD,IAAA,CAAC,EACD,IAAI,EACJ,OAAO,CACR;IACD,OAAO,QAAQ,KAAK;AAClB,UAAE;AACF,UAAE,EAAE,OAAO,EAAE,QAAQ,CAAC,OAAO,EAAE,KAAK,EAAE,QAAQ,CAAC,KAAK,CAAC,KAAK,EAAE;AAChE;;;;"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var path = require('node:path');
|
|
4
|
-
var TsconfigReadTransaction = require('./TsconfigReadTransaction.js');
|
|
5
4
|
var CONFIG_DIR_TEMPLATE_LIST_OPTIONS = require('./CONFIG_DIR_TEMPLATE_LIST_OPTIONS.js');
|
|
6
5
|
var CONFIG_DIR_TEMPLATE_SCALAR_OPTIONS = require('./CONFIG_DIR_TEMPLATE_SCALAR_OPTIONS.js');
|
|
6
|
+
var TsconfigReadTransaction = require('./TsconfigReadTransaction.js');
|
|
7
7
|
var absolutizePathsTarget = require('./absolutizePathsTarget.js');
|
|
8
8
|
var findDeclaredCompilerOption = require('./findDeclaredCompilerOption.js');
|
|
9
9
|
var findDeclaredPaths = require('./findDeclaredPaths.js');
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import path from 'node:path';
|
|
2
|
-
import { TsconfigReadTransaction } from './TsconfigReadTransaction.mjs';
|
|
3
2
|
import { CONFIG_DIR_TEMPLATE_LIST_OPTIONS } from './CONFIG_DIR_TEMPLATE_LIST_OPTIONS.mjs';
|
|
4
3
|
import { CONFIG_DIR_TEMPLATE_SCALAR_OPTIONS } from './CONFIG_DIR_TEMPLATE_SCALAR_OPTIONS.mjs';
|
|
4
|
+
import { TsconfigReadTransaction } from './TsconfigReadTransaction.mjs';
|
|
5
5
|
import { absolutizePathsTarget } from './absolutizePathsTarget.mjs';
|
|
6
6
|
import { findDeclaredCompilerOption } from './findDeclaredCompilerOption.mjs';
|
|
7
7
|
import { findDeclaredPaths } from './findDeclaredPaths.mjs';
|