@teambit/dependencies 1.0.330 → 1.0.331
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/artifacts/__bit_junit.xml +203 -5
- package/artifacts/schema.json +2016 -1173
- package/dependencies-loader/apply-overrides.ts +3 -3
- package/dependencies-loader/auto-detect-deps.ts +16 -13
- package/dependencies-loader/dependencies-loader.ts +1 -1
- package/dist/dependencies-loader/apply-overrides.js +12 -5
- package/dist/dependencies-loader/apply-overrides.js.map +1 -1
- package/dist/dependencies-loader/auto-detect-deps.d.ts +4 -4
- package/dist/dependencies-loader/auto-detect-deps.js +14 -14
- package/dist/dependencies-loader/auto-detect-deps.js.map +1 -1
- package/dist/dependencies-loader/dependencies-loader.js +4 -4
- package/dist/dependencies-loader/dependencies-loader.js.map +1 -1
- package/dist/files-dependency-builder/build-tree.d.ts +11 -0
- package/dist/files-dependency-builder/build-tree.js +233 -0
- package/dist/files-dependency-builder/build-tree.js.map +1 -0
- package/dist/files-dependency-builder/build-tree.spec.d.ts +1 -0
- package/dist/files-dependency-builder/build-tree.spec.js +154 -0
- package/dist/files-dependency-builder/build-tree.spec.js.map +1 -0
- package/dist/files-dependency-builder/dependency-tree/Config.d.ts +4 -0
- package/dist/files-dependency-builder/dependency-tree/Config.js +74 -0
- package/dist/files-dependency-builder/dependency-tree/Config.js.map +1 -0
- package/dist/files-dependency-builder/dependency-tree/index.d.ts +15 -0
- package/dist/files-dependency-builder/dependency-tree/index.js +272 -0
- package/dist/files-dependency-builder/dependency-tree/index.js.map +1 -0
- package/dist/files-dependency-builder/dependency-tree/index.spec.d.ts +1 -0
- package/dist/files-dependency-builder/dependency-tree/index.spec.js +877 -0
- package/dist/files-dependency-builder/dependency-tree/index.spec.js.map +1 -0
- package/dist/files-dependency-builder/detectives/detective-css/index.d.ts +1 -0
- package/dist/files-dependency-builder/detectives/detective-css/index.js +18 -0
- package/dist/files-dependency-builder/detectives/detective-css/index.js.map +1 -0
- package/dist/files-dependency-builder/detectives/detective-es6/index.d.ts +1 -0
- package/dist/files-dependency-builder/detectives/detective-es6/index.js +18 -0
- package/dist/files-dependency-builder/detectives/detective-es6/index.js.map +1 -0
- package/dist/files-dependency-builder/detectives/detective-less/index.d.ts +1 -0
- package/dist/files-dependency-builder/detectives/detective-less/index.js +18 -0
- package/dist/files-dependency-builder/detectives/detective-less/index.js.map +1 -0
- package/dist/files-dependency-builder/detectives/detective-sass/index.d.ts +1 -0
- package/dist/files-dependency-builder/detectives/detective-sass/index.js +18 -0
- package/dist/files-dependency-builder/detectives/detective-sass/index.js.map +1 -0
- package/dist/files-dependency-builder/detectives/detective-scss/index.d.ts +1 -0
- package/dist/files-dependency-builder/detectives/detective-scss/index.js +18 -0
- package/dist/files-dependency-builder/detectives/detective-scss/index.js.map +1 -0
- package/dist/files-dependency-builder/detectives/detective-typescript/index.d.ts +1 -0
- package/dist/files-dependency-builder/detectives/detective-typescript/index.js +18 -0
- package/dist/files-dependency-builder/detectives/detective-typescript/index.js.map +1 -0
- package/dist/files-dependency-builder/detector-hook.d.ts +47 -0
- package/dist/files-dependency-builder/detector-hook.js +29 -0
- package/dist/files-dependency-builder/detector-hook.js.map +1 -0
- package/dist/files-dependency-builder/filing-cabinet/index.d.ts +17 -0
- package/dist/files-dependency-builder/filing-cabinet/index.js +140 -0
- package/dist/files-dependency-builder/filing-cabinet/index.js.map +1 -0
- package/dist/files-dependency-builder/filing-cabinet/index.spec.d.ts +1 -0
- package/dist/files-dependency-builder/filing-cabinet/index.spec.js +651 -0
- package/dist/files-dependency-builder/filing-cabinet/index.spec.js.map +1 -0
- package/dist/files-dependency-builder/fixtures/build-tree/a.d.ts +1 -0
- package/dist/files-dependency-builder/fixtures/build-tree/a.js +6 -0
- package/dist/files-dependency-builder/fixtures/build-tree/a.js.map +1 -0
- package/dist/files-dependency-builder/fixtures/build-tree/b.d.ts +1 -0
- package/dist/files-dependency-builder/fixtures/build-tree/b.js +6 -0
- package/dist/files-dependency-builder/fixtures/build-tree/b.js.map +1 -0
- package/dist/files-dependency-builder/fixtures/build-tree/not-link-file/file-a.d.ts +1 -0
- package/dist/files-dependency-builder/fixtures/build-tree/not-link-file/file-a.js +3 -0
- package/dist/files-dependency-builder/fixtures/build-tree/not-link-file/file-a.js.map +1 -0
- package/dist/files-dependency-builder/fixtures/build-tree/not-link-file/file-b.d.ts +1 -0
- package/dist/files-dependency-builder/fixtures/build-tree/not-link-file/file-b.js +3 -0
- package/dist/files-dependency-builder/fixtures/build-tree/not-link-file/file-b.js.map +1 -0
- package/dist/files-dependency-builder/fixtures/build-tree/not-link-file/file-c.d.ts +1 -0
- package/dist/files-dependency-builder/fixtures/build-tree/not-link-file/file-c.js +10 -0
- package/dist/files-dependency-builder/fixtures/build-tree/not-link-file/file-c.js.map +1 -0
- package/dist/files-dependency-builder/fixtures/build-tree/tree-shaking-cycle/foo.d.ts +1 -0
- package/dist/files-dependency-builder/fixtures/build-tree/tree-shaking-cycle/foo.js +3 -0
- package/dist/files-dependency-builder/fixtures/build-tree/tree-shaking-cycle/foo.js.map +1 -0
- package/dist/files-dependency-builder/fixtures/build-tree/tree-shaking-cycle/index.d.ts +1 -0
- package/dist/files-dependency-builder/fixtures/build-tree/tree-shaking-cycle/index.js +21 -0
- package/dist/files-dependency-builder/fixtures/build-tree/tree-shaking-cycle/index.js.map +1 -0
- package/dist/files-dependency-builder/fixtures/build-tree/tree-shaking-cycle/is-string.d.ts +2 -0
- package/dist/files-dependency-builder/fixtures/build-tree/tree-shaking-cycle/is-string.js +18 -0
- package/dist/files-dependency-builder/fixtures/build-tree/tree-shaking-cycle/is-string.js.map +1 -0
- package/dist/files-dependency-builder/fixtures/build-tree/tree-shaking-cycle/self-cycle.d.ts +2 -0
- package/dist/files-dependency-builder/fixtures/build-tree/tree-shaking-cycle/self-cycle.js +20 -0
- package/dist/files-dependency-builder/fixtures/build-tree/tree-shaking-cycle/self-cycle.js.map +1 -0
- package/dist/files-dependency-builder/fixtures/build-tree/unparsed.d.ts +0 -0
- package/dist/files-dependency-builder/fixtures/build-tree/unparsed.js +5 -0
- package/dist/files-dependency-builder/fixtures/build-tree/unparsed.js.map +1 -0
- package/dist/files-dependency-builder/fixtures/dependency-tree/amd/a.d.ts +0 -0
- package/dist/files-dependency-builder/fixtures/dependency-tree/amd/a.js +10 -0
- package/dist/files-dependency-builder/fixtures/dependency-tree/amd/a.js.map +1 -0
- package/dist/files-dependency-builder/fixtures/dependency-tree/amd/b.d.ts +0 -0
- package/dist/files-dependency-builder/fixtures/dependency-tree/amd/b.js +10 -0
- package/dist/files-dependency-builder/fixtures/dependency-tree/amd/b.js.map +1 -0
- package/dist/files-dependency-builder/fixtures/dependency-tree/amd/c.d.ts +0 -0
- package/dist/files-dependency-builder/fixtures/dependency-tree/amd/c.js +6 -0
- package/dist/files-dependency-builder/fixtures/dependency-tree/amd/c.js.map +1 -0
- package/dist/files-dependency-builder/fixtures/dependency-tree/commonjs/a.d.ts +1 -0
- package/dist/files-dependency-builder/fixtures/dependency-tree/commonjs/a.js +6 -0
- package/dist/files-dependency-builder/fixtures/dependency-tree/commonjs/a.js.map +1 -0
- package/dist/files-dependency-builder/fixtures/dependency-tree/commonjs/b.d.ts +1 -0
- package/dist/files-dependency-builder/fixtures/dependency-tree/commonjs/b.js +6 -0
- package/dist/files-dependency-builder/fixtures/dependency-tree/commonjs/b.js.map +1 -0
- package/dist/files-dependency-builder/fixtures/dependency-tree/commonjs/c.d.ts +1 -0
- package/dist/files-dependency-builder/fixtures/dependency-tree/commonjs/c.js +6 -0
- package/dist/files-dependency-builder/fixtures/dependency-tree/commonjs/c.js.map +1 -0
- package/dist/files-dependency-builder/fixtures/dependency-tree/onlyRealDeps/a.d.ts +1 -0
- package/dist/files-dependency-builder/fixtures/dependency-tree/onlyRealDeps/a.js +8 -0
- package/dist/files-dependency-builder/fixtures/dependency-tree/onlyRealDeps/a.js.map +1 -0
- package/dist/files-dependency-builder/fixtures/dependency-tree/webpack/aliased.d.ts +1 -0
- package/dist/files-dependency-builder/fixtures/dependency-tree/webpack/aliased.js +6 -0
- package/dist/files-dependency-builder/fixtures/dependency-tree/webpack/aliased.js.map +1 -0
- package/dist/files-dependency-builder/fixtures/dependency-tree/webpack/unaliased.d.ts +1 -0
- package/dist/files-dependency-builder/fixtures/dependency-tree/webpack/unaliased.js +6 -0
- package/dist/files-dependency-builder/fixtures/dependency-tree/webpack/unaliased.js.map +1 -0
- package/dist/files-dependency-builder/fixtures/filing-cabinet/ast.d.ts +221 -0
- package/dist/files-dependency-builder/fixtures/filing-cabinet/ast.js +259 -0
- package/dist/files-dependency-builder/fixtures/filing-cabinet/ast.js.map +1 -0
- package/dist/files-dependency-builder/fixtures/filing-cabinet/foo.d.ts +2 -0
- package/dist/files-dependency-builder/fixtures/filing-cabinet/foo.js +12 -0
- package/dist/files-dependency-builder/fixtures/filing-cabinet/foo.js.map +1 -0
- package/dist/files-dependency-builder/fixtures/filing-cabinet/foo.scss +1 -0
- package/dist/files-dependency-builder/fixtures/filing-cabinet/foo2.scss +0 -0
- package/dist/files-dependency-builder/fixtures/filing-cabinet/mockedJSFiles.d.ts +59 -0
- package/dist/files-dependency-builder/fixtures/filing-cabinet/mockedJSFiles.js +65 -0
- package/dist/files-dependency-builder/fixtures/filing-cabinet/mockedJSFiles.js.map +1 -0
- package/dist/files-dependency-builder/fixtures/filing-cabinet/root1/mod1.d.ts +1 -0
- package/dist/files-dependency-builder/fixtures/filing-cabinet/root1/mod1.js +5 -0
- package/dist/files-dependency-builder/fixtures/filing-cabinet/root1/mod1.js.map +1 -0
- package/dist/files-dependency-builder/fixtures/filing-cabinet/root2/mod2.d.ts +1 -0
- package/dist/files-dependency-builder/fixtures/filing-cabinet/root2/mod2.js +5 -0
- package/dist/files-dependency-builder/fixtures/filing-cabinet/root2/mod2.js.map +1 -0
- package/dist/files-dependency-builder/fixtures/filing-cabinet/webpack.config.d.ts +6 -0
- package/dist/files-dependency-builder/fixtures/filing-cabinet/webpack.config.js +12 -0
- package/dist/files-dependency-builder/fixtures/filing-cabinet/webpack.config.js.map +1 -0
- package/dist/files-dependency-builder/fixtures/missing-deps.d.ts +0 -0
- package/dist/files-dependency-builder/fixtures/missing-deps.js +5 -0
- package/dist/files-dependency-builder/fixtures/missing-deps.js.map +1 -0
- package/dist/files-dependency-builder/fixtures/precinct/Gruntfile.d.ts +2 -0
- package/dist/files-dependency-builder/fixtures/precinct/Gruntfile.js +24 -0
- package/dist/files-dependency-builder/fixtures/precinct/Gruntfile.js.map +1 -0
- package/dist/files-dependency-builder/fixtures/precinct/amd.d.ts +0 -0
- package/dist/files-dependency-builder/fixtures/precinct/amd.js +6 -0
- package/dist/files-dependency-builder/fixtures/precinct/amd.js.map +1 -0
- package/dist/files-dependency-builder/fixtures/precinct/bar.foo +1 -0
- package/dist/files-dependency-builder/fixtures/precinct/cjsExportLazy.d.ts +6 -0
- package/dist/files-dependency-builder/fixtures/precinct/cjsExportLazy.js +11 -0
- package/dist/files-dependency-builder/fixtures/precinct/cjsExportLazy.js.map +1 -0
- package/dist/files-dependency-builder/fixtures/precinct/commonjs.d.ts +1 -0
- package/dist/files-dependency-builder/fixtures/precinct/commonjs.js +7 -0
- package/dist/files-dependency-builder/fixtures/precinct/commonjs.js.map +1 -0
- package/dist/files-dependency-builder/fixtures/precinct/coreModules.d.ts +1 -0
- package/dist/files-dependency-builder/fixtures/precinct/coreModules.js +9 -0
- package/dist/files-dependency-builder/fixtures/precinct/coreModules.js.map +1 -0
- package/dist/files-dependency-builder/fixtures/precinct/es6.d.ts +1 -0
- package/dist/files-dependency-builder/fixtures/precinct/es6.js +15 -0
- package/dist/files-dependency-builder/fixtures/precinct/es6.js.map +1 -0
- package/dist/files-dependency-builder/fixtures/precinct/es6MixedExportLazy.d.ts +5 -0
- package/dist/files-dependency-builder/fixtures/precinct/es6MixedExportLazy.js +15 -0
- package/dist/files-dependency-builder/fixtures/precinct/es6MixedExportLazy.js.map +1 -0
- package/dist/files-dependency-builder/fixtures/precinct/es7.d.ts +1 -0
- package/dist/files-dependency-builder/fixtures/precinct/es7.js +7 -0
- package/dist/files-dependency-builder/fixtures/precinct/es7.js.map +1 -0
- package/dist/files-dependency-builder/fixtures/precinct/exampleAST.d.ts +24 -0
- package/dist/files-dependency-builder/fixtures/precinct/exampleAST.js +30 -0
- package/dist/files-dependency-builder/fixtures/precinct/exampleAST.js.map +1 -0
- package/dist/files-dependency-builder/fixtures/precinct/foo.foo +1 -0
- package/dist/files-dependency-builder/fixtures/precinct/styles.css +6 -0
- package/dist/files-dependency-builder/fixtures/precinct/styles.less +4 -0
- package/dist/files-dependency-builder/fixtures/precinct/styles.sass +2 -0
- package/dist/files-dependency-builder/fixtures/precinct/styles.scss +3 -0
- package/dist/files-dependency-builder/fixtures/precinct/styles.styl +5 -0
- package/dist/files-dependency-builder/fixtures/precinct/typescript.d.ts +0 -0
- package/dist/files-dependency-builder/fixtures/precinct/typescript.js +11 -0
- package/dist/files-dependency-builder/fixtures/precinct/typescript.js.map +1 -0
- package/dist/files-dependency-builder/fixtures/precinct/unparseable.d.ts +0 -0
- package/dist/files-dependency-builder/fixtures/precinct/unparseable.js +9 -0
- package/dist/files-dependency-builder/fixtures/precinct/unparseable.js.map +1 -0
- package/dist/files-dependency-builder/fixtures/unsupported-file.pdf +0 -0
- package/dist/files-dependency-builder/generate-tree-madge.d.ts +31 -0
- package/dist/files-dependency-builder/generate-tree-madge.js +196 -0
- package/dist/files-dependency-builder/generate-tree-madge.js.map +1 -0
- package/dist/files-dependency-builder/index.d.ts +3 -0
- package/dist/files-dependency-builder/index.js +34 -0
- package/dist/files-dependency-builder/index.js.map +1 -0
- package/dist/files-dependency-builder/missing-handler.d.ts +34 -0
- package/dist/files-dependency-builder/missing-handler.js +107 -0
- package/dist/files-dependency-builder/missing-handler.js.map +1 -0
- package/dist/files-dependency-builder/path-map.d.ts +20 -0
- package/dist/files-dependency-builder/path-map.js +46 -0
- package/dist/files-dependency-builder/path-map.js.map +1 -0
- package/dist/files-dependency-builder/precinct/index.d.ts +22 -0
- package/dist/files-dependency-builder/precinct/index.js +306 -0
- package/dist/files-dependency-builder/precinct/index.js.map +1 -0
- package/dist/files-dependency-builder/precinct/index.spec.d.ts +1 -0
- package/dist/files-dependency-builder/precinct/index.spec.js +300 -0
- package/dist/files-dependency-builder/precinct/index.spec.js.map +1 -0
- package/dist/files-dependency-builder/types/dependency-tree-type.d.ts +35 -0
- package/dist/files-dependency-builder/types/dependency-tree-type.js +34 -0
- package/dist/files-dependency-builder/types/dependency-tree-type.js.map +1 -0
- package/dist/files-dependency-builder/types/index.d.ts +0 -0
- package/dist/files-dependency-builder/types/index.js +7 -0
- package/dist/files-dependency-builder/types/index.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +25 -0
- package/dist/index.js.map +1 -1
- package/dist/resolve-pkg-data.d.ts +23 -0
- package/dist/resolve-pkg-data.js +157 -0
- package/dist/resolve-pkg-data.js.map +1 -0
- package/files-dependency-builder/build-tree.spec.ts +130 -0
- package/files-dependency-builder/build-tree.ts +185 -0
- package/files-dependency-builder/dependency-tree/Config.ts +68 -0
- package/files-dependency-builder/dependency-tree/index.spec.ts +893 -0
- package/files-dependency-builder/dependency-tree/index.ts +244 -0
- package/files-dependency-builder/detectives/detective-css/index.ts +1 -0
- package/files-dependency-builder/detectives/detective-es6/index.ts +1 -0
- package/files-dependency-builder/detectives/detective-less/index.ts +1 -0
- package/files-dependency-builder/detectives/detective-sass/index.ts +1 -0
- package/files-dependency-builder/detectives/detective-scss/index.ts +1 -0
- package/files-dependency-builder/detectives/detective-typescript/index.ts +1 -0
- package/files-dependency-builder/detector-hook.ts +69 -0
- package/files-dependency-builder/filing-cabinet/index.spec.ts +718 -0
- package/files-dependency-builder/filing-cabinet/index.ts +119 -0
- package/files-dependency-builder/fixtures/build-tree/a.js +2 -0
- package/files-dependency-builder/fixtures/build-tree/b.js +2 -0
- package/files-dependency-builder/fixtures/build-tree/not-link-file/file-a.js +2 -0
- package/files-dependency-builder/fixtures/build-tree/not-link-file/file-b.js +4 -0
- package/files-dependency-builder/fixtures/build-tree/not-link-file/file-c.js +3 -0
- package/files-dependency-builder/fixtures/build-tree/tree-shaking-cycle/foo.js +2 -0
- package/files-dependency-builder/fixtures/build-tree/tree-shaking-cycle/index.js +2 -0
- package/files-dependency-builder/fixtures/build-tree/tree-shaking-cycle/is-string.js +3 -0
- package/files-dependency-builder/fixtures/build-tree/tree-shaking-cycle/self-cycle.js +3 -0
- package/files-dependency-builder/fixtures/build-tree/unparsed.js +2 -0
- package/files-dependency-builder/fixtures/dependency-tree/amd/a.js +6 -0
- package/files-dependency-builder/fixtures/dependency-tree/amd/b.js +6 -0
- package/files-dependency-builder/fixtures/dependency-tree/amd/c.js +2 -0
- package/files-dependency-builder/fixtures/dependency-tree/commonjs/a.js +2 -0
- package/files-dependency-builder/fixtures/dependency-tree/commonjs/b.js +3 -0
- package/files-dependency-builder/fixtures/dependency-tree/commonjs/c.js +3 -0
- package/files-dependency-builder/fixtures/dependency-tree/onlyRealDeps/a.js +4 -0
- package/files-dependency-builder/fixtures/dependency-tree/webpack/aliased.js +2 -0
- package/files-dependency-builder/fixtures/dependency-tree/webpack/unaliased.js +2 -0
- package/files-dependency-builder/fixtures/filing-cabinet/ast.js +266 -0
- package/files-dependency-builder/fixtures/filing-cabinet/foo.jsx +3 -0
- package/files-dependency-builder/fixtures/filing-cabinet/foo.scss +1 -0
- package/files-dependency-builder/fixtures/filing-cabinet/foo2.scss +0 -0
- package/files-dependency-builder/fixtures/filing-cabinet/mockedJSFiles.js +61 -0
- package/files-dependency-builder/fixtures/filing-cabinet/root1/mod1.js +1 -0
- package/files-dependency-builder/fixtures/filing-cabinet/root2/mod2.js +1 -0
- package/files-dependency-builder/fixtures/filing-cabinet/webpack.config.js +8 -0
- package/files-dependency-builder/fixtures/missing-deps.js +2 -0
- package/files-dependency-builder/fixtures/precinct/Gruntfile.js +22 -0
- package/files-dependency-builder/fixtures/precinct/amd.js +2 -0
- package/files-dependency-builder/fixtures/precinct/bar.foo +1 -0
- package/files-dependency-builder/fixtures/precinct/cjsExportLazy.js +7 -0
- package/files-dependency-builder/fixtures/precinct/commonjs.js +3 -0
- package/files-dependency-builder/fixtures/precinct/coreModules.js +5 -0
- package/files-dependency-builder/fixtures/precinct/es6.js +4 -0
- package/files-dependency-builder/fixtures/precinct/es6MixedExportLazy.js +7 -0
- package/files-dependency-builder/fixtures/precinct/es7.js +3 -0
- package/files-dependency-builder/fixtures/precinct/exampleAST.js +32 -0
- package/files-dependency-builder/fixtures/precinct/foo.foo +1 -0
- package/files-dependency-builder/fixtures/precinct/styles.css +6 -0
- package/files-dependency-builder/fixtures/precinct/styles.less +4 -0
- package/files-dependency-builder/fixtures/precinct/styles.sass +2 -0
- package/files-dependency-builder/fixtures/precinct/styles.scss +3 -0
- package/files-dependency-builder/fixtures/precinct/styles.styl +5 -0
- package/files-dependency-builder/fixtures/precinct/typescript.ts +8 -0
- package/files-dependency-builder/fixtures/precinct/unparseable.js +6 -0
- package/files-dependency-builder/fixtures/unsupported-file.pdf +0 -0
- package/files-dependency-builder/generate-tree-madge.ts +200 -0
- package/files-dependency-builder/index.ts +5 -0
- package/files-dependency-builder/missing-handler.ts +76 -0
- package/files-dependency-builder/path-map.ts +38 -0
- package/files-dependency-builder/precinct/index.spec.ts +342 -0
- package/files-dependency-builder/precinct/index.ts +250 -0
- package/files-dependency-builder/types/dependency-tree-type.ts +46 -0
- package/files-dependency-builder/types/index.ts +3 -0
- package/package.json +37 -13
- /package/dist/{preview-1720513025675.js → preview-1720667996237.js} +0 -0
package/artifacts/schema.json
CHANGED
|
@@ -56,11 +56,7 @@
|
|
|
56
56
|
"line": 63,
|
|
57
57
|
"character": 24
|
|
58
58
|
},
|
|
59
|
-
"name": "Workspace"
|
|
60
|
-
"componentId": {
|
|
61
|
-
"scope": "teambit.workspace",
|
|
62
|
-
"name": "workspace"
|
|
63
|
-
}
|
|
59
|
+
"name": "Workspace"
|
|
64
60
|
},
|
|
65
61
|
"isOptional": false,
|
|
66
62
|
"isSpread": false
|
|
@@ -80,11 +76,7 @@
|
|
|
80
76
|
"line": 64,
|
|
81
77
|
"character": 20
|
|
82
78
|
},
|
|
83
|
-
"name": "ScopeMain"
|
|
84
|
-
"componentId": {
|
|
85
|
-
"scope": "teambit.scope",
|
|
86
|
-
"name": "scope"
|
|
87
|
-
}
|
|
79
|
+
"name": "ScopeMain"
|
|
88
80
|
},
|
|
89
81
|
"isOptional": false,
|
|
90
82
|
"isSpread": false
|
|
@@ -104,11 +96,7 @@
|
|
|
104
96
|
"line": 65,
|
|
105
97
|
"character": 33
|
|
106
98
|
},
|
|
107
|
-
"name": "DependencyResolverMain"
|
|
108
|
-
"componentId": {
|
|
109
|
-
"scope": "teambit.dependencies",
|
|
110
|
-
"name": "dependency-resolver"
|
|
111
|
-
}
|
|
99
|
+
"name": "DependencyResolverMain"
|
|
112
100
|
},
|
|
113
101
|
"isOptional": false,
|
|
114
102
|
"isSpread": false
|
|
@@ -128,11 +116,7 @@
|
|
|
128
116
|
"line": 66,
|
|
129
117
|
"character": 23
|
|
130
118
|
},
|
|
131
|
-
"name": "DevFilesMain"
|
|
132
|
-
"componentId": {
|
|
133
|
-
"scope": "teambit.component",
|
|
134
|
-
"name": "dev-files"
|
|
135
|
-
}
|
|
119
|
+
"name": "DevFilesMain"
|
|
136
120
|
},
|
|
137
121
|
"isOptional": false,
|
|
138
122
|
"isSpread": false
|
|
@@ -152,11 +136,7 @@
|
|
|
152
136
|
"line": 67,
|
|
153
137
|
"character": 27
|
|
154
138
|
},
|
|
155
|
-
"name": "AspectLoaderMain"
|
|
156
|
-
"componentId": {
|
|
157
|
-
"scope": "teambit.harmony",
|
|
158
|
-
"name": "aspect-loader"
|
|
159
|
-
}
|
|
139
|
+
"name": "AspectLoaderMain"
|
|
160
140
|
},
|
|
161
141
|
"isOptional": false,
|
|
162
142
|
"isSpread": false
|
|
@@ -176,11 +156,7 @@
|
|
|
176
156
|
"line": 68,
|
|
177
157
|
"character": 20
|
|
178
158
|
},
|
|
179
|
-
"name": "GraphMain"
|
|
180
|
-
"componentId": {
|
|
181
|
-
"scope": "teambit.component",
|
|
182
|
-
"name": "graph"
|
|
183
|
-
}
|
|
159
|
+
"name": "GraphMain"
|
|
184
160
|
},
|
|
185
161
|
"isOptional": false,
|
|
186
162
|
"isSpread": false
|
|
@@ -400,8 +376,7 @@
|
|
|
400
376
|
"line": 102,
|
|
401
377
|
"character": 14
|
|
402
378
|
},
|
|
403
|
-
"name": "SetDependenciesFlags"
|
|
404
|
-
"internalFilePath": "dependencies-cmd.ts"
|
|
379
|
+
"name": "SetDependenciesFlags"
|
|
405
380
|
},
|
|
406
381
|
"isOptional": true,
|
|
407
382
|
"defaultValue": "{}",
|
|
@@ -424,8 +399,7 @@
|
|
|
424
399
|
"line": 103,
|
|
425
400
|
"character": 14
|
|
426
401
|
},
|
|
427
|
-
"name": "SetDependenciesResult"
|
|
428
|
-
"internalFilePath": "dependencies.main.runtime.ts"
|
|
402
|
+
"name": "SetDependenciesResult"
|
|
429
403
|
}
|
|
430
404
|
]
|
|
431
405
|
},
|
|
@@ -506,8 +480,7 @@
|
|
|
506
480
|
"line": 146,
|
|
507
481
|
"character": 14
|
|
508
482
|
},
|
|
509
|
-
"name": "RemoveDependenciesFlags"
|
|
510
|
-
"internalFilePath": "dependencies-cmd.ts"
|
|
483
|
+
"name": "RemoveDependenciesFlags"
|
|
511
484
|
},
|
|
512
485
|
"isOptional": true,
|
|
513
486
|
"defaultValue": "{}",
|
|
@@ -558,8 +531,7 @@
|
|
|
558
531
|
"line": 148,
|
|
559
532
|
"character": 14
|
|
560
533
|
},
|
|
561
|
-
"name": "RemoveDependencyResult"
|
|
562
|
-
"internalFilePath": "dependencies.main.runtime.ts"
|
|
534
|
+
"name": "RemoveDependencyResult"
|
|
563
535
|
}
|
|
564
536
|
}
|
|
565
537
|
]
|
|
@@ -622,12 +594,7 @@
|
|
|
622
594
|
"line": 195,
|
|
623
595
|
"character": 50
|
|
624
596
|
},
|
|
625
|
-
"name": "ComponentID"
|
|
626
|
-
"componentId": {
|
|
627
|
-
"scope": "teambit.component",
|
|
628
|
-
"name": "component-id",
|
|
629
|
-
"version": "1.2.0"
|
|
630
|
-
}
|
|
597
|
+
"name": "ComponentID"
|
|
631
598
|
}
|
|
632
599
|
}
|
|
633
600
|
]
|
|
@@ -690,12 +657,7 @@
|
|
|
690
657
|
"line": 205,
|
|
691
658
|
"character": 50
|
|
692
659
|
},
|
|
693
|
-
"name": "ComponentID"
|
|
694
|
-
"componentId": {
|
|
695
|
-
"scope": "teambit.component",
|
|
696
|
-
"name": "component-id",
|
|
697
|
-
"version": "1.2.0"
|
|
698
|
-
}
|
|
660
|
+
"name": "ComponentID"
|
|
699
661
|
}
|
|
700
662
|
}
|
|
701
663
|
]
|
|
@@ -771,8 +733,7 @@
|
|
|
771
733
|
"line": 223,
|
|
772
734
|
"character": 63
|
|
773
735
|
},
|
|
774
|
-
"name": "DependenciesResults"
|
|
775
|
-
"internalFilePath": "dependencies.main.runtime.ts"
|
|
736
|
+
"name": "DependenciesResults"
|
|
776
737
|
}
|
|
777
738
|
]
|
|
778
739
|
},
|
|
@@ -805,8 +766,7 @@
|
|
|
805
766
|
"line": 233,
|
|
806
767
|
"character": 37
|
|
807
768
|
},
|
|
808
|
-
"name": "ConsumerComponent"
|
|
809
|
-
"packageName": "@teambit/legacy/dist/consumer/component"
|
|
769
|
+
"name": "ConsumerComponent"
|
|
810
770
|
},
|
|
811
771
|
"isOptional": false,
|
|
812
772
|
"isSpread": false
|
|
@@ -826,8 +786,7 @@
|
|
|
826
786
|
"line": 233,
|
|
827
787
|
"character": 62
|
|
828
788
|
},
|
|
829
|
-
"name": "DependencyLoaderOpts"
|
|
830
|
-
"packageName": "@teambit/legacy/dist/consumer/component/component-loader"
|
|
789
|
+
"name": "DependencyLoaderOpts"
|
|
831
790
|
},
|
|
832
791
|
"isOptional": false,
|
|
833
792
|
"isSpread": false
|
|
@@ -882,8 +841,7 @@
|
|
|
882
841
|
"line": 249,
|
|
883
842
|
"character": 46
|
|
884
843
|
},
|
|
885
|
-
"name": "ConsumerComponent"
|
|
886
|
-
"packageName": "@teambit/legacy/dist/consumer/component"
|
|
844
|
+
"name": "ConsumerComponent"
|
|
887
845
|
},
|
|
888
846
|
"isOptional": false,
|
|
889
847
|
"isSpread": false
|
|
@@ -912,8 +870,7 @@
|
|
|
912
870
|
"line": 249,
|
|
913
871
|
"character": 91
|
|
914
872
|
},
|
|
915
|
-
"name": "DependenciesData"
|
|
916
|
-
"internalFilePath": "dependencies-loader/dependencies-data.ts"
|
|
873
|
+
"name": "DependenciesData"
|
|
917
874
|
}
|
|
918
875
|
]
|
|
919
876
|
},
|
|
@@ -981,8 +938,7 @@
|
|
|
981
938
|
"line": 259,
|
|
982
939
|
"character": 48
|
|
983
940
|
},
|
|
984
|
-
"name": "DependenciesResultsDebug"
|
|
985
|
-
"internalFilePath": "dependencies.main.runtime.ts"
|
|
941
|
+
"name": "DependenciesResultsDebug"
|
|
986
942
|
}
|
|
987
943
|
]
|
|
988
944
|
},
|
|
@@ -1402,11 +1358,7 @@
|
|
|
1402
1358
|
"line": 393,
|
|
1403
1359
|
"character": 5
|
|
1404
1360
|
},
|
|
1405
|
-
"name": "CLIMain"
|
|
1406
|
-
"componentId": {
|
|
1407
|
-
"scope": "teambit.harmony",
|
|
1408
|
-
"name": "cli"
|
|
1409
|
-
}
|
|
1361
|
+
"name": "CLIMain"
|
|
1410
1362
|
},
|
|
1411
1363
|
{
|
|
1412
1364
|
"__schema": "TypeRefSchema",
|
|
@@ -1415,11 +1367,7 @@
|
|
|
1415
1367
|
"line": 394,
|
|
1416
1368
|
"character": 5
|
|
1417
1369
|
},
|
|
1418
|
-
"name": "Workspace"
|
|
1419
|
-
"componentId": {
|
|
1420
|
-
"scope": "teambit.workspace",
|
|
1421
|
-
"name": "workspace"
|
|
1422
|
-
}
|
|
1370
|
+
"name": "Workspace"
|
|
1423
1371
|
},
|
|
1424
1372
|
{
|
|
1425
1373
|
"__schema": "TypeRefSchema",
|
|
@@ -1428,11 +1376,7 @@
|
|
|
1428
1376
|
"line": 395,
|
|
1429
1377
|
"character": 5
|
|
1430
1378
|
},
|
|
1431
|
-
"name": "DependencyResolverMain"
|
|
1432
|
-
"componentId": {
|
|
1433
|
-
"scope": "teambit.dependencies",
|
|
1434
|
-
"name": "dependency-resolver"
|
|
1435
|
-
}
|
|
1379
|
+
"name": "DependencyResolverMain"
|
|
1436
1380
|
},
|
|
1437
1381
|
{
|
|
1438
1382
|
"__schema": "TypeRefSchema",
|
|
@@ -1441,11 +1385,7 @@
|
|
|
1441
1385
|
"line": 396,
|
|
1442
1386
|
"character": 5
|
|
1443
1387
|
},
|
|
1444
|
-
"name": "DevFilesMain"
|
|
1445
|
-
"componentId": {
|
|
1446
|
-
"scope": "teambit.component",
|
|
1447
|
-
"name": "dev-files"
|
|
1448
|
-
}
|
|
1388
|
+
"name": "DevFilesMain"
|
|
1449
1389
|
},
|
|
1450
1390
|
{
|
|
1451
1391
|
"__schema": "TypeRefSchema",
|
|
@@ -1454,11 +1394,7 @@
|
|
|
1454
1394
|
"line": 397,
|
|
1455
1395
|
"character": 5
|
|
1456
1396
|
},
|
|
1457
|
-
"name": "AspectLoaderMain"
|
|
1458
|
-
"componentId": {
|
|
1459
|
-
"scope": "teambit.harmony",
|
|
1460
|
-
"name": "aspect-loader"
|
|
1461
|
-
}
|
|
1397
|
+
"name": "AspectLoaderMain"
|
|
1462
1398
|
},
|
|
1463
1399
|
{
|
|
1464
1400
|
"__schema": "TypeRefSchema",
|
|
@@ -1467,11 +1403,7 @@
|
|
|
1467
1403
|
"line": 398,
|
|
1468
1404
|
"character": 5
|
|
1469
1405
|
},
|
|
1470
|
-
"name": "ScopeMain"
|
|
1471
|
-
"componentId": {
|
|
1472
|
-
"scope": "teambit.scope",
|
|
1473
|
-
"name": "scope"
|
|
1474
|
-
}
|
|
1406
|
+
"name": "ScopeMain"
|
|
1475
1407
|
},
|
|
1476
1408
|
{
|
|
1477
1409
|
"__schema": "TypeRefSchema",
|
|
@@ -1480,11 +1412,7 @@
|
|
|
1480
1412
|
"line": 399,
|
|
1481
1413
|
"character": 5
|
|
1482
1414
|
},
|
|
1483
|
-
"name": "GraphMain"
|
|
1484
|
-
"componentId": {
|
|
1485
|
-
"scope": "teambit.component",
|
|
1486
|
-
"name": "graph"
|
|
1487
|
-
}
|
|
1415
|
+
"name": "GraphMain"
|
|
1488
1416
|
}
|
|
1489
1417
|
]
|
|
1490
1418
|
},
|
|
@@ -1511,180 +1439,626 @@
|
|
|
1511
1439
|
"implementNodes": []
|
|
1512
1440
|
}
|
|
1513
1441
|
},
|
|
1514
|
-
{
|
|
1515
|
-
"__schema": "UnImplementedSchema",
|
|
1516
|
-
"location": {
|
|
1517
|
-
"filePath": "index.ts",
|
|
1518
|
-
"line": 4,
|
|
1519
|
-
"character": 16
|
|
1520
|
-
},
|
|
1521
|
-
"name": "DependenciesAspect",
|
|
1522
|
-
"type": "Identifier"
|
|
1523
|
-
},
|
|
1524
1442
|
{
|
|
1525
1443
|
"__schema": "ExportSchema",
|
|
1526
1444
|
"location": {
|
|
1527
1445
|
"filePath": "index.ts",
|
|
1528
|
-
"line":
|
|
1446
|
+
"line": 4,
|
|
1529
1447
|
"character": 10
|
|
1530
1448
|
},
|
|
1531
|
-
"name": "
|
|
1449
|
+
"name": "DetectorHook",
|
|
1532
1450
|
"exportNode": {
|
|
1533
|
-
"__schema": "
|
|
1534
|
-
"location": {
|
|
1535
|
-
"filePath": "dependencies.aspect.ts",
|
|
1536
|
-
"line": 3,
|
|
1537
|
-
"character": 14
|
|
1538
|
-
},
|
|
1539
|
-
"signature": "const DependenciesAspect: Aspect",
|
|
1540
|
-
"name": "DependenciesAspect",
|
|
1541
|
-
"type": {
|
|
1542
|
-
"__schema": "TypeRefSchema",
|
|
1543
|
-
"location": {
|
|
1544
|
-
"filePath": "dependencies.aspect.ts",
|
|
1545
|
-
"line": 3,
|
|
1546
|
-
"character": 14
|
|
1547
|
-
},
|
|
1548
|
-
"name": "Aspect",
|
|
1549
|
-
"componentId": {
|
|
1550
|
-
"scope": "teambit.harmony",
|
|
1551
|
-
"name": "harmony",
|
|
1552
|
-
"version": "0.4.6"
|
|
1553
|
-
}
|
|
1554
|
-
},
|
|
1555
|
-
"isOptional": false,
|
|
1556
|
-
"defaultValue": "Aspect.create({\n id: 'teambit.dependencies/dependencies',\n})"
|
|
1557
|
-
}
|
|
1558
|
-
}
|
|
1559
|
-
],
|
|
1560
|
-
"internals": []
|
|
1561
|
-
},
|
|
1562
|
-
"internals": [
|
|
1563
|
-
{
|
|
1564
|
-
"__schema": "ModuleSchema",
|
|
1565
|
-
"location": {
|
|
1566
|
-
"filePath": "dependencies.main.runtime.ts",
|
|
1567
|
-
"line": 1,
|
|
1568
|
-
"character": 1
|
|
1569
|
-
},
|
|
1570
|
-
"exports": [
|
|
1571
|
-
{
|
|
1572
|
-
"__schema": "TypeSchema",
|
|
1451
|
+
"__schema": "ClassSchema",
|
|
1573
1452
|
"location": {
|
|
1574
|
-
"filePath": "
|
|
1575
|
-
"line":
|
|
1453
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
1454
|
+
"line": 51,
|
|
1576
1455
|
"character": 1
|
|
1577
1456
|
},
|
|
1578
|
-
"signature": "
|
|
1579
|
-
"name": "
|
|
1580
|
-
"
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
"
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1457
|
+
"signature": "class DetectorHook",
|
|
1458
|
+
"name": "DetectorHook",
|
|
1459
|
+
"members": [
|
|
1460
|
+
{
|
|
1461
|
+
"__schema": "VariableLikeSchema",
|
|
1462
|
+
"location": {
|
|
1463
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
1464
|
+
"line": 52,
|
|
1465
|
+
"character": 3
|
|
1466
|
+
},
|
|
1467
|
+
"signature": "(property) DetectorHook.hooks: DependencyDetector[]",
|
|
1468
|
+
"name": "hooks",
|
|
1469
|
+
"type": {
|
|
1470
|
+
"__schema": "TypeArraySchema",
|
|
1590
1471
|
"location": {
|
|
1591
|
-
"filePath": "
|
|
1592
|
-
"line":
|
|
1593
|
-
"character":
|
|
1472
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
1473
|
+
"line": 52,
|
|
1474
|
+
"character": 17
|
|
1594
1475
|
},
|
|
1595
|
-
"signature": "(property) id: ComponentID",
|
|
1596
|
-
"name": "id",
|
|
1597
1476
|
"type": {
|
|
1598
1477
|
"__schema": "TypeRefSchema",
|
|
1599
1478
|
"location": {
|
|
1600
|
-
"filePath": "
|
|
1601
|
-
"line":
|
|
1602
|
-
"character":
|
|
1479
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
1480
|
+
"line": 52,
|
|
1481
|
+
"character": 17
|
|
1603
1482
|
},
|
|
1604
|
-
"name": "
|
|
1605
|
-
|
|
1606
|
-
"scope": "teambit.component",
|
|
1607
|
-
"name": "component-id",
|
|
1608
|
-
"version": "1.2.0"
|
|
1609
|
-
}
|
|
1610
|
-
},
|
|
1611
|
-
"isOptional": false
|
|
1483
|
+
"name": "DependencyDetector"
|
|
1484
|
+
}
|
|
1612
1485
|
},
|
|
1613
|
-
|
|
1614
|
-
|
|
1486
|
+
"isOptional": true,
|
|
1487
|
+
"defaultValue": "[]"
|
|
1488
|
+
},
|
|
1489
|
+
{
|
|
1490
|
+
"__schema": "FunctionLikeSchema",
|
|
1491
|
+
"location": {
|
|
1492
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
1493
|
+
"line": 54,
|
|
1494
|
+
"character": 3
|
|
1495
|
+
},
|
|
1496
|
+
"signature": "(method) DetectorHook.isSupported(ext: string): boolean",
|
|
1497
|
+
"name": "isSupported",
|
|
1498
|
+
"params": [
|
|
1499
|
+
{
|
|
1500
|
+
"__schema": "ParameterSchema",
|
|
1501
|
+
"location": {
|
|
1502
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
1503
|
+
"line": 54,
|
|
1504
|
+
"character": 15
|
|
1505
|
+
},
|
|
1506
|
+
"name": "ext",
|
|
1507
|
+
"type": {
|
|
1508
|
+
"__schema": "KeywordTypeSchema",
|
|
1509
|
+
"location": {
|
|
1510
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
1511
|
+
"line": 54,
|
|
1512
|
+
"character": 20
|
|
1513
|
+
},
|
|
1514
|
+
"name": "string"
|
|
1515
|
+
},
|
|
1516
|
+
"isOptional": false,
|
|
1517
|
+
"isSpread": false
|
|
1518
|
+
}
|
|
1519
|
+
],
|
|
1520
|
+
"returnType": {
|
|
1521
|
+
"__schema": "KeywordTypeSchema",
|
|
1615
1522
|
"location": {
|
|
1616
|
-
"filePath": "
|
|
1617
|
-
"line":
|
|
1618
|
-
"character":
|
|
1523
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
1524
|
+
"line": 54,
|
|
1525
|
+
"character": 29
|
|
1619
1526
|
},
|
|
1620
|
-
"
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1527
|
+
"name": "boolean"
|
|
1528
|
+
},
|
|
1529
|
+
"modifiers": []
|
|
1530
|
+
},
|
|
1531
|
+
{
|
|
1532
|
+
"__schema": "FunctionLikeSchema",
|
|
1533
|
+
"location": {
|
|
1534
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
1535
|
+
"line": 62,
|
|
1536
|
+
"character": 3
|
|
1537
|
+
},
|
|
1538
|
+
"signature": "(method) DetectorHook.getDetector(ext: string): DependencyDetector | undefined",
|
|
1539
|
+
"name": "getDetector",
|
|
1540
|
+
"params": [
|
|
1541
|
+
{
|
|
1542
|
+
"__schema": "ParameterSchema",
|
|
1624
1543
|
"location": {
|
|
1625
|
-
"filePath": "
|
|
1626
|
-
"line":
|
|
1627
|
-
"character":
|
|
1544
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
1545
|
+
"line": 62,
|
|
1546
|
+
"character": 15
|
|
1628
1547
|
},
|
|
1548
|
+
"name": "ext",
|
|
1629
1549
|
"type": {
|
|
1630
1550
|
"__schema": "KeywordTypeSchema",
|
|
1631
1551
|
"location": {
|
|
1632
|
-
"filePath": "
|
|
1633
|
-
"line":
|
|
1634
|
-
"character":
|
|
1552
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
1553
|
+
"line": 62,
|
|
1554
|
+
"character": 20
|
|
1635
1555
|
},
|
|
1636
1556
|
"name": "string"
|
|
1637
|
-
}
|
|
1557
|
+
},
|
|
1558
|
+
"isOptional": false,
|
|
1559
|
+
"isSpread": false
|
|
1560
|
+
}
|
|
1561
|
+
],
|
|
1562
|
+
"returnType": {
|
|
1563
|
+
"__schema": "TypeUnionSchema",
|
|
1564
|
+
"location": {
|
|
1565
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
1566
|
+
"line": 62,
|
|
1567
|
+
"character": 29
|
|
1638
1568
|
},
|
|
1639
|
-
"
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1569
|
+
"types": [
|
|
1570
|
+
{
|
|
1571
|
+
"__schema": "TypeRefSchema",
|
|
1572
|
+
"location": {
|
|
1573
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
1574
|
+
"line": 62,
|
|
1575
|
+
"character": 29
|
|
1576
|
+
},
|
|
1577
|
+
"name": "DependencyDetector"
|
|
1578
|
+
},
|
|
1579
|
+
{
|
|
1580
|
+
"__schema": "KeywordTypeSchema",
|
|
1581
|
+
"location": {
|
|
1582
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
1583
|
+
"line": 62,
|
|
1584
|
+
"character": 50
|
|
1585
|
+
},
|
|
1586
|
+
"name": "undefined"
|
|
1587
|
+
}
|
|
1588
|
+
]
|
|
1589
|
+
},
|
|
1590
|
+
"modifiers": []
|
|
1591
|
+
}
|
|
1592
|
+
],
|
|
1593
|
+
"extendsNodes": [],
|
|
1594
|
+
"implementNodes": []
|
|
1595
|
+
}
|
|
1596
|
+
},
|
|
1597
|
+
{
|
|
1598
|
+
"__schema": "ExportSchema",
|
|
1599
|
+
"location": {
|
|
1600
|
+
"filePath": "index.ts",
|
|
1601
|
+
"line": 4,
|
|
1602
|
+
"character": 24
|
|
1643
1603
|
},
|
|
1644
|
-
|
|
1645
|
-
|
|
1604
|
+
"name": "DependencyDetector",
|
|
1605
|
+
"exportNode": {
|
|
1606
|
+
"__schema": "InterfaceSchema",
|
|
1646
1607
|
"location": {
|
|
1647
|
-
"filePath": "
|
|
1648
|
-
"line":
|
|
1608
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
1609
|
+
"line": 26,
|
|
1649
1610
|
"character": 1
|
|
1650
1611
|
},
|
|
1651
|
-
"signature": "
|
|
1652
|
-
"name": "
|
|
1653
|
-
"
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
"
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
{
|
|
1662
|
-
"__schema": "
|
|
1612
|
+
"signature": "interface DependencyDetector",
|
|
1613
|
+
"name": "DependencyDetector",
|
|
1614
|
+
"members": [
|
|
1615
|
+
{
|
|
1616
|
+
"__schema": "FunctionLikeSchema",
|
|
1617
|
+
"location": {
|
|
1618
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
1619
|
+
"line": 30,
|
|
1620
|
+
"character": 3
|
|
1621
|
+
},
|
|
1622
|
+
"doc": {
|
|
1623
|
+
"__schema": "DocSchema",
|
|
1663
1624
|
"location": {
|
|
1664
|
-
"filePath": "
|
|
1665
|
-
"line":
|
|
1666
|
-
"character":
|
|
1625
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
1626
|
+
"line": 27,
|
|
1627
|
+
"character": 3
|
|
1667
1628
|
},
|
|
1668
|
-
"
|
|
1669
|
-
"
|
|
1670
|
-
"
|
|
1671
|
-
|
|
1629
|
+
"raw": "/**\n * determine whether to apply on given file.\n */",
|
|
1630
|
+
"comment": "determine whether to apply on given file.",
|
|
1631
|
+
"tags": []
|
|
1632
|
+
},
|
|
1633
|
+
"signature": "(method) DependencyDetector.isSupported(context: FileContext): boolean",
|
|
1634
|
+
"name": "isSupported",
|
|
1635
|
+
"params": [
|
|
1636
|
+
{
|
|
1637
|
+
"__schema": "ParameterSchema",
|
|
1672
1638
|
"location": {
|
|
1673
|
-
"filePath": "
|
|
1674
|
-
"line":
|
|
1675
|
-
"character":
|
|
1639
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
1640
|
+
"line": 30,
|
|
1641
|
+
"character": 15
|
|
1676
1642
|
},
|
|
1643
|
+
"name": "context",
|
|
1677
1644
|
"type": {
|
|
1678
|
-
"__schema": "
|
|
1645
|
+
"__schema": "TypeRefSchema",
|
|
1679
1646
|
"location": {
|
|
1680
|
-
"filePath": "
|
|
1681
|
-
"line":
|
|
1682
|
-
"character":
|
|
1647
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
1648
|
+
"line": 30,
|
|
1649
|
+
"character": 24
|
|
1683
1650
|
},
|
|
1684
|
-
"name": "
|
|
1685
|
-
}
|
|
1686
|
-
|
|
1687
|
-
|
|
1651
|
+
"name": "FileContext"
|
|
1652
|
+
},
|
|
1653
|
+
"isOptional": false,
|
|
1654
|
+
"isSpread": false
|
|
1655
|
+
}
|
|
1656
|
+
],
|
|
1657
|
+
"returnType": {
|
|
1658
|
+
"__schema": "KeywordTypeSchema",
|
|
1659
|
+
"location": {
|
|
1660
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
1661
|
+
"line": 30,
|
|
1662
|
+
"character": 38
|
|
1663
|
+
},
|
|
1664
|
+
"name": "boolean"
|
|
1665
|
+
},
|
|
1666
|
+
"modifiers": []
|
|
1667
|
+
},
|
|
1668
|
+
{
|
|
1669
|
+
"__schema": "VariableLikeSchema",
|
|
1670
|
+
"location": {
|
|
1671
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
1672
|
+
"line": 37,
|
|
1673
|
+
"character": 3
|
|
1674
|
+
},
|
|
1675
|
+
"doc": {
|
|
1676
|
+
"__schema": "DocSchema",
|
|
1677
|
+
"location": {
|
|
1678
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
1679
|
+
"line": 32,
|
|
1680
|
+
"character": 3
|
|
1681
|
+
},
|
|
1682
|
+
"raw": "/**\n * determine what type of content the detector is for.\n * by default, the type is the extension name of the file (without the dot)\n * if no type provided.\n */",
|
|
1683
|
+
"comment": "determine what type of content the detector is for.\nby default, the type is the extension name of the file (without the dot)\nif no type provided.",
|
|
1684
|
+
"tags": []
|
|
1685
|
+
},
|
|
1686
|
+
"signature": "(property) DependencyDetector.type?: string | undefined",
|
|
1687
|
+
"name": "type",
|
|
1688
|
+
"type": {
|
|
1689
|
+
"__schema": "KeywordTypeSchema",
|
|
1690
|
+
"location": {
|
|
1691
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
1692
|
+
"line": 37,
|
|
1693
|
+
"character": 10
|
|
1694
|
+
},
|
|
1695
|
+
"name": "string"
|
|
1696
|
+
},
|
|
1697
|
+
"isOptional": true
|
|
1698
|
+
},
|
|
1699
|
+
{
|
|
1700
|
+
"__schema": "FunctionLikeSchema",
|
|
1701
|
+
"location": {
|
|
1702
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
1703
|
+
"line": 42,
|
|
1704
|
+
"character": 3
|
|
1705
|
+
},
|
|
1706
|
+
"doc": {
|
|
1707
|
+
"__schema": "DocSchema",
|
|
1708
|
+
"location": {
|
|
1709
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
1710
|
+
"line": 39,
|
|
1711
|
+
"character": 3
|
|
1712
|
+
},
|
|
1713
|
+
"raw": "/**\n * detect file dependencies. list of file dependencies of the module.\n */",
|
|
1714
|
+
"comment": "detect file dependencies. list of file dependencies of the module.",
|
|
1715
|
+
"tags": []
|
|
1716
|
+
},
|
|
1717
|
+
"signature": "(method) DependencyDetector.detect(fileContent: string): string[]",
|
|
1718
|
+
"name": "detect",
|
|
1719
|
+
"params": [
|
|
1720
|
+
{
|
|
1721
|
+
"__schema": "ParameterSchema",
|
|
1722
|
+
"location": {
|
|
1723
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
1724
|
+
"line": 42,
|
|
1725
|
+
"character": 10
|
|
1726
|
+
},
|
|
1727
|
+
"name": "fileContent",
|
|
1728
|
+
"type": {
|
|
1729
|
+
"__schema": "KeywordTypeSchema",
|
|
1730
|
+
"location": {
|
|
1731
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
1732
|
+
"line": 42,
|
|
1733
|
+
"character": 23
|
|
1734
|
+
},
|
|
1735
|
+
"name": "string"
|
|
1736
|
+
},
|
|
1737
|
+
"isOptional": false,
|
|
1738
|
+
"isSpread": false
|
|
1739
|
+
}
|
|
1740
|
+
],
|
|
1741
|
+
"returnType": {
|
|
1742
|
+
"__schema": "TypeArraySchema",
|
|
1743
|
+
"location": {
|
|
1744
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
1745
|
+
"line": 42,
|
|
1746
|
+
"character": 32
|
|
1747
|
+
},
|
|
1748
|
+
"type": {
|
|
1749
|
+
"__schema": "KeywordTypeSchema",
|
|
1750
|
+
"location": {
|
|
1751
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
1752
|
+
"line": 42,
|
|
1753
|
+
"character": 32
|
|
1754
|
+
},
|
|
1755
|
+
"name": "string"
|
|
1756
|
+
}
|
|
1757
|
+
},
|
|
1758
|
+
"modifiers": []
|
|
1759
|
+
},
|
|
1760
|
+
{
|
|
1761
|
+
"__schema": "FunctionLikeSchema",
|
|
1762
|
+
"location": {
|
|
1763
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
1764
|
+
"line": 48,
|
|
1765
|
+
"character": 3
|
|
1766
|
+
},
|
|
1767
|
+
"doc": {
|
|
1768
|
+
"__schema": "DocSchema",
|
|
1769
|
+
"location": {
|
|
1770
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
1771
|
+
"line": 44,
|
|
1772
|
+
"character": 3
|
|
1773
|
+
},
|
|
1774
|
+
"raw": "/**\n * resolve the imported file location\n * @param file\n */",
|
|
1775
|
+
"comment": "resolve the imported file location",
|
|
1776
|
+
"tags": [
|
|
1777
|
+
{
|
|
1778
|
+
"__schema": "PropertyLikeTagSchema",
|
|
1779
|
+
"location": {
|
|
1780
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
1781
|
+
"line": 46,
|
|
1782
|
+
"character": 6
|
|
1783
|
+
},
|
|
1784
|
+
"name": "file",
|
|
1785
|
+
"tagName": "parameter"
|
|
1786
|
+
}
|
|
1787
|
+
]
|
|
1788
|
+
},
|
|
1789
|
+
"signature": "(method) DependencyDetector.dependencyLookup?(file: DependencyContext): string",
|
|
1790
|
+
"name": "dependencyLookup",
|
|
1791
|
+
"params": [
|
|
1792
|
+
{
|
|
1793
|
+
"__schema": "ParameterSchema",
|
|
1794
|
+
"location": {
|
|
1795
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
1796
|
+
"line": 48,
|
|
1797
|
+
"character": 21
|
|
1798
|
+
},
|
|
1799
|
+
"name": "file",
|
|
1800
|
+
"type": {
|
|
1801
|
+
"__schema": "TypeRefSchema",
|
|
1802
|
+
"location": {
|
|
1803
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
1804
|
+
"line": 48,
|
|
1805
|
+
"character": 27
|
|
1806
|
+
},
|
|
1807
|
+
"name": "DependencyContext"
|
|
1808
|
+
},
|
|
1809
|
+
"isOptional": false,
|
|
1810
|
+
"isSpread": false
|
|
1811
|
+
}
|
|
1812
|
+
],
|
|
1813
|
+
"returnType": {
|
|
1814
|
+
"__schema": "KeywordTypeSchema",
|
|
1815
|
+
"location": {
|
|
1816
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
1817
|
+
"line": 48,
|
|
1818
|
+
"character": 47
|
|
1819
|
+
},
|
|
1820
|
+
"name": "string"
|
|
1821
|
+
},
|
|
1822
|
+
"modifiers": []
|
|
1823
|
+
}
|
|
1824
|
+
],
|
|
1825
|
+
"extendsNodes": []
|
|
1826
|
+
}
|
|
1827
|
+
},
|
|
1828
|
+
{
|
|
1829
|
+
"__schema": "ExportSchema",
|
|
1830
|
+
"location": {
|
|
1831
|
+
"filePath": "index.ts",
|
|
1832
|
+
"line": 4,
|
|
1833
|
+
"character": 44
|
|
1834
|
+
},
|
|
1835
|
+
"name": "FileContext",
|
|
1836
|
+
"exportNode": {
|
|
1837
|
+
"__schema": "TypeSchema",
|
|
1838
|
+
"location": {
|
|
1839
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
1840
|
+
"line": 1,
|
|
1841
|
+
"character": 1
|
|
1842
|
+
},
|
|
1843
|
+
"signature": "type FileContext = {\n ext: string;\n}",
|
|
1844
|
+
"name": "FileContext",
|
|
1845
|
+
"type": {
|
|
1846
|
+
"__schema": "TypeLiteralSchema",
|
|
1847
|
+
"location": {
|
|
1848
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
1849
|
+
"line": 1,
|
|
1850
|
+
"character": 27
|
|
1851
|
+
},
|
|
1852
|
+
"members": [
|
|
1853
|
+
{
|
|
1854
|
+
"__schema": "VariableLikeSchema",
|
|
1855
|
+
"location": {
|
|
1856
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
1857
|
+
"line": 5,
|
|
1858
|
+
"character": 3
|
|
1859
|
+
},
|
|
1860
|
+
"doc": {
|
|
1861
|
+
"__schema": "DocSchema",
|
|
1862
|
+
"location": {
|
|
1863
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
1864
|
+
"line": 2,
|
|
1865
|
+
"character": 3
|
|
1866
|
+
},
|
|
1867
|
+
"raw": "/**\n * extension of the file. (e.g. `.js`, '.jsx', '.ts', etc.)\n */",
|
|
1868
|
+
"comment": "extension of the file. (e.g. `.js`, '.jsx', '.ts', etc.)",
|
|
1869
|
+
"tags": []
|
|
1870
|
+
},
|
|
1871
|
+
"signature": "(property) ext: string",
|
|
1872
|
+
"name": "ext",
|
|
1873
|
+
"type": {
|
|
1874
|
+
"__schema": "KeywordTypeSchema",
|
|
1875
|
+
"location": {
|
|
1876
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
1877
|
+
"line": 5,
|
|
1878
|
+
"character": 8
|
|
1879
|
+
},
|
|
1880
|
+
"name": "string"
|
|
1881
|
+
},
|
|
1882
|
+
"isOptional": false
|
|
1883
|
+
}
|
|
1884
|
+
]
|
|
1885
|
+
}
|
|
1886
|
+
}
|
|
1887
|
+
},
|
|
1888
|
+
{
|
|
1889
|
+
"__schema": "UnImplementedSchema",
|
|
1890
|
+
"location": {
|
|
1891
|
+
"filePath": "index.ts",
|
|
1892
|
+
"line": 5,
|
|
1893
|
+
"character": 16
|
|
1894
|
+
},
|
|
1895
|
+
"name": "DependenciesAspect",
|
|
1896
|
+
"type": "Identifier"
|
|
1897
|
+
},
|
|
1898
|
+
{
|
|
1899
|
+
"__schema": "ExportSchema",
|
|
1900
|
+
"location": {
|
|
1901
|
+
"filePath": "index.ts",
|
|
1902
|
+
"line": 6,
|
|
1903
|
+
"character": 10
|
|
1904
|
+
},
|
|
1905
|
+
"name": "DependenciesAspect",
|
|
1906
|
+
"exportNode": {
|
|
1907
|
+
"__schema": "VariableLikeSchema",
|
|
1908
|
+
"location": {
|
|
1909
|
+
"filePath": "dependencies.aspect.ts",
|
|
1910
|
+
"line": 3,
|
|
1911
|
+
"character": 14
|
|
1912
|
+
},
|
|
1913
|
+
"signature": "const DependenciesAspect: Aspect",
|
|
1914
|
+
"name": "DependenciesAspect",
|
|
1915
|
+
"type": {
|
|
1916
|
+
"__schema": "TypeRefSchema",
|
|
1917
|
+
"location": {
|
|
1918
|
+
"filePath": "dependencies.aspect.ts",
|
|
1919
|
+
"line": 3,
|
|
1920
|
+
"character": 14
|
|
1921
|
+
},
|
|
1922
|
+
"name": "Aspect",
|
|
1923
|
+
"componentId": {
|
|
1924
|
+
"scope": "teambit.harmony",
|
|
1925
|
+
"name": "harmony",
|
|
1926
|
+
"version": "0.4.6"
|
|
1927
|
+
}
|
|
1928
|
+
},
|
|
1929
|
+
"isOptional": false,
|
|
1930
|
+
"defaultValue": "Aspect.create({\n id: 'teambit.dependencies/dependencies',\n})"
|
|
1931
|
+
}
|
|
1932
|
+
}
|
|
1933
|
+
],
|
|
1934
|
+
"internals": []
|
|
1935
|
+
},
|
|
1936
|
+
"internals": [
|
|
1937
|
+
{
|
|
1938
|
+
"__schema": "ModuleSchema",
|
|
1939
|
+
"location": {
|
|
1940
|
+
"filePath": "dependencies.main.runtime.ts",
|
|
1941
|
+
"line": 1,
|
|
1942
|
+
"character": 1
|
|
1943
|
+
},
|
|
1944
|
+
"exports": [
|
|
1945
|
+
{
|
|
1946
|
+
"__schema": "TypeSchema",
|
|
1947
|
+
"location": {
|
|
1948
|
+
"filePath": "dependencies.main.runtime.ts",
|
|
1949
|
+
"line": 42,
|
|
1950
|
+
"character": 1
|
|
1951
|
+
},
|
|
1952
|
+
"signature": "type RemoveDependencyResult = {\n id: ComponentID;\n removedPackages: string[];\n}",
|
|
1953
|
+
"name": "RemoveDependencyResult",
|
|
1954
|
+
"type": {
|
|
1955
|
+
"__schema": "TypeLiteralSchema",
|
|
1956
|
+
"location": {
|
|
1957
|
+
"filePath": "dependencies.main.runtime.ts",
|
|
1958
|
+
"line": 42,
|
|
1959
|
+
"character": 38
|
|
1960
|
+
},
|
|
1961
|
+
"members": [
|
|
1962
|
+
{
|
|
1963
|
+
"__schema": "VariableLikeSchema",
|
|
1964
|
+
"location": {
|
|
1965
|
+
"filePath": "dependencies.main.runtime.ts",
|
|
1966
|
+
"line": 42,
|
|
1967
|
+
"character": 40
|
|
1968
|
+
},
|
|
1969
|
+
"signature": "(property) id: ComponentID",
|
|
1970
|
+
"name": "id",
|
|
1971
|
+
"type": {
|
|
1972
|
+
"__schema": "TypeRefSchema",
|
|
1973
|
+
"location": {
|
|
1974
|
+
"filePath": "dependencies.main.runtime.ts",
|
|
1975
|
+
"line": 42,
|
|
1976
|
+
"character": 40
|
|
1977
|
+
},
|
|
1978
|
+
"name": "ComponentID",
|
|
1979
|
+
"componentId": {
|
|
1980
|
+
"scope": "teambit.component",
|
|
1981
|
+
"name": "component-id",
|
|
1982
|
+
"version": "1.2.0"
|
|
1983
|
+
}
|
|
1984
|
+
},
|
|
1985
|
+
"isOptional": false
|
|
1986
|
+
},
|
|
1987
|
+
{
|
|
1988
|
+
"__schema": "VariableLikeSchema",
|
|
1989
|
+
"location": {
|
|
1990
|
+
"filePath": "dependencies.main.runtime.ts",
|
|
1991
|
+
"line": 42,
|
|
1992
|
+
"character": 57
|
|
1993
|
+
},
|
|
1994
|
+
"signature": "(property) removedPackages: string[]",
|
|
1995
|
+
"name": "removedPackages",
|
|
1996
|
+
"type": {
|
|
1997
|
+
"__schema": "TypeArraySchema",
|
|
1998
|
+
"location": {
|
|
1999
|
+
"filePath": "dependencies.main.runtime.ts",
|
|
2000
|
+
"line": 42,
|
|
2001
|
+
"character": 74
|
|
2002
|
+
},
|
|
2003
|
+
"type": {
|
|
2004
|
+
"__schema": "KeywordTypeSchema",
|
|
2005
|
+
"location": {
|
|
2006
|
+
"filePath": "dependencies.main.runtime.ts",
|
|
2007
|
+
"line": 42,
|
|
2008
|
+
"character": 74
|
|
2009
|
+
},
|
|
2010
|
+
"name": "string"
|
|
2011
|
+
}
|
|
2012
|
+
},
|
|
2013
|
+
"isOptional": false
|
|
2014
|
+
}
|
|
2015
|
+
]
|
|
2016
|
+
}
|
|
2017
|
+
},
|
|
2018
|
+
{
|
|
2019
|
+
"__schema": "TypeSchema",
|
|
2020
|
+
"location": {
|
|
2021
|
+
"filePath": "dependencies.main.runtime.ts",
|
|
2022
|
+
"line": 43,
|
|
2023
|
+
"character": 1
|
|
2024
|
+
},
|
|
2025
|
+
"signature": "type SetDependenciesResult = {\n changedComps: string[];\n addedPackages: Record<string, string>;\n}",
|
|
2026
|
+
"name": "SetDependenciesResult",
|
|
2027
|
+
"type": {
|
|
2028
|
+
"__schema": "TypeLiteralSchema",
|
|
2029
|
+
"location": {
|
|
2030
|
+
"filePath": "dependencies.main.runtime.ts",
|
|
2031
|
+
"line": 43,
|
|
2032
|
+
"character": 37
|
|
2033
|
+
},
|
|
2034
|
+
"members": [
|
|
2035
|
+
{
|
|
2036
|
+
"__schema": "VariableLikeSchema",
|
|
2037
|
+
"location": {
|
|
2038
|
+
"filePath": "dependencies.main.runtime.ts",
|
|
2039
|
+
"line": 43,
|
|
2040
|
+
"character": 39
|
|
2041
|
+
},
|
|
2042
|
+
"signature": "(property) changedComps: string[]",
|
|
2043
|
+
"name": "changedComps",
|
|
2044
|
+
"type": {
|
|
2045
|
+
"__schema": "TypeArraySchema",
|
|
2046
|
+
"location": {
|
|
2047
|
+
"filePath": "dependencies.main.runtime.ts",
|
|
2048
|
+
"line": 43,
|
|
2049
|
+
"character": 53
|
|
2050
|
+
},
|
|
2051
|
+
"type": {
|
|
2052
|
+
"__schema": "KeywordTypeSchema",
|
|
2053
|
+
"location": {
|
|
2054
|
+
"filePath": "dependencies.main.runtime.ts",
|
|
2055
|
+
"line": 43,
|
|
2056
|
+
"character": 53
|
|
2057
|
+
},
|
|
2058
|
+
"name": "string"
|
|
2059
|
+
}
|
|
2060
|
+
},
|
|
2061
|
+
"isOptional": false
|
|
1688
2062
|
},
|
|
1689
2063
|
{
|
|
1690
2064
|
"__schema": "VariableLikeSchema",
|
|
@@ -1753,8 +2127,7 @@
|
|
|
1753
2127
|
"line": 44,
|
|
1754
2128
|
"character": 40
|
|
1755
2129
|
},
|
|
1756
|
-
"name": "DebugDependencies"
|
|
1757
|
-
"internalFilePath": "dependencies-loader/auto-detect-deps.ts"
|
|
2130
|
+
"name": "DebugDependencies"
|
|
1758
2131
|
},
|
|
1759
2132
|
{
|
|
1760
2133
|
"__schema": "TypeRefSchema",
|
|
@@ -1763,8 +2136,7 @@
|
|
|
1763
2136
|
"line": 45,
|
|
1764
2137
|
"character": 3
|
|
1765
2138
|
},
|
|
1766
|
-
"name": "OverridesDependenciesData"
|
|
1767
|
-
"internalFilePath": "dependencies-loader/dependencies-data.ts"
|
|
2139
|
+
"name": "OverridesDependenciesData"
|
|
1768
2140
|
},
|
|
1769
2141
|
{
|
|
1770
2142
|
"__schema": "TypeLiteralSchema",
|
|
@@ -2080,51 +2452,319 @@
|
|
|
2080
2452
|
},
|
|
2081
2453
|
"name": "string"
|
|
2082
2454
|
},
|
|
2083
|
-
"isOptional": false
|
|
2084
|
-
}
|
|
2085
|
-
]
|
|
2086
|
-
}
|
|
2087
|
-
},
|
|
2088
|
-
{
|
|
2089
|
-
"__schema": "ClassSchema",
|
|
2090
|
-
"location": {
|
|
2091
|
-
"filePath": "dependencies.main.runtime.ts",
|
|
2092
|
-
"line": 61,
|
|
2093
|
-
"character": 1
|
|
2094
|
-
},
|
|
2095
|
-
"signature": "class DependenciesMain",
|
|
2096
|
-
"name": "DependenciesMain",
|
|
2097
|
-
"members": [
|
|
2455
|
+
"isOptional": false
|
|
2456
|
+
}
|
|
2457
|
+
]
|
|
2458
|
+
}
|
|
2459
|
+
},
|
|
2460
|
+
{
|
|
2461
|
+
"__schema": "ClassSchema",
|
|
2462
|
+
"location": {
|
|
2463
|
+
"filePath": "dependencies.main.runtime.ts",
|
|
2464
|
+
"line": 61,
|
|
2465
|
+
"character": 1
|
|
2466
|
+
},
|
|
2467
|
+
"signature": "class DependenciesMain",
|
|
2468
|
+
"name": "DependenciesMain",
|
|
2469
|
+
"members": [
|
|
2470
|
+
{
|
|
2471
|
+
"__schema": "ConstructorSchema",
|
|
2472
|
+
"location": {
|
|
2473
|
+
"filePath": "dependencies.main.runtime.ts",
|
|
2474
|
+
"line": 62,
|
|
2475
|
+
"character": 3
|
|
2476
|
+
},
|
|
2477
|
+
"signature": "constructor DependenciesMain(workspace: Workspace, scope: ScopeMain, dependencyResolver: DependencyResolverMain, devFiles: DevFilesMain, aspectLoader: AspectLoaderMain, graph: GraphMain): DependenciesMain",
|
|
2478
|
+
"name": "constructor",
|
|
2479
|
+
"params": [
|
|
2480
|
+
{
|
|
2481
|
+
"__schema": "ParameterSchema",
|
|
2482
|
+
"location": {
|
|
2483
|
+
"filePath": "dependencies.main.runtime.ts",
|
|
2484
|
+
"line": 63,
|
|
2485
|
+
"character": 5
|
|
2486
|
+
},
|
|
2487
|
+
"name": "workspace",
|
|
2488
|
+
"type": {
|
|
2489
|
+
"__schema": "TypeRefSchema",
|
|
2490
|
+
"location": {
|
|
2491
|
+
"filePath": "dependencies.main.runtime.ts",
|
|
2492
|
+
"line": 63,
|
|
2493
|
+
"character": 24
|
|
2494
|
+
},
|
|
2495
|
+
"name": "Workspace"
|
|
2496
|
+
},
|
|
2497
|
+
"isOptional": false,
|
|
2498
|
+
"isSpread": false
|
|
2499
|
+
},
|
|
2500
|
+
{
|
|
2501
|
+
"__schema": "ParameterSchema",
|
|
2502
|
+
"location": {
|
|
2503
|
+
"filePath": "dependencies.main.runtime.ts",
|
|
2504
|
+
"line": 64,
|
|
2505
|
+
"character": 5
|
|
2506
|
+
},
|
|
2507
|
+
"name": "scope",
|
|
2508
|
+
"type": {
|
|
2509
|
+
"__schema": "TypeRefSchema",
|
|
2510
|
+
"location": {
|
|
2511
|
+
"filePath": "dependencies.main.runtime.ts",
|
|
2512
|
+
"line": 64,
|
|
2513
|
+
"character": 20
|
|
2514
|
+
},
|
|
2515
|
+
"name": "ScopeMain"
|
|
2516
|
+
},
|
|
2517
|
+
"isOptional": false,
|
|
2518
|
+
"isSpread": false
|
|
2519
|
+
},
|
|
2520
|
+
{
|
|
2521
|
+
"__schema": "ParameterSchema",
|
|
2522
|
+
"location": {
|
|
2523
|
+
"filePath": "dependencies.main.runtime.ts",
|
|
2524
|
+
"line": 65,
|
|
2525
|
+
"character": 5
|
|
2526
|
+
},
|
|
2527
|
+
"name": "dependencyResolver",
|
|
2528
|
+
"type": {
|
|
2529
|
+
"__schema": "TypeRefSchema",
|
|
2530
|
+
"location": {
|
|
2531
|
+
"filePath": "dependencies.main.runtime.ts",
|
|
2532
|
+
"line": 65,
|
|
2533
|
+
"character": 33
|
|
2534
|
+
},
|
|
2535
|
+
"name": "DependencyResolverMain"
|
|
2536
|
+
},
|
|
2537
|
+
"isOptional": false,
|
|
2538
|
+
"isSpread": false
|
|
2539
|
+
},
|
|
2540
|
+
{
|
|
2541
|
+
"__schema": "ParameterSchema",
|
|
2542
|
+
"location": {
|
|
2543
|
+
"filePath": "dependencies.main.runtime.ts",
|
|
2544
|
+
"line": 66,
|
|
2545
|
+
"character": 5
|
|
2546
|
+
},
|
|
2547
|
+
"name": "devFiles",
|
|
2548
|
+
"type": {
|
|
2549
|
+
"__schema": "TypeRefSchema",
|
|
2550
|
+
"location": {
|
|
2551
|
+
"filePath": "dependencies.main.runtime.ts",
|
|
2552
|
+
"line": 66,
|
|
2553
|
+
"character": 23
|
|
2554
|
+
},
|
|
2555
|
+
"name": "DevFilesMain"
|
|
2556
|
+
},
|
|
2557
|
+
"isOptional": false,
|
|
2558
|
+
"isSpread": false
|
|
2559
|
+
},
|
|
2560
|
+
{
|
|
2561
|
+
"__schema": "ParameterSchema",
|
|
2562
|
+
"location": {
|
|
2563
|
+
"filePath": "dependencies.main.runtime.ts",
|
|
2564
|
+
"line": 67,
|
|
2565
|
+
"character": 5
|
|
2566
|
+
},
|
|
2567
|
+
"name": "aspectLoader",
|
|
2568
|
+
"type": {
|
|
2569
|
+
"__schema": "TypeRefSchema",
|
|
2570
|
+
"location": {
|
|
2571
|
+
"filePath": "dependencies.main.runtime.ts",
|
|
2572
|
+
"line": 67,
|
|
2573
|
+
"character": 27
|
|
2574
|
+
},
|
|
2575
|
+
"name": "AspectLoaderMain"
|
|
2576
|
+
},
|
|
2577
|
+
"isOptional": false,
|
|
2578
|
+
"isSpread": false
|
|
2579
|
+
},
|
|
2580
|
+
{
|
|
2581
|
+
"__schema": "ParameterSchema",
|
|
2582
|
+
"location": {
|
|
2583
|
+
"filePath": "dependencies.main.runtime.ts",
|
|
2584
|
+
"line": 68,
|
|
2585
|
+
"character": 5
|
|
2586
|
+
},
|
|
2587
|
+
"name": "graph",
|
|
2588
|
+
"type": {
|
|
2589
|
+
"__schema": "TypeRefSchema",
|
|
2590
|
+
"location": {
|
|
2591
|
+
"filePath": "dependencies.main.runtime.ts",
|
|
2592
|
+
"line": 68,
|
|
2593
|
+
"character": 20
|
|
2594
|
+
},
|
|
2595
|
+
"name": "GraphMain"
|
|
2596
|
+
},
|
|
2597
|
+
"isOptional": false,
|
|
2598
|
+
"isSpread": false
|
|
2599
|
+
}
|
|
2600
|
+
],
|
|
2601
|
+
"returnType": {
|
|
2602
|
+
"__schema": "ThisTypeSchema",
|
|
2603
|
+
"location": {
|
|
2604
|
+
"filePath": "dependencies.main.runtime.ts",
|
|
2605
|
+
"line": 61,
|
|
2606
|
+
"character": 1
|
|
2607
|
+
},
|
|
2608
|
+
"name": "DependenciesMain"
|
|
2609
|
+
},
|
|
2610
|
+
"modifiers": []
|
|
2611
|
+
},
|
|
2612
|
+
{
|
|
2613
|
+
"__schema": "FunctionLikeSchema",
|
|
2614
|
+
"location": {
|
|
2615
|
+
"filePath": "dependencies.main.runtime.ts",
|
|
2616
|
+
"line": 71,
|
|
2617
|
+
"character": 3
|
|
2618
|
+
},
|
|
2619
|
+
"signature": "(method) DependenciesMain.setPeer(componentId: string, range?: string): Promise<void>",
|
|
2620
|
+
"name": "setPeer",
|
|
2621
|
+
"params": [
|
|
2622
|
+
{
|
|
2623
|
+
"__schema": "ParameterSchema",
|
|
2624
|
+
"location": {
|
|
2625
|
+
"filePath": "dependencies.main.runtime.ts",
|
|
2626
|
+
"line": 71,
|
|
2627
|
+
"character": 17
|
|
2628
|
+
},
|
|
2629
|
+
"name": "componentId",
|
|
2630
|
+
"type": {
|
|
2631
|
+
"__schema": "KeywordTypeSchema",
|
|
2632
|
+
"location": {
|
|
2633
|
+
"filePath": "dependencies.main.runtime.ts",
|
|
2634
|
+
"line": 71,
|
|
2635
|
+
"character": 30
|
|
2636
|
+
},
|
|
2637
|
+
"name": "string"
|
|
2638
|
+
},
|
|
2639
|
+
"isOptional": false,
|
|
2640
|
+
"isSpread": false
|
|
2641
|
+
},
|
|
2642
|
+
{
|
|
2643
|
+
"__schema": "ParameterSchema",
|
|
2644
|
+
"location": {
|
|
2645
|
+
"filePath": "dependencies.main.runtime.ts",
|
|
2646
|
+
"line": 71,
|
|
2647
|
+
"character": 38
|
|
2648
|
+
},
|
|
2649
|
+
"name": "range",
|
|
2650
|
+
"type": {
|
|
2651
|
+
"__schema": "KeywordTypeSchema",
|
|
2652
|
+
"location": {
|
|
2653
|
+
"filePath": "dependencies.main.runtime.ts",
|
|
2654
|
+
"line": 71,
|
|
2655
|
+
"character": 46
|
|
2656
|
+
},
|
|
2657
|
+
"name": "string"
|
|
2658
|
+
},
|
|
2659
|
+
"isOptional": true,
|
|
2660
|
+
"isSpread": false
|
|
2661
|
+
}
|
|
2662
|
+
],
|
|
2663
|
+
"returnType": {
|
|
2664
|
+
"__schema": "TypeRefSchema",
|
|
2665
|
+
"location": {
|
|
2666
|
+
"filePath": "dependencies.main.runtime.ts",
|
|
2667
|
+
"line": 71,
|
|
2668
|
+
"character": 55
|
|
2669
|
+
},
|
|
2670
|
+
"name": "Promise",
|
|
2671
|
+
"typeArgs": [
|
|
2672
|
+
{
|
|
2673
|
+
"__schema": "KeywordTypeSchema",
|
|
2674
|
+
"location": {
|
|
2675
|
+
"filePath": "dependencies.main.runtime.ts",
|
|
2676
|
+
"line": 71,
|
|
2677
|
+
"character": 63
|
|
2678
|
+
},
|
|
2679
|
+
"name": "void"
|
|
2680
|
+
}
|
|
2681
|
+
]
|
|
2682
|
+
},
|
|
2683
|
+
"modifiers": [
|
|
2684
|
+
"async"
|
|
2685
|
+
]
|
|
2686
|
+
},
|
|
2687
|
+
{
|
|
2688
|
+
"__schema": "FunctionLikeSchema",
|
|
2689
|
+
"location": {
|
|
2690
|
+
"filePath": "dependencies.main.runtime.ts",
|
|
2691
|
+
"line": 82,
|
|
2692
|
+
"character": 3
|
|
2693
|
+
},
|
|
2694
|
+
"signature": "(method) DependenciesMain.unsetPeer(componentId: string): Promise<void>",
|
|
2695
|
+
"name": "unsetPeer",
|
|
2696
|
+
"params": [
|
|
2697
|
+
{
|
|
2698
|
+
"__schema": "ParameterSchema",
|
|
2699
|
+
"location": {
|
|
2700
|
+
"filePath": "dependencies.main.runtime.ts",
|
|
2701
|
+
"line": 82,
|
|
2702
|
+
"character": 19
|
|
2703
|
+
},
|
|
2704
|
+
"name": "componentId",
|
|
2705
|
+
"type": {
|
|
2706
|
+
"__schema": "KeywordTypeSchema",
|
|
2707
|
+
"location": {
|
|
2708
|
+
"filePath": "dependencies.main.runtime.ts",
|
|
2709
|
+
"line": 82,
|
|
2710
|
+
"character": 32
|
|
2711
|
+
},
|
|
2712
|
+
"name": "string"
|
|
2713
|
+
},
|
|
2714
|
+
"isOptional": false,
|
|
2715
|
+
"isSpread": false
|
|
2716
|
+
}
|
|
2717
|
+
],
|
|
2718
|
+
"returnType": {
|
|
2719
|
+
"__schema": "TypeRefSchema",
|
|
2720
|
+
"location": {
|
|
2721
|
+
"filePath": "dependencies.main.runtime.ts",
|
|
2722
|
+
"line": 82,
|
|
2723
|
+
"character": 41
|
|
2724
|
+
},
|
|
2725
|
+
"name": "Promise",
|
|
2726
|
+
"typeArgs": [
|
|
2727
|
+
{
|
|
2728
|
+
"__schema": "KeywordTypeSchema",
|
|
2729
|
+
"location": {
|
|
2730
|
+
"filePath": "dependencies.main.runtime.ts",
|
|
2731
|
+
"line": 82,
|
|
2732
|
+
"character": 49
|
|
2733
|
+
},
|
|
2734
|
+
"name": "void"
|
|
2735
|
+
}
|
|
2736
|
+
]
|
|
2737
|
+
},
|
|
2738
|
+
"modifiers": [
|
|
2739
|
+
"async"
|
|
2740
|
+
]
|
|
2741
|
+
},
|
|
2098
2742
|
{
|
|
2099
|
-
"__schema": "
|
|
2743
|
+
"__schema": "FunctionLikeSchema",
|
|
2100
2744
|
"location": {
|
|
2101
2745
|
"filePath": "dependencies.main.runtime.ts",
|
|
2102
|
-
"line":
|
|
2746
|
+
"line": 99,
|
|
2103
2747
|
"character": 3
|
|
2104
2748
|
},
|
|
2105
|
-
"signature": "
|
|
2106
|
-
"name": "
|
|
2749
|
+
"signature": "(method) DependenciesMain.setDependency(componentPattern: string, packages: string[], options?: SetDependenciesFlags): Promise<SetDependenciesResult>",
|
|
2750
|
+
"name": "setDependency",
|
|
2107
2751
|
"params": [
|
|
2108
2752
|
{
|
|
2109
2753
|
"__schema": "ParameterSchema",
|
|
2110
2754
|
"location": {
|
|
2111
2755
|
"filePath": "dependencies.main.runtime.ts",
|
|
2112
|
-
"line":
|
|
2756
|
+
"line": 100,
|
|
2113
2757
|
"character": 5
|
|
2114
2758
|
},
|
|
2115
|
-
"name": "
|
|
2759
|
+
"name": "componentPattern",
|
|
2116
2760
|
"type": {
|
|
2117
|
-
"__schema": "
|
|
2761
|
+
"__schema": "KeywordTypeSchema",
|
|
2118
2762
|
"location": {
|
|
2119
2763
|
"filePath": "dependencies.main.runtime.ts",
|
|
2120
|
-
"line":
|
|
2121
|
-
"character":
|
|
2764
|
+
"line": 100,
|
|
2765
|
+
"character": 23
|
|
2122
2766
|
},
|
|
2123
|
-
"name": "
|
|
2124
|
-
"componentId": {
|
|
2125
|
-
"scope": "teambit.workspace",
|
|
2126
|
-
"name": "workspace"
|
|
2127
|
-
}
|
|
2767
|
+
"name": "string"
|
|
2128
2768
|
},
|
|
2129
2769
|
"isOptional": false,
|
|
2130
2770
|
"isSpread": false
|
|
@@ -2133,21 +2773,25 @@
|
|
|
2133
2773
|
"__schema": "ParameterSchema",
|
|
2134
2774
|
"location": {
|
|
2135
2775
|
"filePath": "dependencies.main.runtime.ts",
|
|
2136
|
-
"line":
|
|
2776
|
+
"line": 101,
|
|
2137
2777
|
"character": 5
|
|
2138
2778
|
},
|
|
2139
|
-
"name": "
|
|
2779
|
+
"name": "packages",
|
|
2140
2780
|
"type": {
|
|
2141
|
-
"__schema": "
|
|
2781
|
+
"__schema": "TypeArraySchema",
|
|
2142
2782
|
"location": {
|
|
2143
2783
|
"filePath": "dependencies.main.runtime.ts",
|
|
2144
|
-
"line":
|
|
2145
|
-
"character":
|
|
2784
|
+
"line": 101,
|
|
2785
|
+
"character": 15
|
|
2146
2786
|
},
|
|
2147
|
-
"
|
|
2148
|
-
|
|
2149
|
-
"
|
|
2150
|
-
|
|
2787
|
+
"type": {
|
|
2788
|
+
"__schema": "KeywordTypeSchema",
|
|
2789
|
+
"location": {
|
|
2790
|
+
"filePath": "dependencies.main.runtime.ts",
|
|
2791
|
+
"line": 101,
|
|
2792
|
+
"character": 15
|
|
2793
|
+
},
|
|
2794
|
+
"name": "string"
|
|
2151
2795
|
}
|
|
2152
2796
|
},
|
|
2153
2797
|
"isOptional": false,
|
|
@@ -2157,46 +2801,74 @@
|
|
|
2157
2801
|
"__schema": "ParameterSchema",
|
|
2158
2802
|
"location": {
|
|
2159
2803
|
"filePath": "dependencies.main.runtime.ts",
|
|
2160
|
-
"line":
|
|
2804
|
+
"line": 102,
|
|
2161
2805
|
"character": 5
|
|
2162
2806
|
},
|
|
2163
|
-
"name": "
|
|
2807
|
+
"name": "options",
|
|
2164
2808
|
"type": {
|
|
2165
2809
|
"__schema": "TypeRefSchema",
|
|
2166
2810
|
"location": {
|
|
2167
2811
|
"filePath": "dependencies.main.runtime.ts",
|
|
2168
|
-
"line":
|
|
2169
|
-
"character":
|
|
2812
|
+
"line": 102,
|
|
2813
|
+
"character": 14
|
|
2170
2814
|
},
|
|
2171
|
-
"name": "
|
|
2172
|
-
"componentId": {
|
|
2173
|
-
"scope": "teambit.dependencies",
|
|
2174
|
-
"name": "dependency-resolver"
|
|
2175
|
-
}
|
|
2815
|
+
"name": "SetDependenciesFlags"
|
|
2176
2816
|
},
|
|
2177
|
-
"isOptional":
|
|
2817
|
+
"isOptional": true,
|
|
2818
|
+
"defaultValue": "{}",
|
|
2178
2819
|
"isSpread": false
|
|
2820
|
+
}
|
|
2821
|
+
],
|
|
2822
|
+
"returnType": {
|
|
2823
|
+
"__schema": "TypeRefSchema",
|
|
2824
|
+
"location": {
|
|
2825
|
+
"filePath": "dependencies.main.runtime.ts",
|
|
2826
|
+
"line": 103,
|
|
2827
|
+
"character": 6
|
|
2179
2828
|
},
|
|
2829
|
+
"name": "Promise",
|
|
2830
|
+
"typeArgs": [
|
|
2831
|
+
{
|
|
2832
|
+
"__schema": "TypeRefSchema",
|
|
2833
|
+
"location": {
|
|
2834
|
+
"filePath": "dependencies.main.runtime.ts",
|
|
2835
|
+
"line": 103,
|
|
2836
|
+
"character": 14
|
|
2837
|
+
},
|
|
2838
|
+
"name": "SetDependenciesResult"
|
|
2839
|
+
}
|
|
2840
|
+
]
|
|
2841
|
+
},
|
|
2842
|
+
"modifiers": [
|
|
2843
|
+
"async"
|
|
2844
|
+
]
|
|
2845
|
+
},
|
|
2846
|
+
{
|
|
2847
|
+
"__schema": "FunctionLikeSchema",
|
|
2848
|
+
"location": {
|
|
2849
|
+
"filePath": "dependencies.main.runtime.ts",
|
|
2850
|
+
"line": 143,
|
|
2851
|
+
"character": 3
|
|
2852
|
+
},
|
|
2853
|
+
"signature": "(method) DependenciesMain.removeDependency(componentPattern: string, packages: string[], options?: RemoveDependenciesFlags, removeOnlyIfExists?: boolean): Promise<RemoveDependencyResult[]>",
|
|
2854
|
+
"name": "removeDependency",
|
|
2855
|
+
"params": [
|
|
2180
2856
|
{
|
|
2181
2857
|
"__schema": "ParameterSchema",
|
|
2182
2858
|
"location": {
|
|
2183
2859
|
"filePath": "dependencies.main.runtime.ts",
|
|
2184
|
-
"line":
|
|
2860
|
+
"line": 144,
|
|
2185
2861
|
"character": 5
|
|
2186
2862
|
},
|
|
2187
|
-
"name": "
|
|
2863
|
+
"name": "componentPattern",
|
|
2188
2864
|
"type": {
|
|
2189
|
-
"__schema": "
|
|
2865
|
+
"__schema": "KeywordTypeSchema",
|
|
2190
2866
|
"location": {
|
|
2191
2867
|
"filePath": "dependencies.main.runtime.ts",
|
|
2192
|
-
"line":
|
|
2868
|
+
"line": 144,
|
|
2193
2869
|
"character": 23
|
|
2194
2870
|
},
|
|
2195
|
-
"name": "
|
|
2196
|
-
"componentId": {
|
|
2197
|
-
"scope": "teambit.component",
|
|
2198
|
-
"name": "dev-files"
|
|
2199
|
-
}
|
|
2871
|
+
"name": "string"
|
|
2200
2872
|
},
|
|
2201
2873
|
"isOptional": false,
|
|
2202
2874
|
"isSpread": false
|
|
@@ -2205,21 +2877,25 @@
|
|
|
2205
2877
|
"__schema": "ParameterSchema",
|
|
2206
2878
|
"location": {
|
|
2207
2879
|
"filePath": "dependencies.main.runtime.ts",
|
|
2208
|
-
"line":
|
|
2880
|
+
"line": 145,
|
|
2209
2881
|
"character": 5
|
|
2210
2882
|
},
|
|
2211
|
-
"name": "
|
|
2883
|
+
"name": "packages",
|
|
2212
2884
|
"type": {
|
|
2213
|
-
"__schema": "
|
|
2885
|
+
"__schema": "TypeArraySchema",
|
|
2214
2886
|
"location": {
|
|
2215
2887
|
"filePath": "dependencies.main.runtime.ts",
|
|
2216
|
-
"line":
|
|
2217
|
-
"character":
|
|
2888
|
+
"line": 145,
|
|
2889
|
+
"character": 15
|
|
2218
2890
|
},
|
|
2219
|
-
"
|
|
2220
|
-
|
|
2221
|
-
"
|
|
2222
|
-
|
|
2891
|
+
"type": {
|
|
2892
|
+
"__schema": "KeywordTypeSchema",
|
|
2893
|
+
"location": {
|
|
2894
|
+
"filePath": "dependencies.main.runtime.ts",
|
|
2895
|
+
"line": 145,
|
|
2896
|
+
"character": 15
|
|
2897
|
+
},
|
|
2898
|
+
"name": "string"
|
|
2223
2899
|
}
|
|
2224
2900
|
},
|
|
2225
2901
|
"isOptional": false,
|
|
@@ -2229,106 +2905,133 @@
|
|
|
2229
2905
|
"__schema": "ParameterSchema",
|
|
2230
2906
|
"location": {
|
|
2231
2907
|
"filePath": "dependencies.main.runtime.ts",
|
|
2232
|
-
"line":
|
|
2908
|
+
"line": 146,
|
|
2233
2909
|
"character": 5
|
|
2234
2910
|
},
|
|
2235
|
-
"name": "
|
|
2911
|
+
"name": "options",
|
|
2236
2912
|
"type": {
|
|
2237
2913
|
"__schema": "TypeRefSchema",
|
|
2238
2914
|
"location": {
|
|
2239
2915
|
"filePath": "dependencies.main.runtime.ts",
|
|
2240
|
-
"line":
|
|
2241
|
-
"character":
|
|
2916
|
+
"line": 146,
|
|
2917
|
+
"character": 14
|
|
2242
2918
|
},
|
|
2243
|
-
"name": "
|
|
2244
|
-
"componentId": {
|
|
2245
|
-
"scope": "teambit.component",
|
|
2246
|
-
"name": "graph"
|
|
2247
|
-
}
|
|
2919
|
+
"name": "RemoveDependenciesFlags"
|
|
2248
2920
|
},
|
|
2249
|
-
"isOptional":
|
|
2921
|
+
"isOptional": true,
|
|
2922
|
+
"defaultValue": "{}",
|
|
2923
|
+
"isSpread": false
|
|
2924
|
+
},
|
|
2925
|
+
{
|
|
2926
|
+
"__schema": "ParameterSchema",
|
|
2927
|
+
"location": {
|
|
2928
|
+
"filePath": "dependencies.main.runtime.ts",
|
|
2929
|
+
"line": 147,
|
|
2930
|
+
"character": 5
|
|
2931
|
+
},
|
|
2932
|
+
"name": "removeOnlyIfExists",
|
|
2933
|
+
"type": {
|
|
2934
|
+
"__schema": "InferenceTypeSchema",
|
|
2935
|
+
"location": {
|
|
2936
|
+
"filePath": "dependencies.main.runtime.ts",
|
|
2937
|
+
"line": 147,
|
|
2938
|
+
"character": 5
|
|
2939
|
+
},
|
|
2940
|
+
"type": "boolean"
|
|
2941
|
+
},
|
|
2942
|
+
"isOptional": true,
|
|
2943
|
+
"defaultValue": "false",
|
|
2250
2944
|
"isSpread": false
|
|
2251
2945
|
}
|
|
2252
2946
|
],
|
|
2253
2947
|
"returnType": {
|
|
2254
|
-
"__schema": "
|
|
2948
|
+
"__schema": "TypeRefSchema",
|
|
2255
2949
|
"location": {
|
|
2256
2950
|
"filePath": "dependencies.main.runtime.ts",
|
|
2257
|
-
"line":
|
|
2258
|
-
"character":
|
|
2951
|
+
"line": 148,
|
|
2952
|
+
"character": 6
|
|
2259
2953
|
},
|
|
2260
|
-
"name": "
|
|
2954
|
+
"name": "Promise",
|
|
2955
|
+
"typeArgs": [
|
|
2956
|
+
{
|
|
2957
|
+
"__schema": "TypeArraySchema",
|
|
2958
|
+
"location": {
|
|
2959
|
+
"filePath": "dependencies.main.runtime.ts",
|
|
2960
|
+
"line": 148,
|
|
2961
|
+
"character": 14
|
|
2962
|
+
},
|
|
2963
|
+
"type": {
|
|
2964
|
+
"__schema": "TypeRefSchema",
|
|
2965
|
+
"location": {
|
|
2966
|
+
"filePath": "dependencies.main.runtime.ts",
|
|
2967
|
+
"line": 148,
|
|
2968
|
+
"character": 14
|
|
2969
|
+
},
|
|
2970
|
+
"name": "RemoveDependencyResult"
|
|
2971
|
+
}
|
|
2972
|
+
}
|
|
2973
|
+
]
|
|
2261
2974
|
},
|
|
2262
|
-
"modifiers": [
|
|
2975
|
+
"modifiers": [
|
|
2976
|
+
"async"
|
|
2977
|
+
]
|
|
2263
2978
|
},
|
|
2264
2979
|
{
|
|
2265
2980
|
"__schema": "FunctionLikeSchema",
|
|
2266
2981
|
"location": {
|
|
2267
2982
|
"filePath": "dependencies.main.runtime.ts",
|
|
2268
|
-
"line":
|
|
2983
|
+
"line": 195,
|
|
2269
2984
|
"character": 3
|
|
2270
2985
|
},
|
|
2271
|
-
"signature": "(method) DependenciesMain.
|
|
2272
|
-
"name": "
|
|
2986
|
+
"signature": "(method) DependenciesMain.reset(componentPattern: string): Promise<ComponentID[]>",
|
|
2987
|
+
"name": "reset",
|
|
2273
2988
|
"params": [
|
|
2274
2989
|
{
|
|
2275
2990
|
"__schema": "ParameterSchema",
|
|
2276
2991
|
"location": {
|
|
2277
2992
|
"filePath": "dependencies.main.runtime.ts",
|
|
2278
|
-
"line":
|
|
2279
|
-
"character":
|
|
2993
|
+
"line": 195,
|
|
2994
|
+
"character": 15
|
|
2280
2995
|
},
|
|
2281
|
-
"name": "
|
|
2996
|
+
"name": "componentPattern",
|
|
2282
2997
|
"type": {
|
|
2283
2998
|
"__schema": "KeywordTypeSchema",
|
|
2284
2999
|
"location": {
|
|
2285
3000
|
"filePath": "dependencies.main.runtime.ts",
|
|
2286
|
-
"line":
|
|
2287
|
-
"character":
|
|
3001
|
+
"line": 195,
|
|
3002
|
+
"character": 33
|
|
2288
3003
|
},
|
|
2289
3004
|
"name": "string"
|
|
2290
3005
|
},
|
|
2291
3006
|
"isOptional": false,
|
|
2292
3007
|
"isSpread": false
|
|
2293
|
-
},
|
|
2294
|
-
{
|
|
2295
|
-
"__schema": "ParameterSchema",
|
|
2296
|
-
"location": {
|
|
2297
|
-
"filePath": "dependencies.main.runtime.ts",
|
|
2298
|
-
"line": 71,
|
|
2299
|
-
"character": 38
|
|
2300
|
-
},
|
|
2301
|
-
"name": "range",
|
|
2302
|
-
"type": {
|
|
2303
|
-
"__schema": "KeywordTypeSchema",
|
|
2304
|
-
"location": {
|
|
2305
|
-
"filePath": "dependencies.main.runtime.ts",
|
|
2306
|
-
"line": 71,
|
|
2307
|
-
"character": 46
|
|
2308
|
-
},
|
|
2309
|
-
"name": "string"
|
|
2310
|
-
},
|
|
2311
|
-
"isOptional": true,
|
|
2312
|
-
"isSpread": false
|
|
2313
3008
|
}
|
|
2314
3009
|
],
|
|
2315
3010
|
"returnType": {
|
|
2316
3011
|
"__schema": "TypeRefSchema",
|
|
2317
3012
|
"location": {
|
|
2318
3013
|
"filePath": "dependencies.main.runtime.ts",
|
|
2319
|
-
"line":
|
|
2320
|
-
"character":
|
|
3014
|
+
"line": 195,
|
|
3015
|
+
"character": 42
|
|
2321
3016
|
},
|
|
2322
3017
|
"name": "Promise",
|
|
2323
3018
|
"typeArgs": [
|
|
2324
3019
|
{
|
|
2325
|
-
"__schema": "
|
|
3020
|
+
"__schema": "TypeArraySchema",
|
|
2326
3021
|
"location": {
|
|
2327
3022
|
"filePath": "dependencies.main.runtime.ts",
|
|
2328
|
-
"line":
|
|
2329
|
-
"character":
|
|
3023
|
+
"line": 195,
|
|
3024
|
+
"character": 50
|
|
2330
3025
|
},
|
|
2331
|
-
"
|
|
3026
|
+
"type": {
|
|
3027
|
+
"__schema": "TypeRefSchema",
|
|
3028
|
+
"location": {
|
|
3029
|
+
"filePath": "dependencies.main.runtime.ts",
|
|
3030
|
+
"line": 195,
|
|
3031
|
+
"character": 50
|
|
3032
|
+
},
|
|
3033
|
+
"name": "ComponentID"
|
|
3034
|
+
}
|
|
2332
3035
|
}
|
|
2333
3036
|
]
|
|
2334
3037
|
},
|
|
@@ -2340,26 +3043,26 @@
|
|
|
2340
3043
|
"__schema": "FunctionLikeSchema",
|
|
2341
3044
|
"location": {
|
|
2342
3045
|
"filePath": "dependencies.main.runtime.ts",
|
|
2343
|
-
"line":
|
|
3046
|
+
"line": 205,
|
|
2344
3047
|
"character": 3
|
|
2345
3048
|
},
|
|
2346
|
-
"signature": "(method) DependenciesMain.
|
|
2347
|
-
"name": "
|
|
3049
|
+
"signature": "(method) DependenciesMain.eject(componentPattern: string): Promise<ComponentID[]>",
|
|
3050
|
+
"name": "eject",
|
|
2348
3051
|
"params": [
|
|
2349
3052
|
{
|
|
2350
3053
|
"__schema": "ParameterSchema",
|
|
2351
3054
|
"location": {
|
|
2352
3055
|
"filePath": "dependencies.main.runtime.ts",
|
|
2353
|
-
"line":
|
|
2354
|
-
"character":
|
|
3056
|
+
"line": 205,
|
|
3057
|
+
"character": 15
|
|
2355
3058
|
},
|
|
2356
|
-
"name": "
|
|
3059
|
+
"name": "componentPattern",
|
|
2357
3060
|
"type": {
|
|
2358
3061
|
"__schema": "KeywordTypeSchema",
|
|
2359
3062
|
"location": {
|
|
2360
3063
|
"filePath": "dependencies.main.runtime.ts",
|
|
2361
|
-
"line":
|
|
2362
|
-
"character":
|
|
3064
|
+
"line": 205,
|
|
3065
|
+
"character": 33
|
|
2363
3066
|
},
|
|
2364
3067
|
"name": "string"
|
|
2365
3068
|
},
|
|
@@ -2371,19 +3074,27 @@
|
|
|
2371
3074
|
"__schema": "TypeRefSchema",
|
|
2372
3075
|
"location": {
|
|
2373
3076
|
"filePath": "dependencies.main.runtime.ts",
|
|
2374
|
-
"line":
|
|
2375
|
-
"character":
|
|
3077
|
+
"line": 205,
|
|
3078
|
+
"character": 42
|
|
2376
3079
|
},
|
|
2377
3080
|
"name": "Promise",
|
|
2378
3081
|
"typeArgs": [
|
|
2379
3082
|
{
|
|
2380
|
-
"__schema": "
|
|
3083
|
+
"__schema": "TypeArraySchema",
|
|
2381
3084
|
"location": {
|
|
2382
3085
|
"filePath": "dependencies.main.runtime.ts",
|
|
2383
|
-
"line":
|
|
2384
|
-
"character":
|
|
3086
|
+
"line": 205,
|
|
3087
|
+
"character": 50
|
|
2385
3088
|
},
|
|
2386
|
-
"
|
|
3089
|
+
"type": {
|
|
3090
|
+
"__schema": "TypeRefSchema",
|
|
3091
|
+
"location": {
|
|
3092
|
+
"filePath": "dependencies.main.runtime.ts",
|
|
3093
|
+
"line": 205,
|
|
3094
|
+
"character": 50
|
|
3095
|
+
},
|
|
3096
|
+
"name": "ComponentID"
|
|
3097
|
+
}
|
|
2387
3098
|
}
|
|
2388
3099
|
]
|
|
2389
3100
|
},
|
|
@@ -2395,26 +3106,26 @@
|
|
|
2395
3106
|
"__schema": "FunctionLikeSchema",
|
|
2396
3107
|
"location": {
|
|
2397
3108
|
"filePath": "dependencies.main.runtime.ts",
|
|
2398
|
-
"line":
|
|
3109
|
+
"line": 223,
|
|
2399
3110
|
"character": 3
|
|
2400
3111
|
},
|
|
2401
|
-
"signature": "(method) DependenciesMain.
|
|
2402
|
-
"name": "
|
|
3112
|
+
"signature": "(method) DependenciesMain.getDependencies(id: string, scope?: boolean): Promise<DependenciesResults>",
|
|
3113
|
+
"name": "getDependencies",
|
|
2403
3114
|
"params": [
|
|
2404
3115
|
{
|
|
2405
3116
|
"__schema": "ParameterSchema",
|
|
2406
3117
|
"location": {
|
|
2407
3118
|
"filePath": "dependencies.main.runtime.ts",
|
|
2408
|
-
"line":
|
|
2409
|
-
"character":
|
|
3119
|
+
"line": 223,
|
|
3120
|
+
"character": 25
|
|
2410
3121
|
},
|
|
2411
|
-
"name": "
|
|
3122
|
+
"name": "id",
|
|
2412
3123
|
"type": {
|
|
2413
3124
|
"__schema": "KeywordTypeSchema",
|
|
2414
3125
|
"location": {
|
|
2415
3126
|
"filePath": "dependencies.main.runtime.ts",
|
|
2416
|
-
"line":
|
|
2417
|
-
"character":
|
|
3127
|
+
"line": 223,
|
|
3128
|
+
"character": 29
|
|
2418
3129
|
},
|
|
2419
3130
|
"name": "string"
|
|
2420
3131
|
},
|
|
@@ -2425,50 +3136,20 @@
|
|
|
2425
3136
|
"__schema": "ParameterSchema",
|
|
2426
3137
|
"location": {
|
|
2427
3138
|
"filePath": "dependencies.main.runtime.ts",
|
|
2428
|
-
"line":
|
|
2429
|
-
"character":
|
|
2430
|
-
},
|
|
2431
|
-
"name": "packages",
|
|
2432
|
-
"type": {
|
|
2433
|
-
"__schema": "TypeArraySchema",
|
|
2434
|
-
"location": {
|
|
2435
|
-
"filePath": "dependencies.main.runtime.ts",
|
|
2436
|
-
"line": 101,
|
|
2437
|
-
"character": 15
|
|
2438
|
-
},
|
|
2439
|
-
"type": {
|
|
2440
|
-
"__schema": "KeywordTypeSchema",
|
|
2441
|
-
"location": {
|
|
2442
|
-
"filePath": "dependencies.main.runtime.ts",
|
|
2443
|
-
"line": 101,
|
|
2444
|
-
"character": 15
|
|
2445
|
-
},
|
|
2446
|
-
"name": "string"
|
|
2447
|
-
}
|
|
2448
|
-
},
|
|
2449
|
-
"isOptional": false,
|
|
2450
|
-
"isSpread": false
|
|
2451
|
-
},
|
|
2452
|
-
{
|
|
2453
|
-
"__schema": "ParameterSchema",
|
|
2454
|
-
"location": {
|
|
2455
|
-
"filePath": "dependencies.main.runtime.ts",
|
|
2456
|
-
"line": 102,
|
|
2457
|
-
"character": 5
|
|
3139
|
+
"line": 223,
|
|
3140
|
+
"character": 37
|
|
2458
3141
|
},
|
|
2459
|
-
"name": "
|
|
3142
|
+
"name": "scope",
|
|
2460
3143
|
"type": {
|
|
2461
|
-
"__schema": "
|
|
3144
|
+
"__schema": "KeywordTypeSchema",
|
|
2462
3145
|
"location": {
|
|
2463
3146
|
"filePath": "dependencies.main.runtime.ts",
|
|
2464
|
-
"line":
|
|
2465
|
-
"character":
|
|
3147
|
+
"line": 223,
|
|
3148
|
+
"character": 45
|
|
2466
3149
|
},
|
|
2467
|
-
"name": "
|
|
2468
|
-
"internalFilePath": "dependencies-cmd.ts"
|
|
3150
|
+
"name": "boolean"
|
|
2469
3151
|
},
|
|
2470
3152
|
"isOptional": true,
|
|
2471
|
-
"defaultValue": "{}",
|
|
2472
3153
|
"isSpread": false
|
|
2473
3154
|
}
|
|
2474
3155
|
],
|
|
@@ -2476,8 +3157,8 @@
|
|
|
2476
3157
|
"__schema": "TypeRefSchema",
|
|
2477
3158
|
"location": {
|
|
2478
3159
|
"filePath": "dependencies.main.runtime.ts",
|
|
2479
|
-
"line":
|
|
2480
|
-
"character":
|
|
3160
|
+
"line": 223,
|
|
3161
|
+
"character": 55
|
|
2481
3162
|
},
|
|
2482
3163
|
"name": "Promise",
|
|
2483
3164
|
"typeArgs": [
|
|
@@ -2485,11 +3166,10 @@
|
|
|
2485
3166
|
"__schema": "TypeRefSchema",
|
|
2486
3167
|
"location": {
|
|
2487
3168
|
"filePath": "dependencies.main.runtime.ts",
|
|
2488
|
-
"line":
|
|
2489
|
-
"character":
|
|
3169
|
+
"line": 223,
|
|
3170
|
+
"character": 63
|
|
2490
3171
|
},
|
|
2491
|
-
"name": "
|
|
2492
|
-
"internalFilePath": "dependencies.main.runtime.ts"
|
|
3172
|
+
"name": "DependenciesResults"
|
|
2493
3173
|
}
|
|
2494
3174
|
]
|
|
2495
3175
|
},
|
|
@@ -2501,28 +3181,28 @@
|
|
|
2501
3181
|
"__schema": "FunctionLikeSchema",
|
|
2502
3182
|
"location": {
|
|
2503
3183
|
"filePath": "dependencies.main.runtime.ts",
|
|
2504
|
-
"line":
|
|
3184
|
+
"line": 233,
|
|
2505
3185
|
"character": 3
|
|
2506
3186
|
},
|
|
2507
|
-
"signature": "(method) DependenciesMain.
|
|
2508
|
-
"name": "
|
|
3187
|
+
"signature": "(method) DependenciesMain.loadDependencies(component: ConsumerComponent, opts: DependencyLoaderOpts): Promise<{\n dependenciesData: DependenciesData;\n overridesDependencies: OverridesDependencies;\n debugDependenciesData: DebugDependencies;\n}>",
|
|
3188
|
+
"name": "loadDependencies",
|
|
2509
3189
|
"params": [
|
|
2510
3190
|
{
|
|
2511
3191
|
"__schema": "ParameterSchema",
|
|
2512
3192
|
"location": {
|
|
2513
3193
|
"filePath": "dependencies.main.runtime.ts",
|
|
2514
|
-
"line":
|
|
2515
|
-
"character":
|
|
3194
|
+
"line": 233,
|
|
3195
|
+
"character": 26
|
|
2516
3196
|
},
|
|
2517
|
-
"name": "
|
|
3197
|
+
"name": "component",
|
|
2518
3198
|
"type": {
|
|
2519
|
-
"__schema": "
|
|
3199
|
+
"__schema": "TypeRefSchema",
|
|
2520
3200
|
"location": {
|
|
2521
3201
|
"filePath": "dependencies.main.runtime.ts",
|
|
2522
|
-
"line":
|
|
2523
|
-
"character":
|
|
3202
|
+
"line": 233,
|
|
3203
|
+
"character": 37
|
|
2524
3204
|
},
|
|
2525
|
-
"name": "
|
|
3205
|
+
"name": "ConsumerComponent"
|
|
2526
3206
|
},
|
|
2527
3207
|
"isOptional": false,
|
|
2528
3208
|
"isSpread": false
|
|
@@ -2531,71 +3211,150 @@
|
|
|
2531
3211
|
"__schema": "ParameterSchema",
|
|
2532
3212
|
"location": {
|
|
2533
3213
|
"filePath": "dependencies.main.runtime.ts",
|
|
2534
|
-
"line":
|
|
2535
|
-
"character":
|
|
3214
|
+
"line": 233,
|
|
3215
|
+
"character": 56
|
|
2536
3216
|
},
|
|
2537
|
-
"name": "
|
|
3217
|
+
"name": "opts",
|
|
2538
3218
|
"type": {
|
|
2539
|
-
"__schema": "
|
|
3219
|
+
"__schema": "TypeRefSchema",
|
|
2540
3220
|
"location": {
|
|
2541
3221
|
"filePath": "dependencies.main.runtime.ts",
|
|
2542
|
-
"line":
|
|
2543
|
-
"character":
|
|
3222
|
+
"line": 233,
|
|
3223
|
+
"character": 62
|
|
2544
3224
|
},
|
|
2545
|
-
"
|
|
2546
|
-
"__schema": "KeywordTypeSchema",
|
|
2547
|
-
"location": {
|
|
2548
|
-
"filePath": "dependencies.main.runtime.ts",
|
|
2549
|
-
"line": 145,
|
|
2550
|
-
"character": 15
|
|
2551
|
-
},
|
|
2552
|
-
"name": "string"
|
|
2553
|
-
}
|
|
3225
|
+
"name": "DependencyLoaderOpts"
|
|
2554
3226
|
},
|
|
2555
3227
|
"isOptional": false,
|
|
2556
3228
|
"isSpread": false
|
|
3229
|
+
}
|
|
3230
|
+
],
|
|
3231
|
+
"returnType": {
|
|
3232
|
+
"__schema": "InferenceTypeSchema",
|
|
3233
|
+
"location": {
|
|
3234
|
+
"filePath": "dependencies.main.runtime.ts",
|
|
3235
|
+
"line": 233,
|
|
3236
|
+
"character": 3
|
|
3237
|
+
},
|
|
3238
|
+
"type": "Promise<{\n dependenciesData: DependenciesData;\n overridesDependencies: OverridesDependencies;\n debugDependenciesData: DebugDependencies;\n}>"
|
|
3239
|
+
},
|
|
3240
|
+
"modifiers": [
|
|
3241
|
+
"async"
|
|
3242
|
+
]
|
|
3243
|
+
},
|
|
3244
|
+
{
|
|
3245
|
+
"__schema": "FunctionLikeSchema",
|
|
3246
|
+
"location": {
|
|
3247
|
+
"filePath": "dependencies.main.runtime.ts",
|
|
3248
|
+
"line": 249,
|
|
3249
|
+
"character": 3
|
|
3250
|
+
},
|
|
3251
|
+
"doc": {
|
|
3252
|
+
"__schema": "DocSchema",
|
|
3253
|
+
"location": {
|
|
3254
|
+
"filePath": "dependencies.main.runtime.ts",
|
|
3255
|
+
"line": 243,
|
|
3256
|
+
"character": 3
|
|
2557
3257
|
},
|
|
3258
|
+
"raw": "/**\n * load dependencies without the need for the workspace.\n * the \"auto-detect\" are passed here as \"dependenciesData\". the \"overrides\", such as dependencies from the env,\n * are calculated here.\n * eventually all these dependencies are added to the ConsumerComponent object.\n */",
|
|
3259
|
+
"comment": "load dependencies without the need for the workspace.\nthe \"auto-detect\" are passed here as \"dependenciesData\". the \"overrides\", such as dependencies from the env,\nare calculated here.\neventually all these dependencies are added to the ConsumerComponent object.",
|
|
3260
|
+
"tags": []
|
|
3261
|
+
},
|
|
3262
|
+
"signature": "(method) DependenciesMain.loadDependenciesFromScope(component: ConsumerComponent, dependenciesData: Partial<DependenciesData>): Promise<void>",
|
|
3263
|
+
"name": "loadDependenciesFromScope",
|
|
3264
|
+
"params": [
|
|
2558
3265
|
{
|
|
2559
3266
|
"__schema": "ParameterSchema",
|
|
2560
3267
|
"location": {
|
|
2561
3268
|
"filePath": "dependencies.main.runtime.ts",
|
|
2562
|
-
"line":
|
|
2563
|
-
"character":
|
|
3269
|
+
"line": 249,
|
|
3270
|
+
"character": 35
|
|
2564
3271
|
},
|
|
2565
|
-
"name": "
|
|
3272
|
+
"name": "component",
|
|
2566
3273
|
"type": {
|
|
2567
3274
|
"__schema": "TypeRefSchema",
|
|
2568
3275
|
"location": {
|
|
2569
3276
|
"filePath": "dependencies.main.runtime.ts",
|
|
2570
|
-
"line":
|
|
2571
|
-
"character":
|
|
3277
|
+
"line": 249,
|
|
3278
|
+
"character": 46
|
|
2572
3279
|
},
|
|
2573
|
-
"name": "
|
|
2574
|
-
"internalFilePath": "dependencies-cmd.ts"
|
|
3280
|
+
"name": "ConsumerComponent"
|
|
2575
3281
|
},
|
|
2576
|
-
"isOptional":
|
|
2577
|
-
"
|
|
3282
|
+
"isOptional": false,
|
|
3283
|
+
"isSpread": false
|
|
3284
|
+
},
|
|
3285
|
+
{
|
|
3286
|
+
"__schema": "ParameterSchema",
|
|
3287
|
+
"location": {
|
|
3288
|
+
"filePath": "dependencies.main.runtime.ts",
|
|
3289
|
+
"line": 249,
|
|
3290
|
+
"character": 65
|
|
3291
|
+
},
|
|
3292
|
+
"name": "dependenciesData",
|
|
3293
|
+
"type": {
|
|
3294
|
+
"__schema": "TypeRefSchema",
|
|
3295
|
+
"location": {
|
|
3296
|
+
"filePath": "dependencies.main.runtime.ts",
|
|
3297
|
+
"line": 249,
|
|
3298
|
+
"character": 83
|
|
3299
|
+
},
|
|
3300
|
+
"name": "Partial",
|
|
3301
|
+
"typeArgs": [
|
|
3302
|
+
{
|
|
3303
|
+
"__schema": "TypeRefSchema",
|
|
3304
|
+
"location": {
|
|
3305
|
+
"filePath": "dependencies.main.runtime.ts",
|
|
3306
|
+
"line": 249,
|
|
3307
|
+
"character": 91
|
|
3308
|
+
},
|
|
3309
|
+
"name": "DependenciesData"
|
|
3310
|
+
}
|
|
3311
|
+
]
|
|
3312
|
+
},
|
|
3313
|
+
"isOptional": false,
|
|
2578
3314
|
"isSpread": false
|
|
3315
|
+
}
|
|
3316
|
+
],
|
|
3317
|
+
"returnType": {
|
|
3318
|
+
"__schema": "InferenceTypeSchema",
|
|
3319
|
+
"location": {
|
|
3320
|
+
"filePath": "dependencies.main.runtime.ts",
|
|
3321
|
+
"line": 249,
|
|
3322
|
+
"character": 3
|
|
2579
3323
|
},
|
|
3324
|
+
"type": "Promise<void>"
|
|
3325
|
+
},
|
|
3326
|
+
"modifiers": [
|
|
3327
|
+
"async"
|
|
3328
|
+
]
|
|
3329
|
+
},
|
|
3330
|
+
{
|
|
3331
|
+
"__schema": "FunctionLikeSchema",
|
|
3332
|
+
"location": {
|
|
3333
|
+
"filePath": "dependencies.main.runtime.ts",
|
|
3334
|
+
"line": 259,
|
|
3335
|
+
"character": 3
|
|
3336
|
+
},
|
|
3337
|
+
"signature": "(method) DependenciesMain.debugDependencies(id: string): Promise<DependenciesResultsDebug>",
|
|
3338
|
+
"name": "debugDependencies",
|
|
3339
|
+
"params": [
|
|
2580
3340
|
{
|
|
2581
3341
|
"__schema": "ParameterSchema",
|
|
2582
3342
|
"location": {
|
|
2583
3343
|
"filePath": "dependencies.main.runtime.ts",
|
|
2584
|
-
"line":
|
|
2585
|
-
"character":
|
|
3344
|
+
"line": 259,
|
|
3345
|
+
"character": 27
|
|
2586
3346
|
},
|
|
2587
|
-
"name": "
|
|
3347
|
+
"name": "id",
|
|
2588
3348
|
"type": {
|
|
2589
|
-
"__schema": "
|
|
3349
|
+
"__schema": "KeywordTypeSchema",
|
|
2590
3350
|
"location": {
|
|
2591
3351
|
"filePath": "dependencies.main.runtime.ts",
|
|
2592
|
-
"line":
|
|
2593
|
-
"character":
|
|
3352
|
+
"line": 259,
|
|
3353
|
+
"character": 31
|
|
2594
3354
|
},
|
|
2595
|
-
"
|
|
3355
|
+
"name": "string"
|
|
2596
3356
|
},
|
|
2597
|
-
"isOptional":
|
|
2598
|
-
"defaultValue": "false",
|
|
3357
|
+
"isOptional": false,
|
|
2599
3358
|
"isSpread": false
|
|
2600
3359
|
}
|
|
2601
3360
|
],
|
|
@@ -2603,28 +3362,19 @@
|
|
|
2603
3362
|
"__schema": "TypeRefSchema",
|
|
2604
3363
|
"location": {
|
|
2605
3364
|
"filePath": "dependencies.main.runtime.ts",
|
|
2606
|
-
"line":
|
|
2607
|
-
"character":
|
|
3365
|
+
"line": 259,
|
|
3366
|
+
"character": 40
|
|
2608
3367
|
},
|
|
2609
3368
|
"name": "Promise",
|
|
2610
3369
|
"typeArgs": [
|
|
2611
3370
|
{
|
|
2612
|
-
"__schema": "
|
|
3371
|
+
"__schema": "TypeRefSchema",
|
|
2613
3372
|
"location": {
|
|
2614
3373
|
"filePath": "dependencies.main.runtime.ts",
|
|
2615
|
-
"line":
|
|
2616
|
-
"character":
|
|
3374
|
+
"line": 259,
|
|
3375
|
+
"character": 48
|
|
2617
3376
|
},
|
|
2618
|
-
"
|
|
2619
|
-
"__schema": "TypeRefSchema",
|
|
2620
|
-
"location": {
|
|
2621
|
-
"filePath": "dependencies.main.runtime.ts",
|
|
2622
|
-
"line": 148,
|
|
2623
|
-
"character": 14
|
|
2624
|
-
},
|
|
2625
|
-
"name": "RemoveDependencyResult",
|
|
2626
|
-
"internalFilePath": "dependencies.main.runtime.ts"
|
|
2627
|
-
}
|
|
3377
|
+
"name": "DependenciesResultsDebug"
|
|
2628
3378
|
}
|
|
2629
3379
|
]
|
|
2630
3380
|
},
|
|
@@ -2636,26 +3386,57 @@
|
|
|
2636
3386
|
"__schema": "FunctionLikeSchema",
|
|
2637
3387
|
"location": {
|
|
2638
3388
|
"filePath": "dependencies.main.runtime.ts",
|
|
2639
|
-
"line":
|
|
3389
|
+
"line": 291,
|
|
2640
3390
|
"character": 3
|
|
2641
3391
|
},
|
|
2642
|
-
"
|
|
2643
|
-
|
|
3392
|
+
"doc": {
|
|
3393
|
+
"__schema": "DocSchema",
|
|
3394
|
+
"location": {
|
|
3395
|
+
"filePath": "dependencies.main.runtime.ts",
|
|
3396
|
+
"line": 287,
|
|
3397
|
+
"character": 3
|
|
3398
|
+
},
|
|
3399
|
+
"raw": "/**\n * helps determine what snap/tag changed a specific dependency.\n * the results are sorted from the oldest to newest.\n */",
|
|
3400
|
+
"comment": "helps determine what snap/tag changed a specific dependency.\nthe results are sorted from the oldest to newest.",
|
|
3401
|
+
"tags": []
|
|
3402
|
+
},
|
|
3403
|
+
"signature": "(method) DependenciesMain.blame(compName: string, depName: string): Promise<BlameResult[]>",
|
|
3404
|
+
"name": "blame",
|
|
2644
3405
|
"params": [
|
|
2645
3406
|
{
|
|
2646
3407
|
"__schema": "ParameterSchema",
|
|
2647
3408
|
"location": {
|
|
2648
3409
|
"filePath": "dependencies.main.runtime.ts",
|
|
2649
|
-
"line":
|
|
3410
|
+
"line": 291,
|
|
2650
3411
|
"character": 15
|
|
2651
3412
|
},
|
|
2652
|
-
"name": "
|
|
3413
|
+
"name": "compName",
|
|
2653
3414
|
"type": {
|
|
2654
3415
|
"__schema": "KeywordTypeSchema",
|
|
2655
3416
|
"location": {
|
|
2656
3417
|
"filePath": "dependencies.main.runtime.ts",
|
|
2657
|
-
"line":
|
|
2658
|
-
"character":
|
|
3418
|
+
"line": 291,
|
|
3419
|
+
"character": 25
|
|
3420
|
+
},
|
|
3421
|
+
"name": "string"
|
|
3422
|
+
},
|
|
3423
|
+
"isOptional": false,
|
|
3424
|
+
"isSpread": false
|
|
3425
|
+
},
|
|
3426
|
+
{
|
|
3427
|
+
"__schema": "ParameterSchema",
|
|
3428
|
+
"location": {
|
|
3429
|
+
"filePath": "dependencies.main.runtime.ts",
|
|
3430
|
+
"line": 291,
|
|
3431
|
+
"character": 33
|
|
3432
|
+
},
|
|
3433
|
+
"name": "depName",
|
|
3434
|
+
"type": {
|
|
3435
|
+
"__schema": "KeywordTypeSchema",
|
|
3436
|
+
"location": {
|
|
3437
|
+
"filePath": "dependencies.main.runtime.ts",
|
|
3438
|
+
"line": 291,
|
|
3439
|
+
"character": 42
|
|
2659
3440
|
},
|
|
2660
3441
|
"name": "string"
|
|
2661
3442
|
},
|
|
@@ -2664,37 +3445,13 @@
|
|
|
2664
3445
|
}
|
|
2665
3446
|
],
|
|
2666
3447
|
"returnType": {
|
|
2667
|
-
"__schema": "
|
|
3448
|
+
"__schema": "InferenceTypeSchema",
|
|
2668
3449
|
"location": {
|
|
2669
3450
|
"filePath": "dependencies.main.runtime.ts",
|
|
2670
|
-
"line":
|
|
2671
|
-
"character":
|
|
3451
|
+
"line": 291,
|
|
3452
|
+
"character": 3
|
|
2672
3453
|
},
|
|
2673
|
-
"
|
|
2674
|
-
"typeArgs": [
|
|
2675
|
-
{
|
|
2676
|
-
"__schema": "TypeArraySchema",
|
|
2677
|
-
"location": {
|
|
2678
|
-
"filePath": "dependencies.main.runtime.ts",
|
|
2679
|
-
"line": 195,
|
|
2680
|
-
"character": 50
|
|
2681
|
-
},
|
|
2682
|
-
"type": {
|
|
2683
|
-
"__schema": "TypeRefSchema",
|
|
2684
|
-
"location": {
|
|
2685
|
-
"filePath": "dependencies.main.runtime.ts",
|
|
2686
|
-
"line": 195,
|
|
2687
|
-
"character": 50
|
|
2688
|
-
},
|
|
2689
|
-
"name": "ComponentID",
|
|
2690
|
-
"componentId": {
|
|
2691
|
-
"scope": "teambit.component",
|
|
2692
|
-
"name": "component-id",
|
|
2693
|
-
"version": "1.2.0"
|
|
2694
|
-
}
|
|
2695
|
-
}
|
|
2696
|
-
}
|
|
2697
|
-
]
|
|
3454
|
+
"type": "Promise<BlameResult[]>"
|
|
2698
3455
|
},
|
|
2699
3456
|
"modifiers": [
|
|
2700
3457
|
"async"
|
|
@@ -2704,63 +3461,110 @@
|
|
|
2704
3461
|
"__schema": "FunctionLikeSchema",
|
|
2705
3462
|
"location": {
|
|
2706
3463
|
"filePath": "dependencies.main.runtime.ts",
|
|
2707
|
-
"line":
|
|
3464
|
+
"line": 324,
|
|
2708
3465
|
"character": 3
|
|
2709
3466
|
},
|
|
2710
|
-
"signature": "(method) DependenciesMain.
|
|
2711
|
-
"name": "
|
|
3467
|
+
"signature": "(method) DependenciesMain.usageDeep(depName: string, opts?: {\n depth?: number;\n}): Promise<string | undefined>",
|
|
3468
|
+
"name": "usageDeep",
|
|
2712
3469
|
"params": [
|
|
2713
3470
|
{
|
|
2714
3471
|
"__schema": "ParameterSchema",
|
|
2715
3472
|
"location": {
|
|
2716
3473
|
"filePath": "dependencies.main.runtime.ts",
|
|
2717
|
-
"line":
|
|
2718
|
-
"character":
|
|
3474
|
+
"line": 324,
|
|
3475
|
+
"character": 19
|
|
2719
3476
|
},
|
|
2720
|
-
"name": "
|
|
3477
|
+
"name": "depName",
|
|
2721
3478
|
"type": {
|
|
2722
3479
|
"__schema": "KeywordTypeSchema",
|
|
2723
3480
|
"location": {
|
|
2724
3481
|
"filePath": "dependencies.main.runtime.ts",
|
|
2725
|
-
"line":
|
|
2726
|
-
"character":
|
|
3482
|
+
"line": 324,
|
|
3483
|
+
"character": 28
|
|
2727
3484
|
},
|
|
2728
3485
|
"name": "string"
|
|
2729
3486
|
},
|
|
2730
3487
|
"isOptional": false,
|
|
2731
3488
|
"isSpread": false
|
|
3489
|
+
},
|
|
3490
|
+
{
|
|
3491
|
+
"__schema": "ParameterSchema",
|
|
3492
|
+
"location": {
|
|
3493
|
+
"filePath": "dependencies.main.runtime.ts",
|
|
3494
|
+
"line": 324,
|
|
3495
|
+
"character": 36
|
|
3496
|
+
},
|
|
3497
|
+
"name": "opts",
|
|
3498
|
+
"type": {
|
|
3499
|
+
"__schema": "TypeLiteralSchema",
|
|
3500
|
+
"location": {
|
|
3501
|
+
"filePath": "dependencies.main.runtime.ts",
|
|
3502
|
+
"line": 324,
|
|
3503
|
+
"character": 43
|
|
3504
|
+
},
|
|
3505
|
+
"members": [
|
|
3506
|
+
{
|
|
3507
|
+
"__schema": "VariableLikeSchema",
|
|
3508
|
+
"location": {
|
|
3509
|
+
"filePath": "dependencies.main.runtime.ts",
|
|
3510
|
+
"line": 324,
|
|
3511
|
+
"character": 45
|
|
3512
|
+
},
|
|
3513
|
+
"signature": "(property) depth?: number | undefined",
|
|
3514
|
+
"name": "depth",
|
|
3515
|
+
"type": {
|
|
3516
|
+
"__schema": "KeywordTypeSchema",
|
|
3517
|
+
"location": {
|
|
3518
|
+
"filePath": "dependencies.main.runtime.ts",
|
|
3519
|
+
"line": 324,
|
|
3520
|
+
"character": 53
|
|
3521
|
+
},
|
|
3522
|
+
"name": "number"
|
|
3523
|
+
},
|
|
3524
|
+
"isOptional": true
|
|
3525
|
+
}
|
|
3526
|
+
]
|
|
3527
|
+
},
|
|
3528
|
+
"isOptional": true,
|
|
3529
|
+
"isSpread": false
|
|
2732
3530
|
}
|
|
2733
3531
|
],
|
|
2734
3532
|
"returnType": {
|
|
2735
3533
|
"__schema": "TypeRefSchema",
|
|
2736
3534
|
"location": {
|
|
2737
3535
|
"filePath": "dependencies.main.runtime.ts",
|
|
2738
|
-
"line":
|
|
2739
|
-
"character":
|
|
3536
|
+
"line": 324,
|
|
3537
|
+
"character": 64
|
|
2740
3538
|
},
|
|
2741
3539
|
"name": "Promise",
|
|
2742
3540
|
"typeArgs": [
|
|
2743
3541
|
{
|
|
2744
|
-
"__schema": "
|
|
3542
|
+
"__schema": "TypeUnionSchema",
|
|
2745
3543
|
"location": {
|
|
2746
3544
|
"filePath": "dependencies.main.runtime.ts",
|
|
2747
|
-
"line":
|
|
2748
|
-
"character":
|
|
3545
|
+
"line": 324,
|
|
3546
|
+
"character": 72
|
|
2749
3547
|
},
|
|
2750
|
-
"
|
|
2751
|
-
|
|
2752
|
-
|
|
2753
|
-
"
|
|
2754
|
-
|
|
2755
|
-
|
|
3548
|
+
"types": [
|
|
3549
|
+
{
|
|
3550
|
+
"__schema": "KeywordTypeSchema",
|
|
3551
|
+
"location": {
|
|
3552
|
+
"filePath": "dependencies.main.runtime.ts",
|
|
3553
|
+
"line": 324,
|
|
3554
|
+
"character": 72
|
|
3555
|
+
},
|
|
3556
|
+
"name": "string"
|
|
2756
3557
|
},
|
|
2757
|
-
|
|
2758
|
-
|
|
2759
|
-
"
|
|
2760
|
-
|
|
2761
|
-
|
|
3558
|
+
{
|
|
3559
|
+
"__schema": "KeywordTypeSchema",
|
|
3560
|
+
"location": {
|
|
3561
|
+
"filePath": "dependencies.main.runtime.ts",
|
|
3562
|
+
"line": 324,
|
|
3563
|
+
"character": 81
|
|
3564
|
+
},
|
|
3565
|
+
"name": "undefined"
|
|
2762
3566
|
}
|
|
2763
|
-
|
|
3567
|
+
]
|
|
2764
3568
|
}
|
|
2765
3569
|
]
|
|
2766
3570
|
},
|
|
@@ -2772,50 +3576,63 @@
|
|
|
2772
3576
|
"__schema": "FunctionLikeSchema",
|
|
2773
3577
|
"location": {
|
|
2774
3578
|
"filePath": "dependencies.main.runtime.ts",
|
|
2775
|
-
"line":
|
|
3579
|
+
"line": 339,
|
|
2776
3580
|
"character": 3
|
|
2777
3581
|
},
|
|
2778
|
-
"
|
|
2779
|
-
|
|
2780
|
-
|
|
2781
|
-
|
|
2782
|
-
"
|
|
2783
|
-
"
|
|
2784
|
-
|
|
2785
|
-
|
|
2786
|
-
|
|
2787
|
-
|
|
2788
|
-
|
|
2789
|
-
|
|
2790
|
-
"__schema": "KeywordTypeSchema",
|
|
3582
|
+
"doc": {
|
|
3583
|
+
"__schema": "DocSchema",
|
|
3584
|
+
"location": {
|
|
3585
|
+
"filePath": "dependencies.main.runtime.ts",
|
|
3586
|
+
"line": 335,
|
|
3587
|
+
"character": 3
|
|
3588
|
+
},
|
|
3589
|
+
"raw": "/**\n * @param depName either component-id-string or package-name (of the component or not component)\n * @returns a map of component-id-string to the version of the dependency\n */",
|
|
3590
|
+
"comment": "",
|
|
3591
|
+
"tags": [
|
|
3592
|
+
{
|
|
3593
|
+
"__schema": "PropertyLikeTagSchema",
|
|
2791
3594
|
"location": {
|
|
2792
3595
|
"filePath": "dependencies.main.runtime.ts",
|
|
2793
|
-
"line":
|
|
2794
|
-
"character":
|
|
3596
|
+
"line": 336,
|
|
3597
|
+
"character": 6
|
|
2795
3598
|
},
|
|
2796
|
-
"name": "
|
|
3599
|
+
"name": "depName",
|
|
3600
|
+
"tagName": "parameter",
|
|
3601
|
+
"comment": "either component-id-string or package-name (of the component or not component)"
|
|
2797
3602
|
},
|
|
2798
|
-
|
|
2799
|
-
|
|
2800
|
-
|
|
3603
|
+
{
|
|
3604
|
+
"__schema": "ReturnTagSchema",
|
|
3605
|
+
"location": {
|
|
3606
|
+
"filePath": "dependencies.main.runtime.ts",
|
|
3607
|
+
"line": 337,
|
|
3608
|
+
"character": 6
|
|
3609
|
+
},
|
|
3610
|
+
"tagName": "return",
|
|
3611
|
+
"comment": "a map of component-id-string to the version of the dependency"
|
|
3612
|
+
}
|
|
3613
|
+
]
|
|
3614
|
+
},
|
|
3615
|
+
"signature": "(method) DependenciesMain.usage(depName: string): Promise<{\n [compIdStr: string]: string;\n}>",
|
|
3616
|
+
"name": "usage",
|
|
3617
|
+
"params": [
|
|
2801
3618
|
{
|
|
2802
3619
|
"__schema": "ParameterSchema",
|
|
2803
3620
|
"location": {
|
|
2804
|
-
"filePath": "dependencies.main.runtime.ts",
|
|
2805
|
-
"line":
|
|
2806
|
-
"character":
|
|
3621
|
+
"filePath": "dependencies.main.runtime.ts",
|
|
3622
|
+
"line": 339,
|
|
3623
|
+
"character": 15
|
|
2807
3624
|
},
|
|
2808
|
-
"name": "
|
|
3625
|
+
"name": "depName",
|
|
2809
3626
|
"type": {
|
|
2810
3627
|
"__schema": "KeywordTypeSchema",
|
|
2811
3628
|
"location": {
|
|
2812
3629
|
"filePath": "dependencies.main.runtime.ts",
|
|
2813
|
-
"line":
|
|
2814
|
-
"character":
|
|
3630
|
+
"line": 339,
|
|
3631
|
+
"character": 24
|
|
2815
3632
|
},
|
|
2816
|
-
"name": "
|
|
3633
|
+
"name": "string"
|
|
2817
3634
|
},
|
|
2818
|
-
"isOptional":
|
|
3635
|
+
"isOptional": false,
|
|
2819
3636
|
"isSpread": false
|
|
2820
3637
|
}
|
|
2821
3638
|
],
|
|
@@ -2823,20 +3640,57 @@
|
|
|
2823
3640
|
"__schema": "TypeRefSchema",
|
|
2824
3641
|
"location": {
|
|
2825
3642
|
"filePath": "dependencies.main.runtime.ts",
|
|
2826
|
-
"line":
|
|
2827
|
-
"character":
|
|
3643
|
+
"line": 339,
|
|
3644
|
+
"character": 33
|
|
2828
3645
|
},
|
|
2829
3646
|
"name": "Promise",
|
|
2830
3647
|
"typeArgs": [
|
|
2831
3648
|
{
|
|
2832
|
-
"__schema": "
|
|
3649
|
+
"__schema": "TypeLiteralSchema",
|
|
2833
3650
|
"location": {
|
|
2834
3651
|
"filePath": "dependencies.main.runtime.ts",
|
|
2835
|
-
"line":
|
|
2836
|
-
"character":
|
|
3652
|
+
"line": 339,
|
|
3653
|
+
"character": 41
|
|
2837
3654
|
},
|
|
2838
|
-
"
|
|
2839
|
-
|
|
3655
|
+
"members": [
|
|
3656
|
+
{
|
|
3657
|
+
"__schema": "IndexSignatureSchema",
|
|
3658
|
+
"location": {
|
|
3659
|
+
"filePath": "dependencies.main.runtime.ts",
|
|
3660
|
+
"line": 339,
|
|
3661
|
+
"character": 43
|
|
3662
|
+
},
|
|
3663
|
+
"keyType": {
|
|
3664
|
+
"__schema": "ParameterSchema",
|
|
3665
|
+
"location": {
|
|
3666
|
+
"filePath": "dependencies.main.runtime.ts",
|
|
3667
|
+
"line": 339,
|
|
3668
|
+
"character": 44
|
|
3669
|
+
},
|
|
3670
|
+
"name": "compIdStr",
|
|
3671
|
+
"type": {
|
|
3672
|
+
"__schema": "KeywordTypeSchema",
|
|
3673
|
+
"location": {
|
|
3674
|
+
"filePath": "dependencies.main.runtime.ts",
|
|
3675
|
+
"line": 339,
|
|
3676
|
+
"character": 55
|
|
3677
|
+
},
|
|
3678
|
+
"name": "string"
|
|
3679
|
+
},
|
|
3680
|
+
"isOptional": false,
|
|
3681
|
+
"isSpread": false
|
|
3682
|
+
},
|
|
3683
|
+
"valueType": {
|
|
3684
|
+
"__schema": "KeywordTypeSchema",
|
|
3685
|
+
"location": {
|
|
3686
|
+
"filePath": "dependencies.main.runtime.ts",
|
|
3687
|
+
"line": 339,
|
|
3688
|
+
"character": 64
|
|
3689
|
+
},
|
|
3690
|
+
"name": "string"
|
|
3691
|
+
}
|
|
3692
|
+
}
|
|
3693
|
+
]
|
|
2840
3694
|
}
|
|
2841
3695
|
]
|
|
2842
3696
|
},
|
|
@@ -2845,139 +3699,156 @@
|
|
|
2845
3699
|
]
|
|
2846
3700
|
},
|
|
2847
3701
|
{
|
|
2848
|
-
"__schema": "
|
|
3702
|
+
"__schema": "VariableLikeSchema",
|
|
2849
3703
|
"location": {
|
|
2850
3704
|
"filePath": "dependencies.main.runtime.ts",
|
|
2851
|
-
"line":
|
|
3705
|
+
"line": 379,
|
|
2852
3706
|
"character": 3
|
|
2853
3707
|
},
|
|
2854
|
-
"signature": "(
|
|
2855
|
-
"name": "
|
|
2856
|
-
"
|
|
2857
|
-
|
|
2858
|
-
|
|
2859
|
-
"
|
|
2860
|
-
|
|
2861
|
-
|
|
2862
|
-
"character": 26
|
|
2863
|
-
},
|
|
2864
|
-
"name": "component",
|
|
2865
|
-
"type": {
|
|
2866
|
-
"__schema": "TypeRefSchema",
|
|
2867
|
-
"location": {
|
|
2868
|
-
"filePath": "dependencies.main.runtime.ts",
|
|
2869
|
-
"line": 233,
|
|
2870
|
-
"character": 37
|
|
2871
|
-
},
|
|
2872
|
-
"name": "ConsumerComponent",
|
|
2873
|
-
"packageName": "@teambit/legacy/dist/consumer/component"
|
|
2874
|
-
},
|
|
2875
|
-
"isOptional": false,
|
|
2876
|
-
"isSpread": false
|
|
3708
|
+
"signature": "(property) DependenciesMain.slots: never[]",
|
|
3709
|
+
"name": "slots",
|
|
3710
|
+
"type": {
|
|
3711
|
+
"__schema": "InferenceTypeSchema",
|
|
3712
|
+
"location": {
|
|
3713
|
+
"filePath": "dependencies.main.runtime.ts",
|
|
3714
|
+
"line": 379,
|
|
3715
|
+
"character": 3
|
|
2877
3716
|
},
|
|
2878
|
-
|
|
2879
|
-
|
|
2880
|
-
|
|
2881
|
-
|
|
2882
|
-
|
|
2883
|
-
|
|
2884
|
-
|
|
2885
|
-
|
|
2886
|
-
|
|
2887
|
-
|
|
2888
|
-
|
|
2889
|
-
|
|
2890
|
-
|
|
2891
|
-
|
|
2892
|
-
|
|
2893
|
-
"name": "DependencyLoaderOpts",
|
|
2894
|
-
"packageName": "@teambit/legacy/dist/consumer/component/component-loader"
|
|
2895
|
-
},
|
|
2896
|
-
"isOptional": false,
|
|
2897
|
-
"isSpread": false
|
|
2898
|
-
}
|
|
2899
|
-
],
|
|
2900
|
-
"returnType": {
|
|
3717
|
+
"type": "never[]"
|
|
3718
|
+
},
|
|
3719
|
+
"isOptional": true,
|
|
3720
|
+
"defaultValue": "[]"
|
|
3721
|
+
},
|
|
3722
|
+
{
|
|
3723
|
+
"__schema": "VariableLikeSchema",
|
|
3724
|
+
"location": {
|
|
3725
|
+
"filePath": "dependencies.main.runtime.ts",
|
|
3726
|
+
"line": 380,
|
|
3727
|
+
"character": 3
|
|
3728
|
+
},
|
|
3729
|
+
"signature": "(property) DependenciesMain.dependencies: Aspect[]",
|
|
3730
|
+
"name": "dependencies",
|
|
3731
|
+
"type": {
|
|
2901
3732
|
"__schema": "InferenceTypeSchema",
|
|
2902
3733
|
"location": {
|
|
2903
3734
|
"filePath": "dependencies.main.runtime.ts",
|
|
2904
|
-
"line":
|
|
3735
|
+
"line": 380,
|
|
2905
3736
|
"character": 3
|
|
2906
3737
|
},
|
|
2907
|
-
"type": "
|
|
3738
|
+
"type": "Aspect[]"
|
|
2908
3739
|
},
|
|
2909
|
-
"
|
|
2910
|
-
|
|
2911
|
-
]
|
|
3740
|
+
"isOptional": true,
|
|
3741
|
+
"defaultValue": "[\n CLIAspect,\n WorkspaceAspect,\n DependencyResolverAspect,\n DevFilesAspect,\n AspectLoaderAspect,\n ScopeAspect,\n GraphAspect,\n ]"
|
|
2912
3742
|
},
|
|
2913
3743
|
{
|
|
2914
|
-
"__schema": "
|
|
3744
|
+
"__schema": "VariableLikeSchema",
|
|
2915
3745
|
"location": {
|
|
2916
3746
|
"filePath": "dependencies.main.runtime.ts",
|
|
2917
|
-
"line":
|
|
3747
|
+
"line": 390,
|
|
2918
3748
|
"character": 3
|
|
2919
3749
|
},
|
|
2920
|
-
"
|
|
2921
|
-
|
|
3750
|
+
"signature": "(property) DependenciesMain.runtime: RuntimeDefinition",
|
|
3751
|
+
"name": "runtime",
|
|
3752
|
+
"type": {
|
|
3753
|
+
"__schema": "InferenceTypeSchema",
|
|
2922
3754
|
"location": {
|
|
2923
3755
|
"filePath": "dependencies.main.runtime.ts",
|
|
2924
|
-
"line":
|
|
3756
|
+
"line": 390,
|
|
2925
3757
|
"character": 3
|
|
2926
3758
|
},
|
|
2927
|
-
"
|
|
2928
|
-
"comment": "load dependencies without the need for the workspace.\nthe \"auto-detect\" are passed here as \"dependenciesData\". the \"overrides\", such as dependencies from the env,\nare calculated here.\neventually all these dependencies are added to the ConsumerComponent object.",
|
|
2929
|
-
"tags": []
|
|
3759
|
+
"type": "RuntimeDefinition"
|
|
2930
3760
|
},
|
|
2931
|
-
"
|
|
2932
|
-
"
|
|
3761
|
+
"isOptional": true,
|
|
3762
|
+
"defaultValue": "MainRuntime"
|
|
3763
|
+
},
|
|
3764
|
+
{
|
|
3765
|
+
"__schema": "FunctionLikeSchema",
|
|
3766
|
+
"location": {
|
|
3767
|
+
"filePath": "dependencies.main.runtime.ts",
|
|
3768
|
+
"line": 392,
|
|
3769
|
+
"character": 3
|
|
3770
|
+
},
|
|
3771
|
+
"signature": "(method) DependenciesMain.provider([cli, workspace, depsResolver, devFiles, aspectLoader, scope, graph]: [\n CLIMain,\n Workspace,\n DependencyResolverMain,\n DevFilesMain,\n AspectLoaderMain,\n ScopeMain,\n GraphMain\n]): Promise<DependenciesMain>",
|
|
3772
|
+
"name": "provider",
|
|
2933
3773
|
"params": [
|
|
2934
3774
|
{
|
|
2935
3775
|
"__schema": "ParameterSchema",
|
|
2936
3776
|
"location": {
|
|
2937
3777
|
"filePath": "dependencies.main.runtime.ts",
|
|
2938
|
-
"line":
|
|
2939
|
-
"character":
|
|
2940
|
-
},
|
|
2941
|
-
"name": "component",
|
|
2942
|
-
"type": {
|
|
2943
|
-
"__schema": "TypeRefSchema",
|
|
2944
|
-
"location": {
|
|
2945
|
-
"filePath": "dependencies.main.runtime.ts",
|
|
2946
|
-
"line": 249,
|
|
2947
|
-
"character": 46
|
|
2948
|
-
},
|
|
2949
|
-
"name": "ConsumerComponent",
|
|
2950
|
-
"packageName": "@teambit/legacy/dist/consumer/component"
|
|
2951
|
-
},
|
|
2952
|
-
"isOptional": false,
|
|
2953
|
-
"isSpread": false
|
|
2954
|
-
},
|
|
2955
|
-
{
|
|
2956
|
-
"__schema": "ParameterSchema",
|
|
2957
|
-
"location": {
|
|
2958
|
-
"filePath": "dependencies.main.runtime.ts",
|
|
2959
|
-
"line": 249,
|
|
2960
|
-
"character": 65
|
|
3778
|
+
"line": 392,
|
|
3779
|
+
"character": 25
|
|
2961
3780
|
},
|
|
2962
|
-
"name": "
|
|
3781
|
+
"name": "[ cli, workspace, depsResolver, devFiles, aspectLoader, scope, graph ]",
|
|
2963
3782
|
"type": {
|
|
2964
|
-
"__schema": "
|
|
3783
|
+
"__schema": "TupleTypeSchema",
|
|
2965
3784
|
"location": {
|
|
2966
3785
|
"filePath": "dependencies.main.runtime.ts",
|
|
2967
|
-
"line":
|
|
2968
|
-
"character":
|
|
3786
|
+
"line": 392,
|
|
3787
|
+
"character": 95
|
|
2969
3788
|
},
|
|
2970
|
-
"
|
|
2971
|
-
"typeArgs": [
|
|
3789
|
+
"elements": [
|
|
2972
3790
|
{
|
|
2973
3791
|
"__schema": "TypeRefSchema",
|
|
2974
3792
|
"location": {
|
|
2975
3793
|
"filePath": "dependencies.main.runtime.ts",
|
|
2976
|
-
"line":
|
|
2977
|
-
"character":
|
|
3794
|
+
"line": 393,
|
|
3795
|
+
"character": 5
|
|
3796
|
+
},
|
|
3797
|
+
"name": "CLIMain"
|
|
3798
|
+
},
|
|
3799
|
+
{
|
|
3800
|
+
"__schema": "TypeRefSchema",
|
|
3801
|
+
"location": {
|
|
3802
|
+
"filePath": "dependencies.main.runtime.ts",
|
|
3803
|
+
"line": 394,
|
|
3804
|
+
"character": 5
|
|
3805
|
+
},
|
|
3806
|
+
"name": "Workspace"
|
|
3807
|
+
},
|
|
3808
|
+
{
|
|
3809
|
+
"__schema": "TypeRefSchema",
|
|
3810
|
+
"location": {
|
|
3811
|
+
"filePath": "dependencies.main.runtime.ts",
|
|
3812
|
+
"line": 395,
|
|
3813
|
+
"character": 5
|
|
3814
|
+
},
|
|
3815
|
+
"name": "DependencyResolverMain"
|
|
3816
|
+
},
|
|
3817
|
+
{
|
|
3818
|
+
"__schema": "TypeRefSchema",
|
|
3819
|
+
"location": {
|
|
3820
|
+
"filePath": "dependencies.main.runtime.ts",
|
|
3821
|
+
"line": 396,
|
|
3822
|
+
"character": 5
|
|
3823
|
+
},
|
|
3824
|
+
"name": "DevFilesMain"
|
|
3825
|
+
},
|
|
3826
|
+
{
|
|
3827
|
+
"__schema": "TypeRefSchema",
|
|
3828
|
+
"location": {
|
|
3829
|
+
"filePath": "dependencies.main.runtime.ts",
|
|
3830
|
+
"line": 397,
|
|
3831
|
+
"character": 5
|
|
3832
|
+
},
|
|
3833
|
+
"name": "AspectLoaderMain"
|
|
3834
|
+
},
|
|
3835
|
+
{
|
|
3836
|
+
"__schema": "TypeRefSchema",
|
|
3837
|
+
"location": {
|
|
3838
|
+
"filePath": "dependencies.main.runtime.ts",
|
|
3839
|
+
"line": 398,
|
|
3840
|
+
"character": 5
|
|
3841
|
+
},
|
|
3842
|
+
"name": "ScopeMain"
|
|
3843
|
+
},
|
|
3844
|
+
{
|
|
3845
|
+
"__schema": "TypeRefSchema",
|
|
3846
|
+
"location": {
|
|
3847
|
+
"filePath": "dependencies.main.runtime.ts",
|
|
3848
|
+
"line": 399,
|
|
3849
|
+
"character": 5
|
|
2978
3850
|
},
|
|
2979
|
-
"name": "
|
|
2980
|
-
"internalFilePath": "dependencies-loader/dependencies-data.ts"
|
|
3851
|
+
"name": "GraphMain"
|
|
2981
3852
|
}
|
|
2982
3853
|
]
|
|
2983
3854
|
},
|
|
@@ -2989,657 +3860,629 @@
|
|
|
2989
3860
|
"__schema": "InferenceTypeSchema",
|
|
2990
3861
|
"location": {
|
|
2991
3862
|
"filePath": "dependencies.main.runtime.ts",
|
|
2992
|
-
"line":
|
|
3863
|
+
"line": 392,
|
|
2993
3864
|
"character": 3
|
|
2994
3865
|
},
|
|
2995
|
-
"type": "Promise<
|
|
3866
|
+
"type": "Promise<DependenciesMain>"
|
|
2996
3867
|
},
|
|
2997
3868
|
"modifiers": [
|
|
3869
|
+
"static",
|
|
2998
3870
|
"async"
|
|
2999
3871
|
]
|
|
3000
|
-
}
|
|
3872
|
+
}
|
|
3873
|
+
],
|
|
3874
|
+
"extendsNodes": [],
|
|
3875
|
+
"implementNodes": []
|
|
3876
|
+
},
|
|
3877
|
+
{
|
|
3878
|
+
"__schema": "UnImplementedSchema",
|
|
3879
|
+
"location": {
|
|
3880
|
+
"filePath": "dependencies.main.runtime.ts",
|
|
3881
|
+
"line": 434,
|
|
3882
|
+
"character": 16
|
|
3883
|
+
},
|
|
3884
|
+
"name": "DependenciesMain",
|
|
3885
|
+
"type": "Identifier"
|
|
3886
|
+
}
|
|
3887
|
+
],
|
|
3888
|
+
"internals": [
|
|
3889
|
+
{
|
|
3890
|
+
"__schema": "FunctionLikeSchema",
|
|
3891
|
+
"location": {
|
|
3892
|
+
"filePath": "dependencies.main.runtime.ts",
|
|
3893
|
+
"line": 428,
|
|
3894
|
+
"character": 1
|
|
3895
|
+
},
|
|
3896
|
+
"signature": "function isComponentId(depName: string): boolean",
|
|
3897
|
+
"name": "isComponentId",
|
|
3898
|
+
"params": [
|
|
3001
3899
|
{
|
|
3002
|
-
"__schema": "
|
|
3900
|
+
"__schema": "ParameterSchema",
|
|
3003
3901
|
"location": {
|
|
3004
3902
|
"filePath": "dependencies.main.runtime.ts",
|
|
3005
|
-
"line":
|
|
3006
|
-
"character":
|
|
3903
|
+
"line": 428,
|
|
3904
|
+
"character": 24
|
|
3007
3905
|
},
|
|
3008
|
-
"
|
|
3009
|
-
"
|
|
3010
|
-
|
|
3011
|
-
{
|
|
3012
|
-
"
|
|
3906
|
+
"name": "depName",
|
|
3907
|
+
"type": {
|
|
3908
|
+
"__schema": "KeywordTypeSchema",
|
|
3909
|
+
"location": {
|
|
3910
|
+
"filePath": "dependencies.main.runtime.ts",
|
|
3911
|
+
"line": 428,
|
|
3912
|
+
"character": 33
|
|
3913
|
+
},
|
|
3914
|
+
"name": "string"
|
|
3915
|
+
},
|
|
3916
|
+
"isOptional": false,
|
|
3917
|
+
"isSpread": false
|
|
3918
|
+
}
|
|
3919
|
+
],
|
|
3920
|
+
"returnType": {
|
|
3921
|
+
"__schema": "TypeRefSchema",
|
|
3922
|
+
"location": {
|
|
3923
|
+
"filePath": "dependencies.main.runtime.ts",
|
|
3924
|
+
"line": 428,
|
|
3925
|
+
"character": 1
|
|
3926
|
+
},
|
|
3927
|
+
"name": "isComponentId",
|
|
3928
|
+
"internalFilePath": "dependencies.main.runtime.ts"
|
|
3929
|
+
},
|
|
3930
|
+
"modifiers": []
|
|
3931
|
+
},
|
|
3932
|
+
{
|
|
3933
|
+
"__schema": "UnImplementedSchema",
|
|
3934
|
+
"location": {
|
|
3935
|
+
"filePath": "dependencies.main.runtime.ts",
|
|
3936
|
+
"line": 432,
|
|
3937
|
+
"character": 1
|
|
3938
|
+
},
|
|
3939
|
+
"name": "DependenciesAspect.addRuntime(DependenciesMain);",
|
|
3940
|
+
"type": "ExpressionStatement"
|
|
3941
|
+
}
|
|
3942
|
+
]
|
|
3943
|
+
},
|
|
3944
|
+
{
|
|
3945
|
+
"__schema": "ModuleSchema",
|
|
3946
|
+
"location": {
|
|
3947
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
3948
|
+
"line": 1,
|
|
3949
|
+
"character": 1
|
|
3950
|
+
},
|
|
3951
|
+
"exports": [
|
|
3952
|
+
{
|
|
3953
|
+
"__schema": "TypeSchema",
|
|
3954
|
+
"location": {
|
|
3955
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
3956
|
+
"line": 1,
|
|
3957
|
+
"character": 1
|
|
3958
|
+
},
|
|
3959
|
+
"signature": "type FileContext = {\n ext: string;\n}",
|
|
3960
|
+
"name": "FileContext",
|
|
3961
|
+
"type": {
|
|
3962
|
+
"__schema": "TypeLiteralSchema",
|
|
3963
|
+
"location": {
|
|
3964
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
3965
|
+
"line": 1,
|
|
3966
|
+
"character": 27
|
|
3967
|
+
},
|
|
3968
|
+
"members": [
|
|
3969
|
+
{
|
|
3970
|
+
"__schema": "VariableLikeSchema",
|
|
3971
|
+
"location": {
|
|
3972
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
3973
|
+
"line": 5,
|
|
3974
|
+
"character": 3
|
|
3975
|
+
},
|
|
3976
|
+
"doc": {
|
|
3977
|
+
"__schema": "DocSchema",
|
|
3013
3978
|
"location": {
|
|
3014
|
-
"filePath": "
|
|
3015
|
-
"line":
|
|
3016
|
-
"character":
|
|
3979
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
3980
|
+
"line": 2,
|
|
3981
|
+
"character": 3
|
|
3017
3982
|
},
|
|
3018
|
-
"
|
|
3019
|
-
"
|
|
3020
|
-
|
|
3021
|
-
|
|
3022
|
-
|
|
3023
|
-
|
|
3024
|
-
|
|
3025
|
-
|
|
3026
|
-
|
|
3983
|
+
"raw": "/**\n * extension of the file. (e.g. `.js`, '.jsx', '.ts', etc.)\n */",
|
|
3984
|
+
"comment": "extension of the file. (e.g. `.js`, '.jsx', '.ts', etc.)",
|
|
3985
|
+
"tags": []
|
|
3986
|
+
},
|
|
3987
|
+
"signature": "(property) ext: string",
|
|
3988
|
+
"name": "ext",
|
|
3989
|
+
"type": {
|
|
3990
|
+
"__schema": "KeywordTypeSchema",
|
|
3991
|
+
"location": {
|
|
3992
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
3993
|
+
"line": 5,
|
|
3994
|
+
"character": 8
|
|
3027
3995
|
},
|
|
3028
|
-
"
|
|
3029
|
-
|
|
3030
|
-
|
|
3031
|
-
|
|
3032
|
-
|
|
3033
|
-
|
|
3996
|
+
"name": "string"
|
|
3997
|
+
},
|
|
3998
|
+
"isOptional": false
|
|
3999
|
+
}
|
|
4000
|
+
]
|
|
4001
|
+
}
|
|
4002
|
+
},
|
|
4003
|
+
{
|
|
4004
|
+
"__schema": "TypeSchema",
|
|
4005
|
+
"location": {
|
|
4006
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
4007
|
+
"line": 8,
|
|
4008
|
+
"character": 1
|
|
4009
|
+
},
|
|
4010
|
+
"signature": "type DependencyContext = {\n dependency: string;\n filename: string;\n directory: string;\n}",
|
|
4011
|
+
"name": "DependencyContext",
|
|
4012
|
+
"type": {
|
|
4013
|
+
"__schema": "TypeLiteralSchema",
|
|
4014
|
+
"location": {
|
|
4015
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
4016
|
+
"line": 8,
|
|
4017
|
+
"character": 33
|
|
4018
|
+
},
|
|
4019
|
+
"members": [
|
|
4020
|
+
{
|
|
4021
|
+
"__schema": "VariableLikeSchema",
|
|
3034
4022
|
"location": {
|
|
3035
|
-
"filePath": "
|
|
3036
|
-
"line":
|
|
3037
|
-
"character":
|
|
4023
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
4024
|
+
"line": 13,
|
|
4025
|
+
"character": 3
|
|
3038
4026
|
},
|
|
3039
|
-
"
|
|
3040
|
-
|
|
3041
|
-
{
|
|
3042
|
-
"
|
|
3043
|
-
"
|
|
3044
|
-
|
|
3045
|
-
|
|
3046
|
-
|
|
3047
|
-
|
|
3048
|
-
|
|
3049
|
-
|
|
3050
|
-
|
|
3051
|
-
|
|
4027
|
+
"doc": {
|
|
4028
|
+
"__schema": "DocSchema",
|
|
4029
|
+
"location": {
|
|
4030
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
4031
|
+
"line": 9,
|
|
4032
|
+
"character": 3
|
|
4033
|
+
},
|
|
4034
|
+
"raw": "/**\n * name of the dependency.\n * e.g. `lodash` in `import _ from 'lodash'`\n */",
|
|
4035
|
+
"comment": "name of the dependency.\ne.g. `lodash` in `import _ from 'lodash'`",
|
|
4036
|
+
"tags": []
|
|
4037
|
+
},
|
|
4038
|
+
"signature": "(property) dependency: string",
|
|
4039
|
+
"name": "dependency",
|
|
4040
|
+
"type": {
|
|
4041
|
+
"__schema": "KeywordTypeSchema",
|
|
4042
|
+
"location": {
|
|
4043
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
4044
|
+
"line": 13,
|
|
4045
|
+
"character": 15
|
|
4046
|
+
},
|
|
4047
|
+
"name": "string"
|
|
4048
|
+
},
|
|
4049
|
+
"isOptional": false
|
|
3052
4050
|
},
|
|
3053
|
-
|
|
3054
|
-
"
|
|
3055
|
-
|
|
3056
|
-
|
|
4051
|
+
{
|
|
4052
|
+
"__schema": "VariableLikeSchema",
|
|
4053
|
+
"location": {
|
|
4054
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
4055
|
+
"line": 18,
|
|
4056
|
+
"character": 3
|
|
4057
|
+
},
|
|
4058
|
+
"doc": {
|
|
4059
|
+
"__schema": "DocSchema",
|
|
4060
|
+
"location": {
|
|
4061
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
4062
|
+
"line": 15,
|
|
4063
|
+
"character": 3
|
|
4064
|
+
},
|
|
4065
|
+
"raw": "/**\n * name of the file.\n */",
|
|
4066
|
+
"comment": "name of the file.",
|
|
4067
|
+
"tags": []
|
|
4068
|
+
},
|
|
4069
|
+
"signature": "(property) filename: string",
|
|
4070
|
+
"name": "filename",
|
|
4071
|
+
"type": {
|
|
4072
|
+
"__schema": "KeywordTypeSchema",
|
|
4073
|
+
"location": {
|
|
4074
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
4075
|
+
"line": 18,
|
|
4076
|
+
"character": 13
|
|
4077
|
+
},
|
|
4078
|
+
"name": "string"
|
|
4079
|
+
},
|
|
4080
|
+
"isOptional": false
|
|
4081
|
+
},
|
|
4082
|
+
{
|
|
4083
|
+
"__schema": "VariableLikeSchema",
|
|
4084
|
+
"location": {
|
|
4085
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
4086
|
+
"line": 23,
|
|
4087
|
+
"character": 3
|
|
4088
|
+
},
|
|
4089
|
+
"doc": {
|
|
4090
|
+
"__schema": "DocSchema",
|
|
4091
|
+
"location": {
|
|
4092
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
4093
|
+
"line": 20,
|
|
4094
|
+
"character": 3
|
|
4095
|
+
},
|
|
4096
|
+
"raw": "/**\n * directory of the file.\n */",
|
|
4097
|
+
"comment": "directory of the file.",
|
|
4098
|
+
"tags": []
|
|
4099
|
+
},
|
|
4100
|
+
"signature": "(property) directory: string",
|
|
4101
|
+
"name": "directory",
|
|
4102
|
+
"type": {
|
|
4103
|
+
"__schema": "KeywordTypeSchema",
|
|
4104
|
+
"location": {
|
|
4105
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
4106
|
+
"line": 23,
|
|
4107
|
+
"character": 14
|
|
4108
|
+
},
|
|
4109
|
+
"name": "string"
|
|
4110
|
+
},
|
|
4111
|
+
"isOptional": false
|
|
4112
|
+
}
|
|
4113
|
+
]
|
|
4114
|
+
}
|
|
4115
|
+
},
|
|
4116
|
+
{
|
|
4117
|
+
"__schema": "InterfaceSchema",
|
|
4118
|
+
"location": {
|
|
4119
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
4120
|
+
"line": 26,
|
|
4121
|
+
"character": 1
|
|
4122
|
+
},
|
|
4123
|
+
"signature": "interface DependencyDetector",
|
|
4124
|
+
"name": "DependencyDetector",
|
|
4125
|
+
"members": [
|
|
3057
4126
|
{
|
|
3058
4127
|
"__schema": "FunctionLikeSchema",
|
|
3059
4128
|
"location": {
|
|
3060
|
-
"filePath": "
|
|
3061
|
-
"line":
|
|
4129
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
4130
|
+
"line": 30,
|
|
3062
4131
|
"character": 3
|
|
3063
4132
|
},
|
|
3064
4133
|
"doc": {
|
|
3065
4134
|
"__schema": "DocSchema",
|
|
3066
4135
|
"location": {
|
|
3067
|
-
"filePath": "
|
|
3068
|
-
"line":
|
|
4136
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
4137
|
+
"line": 27,
|
|
3069
4138
|
"character": 3
|
|
3070
4139
|
},
|
|
3071
|
-
"raw": "/**\n *
|
|
3072
|
-
"comment": "
|
|
4140
|
+
"raw": "/**\n * determine whether to apply on given file.\n */",
|
|
4141
|
+
"comment": "determine whether to apply on given file.",
|
|
3073
4142
|
"tags": []
|
|
3074
4143
|
},
|
|
3075
|
-
"signature": "(method)
|
|
3076
|
-
"name": "
|
|
4144
|
+
"signature": "(method) DependencyDetector.isSupported(context: FileContext): boolean",
|
|
4145
|
+
"name": "isSupported",
|
|
3077
4146
|
"params": [
|
|
3078
4147
|
{
|
|
3079
4148
|
"__schema": "ParameterSchema",
|
|
3080
4149
|
"location": {
|
|
3081
|
-
"filePath": "
|
|
3082
|
-
"line":
|
|
4150
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
4151
|
+
"line": 30,
|
|
3083
4152
|
"character": 15
|
|
3084
4153
|
},
|
|
3085
|
-
"name": "
|
|
3086
|
-
"type": {
|
|
3087
|
-
"__schema": "KeywordTypeSchema",
|
|
3088
|
-
"location": {
|
|
3089
|
-
"filePath": "dependencies.main.runtime.ts",
|
|
3090
|
-
"line": 291,
|
|
3091
|
-
"character": 25
|
|
3092
|
-
},
|
|
3093
|
-
"name": "string"
|
|
3094
|
-
},
|
|
3095
|
-
"isOptional": false,
|
|
3096
|
-
"isSpread": false
|
|
3097
|
-
},
|
|
3098
|
-
{
|
|
3099
|
-
"__schema": "ParameterSchema",
|
|
3100
|
-
"location": {
|
|
3101
|
-
"filePath": "dependencies.main.runtime.ts",
|
|
3102
|
-
"line": 291,
|
|
3103
|
-
"character": 33
|
|
3104
|
-
},
|
|
3105
|
-
"name": "depName",
|
|
4154
|
+
"name": "context",
|
|
3106
4155
|
"type": {
|
|
3107
|
-
"__schema": "
|
|
3108
|
-
"location": {
|
|
3109
|
-
"filePath": "
|
|
3110
|
-
"line":
|
|
3111
|
-
"character":
|
|
4156
|
+
"__schema": "TypeRefSchema",
|
|
4157
|
+
"location": {
|
|
4158
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
4159
|
+
"line": 30,
|
|
4160
|
+
"character": 24
|
|
3112
4161
|
},
|
|
3113
|
-
"name": "
|
|
4162
|
+
"name": "FileContext"
|
|
3114
4163
|
},
|
|
3115
4164
|
"isOptional": false,
|
|
3116
4165
|
"isSpread": false
|
|
3117
4166
|
}
|
|
3118
4167
|
],
|
|
3119
4168
|
"returnType": {
|
|
3120
|
-
"__schema": "
|
|
4169
|
+
"__schema": "KeywordTypeSchema",
|
|
3121
4170
|
"location": {
|
|
3122
|
-
"filePath": "
|
|
3123
|
-
"line":
|
|
4171
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
4172
|
+
"line": 30,
|
|
4173
|
+
"character": 38
|
|
4174
|
+
},
|
|
4175
|
+
"name": "boolean"
|
|
4176
|
+
},
|
|
4177
|
+
"modifiers": []
|
|
4178
|
+
},
|
|
4179
|
+
{
|
|
4180
|
+
"__schema": "VariableLikeSchema",
|
|
4181
|
+
"location": {
|
|
4182
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
4183
|
+
"line": 37,
|
|
4184
|
+
"character": 3
|
|
4185
|
+
},
|
|
4186
|
+
"doc": {
|
|
4187
|
+
"__schema": "DocSchema",
|
|
4188
|
+
"location": {
|
|
4189
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
4190
|
+
"line": 32,
|
|
3124
4191
|
"character": 3
|
|
3125
4192
|
},
|
|
3126
|
-
"
|
|
4193
|
+
"raw": "/**\n * determine what type of content the detector is for.\n * by default, the type is the extension name of the file (without the dot)\n * if no type provided.\n */",
|
|
4194
|
+
"comment": "determine what type of content the detector is for.\nby default, the type is the extension name of the file (without the dot)\nif no type provided.",
|
|
4195
|
+
"tags": []
|
|
3127
4196
|
},
|
|
3128
|
-
"
|
|
3129
|
-
|
|
3130
|
-
|
|
4197
|
+
"signature": "(property) DependencyDetector.type?: string | undefined",
|
|
4198
|
+
"name": "type",
|
|
4199
|
+
"type": {
|
|
4200
|
+
"__schema": "KeywordTypeSchema",
|
|
4201
|
+
"location": {
|
|
4202
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
4203
|
+
"line": 37,
|
|
4204
|
+
"character": 10
|
|
4205
|
+
},
|
|
4206
|
+
"name": "string"
|
|
4207
|
+
},
|
|
4208
|
+
"isOptional": true
|
|
3131
4209
|
},
|
|
3132
4210
|
{
|
|
3133
4211
|
"__schema": "FunctionLikeSchema",
|
|
3134
4212
|
"location": {
|
|
3135
|
-
"filePath": "
|
|
3136
|
-
"line":
|
|
4213
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
4214
|
+
"line": 42,
|
|
3137
4215
|
"character": 3
|
|
3138
4216
|
},
|
|
3139
|
-
"
|
|
3140
|
-
|
|
4217
|
+
"doc": {
|
|
4218
|
+
"__schema": "DocSchema",
|
|
4219
|
+
"location": {
|
|
4220
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
4221
|
+
"line": 39,
|
|
4222
|
+
"character": 3
|
|
4223
|
+
},
|
|
4224
|
+
"raw": "/**\n * detect file dependencies. list of file dependencies of the module.\n */",
|
|
4225
|
+
"comment": "detect file dependencies. list of file dependencies of the module.",
|
|
4226
|
+
"tags": []
|
|
4227
|
+
},
|
|
4228
|
+
"signature": "(method) DependencyDetector.detect(fileContent: string): string[]",
|
|
4229
|
+
"name": "detect",
|
|
3141
4230
|
"params": [
|
|
3142
4231
|
{
|
|
3143
4232
|
"__schema": "ParameterSchema",
|
|
3144
4233
|
"location": {
|
|
3145
|
-
"filePath": "
|
|
3146
|
-
"line":
|
|
3147
|
-
"character":
|
|
4234
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
4235
|
+
"line": 42,
|
|
4236
|
+
"character": 10
|
|
3148
4237
|
},
|
|
3149
|
-
"name": "
|
|
4238
|
+
"name": "fileContent",
|
|
3150
4239
|
"type": {
|
|
3151
4240
|
"__schema": "KeywordTypeSchema",
|
|
3152
4241
|
"location": {
|
|
3153
|
-
"filePath": "
|
|
3154
|
-
"line":
|
|
3155
|
-
"character":
|
|
4242
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
4243
|
+
"line": 42,
|
|
4244
|
+
"character": 23
|
|
3156
4245
|
},
|
|
3157
4246
|
"name": "string"
|
|
3158
4247
|
},
|
|
3159
4248
|
"isOptional": false,
|
|
3160
4249
|
"isSpread": false
|
|
3161
|
-
},
|
|
3162
|
-
{
|
|
3163
|
-
"__schema": "ParameterSchema",
|
|
3164
|
-
"location": {
|
|
3165
|
-
"filePath": "dependencies.main.runtime.ts",
|
|
3166
|
-
"line": 324,
|
|
3167
|
-
"character": 36
|
|
3168
|
-
},
|
|
3169
|
-
"name": "opts",
|
|
3170
|
-
"type": {
|
|
3171
|
-
"__schema": "TypeLiteralSchema",
|
|
3172
|
-
"location": {
|
|
3173
|
-
"filePath": "dependencies.main.runtime.ts",
|
|
3174
|
-
"line": 324,
|
|
3175
|
-
"character": 43
|
|
3176
|
-
},
|
|
3177
|
-
"members": [
|
|
3178
|
-
{
|
|
3179
|
-
"__schema": "VariableLikeSchema",
|
|
3180
|
-
"location": {
|
|
3181
|
-
"filePath": "dependencies.main.runtime.ts",
|
|
3182
|
-
"line": 324,
|
|
3183
|
-
"character": 45
|
|
3184
|
-
},
|
|
3185
|
-
"signature": "(property) depth?: number | undefined",
|
|
3186
|
-
"name": "depth",
|
|
3187
|
-
"type": {
|
|
3188
|
-
"__schema": "KeywordTypeSchema",
|
|
3189
|
-
"location": {
|
|
3190
|
-
"filePath": "dependencies.main.runtime.ts",
|
|
3191
|
-
"line": 324,
|
|
3192
|
-
"character": 53
|
|
3193
|
-
},
|
|
3194
|
-
"name": "number"
|
|
3195
|
-
},
|
|
3196
|
-
"isOptional": true
|
|
3197
|
-
}
|
|
3198
|
-
]
|
|
3199
|
-
},
|
|
3200
|
-
"isOptional": true,
|
|
3201
|
-
"isSpread": false
|
|
3202
4250
|
}
|
|
3203
4251
|
],
|
|
3204
4252
|
"returnType": {
|
|
3205
|
-
"__schema": "
|
|
4253
|
+
"__schema": "TypeArraySchema",
|
|
3206
4254
|
"location": {
|
|
3207
|
-
"filePath": "
|
|
3208
|
-
"line":
|
|
3209
|
-
"character":
|
|
4255
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
4256
|
+
"line": 42,
|
|
4257
|
+
"character": 32
|
|
3210
4258
|
},
|
|
3211
|
-
"
|
|
3212
|
-
|
|
3213
|
-
{
|
|
3214
|
-
"
|
|
3215
|
-
"
|
|
3216
|
-
|
|
3217
|
-
|
|
3218
|
-
|
|
3219
|
-
|
|
3220
|
-
"types": [
|
|
3221
|
-
{
|
|
3222
|
-
"__schema": "KeywordTypeSchema",
|
|
3223
|
-
"location": {
|
|
3224
|
-
"filePath": "dependencies.main.runtime.ts",
|
|
3225
|
-
"line": 324,
|
|
3226
|
-
"character": 72
|
|
3227
|
-
},
|
|
3228
|
-
"name": "string"
|
|
3229
|
-
},
|
|
3230
|
-
{
|
|
3231
|
-
"__schema": "KeywordTypeSchema",
|
|
3232
|
-
"location": {
|
|
3233
|
-
"filePath": "dependencies.main.runtime.ts",
|
|
3234
|
-
"line": 324,
|
|
3235
|
-
"character": 81
|
|
3236
|
-
},
|
|
3237
|
-
"name": "undefined"
|
|
3238
|
-
}
|
|
3239
|
-
]
|
|
3240
|
-
}
|
|
3241
|
-
]
|
|
4259
|
+
"type": {
|
|
4260
|
+
"__schema": "KeywordTypeSchema",
|
|
4261
|
+
"location": {
|
|
4262
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
4263
|
+
"line": 42,
|
|
4264
|
+
"character": 32
|
|
4265
|
+
},
|
|
4266
|
+
"name": "string"
|
|
4267
|
+
}
|
|
3242
4268
|
},
|
|
3243
|
-
"modifiers": [
|
|
3244
|
-
"async"
|
|
3245
|
-
]
|
|
4269
|
+
"modifiers": []
|
|
3246
4270
|
},
|
|
3247
4271
|
{
|
|
3248
4272
|
"__schema": "FunctionLikeSchema",
|
|
3249
4273
|
"location": {
|
|
3250
|
-
"filePath": "
|
|
3251
|
-
"line":
|
|
4274
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
4275
|
+
"line": 48,
|
|
3252
4276
|
"character": 3
|
|
3253
4277
|
},
|
|
3254
4278
|
"doc": {
|
|
3255
4279
|
"__schema": "DocSchema",
|
|
3256
4280
|
"location": {
|
|
3257
|
-
"filePath": "
|
|
3258
|
-
"line":
|
|
4281
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
4282
|
+
"line": 44,
|
|
3259
4283
|
"character": 3
|
|
3260
4284
|
},
|
|
3261
|
-
"raw": "/**\n *
|
|
3262
|
-
"comment": "",
|
|
4285
|
+
"raw": "/**\n * resolve the imported file location\n * @param file\n */",
|
|
4286
|
+
"comment": "resolve the imported file location",
|
|
3263
4287
|
"tags": [
|
|
3264
4288
|
{
|
|
3265
4289
|
"__schema": "PropertyLikeTagSchema",
|
|
3266
4290
|
"location": {
|
|
3267
|
-
"filePath": "
|
|
3268
|
-
"line":
|
|
3269
|
-
"character": 6
|
|
3270
|
-
},
|
|
3271
|
-
"name": "depName",
|
|
3272
|
-
"tagName": "parameter",
|
|
3273
|
-
"comment": "either component-id-string or package-name (of the component or not component)"
|
|
3274
|
-
},
|
|
3275
|
-
{
|
|
3276
|
-
"__schema": "ReturnTagSchema",
|
|
3277
|
-
"location": {
|
|
3278
|
-
"filePath": "dependencies.main.runtime.ts",
|
|
3279
|
-
"line": 337,
|
|
4291
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
4292
|
+
"line": 46,
|
|
3280
4293
|
"character": 6
|
|
3281
4294
|
},
|
|
3282
|
-
"
|
|
3283
|
-
"
|
|
4295
|
+
"name": "file",
|
|
4296
|
+
"tagName": "parameter"
|
|
3284
4297
|
}
|
|
3285
4298
|
]
|
|
3286
4299
|
},
|
|
3287
|
-
"signature": "(method)
|
|
3288
|
-
"name": "
|
|
4300
|
+
"signature": "(method) DependencyDetector.dependencyLookup?(file: DependencyContext): string",
|
|
4301
|
+
"name": "dependencyLookup",
|
|
3289
4302
|
"params": [
|
|
3290
4303
|
{
|
|
3291
4304
|
"__schema": "ParameterSchema",
|
|
3292
4305
|
"location": {
|
|
3293
|
-
"filePath": "
|
|
3294
|
-
"line":
|
|
3295
|
-
"character":
|
|
3296
|
-
},
|
|
3297
|
-
"name": "
|
|
3298
|
-
"type": {
|
|
3299
|
-
"__schema": "
|
|
3300
|
-
"location": {
|
|
3301
|
-
"filePath": "
|
|
3302
|
-
"line":
|
|
3303
|
-
"character":
|
|
3304
|
-
},
|
|
3305
|
-
"name": "
|
|
3306
|
-
},
|
|
3307
|
-
"isOptional": false,
|
|
3308
|
-
"isSpread": false
|
|
3309
|
-
}
|
|
3310
|
-
],
|
|
3311
|
-
"returnType": {
|
|
3312
|
-
"__schema": "
|
|
3313
|
-
"location": {
|
|
3314
|
-
"filePath": "dependencies.main.runtime.ts",
|
|
3315
|
-
"line": 339,
|
|
3316
|
-
"character": 33
|
|
3317
|
-
},
|
|
3318
|
-
"name": "Promise",
|
|
3319
|
-
"typeArgs": [
|
|
3320
|
-
{
|
|
3321
|
-
"__schema": "TypeLiteralSchema",
|
|
3322
|
-
"location": {
|
|
3323
|
-
"filePath": "dependencies.main.runtime.ts",
|
|
3324
|
-
"line": 339,
|
|
3325
|
-
"character": 41
|
|
3326
|
-
},
|
|
3327
|
-
"members": [
|
|
3328
|
-
{
|
|
3329
|
-
"__schema": "IndexSignatureSchema",
|
|
3330
|
-
"location": {
|
|
3331
|
-
"filePath": "dependencies.main.runtime.ts",
|
|
3332
|
-
"line": 339,
|
|
3333
|
-
"character": 43
|
|
3334
|
-
},
|
|
3335
|
-
"keyType": {
|
|
3336
|
-
"__schema": "ParameterSchema",
|
|
3337
|
-
"location": {
|
|
3338
|
-
"filePath": "dependencies.main.runtime.ts",
|
|
3339
|
-
"line": 339,
|
|
3340
|
-
"character": 44
|
|
3341
|
-
},
|
|
3342
|
-
"name": "compIdStr",
|
|
3343
|
-
"type": {
|
|
3344
|
-
"__schema": "KeywordTypeSchema",
|
|
3345
|
-
"location": {
|
|
3346
|
-
"filePath": "dependencies.main.runtime.ts",
|
|
3347
|
-
"line": 339,
|
|
3348
|
-
"character": 55
|
|
3349
|
-
},
|
|
3350
|
-
"name": "string"
|
|
3351
|
-
},
|
|
3352
|
-
"isOptional": false,
|
|
3353
|
-
"isSpread": false
|
|
3354
|
-
},
|
|
3355
|
-
"valueType": {
|
|
3356
|
-
"__schema": "KeywordTypeSchema",
|
|
3357
|
-
"location": {
|
|
3358
|
-
"filePath": "dependencies.main.runtime.ts",
|
|
3359
|
-
"line": 339,
|
|
3360
|
-
"character": 64
|
|
3361
|
-
},
|
|
3362
|
-
"name": "string"
|
|
3363
|
-
}
|
|
3364
|
-
}
|
|
3365
|
-
]
|
|
3366
|
-
}
|
|
3367
|
-
]
|
|
3368
|
-
},
|
|
3369
|
-
"modifiers": [
|
|
3370
|
-
"async"
|
|
3371
|
-
]
|
|
3372
|
-
},
|
|
3373
|
-
{
|
|
3374
|
-
"__schema": "VariableLikeSchema",
|
|
3375
|
-
"location": {
|
|
3376
|
-
"filePath": "dependencies.main.runtime.ts",
|
|
3377
|
-
"line": 379,
|
|
3378
|
-
"character": 3
|
|
3379
|
-
},
|
|
3380
|
-
"signature": "(property) DependenciesMain.slots: never[]",
|
|
3381
|
-
"name": "slots",
|
|
3382
|
-
"type": {
|
|
3383
|
-
"__schema": "InferenceTypeSchema",
|
|
4306
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
4307
|
+
"line": 48,
|
|
4308
|
+
"character": 21
|
|
4309
|
+
},
|
|
4310
|
+
"name": "file",
|
|
4311
|
+
"type": {
|
|
4312
|
+
"__schema": "TypeRefSchema",
|
|
4313
|
+
"location": {
|
|
4314
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
4315
|
+
"line": 48,
|
|
4316
|
+
"character": 27
|
|
4317
|
+
},
|
|
4318
|
+
"name": "DependencyContext"
|
|
4319
|
+
},
|
|
4320
|
+
"isOptional": false,
|
|
4321
|
+
"isSpread": false
|
|
4322
|
+
}
|
|
4323
|
+
],
|
|
4324
|
+
"returnType": {
|
|
4325
|
+
"__schema": "KeywordTypeSchema",
|
|
3384
4326
|
"location": {
|
|
3385
|
-
"filePath": "
|
|
3386
|
-
"line":
|
|
3387
|
-
"character":
|
|
4327
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
4328
|
+
"line": 48,
|
|
4329
|
+
"character": 47
|
|
3388
4330
|
},
|
|
3389
|
-
"
|
|
4331
|
+
"name": "string"
|
|
3390
4332
|
},
|
|
3391
|
-
"
|
|
3392
|
-
|
|
3393
|
-
|
|
4333
|
+
"modifiers": []
|
|
4334
|
+
}
|
|
4335
|
+
],
|
|
4336
|
+
"extendsNodes": []
|
|
4337
|
+
},
|
|
4338
|
+
{
|
|
4339
|
+
"__schema": "ClassSchema",
|
|
4340
|
+
"location": {
|
|
4341
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
4342
|
+
"line": 51,
|
|
4343
|
+
"character": 1
|
|
4344
|
+
},
|
|
4345
|
+
"signature": "class DetectorHook",
|
|
4346
|
+
"name": "DetectorHook",
|
|
4347
|
+
"members": [
|
|
3394
4348
|
{
|
|
3395
4349
|
"__schema": "VariableLikeSchema",
|
|
3396
4350
|
"location": {
|
|
3397
|
-
"filePath": "
|
|
3398
|
-
"line":
|
|
4351
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
4352
|
+
"line": 52,
|
|
3399
4353
|
"character": 3
|
|
3400
4354
|
},
|
|
3401
|
-
"signature": "(property)
|
|
3402
|
-
"name": "
|
|
4355
|
+
"signature": "(property) DetectorHook.hooks: DependencyDetector[]",
|
|
4356
|
+
"name": "hooks",
|
|
3403
4357
|
"type": {
|
|
3404
|
-
"__schema": "
|
|
4358
|
+
"__schema": "TypeArraySchema",
|
|
3405
4359
|
"location": {
|
|
3406
|
-
"filePath": "
|
|
3407
|
-
"line":
|
|
3408
|
-
"character":
|
|
4360
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
4361
|
+
"line": 52,
|
|
4362
|
+
"character": 17
|
|
3409
4363
|
},
|
|
3410
|
-
"type":
|
|
4364
|
+
"type": {
|
|
4365
|
+
"__schema": "TypeRefSchema",
|
|
4366
|
+
"location": {
|
|
4367
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
4368
|
+
"line": 52,
|
|
4369
|
+
"character": 17
|
|
4370
|
+
},
|
|
4371
|
+
"name": "DependencyDetector"
|
|
4372
|
+
}
|
|
3411
4373
|
},
|
|
3412
4374
|
"isOptional": true,
|
|
3413
|
-
"defaultValue": "[
|
|
4375
|
+
"defaultValue": "[]"
|
|
3414
4376
|
},
|
|
3415
4377
|
{
|
|
3416
|
-
"__schema": "
|
|
4378
|
+
"__schema": "FunctionLikeSchema",
|
|
3417
4379
|
"location": {
|
|
3418
|
-
"filePath": "
|
|
3419
|
-
"line":
|
|
4380
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
4381
|
+
"line": 54,
|
|
3420
4382
|
"character": 3
|
|
3421
4383
|
},
|
|
3422
|
-
"signature": "(
|
|
3423
|
-
"name": "
|
|
3424
|
-
"
|
|
3425
|
-
|
|
4384
|
+
"signature": "(method) DetectorHook.isSupported(ext: string): boolean",
|
|
4385
|
+
"name": "isSupported",
|
|
4386
|
+
"params": [
|
|
4387
|
+
{
|
|
4388
|
+
"__schema": "ParameterSchema",
|
|
4389
|
+
"location": {
|
|
4390
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
4391
|
+
"line": 54,
|
|
4392
|
+
"character": 15
|
|
4393
|
+
},
|
|
4394
|
+
"name": "ext",
|
|
4395
|
+
"type": {
|
|
4396
|
+
"__schema": "KeywordTypeSchema",
|
|
4397
|
+
"location": {
|
|
4398
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
4399
|
+
"line": 54,
|
|
4400
|
+
"character": 20
|
|
4401
|
+
},
|
|
4402
|
+
"name": "string"
|
|
4403
|
+
},
|
|
4404
|
+
"isOptional": false,
|
|
4405
|
+
"isSpread": false
|
|
4406
|
+
}
|
|
4407
|
+
],
|
|
4408
|
+
"returnType": {
|
|
4409
|
+
"__schema": "KeywordTypeSchema",
|
|
3426
4410
|
"location": {
|
|
3427
|
-
"filePath": "
|
|
3428
|
-
"line":
|
|
3429
|
-
"character":
|
|
4411
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
4412
|
+
"line": 54,
|
|
4413
|
+
"character": 29
|
|
3430
4414
|
},
|
|
3431
|
-
"
|
|
4415
|
+
"name": "boolean"
|
|
3432
4416
|
},
|
|
3433
|
-
"
|
|
3434
|
-
"defaultValue": "MainRuntime"
|
|
4417
|
+
"modifiers": []
|
|
3435
4418
|
},
|
|
3436
4419
|
{
|
|
3437
4420
|
"__schema": "FunctionLikeSchema",
|
|
3438
4421
|
"location": {
|
|
3439
|
-
"filePath": "
|
|
3440
|
-
"line":
|
|
4422
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
4423
|
+
"line": 62,
|
|
3441
4424
|
"character": 3
|
|
3442
4425
|
},
|
|
3443
|
-
"signature": "(method)
|
|
3444
|
-
"name": "
|
|
4426
|
+
"signature": "(method) DetectorHook.getDetector(ext: string): DependencyDetector | undefined",
|
|
4427
|
+
"name": "getDetector",
|
|
3445
4428
|
"params": [
|
|
3446
4429
|
{
|
|
3447
4430
|
"__schema": "ParameterSchema",
|
|
3448
4431
|
"location": {
|
|
3449
|
-
"filePath": "
|
|
3450
|
-
"line":
|
|
3451
|
-
"character":
|
|
4432
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
4433
|
+
"line": 62,
|
|
4434
|
+
"character": 15
|
|
3452
4435
|
},
|
|
3453
|
-
"name": "
|
|
4436
|
+
"name": "ext",
|
|
3454
4437
|
"type": {
|
|
3455
|
-
"__schema": "
|
|
4438
|
+
"__schema": "KeywordTypeSchema",
|
|
3456
4439
|
"location": {
|
|
3457
|
-
"filePath": "
|
|
3458
|
-
"line":
|
|
3459
|
-
"character":
|
|
4440
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
4441
|
+
"line": 62,
|
|
4442
|
+
"character": 20
|
|
3460
4443
|
},
|
|
3461
|
-
"
|
|
3462
|
-
{
|
|
3463
|
-
"__schema": "TypeRefSchema",
|
|
3464
|
-
"location": {
|
|
3465
|
-
"filePath": "dependencies.main.runtime.ts",
|
|
3466
|
-
"line": 393,
|
|
3467
|
-
"character": 5
|
|
3468
|
-
},
|
|
3469
|
-
"name": "CLIMain",
|
|
3470
|
-
"componentId": {
|
|
3471
|
-
"scope": "teambit.harmony",
|
|
3472
|
-
"name": "cli"
|
|
3473
|
-
}
|
|
3474
|
-
},
|
|
3475
|
-
{
|
|
3476
|
-
"__schema": "TypeRefSchema",
|
|
3477
|
-
"location": {
|
|
3478
|
-
"filePath": "dependencies.main.runtime.ts",
|
|
3479
|
-
"line": 394,
|
|
3480
|
-
"character": 5
|
|
3481
|
-
},
|
|
3482
|
-
"name": "Workspace",
|
|
3483
|
-
"componentId": {
|
|
3484
|
-
"scope": "teambit.workspace",
|
|
3485
|
-
"name": "workspace"
|
|
3486
|
-
}
|
|
3487
|
-
},
|
|
3488
|
-
{
|
|
3489
|
-
"__schema": "TypeRefSchema",
|
|
3490
|
-
"location": {
|
|
3491
|
-
"filePath": "dependencies.main.runtime.ts",
|
|
3492
|
-
"line": 395,
|
|
3493
|
-
"character": 5
|
|
3494
|
-
},
|
|
3495
|
-
"name": "DependencyResolverMain",
|
|
3496
|
-
"componentId": {
|
|
3497
|
-
"scope": "teambit.dependencies",
|
|
3498
|
-
"name": "dependency-resolver"
|
|
3499
|
-
}
|
|
3500
|
-
},
|
|
3501
|
-
{
|
|
3502
|
-
"__schema": "TypeRefSchema",
|
|
3503
|
-
"location": {
|
|
3504
|
-
"filePath": "dependencies.main.runtime.ts",
|
|
3505
|
-
"line": 396,
|
|
3506
|
-
"character": 5
|
|
3507
|
-
},
|
|
3508
|
-
"name": "DevFilesMain",
|
|
3509
|
-
"componentId": {
|
|
3510
|
-
"scope": "teambit.component",
|
|
3511
|
-
"name": "dev-files"
|
|
3512
|
-
}
|
|
3513
|
-
},
|
|
3514
|
-
{
|
|
3515
|
-
"__schema": "TypeRefSchema",
|
|
3516
|
-
"location": {
|
|
3517
|
-
"filePath": "dependencies.main.runtime.ts",
|
|
3518
|
-
"line": 397,
|
|
3519
|
-
"character": 5
|
|
3520
|
-
},
|
|
3521
|
-
"name": "AspectLoaderMain",
|
|
3522
|
-
"componentId": {
|
|
3523
|
-
"scope": "teambit.harmony",
|
|
3524
|
-
"name": "aspect-loader"
|
|
3525
|
-
}
|
|
3526
|
-
},
|
|
3527
|
-
{
|
|
3528
|
-
"__schema": "TypeRefSchema",
|
|
3529
|
-
"location": {
|
|
3530
|
-
"filePath": "dependencies.main.runtime.ts",
|
|
3531
|
-
"line": 398,
|
|
3532
|
-
"character": 5
|
|
3533
|
-
},
|
|
3534
|
-
"name": "ScopeMain",
|
|
3535
|
-
"componentId": {
|
|
3536
|
-
"scope": "teambit.scope",
|
|
3537
|
-
"name": "scope"
|
|
3538
|
-
}
|
|
3539
|
-
},
|
|
3540
|
-
{
|
|
3541
|
-
"__schema": "TypeRefSchema",
|
|
3542
|
-
"location": {
|
|
3543
|
-
"filePath": "dependencies.main.runtime.ts",
|
|
3544
|
-
"line": 399,
|
|
3545
|
-
"character": 5
|
|
3546
|
-
},
|
|
3547
|
-
"name": "GraphMain",
|
|
3548
|
-
"componentId": {
|
|
3549
|
-
"scope": "teambit.component",
|
|
3550
|
-
"name": "graph"
|
|
3551
|
-
}
|
|
3552
|
-
}
|
|
3553
|
-
]
|
|
4444
|
+
"name": "string"
|
|
3554
4445
|
},
|
|
3555
4446
|
"isOptional": false,
|
|
3556
4447
|
"isSpread": false
|
|
3557
4448
|
}
|
|
3558
4449
|
],
|
|
3559
4450
|
"returnType": {
|
|
3560
|
-
"__schema": "
|
|
4451
|
+
"__schema": "TypeUnionSchema",
|
|
3561
4452
|
"location": {
|
|
3562
|
-
"filePath": "
|
|
3563
|
-
"line":
|
|
3564
|
-
"character":
|
|
4453
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
4454
|
+
"line": 62,
|
|
4455
|
+
"character": 29
|
|
3565
4456
|
},
|
|
3566
|
-
"
|
|
4457
|
+
"types": [
|
|
4458
|
+
{
|
|
4459
|
+
"__schema": "TypeRefSchema",
|
|
4460
|
+
"location": {
|
|
4461
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
4462
|
+
"line": 62,
|
|
4463
|
+
"character": 29
|
|
4464
|
+
},
|
|
4465
|
+
"name": "DependencyDetector"
|
|
4466
|
+
},
|
|
4467
|
+
{
|
|
4468
|
+
"__schema": "KeywordTypeSchema",
|
|
4469
|
+
"location": {
|
|
4470
|
+
"filePath": "files-dependency-builder/detector-hook.ts",
|
|
4471
|
+
"line": 62,
|
|
4472
|
+
"character": 50
|
|
4473
|
+
},
|
|
4474
|
+
"name": "undefined"
|
|
4475
|
+
}
|
|
4476
|
+
]
|
|
3567
4477
|
},
|
|
3568
|
-
"modifiers": [
|
|
3569
|
-
"static",
|
|
3570
|
-
"async"
|
|
3571
|
-
]
|
|
4478
|
+
"modifiers": []
|
|
3572
4479
|
}
|
|
3573
4480
|
],
|
|
3574
4481
|
"extendsNodes": [],
|
|
3575
4482
|
"implementNodes": []
|
|
3576
|
-
},
|
|
3577
|
-
{
|
|
3578
|
-
"__schema": "UnImplementedSchema",
|
|
3579
|
-
"location": {
|
|
3580
|
-
"filePath": "dependencies.main.runtime.ts",
|
|
3581
|
-
"line": 434,
|
|
3582
|
-
"character": 16
|
|
3583
|
-
},
|
|
3584
|
-
"name": "DependenciesMain",
|
|
3585
|
-
"type": "Identifier"
|
|
3586
4483
|
}
|
|
3587
4484
|
],
|
|
3588
|
-
"internals": [
|
|
3589
|
-
{
|
|
3590
|
-
"__schema": "FunctionLikeSchema",
|
|
3591
|
-
"location": {
|
|
3592
|
-
"filePath": "dependencies.main.runtime.ts",
|
|
3593
|
-
"line": 428,
|
|
3594
|
-
"character": 1
|
|
3595
|
-
},
|
|
3596
|
-
"signature": "function isComponentId(depName: string): boolean",
|
|
3597
|
-
"name": "isComponentId",
|
|
3598
|
-
"params": [
|
|
3599
|
-
{
|
|
3600
|
-
"__schema": "ParameterSchema",
|
|
3601
|
-
"location": {
|
|
3602
|
-
"filePath": "dependencies.main.runtime.ts",
|
|
3603
|
-
"line": 428,
|
|
3604
|
-
"character": 24
|
|
3605
|
-
},
|
|
3606
|
-
"name": "depName",
|
|
3607
|
-
"type": {
|
|
3608
|
-
"__schema": "KeywordTypeSchema",
|
|
3609
|
-
"location": {
|
|
3610
|
-
"filePath": "dependencies.main.runtime.ts",
|
|
3611
|
-
"line": 428,
|
|
3612
|
-
"character": 33
|
|
3613
|
-
},
|
|
3614
|
-
"name": "string"
|
|
3615
|
-
},
|
|
3616
|
-
"isOptional": false,
|
|
3617
|
-
"isSpread": false
|
|
3618
|
-
}
|
|
3619
|
-
],
|
|
3620
|
-
"returnType": {
|
|
3621
|
-
"__schema": "TypeRefSchema",
|
|
3622
|
-
"location": {
|
|
3623
|
-
"filePath": "dependencies.main.runtime.ts",
|
|
3624
|
-
"line": 428,
|
|
3625
|
-
"character": 1
|
|
3626
|
-
},
|
|
3627
|
-
"name": "isComponentId",
|
|
3628
|
-
"internalFilePath": "dependencies.main.runtime.ts"
|
|
3629
|
-
},
|
|
3630
|
-
"modifiers": []
|
|
3631
|
-
},
|
|
3632
|
-
{
|
|
3633
|
-
"__schema": "UnImplementedSchema",
|
|
3634
|
-
"location": {
|
|
3635
|
-
"filePath": "dependencies.main.runtime.ts",
|
|
3636
|
-
"line": 432,
|
|
3637
|
-
"character": 1
|
|
3638
|
-
},
|
|
3639
|
-
"name": "DependenciesAspect.addRuntime(DependenciesMain);",
|
|
3640
|
-
"type": "ExpressionStatement"
|
|
3641
|
-
}
|
|
3642
|
-
]
|
|
4485
|
+
"internals": []
|
|
3643
4486
|
},
|
|
3644
4487
|
{
|
|
3645
4488
|
"__schema": "ModuleSchema",
|
|
@@ -3682,7 +4525,7 @@
|
|
|
3682
4525
|
"componentId": {
|
|
3683
4526
|
"scope": "teambit.dependencies",
|
|
3684
4527
|
"name": "dependencies",
|
|
3685
|
-
"version": "1.0.
|
|
4528
|
+
"version": "1.0.331"
|
|
3686
4529
|
},
|
|
3687
4530
|
"taggedModuleExports": []
|
|
3688
4531
|
}
|