@teambit/dependencies 1.0.491 → 1.0.493
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 +41 -41
- package/artifacts/schema.json +7 -7
- package/dist/dependencies-cmd.d.ts +2 -0
- package/dist/dependencies-cmd.js +9 -2
- package/dist/dependencies-cmd.js.map +1 -1
- package/dist/files-dependency-builder/fixtures/build-tree/a.js +1 -0
- package/dist/files-dependency-builder/fixtures/build-tree/a.js.map +1 -1
- package/dist/files-dependency-builder/fixtures/build-tree/b.js +1 -0
- package/dist/files-dependency-builder/fixtures/build-tree/b.js.map +1 -1
- package/dist/files-dependency-builder/fixtures/build-tree/not-link-file/file-a.js.map +1 -1
- package/dist/files-dependency-builder/fixtures/build-tree/not-link-file/file-b.js.map +1 -1
- package/dist/files-dependency-builder/fixtures/build-tree/tree-shaking-cycle/foo.js.map +1 -1
- package/dist/files-dependency-builder/fixtures/build-tree/unparsed.js +1 -0
- package/dist/files-dependency-builder/fixtures/build-tree/unparsed.js.map +1 -1
- package/dist/files-dependency-builder/fixtures/dependency-tree/amd/a.js +1 -0
- package/dist/files-dependency-builder/fixtures/dependency-tree/amd/a.js.map +1 -1
- package/dist/files-dependency-builder/fixtures/dependency-tree/commonjs/a.js +1 -0
- package/dist/files-dependency-builder/fixtures/dependency-tree/commonjs/a.js.map +1 -1
- package/dist/files-dependency-builder/fixtures/dependency-tree/commonjs/b.js +1 -0
- package/dist/files-dependency-builder/fixtures/dependency-tree/commonjs/b.js.map +1 -1
- package/dist/files-dependency-builder/fixtures/dependency-tree/commonjs/c.js +1 -0
- package/dist/files-dependency-builder/fixtures/dependency-tree/commonjs/c.js.map +1 -1
- package/dist/files-dependency-builder/fixtures/dependency-tree/onlyRealDeps/a.js +1 -0
- package/dist/files-dependency-builder/fixtures/dependency-tree/onlyRealDeps/a.js.map +1 -1
- package/dist/files-dependency-builder/fixtures/dependency-tree/webpack/aliased.js +1 -0
- package/dist/files-dependency-builder/fixtures/dependency-tree/webpack/aliased.js.map +1 -1
- package/dist/files-dependency-builder/fixtures/dependency-tree/webpack/unaliased.js +1 -0
- package/dist/files-dependency-builder/fixtures/dependency-tree/webpack/unaliased.js.map +1 -1
- package/dist/files-dependency-builder/fixtures/filing-cabinet/foo.js +1 -0
- package/dist/files-dependency-builder/fixtures/filing-cabinet/foo.js.map +1 -1
- package/dist/files-dependency-builder/fixtures/missing-deps.js +1 -0
- package/dist/files-dependency-builder/fixtures/missing-deps.js.map +1 -1
- package/dist/files-dependency-builder/fixtures/precinct/amd.js +1 -0
- package/dist/files-dependency-builder/fixtures/precinct/amd.js.map +1 -1
- package/dist/files-dependency-builder/fixtures/precinct/cjsExportLazy.d.ts +4 -4
- package/dist/files-dependency-builder/fixtures/precinct/cjsExportLazy.js +4 -3
- package/dist/files-dependency-builder/fixtures/precinct/cjsExportLazy.js.map +1 -1
- package/dist/files-dependency-builder/fixtures/precinct/commonjs.js +2 -0
- package/dist/files-dependency-builder/fixtures/precinct/commonjs.js.map +1 -1
- package/dist/files-dependency-builder/fixtures/precinct/coreModules.js +1 -0
- package/dist/files-dependency-builder/fixtures/precinct/coreModules.js.map +1 -1
- package/dist/files-dependency-builder/fixtures/precinct/es6MixedExportLazy.js +1 -0
- package/dist/files-dependency-builder/fixtures/precinct/es6MixedExportLazy.js.map +1 -1
- package/dist/files-dependency-builder/fixtures/precinct/es7.js +3 -0
- package/dist/files-dependency-builder/fixtures/precinct/es7.js.map +1 -1
- package/dist/files-dependency-builder/fixtures/precinct/unparseable.js +1 -0
- package/dist/files-dependency-builder/fixtures/precinct/unparseable.js.map +1 -1
- package/files-dependency-builder/fixtures/build-tree/a.js +1 -0
- package/files-dependency-builder/fixtures/build-tree/b.js +1 -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 +1 -0
- package/files-dependency-builder/fixtures/build-tree/tree-shaking-cycle/foo.js +1 -0
- package/files-dependency-builder/fixtures/build-tree/unparsed.js +1 -0
- package/files-dependency-builder/fixtures/dependency-tree/amd/a.js +1 -0
- package/files-dependency-builder/fixtures/dependency-tree/commonjs/a.js +1 -0
- package/files-dependency-builder/fixtures/dependency-tree/commonjs/b.js +1 -0
- package/files-dependency-builder/fixtures/dependency-tree/commonjs/c.js +1 -0
- package/files-dependency-builder/fixtures/dependency-tree/onlyRealDeps/a.js +1 -0
- package/files-dependency-builder/fixtures/dependency-tree/webpack/aliased.js +1 -0
- package/files-dependency-builder/fixtures/dependency-tree/webpack/unaliased.js +1 -0
- package/files-dependency-builder/fixtures/filing-cabinet/foo.jsx +1 -0
- package/files-dependency-builder/fixtures/missing-deps.js +1 -0
- package/files-dependency-builder/fixtures/precinct/amd.js +1 -0
- package/files-dependency-builder/fixtures/precinct/cjsExportLazy.js +4 -3
- package/files-dependency-builder/fixtures/precinct/commonjs.js +2 -0
- package/files-dependency-builder/fixtures/precinct/coreModules.js +1 -0
- package/files-dependency-builder/fixtures/precinct/es6MixedExportLazy.js +1 -0
- package/files-dependency-builder/fixtures/precinct/es7.js +3 -0
- package/files-dependency-builder/fixtures/precinct/unparseable.js +1 -0
- package/package.json +22 -22
- package/dist/files-dependency-builder/fixtures/precinct/typescript.d.ts +0 -0
- package/dist/files-dependency-builder/fixtures/precinct/typescript.js +0 -11
- package/dist/files-dependency-builder/fixtures/precinct/typescript.js.map +0 -1
- package/files-dependency-builder/fixtures/precinct/typescript.ts +0 -8
- /package/dist/{preview-1733887202407.js → preview-1734020193676.js} +0 -0
@@ -1,14 +1,14 @@
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
2
2
|
<testsuites tests="141" failures="0" errors="0" skipped="31">
|
3
|
-
<testsuite name="teambit.dependencies/dependencies@1.0.
|
3
|
+
<testsuite name="teambit.dependencies/dependencies@1.0.493" tests="141" failures="0" errors="0" skipped="31">
|
4
4
|
<testcase classname="dist/dependencies.spec.js" name="should add the snap prefix" time="0.002"/>
|
5
|
-
<testcase classname="dist/dependencies-loader/package-to-definetly-typed.spec.js" name="should map to @types/testing-library__jest-dom" time="0.
|
5
|
+
<testcase classname="dist/dependencies-loader/package-to-definetly-typed.spec.js" name="should map to @types/testing-library__jest-dom" time="0.001"/>
|
6
6
|
<testcase classname="dist/dependencies-loader/package-to-definetly-typed.spec.js" name="should map to @types/chai" time="0.001"/>
|
7
7
|
<testcase classname="dist/dependencies-loader/package-to-definetly-typed.spec.js" name="should map to @types/mocha"/>
|
8
8
|
<testcase classname="dist/dependencies-loader/package-to-definetly-typed.spec.js" name="should map to @types/classnames"/>
|
9
9
|
<testcase classname="dist/dependencies-loader/package-to-definetly-typed.spec.js" name="should map to @types/cors"/>
|
10
10
|
<testcase classname="dist/dependencies-loader/package-to-definetly-typed.spec.js" name="should map to @types/cross-spawn"/>
|
11
|
-
<testcase classname="dist/dependencies-loader/package-to-definetly-typed.spec.js" name="should map to @types/didyoumean"/>
|
11
|
+
<testcase classname="dist/dependencies-loader/package-to-definetly-typed.spec.js" name="should map to @types/didyoumean" time="0.001"/>
|
12
12
|
<testcase classname="dist/dependencies-loader/package-to-definetly-typed.spec.js" name="should map to @types/eslint"/>
|
13
13
|
<testcase classname="dist/dependencies-loader/package-to-definetly-typed.spec.js" name="should map to @types/express"/>
|
14
14
|
<testcase classname="dist/dependencies-loader/package-to-definetly-typed.spec.js" name="should map to @types/find-cache-dir"/>
|
@@ -22,7 +22,7 @@
|
|
22
22
|
<testcase classname="dist/dependencies-loader/package-to-definetly-typed.spec.js" name="should map to @types/lodash.pick"/>
|
23
23
|
<testcase classname="dist/dependencies-loader/package-to-definetly-typed.spec.js" name="should map to @types/mdx-js__react"/>
|
24
24
|
<testcase classname="dist/dependencies-loader/package-to-definetly-typed.spec.js" name="should map to @types/memoizee"/>
|
25
|
-
<testcase classname="dist/dependencies-loader/package-to-definetly-typed.spec.js" name="should map to @types/mime"
|
25
|
+
<testcase classname="dist/dependencies-loader/package-to-definetly-typed.spec.js" name="should map to @types/mime"/>
|
26
26
|
<testcase classname="dist/dependencies-loader/package-to-definetly-typed.spec.js" name="should map to @types/mousetrap"/>
|
27
27
|
<testcase classname="dist/dependencies-loader/package-to-definetly-typed.spec.js" name="should map to @types/node"/>
|
28
28
|
<testcase classname="dist/dependencies-loader/package-to-definetly-typed.spec.js" name="should map to @types/puppeteer"/>
|
@@ -38,9 +38,9 @@
|
|
38
38
|
<testcase classname="dist/dependencies-loader/package-to-definetly-typed.spec.js" name="should map to @types/webpack"/>
|
39
39
|
<testcase classname="dist/dependencies-loader/package-to-definetly-typed.spec.js" name="should map to @types/webpack-dev-server"/>
|
40
40
|
<testcase classname="dist/dependencies-loader/package-to-definetly-typed.spec.js" name="should map to @types/webpack-merge"/>
|
41
|
-
<testcase classname="dist/files-dependency-builder/build-tree.spec.js" name="when no files are passed should return an empty tree" time="0.
|
41
|
+
<testcase classname="dist/files-dependency-builder/build-tree.spec.js" name="when no files are passed should return an empty tree" time="0.002"/>
|
42
42
|
<testcase classname="dist/files-dependency-builder/build-tree.spec.js" name="when unsupported files are passed should return them with no dependencies" time="0.001"/>
|
43
|
-
<testcase classname="dist/files-dependency-builder/build-tree.spec.js" name="when supported and unsupported files are passed should return them all" time="0.
|
43
|
+
<testcase classname="dist/files-dependency-builder/build-tree.spec.js" name="when supported and unsupported files are passed should return them all" time="0.073"/>
|
44
44
|
<testcase classname="dist/files-dependency-builder/build-tree.spec.js" name="when a js file has parsing error it should add the file to the tree with the error instance">
|
45
45
|
<skipped/>
|
46
46
|
</testcase>
|
@@ -66,63 +66,63 @@
|
|
66
66
|
<testcase classname="dist/files-dependency-builder/build-tree.spec.js" name="should not recognize the cycle dependencies as link files">
|
67
67
|
<skipped/>
|
68
68
|
</testcase>
|
69
|
-
<testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="returns an empty object for a non-existent filename" time="0.
|
70
|
-
<testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="handles nested tree structures" time="0.
|
71
|
-
<testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="does not include files that are not real (#13)" time="0.
|
72
|
-
<testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="does not choke on cyclic dependencies" time="0.
|
69
|
+
<testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="returns an empty object for a non-existent filename" time="0.002"/>
|
70
|
+
<testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="handles nested tree structures" time="0.006"/>
|
71
|
+
<testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="does not include files that are not real (#13)" time="0.002"/>
|
72
|
+
<testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="does not choke on cyclic dependencies" time="0.089"/>
|
73
73
|
<testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="excludes Nodejs core modules by default" time="0.001"/>
|
74
74
|
<testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="returns a list of absolutely pathed files"/>
|
75
|
-
<testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="passes it through to precinct" time="0.
|
76
|
-
<testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="stores the invalid partials" time="0.
|
77
|
-
<testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="does not store anything" time="0.
|
78
|
-
<testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="stores the invalid ones" time="0.
|
75
|
+
<testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="passes it through to precinct" time="0.05"/>
|
76
|
+
<testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="stores the invalid partials" time="0.001"/>
|
77
|
+
<testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="does not store anything" time="0.002"/>
|
78
|
+
<testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="stores the invalid ones" time="0.002"/>
|
79
79
|
<testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="should include the non-existent partial per file" time="0.003"/>
|
80
80
|
<testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="throws if the filename is missing"/>
|
81
81
|
<testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="throws if the root is missing"/>
|
82
|
-
<testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="throws if a supplied filter is not a function"/>
|
83
|
-
<testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="does not throw on the legacy `root` option"
|
82
|
+
<testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="throws if a supplied filter is not a function" time="0.001"/>
|
83
|
+
<testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="does not throw on the legacy `root` option"/>
|
84
84
|
<testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="does not throw"/>
|
85
85
|
<testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="returns no dependencies"/>
|
86
86
|
<testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="returns the precomputed list of a cached entry point"/>
|
87
|
-
<testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="returns an object form of the dependency tree for a file" time="0.
|
87
|
+
<testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="returns an object form of the dependency tree for a file" time="0.001"/>
|
88
88
|
<testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="returns an object form of the dependency tree for a file" time="0.002"/>
|
89
89
|
<testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="resolves files that have jsx" time="0.002"/>
|
90
90
|
<testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="resolves files with a jsx extension" time="0.002"/>
|
91
|
-
<testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="resolves files that have es7"
|
92
|
-
<testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="returns an object form of the dependency tree for a file" time="0.
|
91
|
+
<testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="resolves files that have es7"/>
|
92
|
+
<testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="returns an object form of the dependency tree for a file" time="0.007"/>
|
93
93
|
<testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="returns an object form of the dependency tree for a file" time="0.001"/>
|
94
|
-
<testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="returns an object form of the dependency tree for a file" time="0.
|
95
|
-
<testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="returns an object form of the dependency tree for a file" time="0.
|
94
|
+
<testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="returns an object form of the dependency tree for a file" time="0.004"/>
|
95
|
+
<testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="returns an object form of the dependency tree for a file" time="0.018"/>
|
96
96
|
<testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="resolves unaliased modules">
|
97
97
|
<skipped/>
|
98
98
|
</testcase>
|
99
99
|
<testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="uses the filter to determine if a file should be included in the results" time="0.003"/>
|
100
100
|
<testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="includes the lazy dependency" time="0.002"/>
|
101
|
-
<testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="includes the lazy dependency"
|
101
|
+
<testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="includes the lazy dependency"/>
|
102
102
|
<testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="includes the dynamic import" time="0.001"/>
|
103
103
|
<testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="should include it as a dependency and not throw an error" time="0.001"/>
|
104
104
|
<testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="it includes the module entry as dependency">
|
105
105
|
<skipped/>
|
106
106
|
</testcase>
|
107
|
-
<testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="retains the detective config in the clone" time="0.
|
108
|
-
<testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="should not override the cache with wrong packages" time="0.
|
107
|
+
<testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="retains the detective config in the clone" time="0.002"/>
|
108
|
+
<testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="should not override the cache with wrong packages" time="0.003"/>
|
109
109
|
<testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="should not crash with "RangeError: Maximum call stack size exceeded" error" time="0.001"/>
|
110
110
|
<testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="should not show missing dependencies" time="0.001"/>
|
111
111
|
<testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="should not show missing dependencies when importing from https" time="0.001"/>
|
112
|
-
<testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="should not show missing dependencies when importing from http"
|
113
|
-
<testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="uses a generic resolve for unsupported file extensions" time="0.
|
114
|
-
<testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="reuses the ast when trying to determine the module type"
|
115
|
-
<testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="resolves the dependency successfully"
|
116
|
-
<testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="uses the filename to look for the module type"/>
|
112
|
+
<testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="should not show missing dependencies when importing from http"/>
|
113
|
+
<testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="uses a generic resolve for unsupported file extensions" time="0.002"/>
|
114
|
+
<testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="reuses the ast when trying to determine the module type"/>
|
115
|
+
<testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="resolves the dependency successfully"/>
|
116
|
+
<testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="uses the filename to look for the module type" time="0.001"/>
|
117
117
|
<testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="assumes commonjs for es6 modules with no requirejs/webpack config">
|
118
118
|
<skipped/>
|
119
119
|
</testcase>
|
120
|
-
<testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="resolves files with the .jsx extension"/>
|
120
|
+
<testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="resolves files with the .jsx extension" time="0.001"/>
|
121
121
|
<testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="uses require's resolver">
|
122
122
|
<skipped/>
|
123
123
|
</testcase>
|
124
124
|
<testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="returns an empty string for an unresolved module" time="0.001"/>
|
125
|
-
<testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="adds the directory to the require resolution paths" time="0.
|
125
|
+
<testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="adds the directory to the require resolution paths" time="0.002"/>
|
126
126
|
<testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="resolves a relative dependency about the filename"/>
|
127
127
|
<testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="resolves a .. dependency to its parent directory's index.js file" time="0.001"/>
|
128
128
|
<testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="resolves a dependency within a directory outside of the given file">
|
@@ -133,22 +133,22 @@
|
|
133
133
|
</testcase>
|
134
134
|
<testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="resolves a nested module" time="0.001"/>
|
135
135
|
<testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="resolves to the index.js file of a directory" time="0.001"/>
|
136
|
-
<testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="resolves implicit .jsx requires"
|
137
|
-
<testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="resolves implicit .scss requires"
|
136
|
+
<testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="resolves implicit .jsx requires"/>
|
137
|
+
<testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="resolves implicit .scss requires"/>
|
138
138
|
<testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="resolves implicit .json requires"/>
|
139
|
-
<testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="resolves an import"
|
139
|
+
<testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="resolves an import"/>
|
140
140
|
<testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="returns an empty result" time="0.001"/>
|
141
141
|
<testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="uses the sass resolver for .scss files"/>
|
142
142
|
<testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="uses the sass resolver for .sass files"/>
|
143
143
|
<testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="uses the stylus resolver"/>
|
144
|
-
<testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="resolves extensionless dependencies"
|
144
|
+
<testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="resolves extensionless dependencies"/>
|
145
145
|
<testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="resolves dependencies with a less extension"/>
|
146
146
|
<testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="resolves dependencies with a css extension"/>
|
147
147
|
<testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="uses a generic resolve for unsupported file extensions"/>
|
148
|
-
<testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="supports passing env detectors"
|
149
|
-
<testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="registers a custom resolver for a given extension" time="0.
|
150
|
-
<testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="allows does not break default resolvers" time="0.
|
151
|
-
<testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="can be called multiple times"/>
|
148
|
+
<testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="supports passing env detectors"/>
|
149
|
+
<testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="registers a custom resolver for a given extension" time="0.001"/>
|
150
|
+
<testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="allows does not break default resolvers" time="0.002"/>
|
151
|
+
<testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="can be called multiple times" time="0.001"/>
|
152
152
|
<testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="does not add redundant extensions to supportedFileExtensions"/>
|
153
153
|
<testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="should resolve the dependency to a node_module package (using webpack under the hood)">
|
154
154
|
<skipped/>
|
@@ -192,7 +192,7 @@
|
|
192
192
|
<testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="returns the dependencies for the given filepath">
|
193
193
|
<skipped/>
|
194
194
|
</testcase>
|
195
|
-
<testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="throws if the file cannot be found" time="0.
|
195
|
+
<testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="throws if the file cannot be found" time="0.001"/>
|
196
196
|
<testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="filters out core modules if options.includeCore is false" time="0.002"/>
|
197
197
|
<testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="does not filter out core modules by default">
|
198
198
|
<skipped/>
|
@@ -200,7 +200,7 @@
|
|
200
200
|
<testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="supports passing detective configuration">
|
201
201
|
<skipped/>
|
202
202
|
</testcase>
|
203
|
-
<testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="supports passing env detectors" time="0.
|
203
|
+
<testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="supports passing env detectors" time="0.001"/>
|
204
204
|
<testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="still does not filter out core module by default">
|
205
205
|
<skipped/>
|
206
206
|
</testcase>
|
package/artifacts/schema.json
CHANGED
@@ -834,7 +834,7 @@
|
|
834
834
|
"componentId": {
|
835
835
|
"scope": "teambit.legacy",
|
836
836
|
"name": "consumer-component",
|
837
|
-
"version": "0.0.
|
837
|
+
"version": "0.0.6"
|
838
838
|
}
|
839
839
|
},
|
840
840
|
"isOptional": false,
|
@@ -859,7 +859,7 @@
|
|
859
859
|
"componentId": {
|
860
860
|
"scope": "teambit.legacy",
|
861
861
|
"name": "consumer-component",
|
862
|
-
"version": "0.0.
|
862
|
+
"version": "0.0.6"
|
863
863
|
}
|
864
864
|
},
|
865
865
|
"isOptional": false,
|
@@ -919,7 +919,7 @@
|
|
919
919
|
"componentId": {
|
920
920
|
"scope": "teambit.legacy",
|
921
921
|
"name": "consumer-component",
|
922
|
-
"version": "0.0.
|
922
|
+
"version": "0.0.6"
|
923
923
|
}
|
924
924
|
},
|
925
925
|
"isOptional": false,
|
@@ -3458,7 +3458,7 @@
|
|
3458
3458
|
"componentId": {
|
3459
3459
|
"scope": "teambit.legacy",
|
3460
3460
|
"name": "consumer-component",
|
3461
|
-
"version": "0.0.
|
3461
|
+
"version": "0.0.6"
|
3462
3462
|
}
|
3463
3463
|
},
|
3464
3464
|
"isOptional": false,
|
@@ -3483,7 +3483,7 @@
|
|
3483
3483
|
"componentId": {
|
3484
3484
|
"scope": "teambit.legacy",
|
3485
3485
|
"name": "consumer-component",
|
3486
|
-
"version": "0.0.
|
3486
|
+
"version": "0.0.6"
|
3487
3487
|
}
|
3488
3488
|
},
|
3489
3489
|
"isOptional": false,
|
@@ -3543,7 +3543,7 @@
|
|
3543
3543
|
"componentId": {
|
3544
3544
|
"scope": "teambit.legacy",
|
3545
3545
|
"name": "consumer-component",
|
3546
|
-
"version": "0.0.
|
3546
|
+
"version": "0.0.6"
|
3547
3547
|
}
|
3548
3548
|
},
|
3549
3549
|
"isOptional": false,
|
@@ -4896,7 +4896,7 @@
|
|
4896
4896
|
"componentId": {
|
4897
4897
|
"scope": "teambit.dependencies",
|
4898
4898
|
"name": "dependencies",
|
4899
|
-
"version": "1.0.
|
4899
|
+
"version": "1.0.493"
|
4900
4900
|
},
|
4901
4901
|
"taggedModuleExports": []
|
4902
4902
|
}
|
@@ -61,6 +61,7 @@ export declare class DependenciesRemoveCmd implements Command {
|
|
61
61
|
}[];
|
62
62
|
group: string;
|
63
63
|
description: string;
|
64
|
+
extendedDescription: string;
|
64
65
|
alias: string;
|
65
66
|
options: CommandOptions;
|
66
67
|
constructor(deps: DependenciesMain);
|
@@ -75,6 +76,7 @@ export declare class DependenciesUnsetCmd implements Command {
|
|
75
76
|
}[];
|
76
77
|
group: string;
|
77
78
|
description: string;
|
79
|
+
extendedDescription: string;
|
78
80
|
alias: string;
|
79
81
|
options: CommandOptions;
|
80
82
|
constructor(deps: DependenciesMain);
|
package/dist/dependencies-cmd.js
CHANGED
@@ -148,7 +148,11 @@ class DependenciesRemoveCmd {
|
|
148
148
|
description: 'package name with or without a version, e.g. "lodash@1.0.0" or just "lodash" which will remove all lodash instances of any version'
|
149
149
|
}]);
|
150
150
|
_defineProperty(this, "group", 'info');
|
151
|
-
_defineProperty(this, "description", 'remove a dependency
|
151
|
+
_defineProperty(this, "description", 'remove a dependency from one or more components');
|
152
|
+
_defineProperty(this, "extendedDescription", `this command removes the dependency whether it was set by 'bit deps set'/variants or by auto-detection.
|
153
|
+
if the dependency was auto-detected, it will be marked with a minus sign in the .bitmap file.
|
154
|
+
otherwise, the config is written to .bitmap without the dependency.
|
155
|
+
see also 'bit deps unset'`);
|
152
156
|
_defineProperty(this, "alias", '');
|
153
157
|
_defineProperty(this, "options", [['d', 'dev', 'remove from devDependencies'], ['p', 'peer', 'remove from peerDependencies']]);
|
154
158
|
}
|
@@ -177,7 +181,10 @@ class DependenciesUnsetCmd {
|
|
177
181
|
description: 'package name with or without a version, e.g. "lodash@1.0.0" or just "lodash" which will remove all lodash instances of any version'
|
178
182
|
}]);
|
179
183
|
_defineProperty(this, "group", 'info');
|
180
|
-
_defineProperty(this, "description", 'unset a dependency to component(s) that was
|
184
|
+
_defineProperty(this, "description", 'unset a dependency to component(s) that was set via config (e.g. "bit deps set" or variants)');
|
185
|
+
_defineProperty(this, "extendedDescription", `this command removes the dependency only when it was set by config not if it was auto detected.
|
186
|
+
in the .bitmap file, the config is written without the dependency.
|
187
|
+
see also "bit deps remove"`);
|
181
188
|
_defineProperty(this, "alias", '');
|
182
189
|
_defineProperty(this, "options", [['d', 'dev', 'unset from devDependencies'], ['p', 'peer', 'unset from peerDependencies']]);
|
183
190
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["_cliTable","data","_interopRequireDefault","require","_chalk","_archy","_legacy","_template","e","__esModule","default","_defineProperty","r","t","_toPropertyKey","Object","defineProperty","value","enumerable","configurable","writable","i","_toPrimitive","Symbol","toPrimitive","call","TypeError","String","Number","DependenciesGetCmd","constructor","deps","name","description","report","id","tree","scope","results","getDependencies","idWithVersion","getGraphAsTree","graph","graphAsTree","getDependenciesAsObjectTree","toString","archy","err","chalk","red","graphTree","depsInfo","getDependenciesInfo","length","toStringWithoutVersion","depsTable","generateDependenciesInfoTable","exports","DependenciesDebugCmd","debugDependencies","JSON","stringify","undefined","DependenciesSetCmd","COMPONENT_PATTERN_HELP","pattern","packages","setDepsFlags","changedComps","addedPackages","setDependency","green","bold","join","DependenciesRemoveCmd","removeDepsFlags","removeDependency","yellow","output","map","removedPackages","underline","DependenciesUnsetCmd","DependenciesResetCmd","reset","comps","DependenciesEjectCmd","eject","DependenciesBlameCmd","compName","depName","blame","table","Table","chars","top","bottom","left","mid","right","middle","style","snap","tag","author","date","message","version","push","DependenciesUsageCmd","options","deepUsageResult","usageDeep","usage","keys","compIdStr","WhyCmd","args","DependenciesCmd","unrecognizedSubcommand","SetPeerCmd","componentId","range","setPeer","UnsetPeerCmd","unsetPeer"],"sources":["dependencies-cmd.ts"],"sourcesContent":["// eslint-disable-next-line max-classes-per-file\nimport { Command, CommandOptions } from '@teambit/cli';\nimport Table from 'cli-table';\nimport chalk from 'chalk';\nimport archy from 'archy';\nimport { ComponentIdGraph } from '@teambit/graph';\nimport { COMPONENT_PATTERN_HELP } from '@teambit/legacy.constants';\nimport { generateDependenciesInfoTable } from './template';\nimport { DependenciesMain } from './dependencies.main.runtime';\n\ntype GetDependenciesFlags = {\n tree: boolean;\n scope?: boolean;\n};\n\nexport type SetDependenciesFlags = {\n dev?: boolean;\n optional?: boolean;\n peer?: boolean;\n};\n\nexport type RemoveDependenciesFlags = SetDependenciesFlags;\n\nexport class DependenciesGetCmd implements Command {\n name = 'get <component-name>';\n arguments = [{ name: 'component-name', description: 'component name or component id' }];\n group = 'info';\n description = 'show direct and indirect dependencies of the given component';\n alias = '';\n options = [\n ['', 'scope', 'get the data from the scope instead of the workspace'],\n ['t', 'tree', 'render dependencies as a tree, similar to \"npm ls\"'],\n ] as CommandOptions;\n\n constructor(private deps: DependenciesMain) {}\n\n async report([id]: [string], { tree = false, scope = false }: GetDependenciesFlags) {\n const results = await this.deps.getDependencies(id, scope);\n\n if (tree) {\n const idWithVersion = results.id;\n const getGraphAsTree = (graph: ComponentIdGraph) => {\n try {\n const graphAsTree = graph.getDependenciesAsObjectTree(idWithVersion.toString());\n return archy(graphAsTree);\n } catch (err: any) {\n if (err.constructor.name === 'RangeError') {\n return `${chalk.red(\n 'unable to generate a tree representation, the graph is too big or has cyclic dependencies'\n )}`;\n }\n throw err;\n }\n };\n const graphTree = getGraphAsTree(results.graph);\n return graphTree;\n }\n const depsInfo = results.graph.getDependenciesInfo(results.id);\n if (!depsInfo.length) {\n return `no dependencies found for ${results.id.toString()}.\ntry running \"bit cat-component ${results.id.toStringWithoutVersion()}\" to see whether the component/version exists locally`;\n }\n\n const depsTable = generateDependenciesInfoTable(depsInfo, results.id);\n return `${depsTable || '<none>'}`;\n }\n}\n\nexport class DependenciesDebugCmd implements Command {\n name = 'debug <component-name>';\n arguments = [{ name: 'component-name', description: 'component name or component id' }];\n group = 'info';\n description = 'show the immediate dependencies and how their versions were determined';\n alias = '';\n options = [] as CommandOptions;\n\n constructor(private deps: DependenciesMain) {}\n\n async report([id]: [string]) {\n const results = await this.deps.debugDependencies(id);\n return JSON.stringify(results, undefined, 4);\n }\n}\n\nexport class DependenciesSetCmd implements Command {\n name = 'set <component-pattern> <package...>';\n arguments = [\n { name: 'component-pattern', description: COMPONENT_PATTERN_HELP },\n {\n name: 'package...',\n description:\n 'package name with or without a version, e.g. \"lodash@1.0.0\" or just \"lodash\" which will be resolved to the latest',\n },\n ];\n group = 'info';\n description = 'set a dependency to component(s)';\n alias = '';\n options = [\n ['d', 'dev', 'add to the devDependencies'],\n ['o', 'optional', 'add to the optionalDependencies'],\n ['p', 'peer', 'add to the peerDependencies'],\n ] as CommandOptions;\n\n constructor(private deps: DependenciesMain) {}\n\n async report([pattern, packages]: [string, string[]], setDepsFlags: SetDependenciesFlags) {\n const { changedComps, addedPackages } = await this.deps.setDependency(pattern, packages, setDepsFlags);\n\n return `${chalk.green('successfully updated dependencies')}\n${chalk.bold('changed components')}\n${changedComps.join('\\n')}\n\n${chalk.bold('added packages')}\n${JSON.stringify(addedPackages, undefined, 4)}`;\n }\n}\n\nexport class DependenciesRemoveCmd implements Command {\n name = 'remove <component-pattern> <package...>';\n arguments = [\n { name: 'component-pattern', description: COMPONENT_PATTERN_HELP },\n {\n name: 'package...',\n description:\n 'package name with or without a version, e.g. \"lodash@1.0.0\" or just \"lodash\" which will remove all lodash instances of any version',\n },\n ];\n group = 'info';\n description = 'remove a dependency to component(s)';\n alias = '';\n options = [\n ['d', 'dev', 'remove from devDependencies'],\n ['p', 'peer', 'remove from peerDependencies'],\n ] as CommandOptions;\n\n constructor(private deps: DependenciesMain) {}\n\n async report([pattern, packages]: [string, string[]], removeDepsFlags: RemoveDependenciesFlags) {\n const results = await this.deps.removeDependency(pattern, packages, removeDepsFlags);\n if (!results.length) {\n return chalk.yellow('the specified component-pattern do not use the entered packages. nothing to remove');\n }\n\n const output = results\n .map(({ id, removedPackages }) => `${chalk.underline(id.toString())}\\n${removedPackages.join('\\n')}`)\n .join('\\n\\n');\n\n return `${chalk.green('successfully removed dependencies')}\\n${output}`;\n }\n}\n\nexport class DependenciesUnsetCmd implements Command {\n name = 'unset <component-pattern> <package...>';\n arguments = [\n { name: 'component-pattern', description: COMPONENT_PATTERN_HELP },\n {\n name: 'package...',\n description:\n 'package name with or without a version, e.g. \"lodash@1.0.0\" or just \"lodash\" which will remove all lodash instances of any version',\n },\n ];\n group = 'info';\n description = 'unset a dependency to component(s) that was previously set by \"bit deps set\"';\n alias = '';\n options = [\n ['d', 'dev', 'unset from devDependencies'],\n ['p', 'peer', 'unset from peerDependencies'],\n ] as CommandOptions;\n\n constructor(private deps: DependenciesMain) {}\n\n async report([pattern, packages]: [string, string[]], removeDepsFlags: RemoveDependenciesFlags) {\n const results = await this.deps.removeDependency(pattern, packages, removeDepsFlags, true);\n if (!results.length) {\n return chalk.yellow('the specified component-pattern do not use the entered packages. nothing to unset');\n }\n\n const output = results\n .map(({ id, removedPackages }) => `${chalk.underline(id.toString())}\\n${removedPackages.join('\\n')}`)\n .join('\\n\\n');\n\n return `${chalk.green('successfully unset dependencies')}\\n${output}`;\n }\n}\n\nexport class DependenciesResetCmd implements Command {\n name = 'reset <component-pattern>';\n arguments = [{ name: 'component-pattern', description: COMPONENT_PATTERN_HELP }];\n group = 'info';\n description = 'reset dependencies to the default values (revert any previously \"bit deps set\")';\n alias = '';\n options = [] as CommandOptions;\n\n constructor(private deps: DependenciesMain) {}\n\n async report([pattern]: [string]) {\n const results = await this.deps.reset(pattern);\n const comps = results.map((id) => id.toString());\n\n return `${chalk.green('successfully reset dependencies for the following component(s)')}\\n${comps}`;\n }\n}\n\nexport class DependenciesEjectCmd implements Command {\n name = 'eject <component-pattern>';\n arguments = [{ name: 'component-pattern', description: COMPONENT_PATTERN_HELP }];\n group = 'info';\n description = 'write dependencies that were previously set via \"bit deps set\" into .bitmap';\n alias = '';\n options = [] as CommandOptions;\n\n constructor(private deps: DependenciesMain) {}\n\n async report([pattern]: [string]) {\n const results = await this.deps.eject(pattern);\n const comps = results.map((id) => id.toString());\n\n return `${chalk.green('successfully ejected dependencies for the following component(s)')}\\n${comps}`;\n }\n}\n\nexport class DependenciesBlameCmd implements Command {\n name = 'blame <component-name> <dependency-name>';\n arguments = [\n {\n name: 'dependency-name',\n description: 'package-name. for components, you can use either component-id or package-name',\n },\n ];\n group = 'info';\n description = 'find out which snap/tag changed a dependency version';\n alias = '';\n options = [] as CommandOptions;\n\n constructor(private deps: DependenciesMain) {}\n\n async report([compName, depName]: [string, string]) {\n const results = await this.deps.blame(compName, depName);\n if (!results.length) {\n return chalk.yellow(`the specified component ${compName} does not use the entered dependency ${depName}`);\n }\n // table with no style and no borders, just to align the columns.\n const table = new Table({\n chars: {\n top: '',\n 'top-mid': '',\n 'top-left': '',\n 'top-right': '',\n bottom: '',\n 'bottom-mid': '',\n 'bottom-left': '',\n 'bottom-right': '',\n left: '',\n 'left-mid': '',\n mid: '',\n 'mid-mid': '',\n right: '',\n 'right-mid': '',\n middle: ' ',\n },\n style: { 'padding-left': 0, 'padding-right': 0 },\n });\n\n results.map(({ snap, tag, author, date, message, version }) =>\n table.push([snap, tag || '', author, date, message, version])\n );\n\n return table.toString();\n }\n}\n\ntype DependenciesUsageCmdOptions = {\n depth?: number;\n};\n\nexport class DependenciesUsageCmd implements Command {\n name = 'usage <dependency-name>';\n arguments = [\n {\n name: 'dependency-name',\n description:\n 'package-name. for components, you can use either component-id or package-name. if version is specified, it will search for the exact version',\n },\n ];\n group = 'info';\n description = 'find components that use the specified dependency';\n alias = '';\n options = [['', 'depth <number>', 'max display depth of the dependency graph']] as CommandOptions;\n\n constructor(private deps: DependenciesMain) {}\n\n async report([depName]: [string], options: DependenciesUsageCmdOptions) {\n const deepUsageResult = await this.deps.usageDeep(depName, options);\n if (deepUsageResult != null) return deepUsageResult;\n const results = await this.deps.usage(depName);\n if (!Object.keys(results).length) {\n return chalk.yellow(`the specified dependency ${depName} is not used by any component`);\n }\n return Object.keys(results)\n .map((compIdStr) => `${chalk.bold(compIdStr)} (using dep in version ${results[compIdStr]})`)\n .join('\\n');\n }\n}\n\nexport class WhyCmd extends DependenciesUsageCmd {\n name = 'why <dependency-name>';\n}\n\nexport class DependenciesCmd implements Command {\n name = 'deps <sub-command>';\n alias = 'dependencies';\n description = 'manage dependencies';\n options = [];\n group = 'info';\n commands: Command[] = [];\n helpUrl = 'reference/dependencies/configuring-dependencies';\n\n async report([unrecognizedSubcommand]: [string]) {\n return chalk.red(\n `\"${unrecognizedSubcommand}\" is not a subcommand of \"dependencies\", please run \"bit dependencies --help\" to list the subcommands`\n );\n }\n}\n\nexport class SetPeerCmd implements Command {\n name = 'set-peer <component-id> <range>';\n arguments = [\n { name: 'component-id', description: 'the component to set as always peer' },\n {\n name: 'range',\n description: 'the default range to use for the componnent, when added to peerDependencies',\n },\n ];\n group = 'info';\n description = 'set a component as always peer';\n alias = '';\n options = [];\n\n constructor(private deps: DependenciesMain) {}\n\n async report([componentId, range]: [string, string]) {\n await this.deps.setPeer(componentId, range != null ? range.toString() : range);\n return `${chalk.green('successfully marked the component as a peer component')}`;\n }\n}\n\nexport class UnsetPeerCmd implements Command {\n name = 'unset-peer <component-id>';\n arguments = [{ name: 'component-id', description: 'the component to unset as always peer' }];\n group = 'info';\n description = 'unset a component as always peer';\n alias = '';\n options = [];\n\n constructor(private deps: DependenciesMain) {}\n\n async report([componentId]: [string]) {\n await this.deps.unsetPeer(componentId);\n return `${chalk.green('successfully marked the component as not a peer component')}`;\n }\n}\n"],"mappings":";;;;;;AAEA,SAAAA,UAAA;EAAA,MAAAC,IAAA,GAAAC,sBAAA,CAAAC,OAAA;EAAAH,SAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAG,OAAA;EAAA,MAAAH,IAAA,GAAAC,sBAAA,CAAAC,OAAA;EAAAC,MAAA,YAAAA,CAAA;IAAA,OAAAH,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAC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K,CAAC;IAC9E,OAAO,GAAG1E,gBAAK,CAACuB,KAAK,CAAC,uDAAuD,CAAC,EAAE;EAClF;AACF;AAACd,OAAA,CAAA+D,UAAA,GAAAA,UAAA;AAEM,MAAMI,YAAY,CAAoB;EAQ3C9F,WAAWA,CAASC,IAAsB,EAAE;IAAA,KAAxBA,IAAsB,GAAtBA,IAAsB;IAAApB,eAAA,eAPnC,2BAA2B;IAAAA,eAAA,oBACtB,CAAC;MAAEqB,IAAI,EAAE,cAAc;MAAEC,WAAW,EAAE;IAAwC,CAAC,CAAC;IAAAtB,eAAA,gBACpF,MAAM;IAAAA,eAAA,sBACA,kCAAkC;IAAAA,eAAA,gBACxC,EAAE;IAAAA,eAAA,kBACA,EAAE;EAEiC;EAE7C,MAAMuB,MAAMA,CAAC,CAACuF,WAAW,CAAW,EAAE;IACpC,MAAM,IAAI,CAAC1F,IAAI,CAAC8F,SAAS,CAACJ,WAAW,CAAC;IACtC,OAAO,GAAGzE,gBAAK,CAACuB,KAAK,CAAC,2DAA2D,CAAC,EAAE;EACtF;AACF;AAACd,OAAA,CAAAmE,YAAA,GAAAA,YAAA","ignoreList":[]}
|
1
|
+
{"version":3,"names":["_cliTable","data","_interopRequireDefault","require","_chalk","_archy","_legacy","_template","e","__esModule","default","_defineProperty","r","t","_toPropertyKey","Object","defineProperty","value","enumerable","configurable","writable","i","_toPrimitive","Symbol","toPrimitive","call","TypeError","String","Number","DependenciesGetCmd","constructor","deps","name","description","report","id","tree","scope","results","getDependencies","idWithVersion","getGraphAsTree","graph","graphAsTree","getDependenciesAsObjectTree","toString","archy","err","chalk","red","graphTree","depsInfo","getDependenciesInfo","length","toStringWithoutVersion","depsTable","generateDependenciesInfoTable","exports","DependenciesDebugCmd","debugDependencies","JSON","stringify","undefined","DependenciesSetCmd","COMPONENT_PATTERN_HELP","pattern","packages","setDepsFlags","changedComps","addedPackages","setDependency","green","bold","join","DependenciesRemoveCmd","removeDepsFlags","removeDependency","yellow","output","map","removedPackages","underline","DependenciesUnsetCmd","DependenciesResetCmd","reset","comps","DependenciesEjectCmd","eject","DependenciesBlameCmd","compName","depName","blame","table","Table","chars","top","bottom","left","mid","right","middle","style","snap","tag","author","date","message","version","push","DependenciesUsageCmd","options","deepUsageResult","usageDeep","usage","keys","compIdStr","WhyCmd","args","DependenciesCmd","unrecognizedSubcommand","SetPeerCmd","componentId","range","setPeer","UnsetPeerCmd","unsetPeer"],"sources":["dependencies-cmd.ts"],"sourcesContent":["// eslint-disable-next-line max-classes-per-file\nimport { Command, CommandOptions } from '@teambit/cli';\nimport Table from 'cli-table';\nimport chalk from 'chalk';\nimport archy from 'archy';\nimport { ComponentIdGraph } from '@teambit/graph';\nimport { COMPONENT_PATTERN_HELP } from '@teambit/legacy.constants';\nimport { generateDependenciesInfoTable } from './template';\nimport { DependenciesMain } from './dependencies.main.runtime';\n\ntype GetDependenciesFlags = {\n tree: boolean;\n scope?: boolean;\n};\n\nexport type SetDependenciesFlags = {\n dev?: boolean;\n optional?: boolean;\n peer?: boolean;\n};\n\nexport type RemoveDependenciesFlags = SetDependenciesFlags;\n\nexport class DependenciesGetCmd implements Command {\n name = 'get <component-name>';\n arguments = [{ name: 'component-name', description: 'component name or component id' }];\n group = 'info';\n description = 'show direct and indirect dependencies of the given component';\n alias = '';\n options = [\n ['', 'scope', 'get the data from the scope instead of the workspace'],\n ['t', 'tree', 'render dependencies as a tree, similar to \"npm ls\"'],\n ] as CommandOptions;\n\n constructor(private deps: DependenciesMain) {}\n\n async report([id]: [string], { tree = false, scope = false }: GetDependenciesFlags) {\n const results = await this.deps.getDependencies(id, scope);\n\n if (tree) {\n const idWithVersion = results.id;\n const getGraphAsTree = (graph: ComponentIdGraph) => {\n try {\n const graphAsTree = graph.getDependenciesAsObjectTree(idWithVersion.toString());\n return archy(graphAsTree);\n } catch (err: any) {\n if (err.constructor.name === 'RangeError') {\n return `${chalk.red(\n 'unable to generate a tree representation, the graph is too big or has cyclic dependencies'\n )}`;\n }\n throw err;\n }\n };\n const graphTree = getGraphAsTree(results.graph);\n return graphTree;\n }\n const depsInfo = results.graph.getDependenciesInfo(results.id);\n if (!depsInfo.length) {\n return `no dependencies found for ${results.id.toString()}.\ntry running \"bit cat-component ${results.id.toStringWithoutVersion()}\" to see whether the component/version exists locally`;\n }\n\n const depsTable = generateDependenciesInfoTable(depsInfo, results.id);\n return `${depsTable || '<none>'}`;\n }\n}\n\nexport class DependenciesDebugCmd implements Command {\n name = 'debug <component-name>';\n arguments = [{ name: 'component-name', description: 'component name or component id' }];\n group = 'info';\n description = 'show the immediate dependencies and how their versions were determined';\n alias = '';\n options = [] as CommandOptions;\n\n constructor(private deps: DependenciesMain) {}\n\n async report([id]: [string]) {\n const results = await this.deps.debugDependencies(id);\n return JSON.stringify(results, undefined, 4);\n }\n}\n\nexport class DependenciesSetCmd implements Command {\n name = 'set <component-pattern> <package...>';\n arguments = [\n { name: 'component-pattern', description: COMPONENT_PATTERN_HELP },\n {\n name: 'package...',\n description:\n 'package name with or without a version, e.g. \"lodash@1.0.0\" or just \"lodash\" which will be resolved to the latest',\n },\n ];\n group = 'info';\n description = 'set a dependency to component(s)';\n alias = '';\n options = [\n ['d', 'dev', 'add to the devDependencies'],\n ['o', 'optional', 'add to the optionalDependencies'],\n ['p', 'peer', 'add to the peerDependencies'],\n ] as CommandOptions;\n\n constructor(private deps: DependenciesMain) {}\n\n async report([pattern, packages]: [string, string[]], setDepsFlags: SetDependenciesFlags) {\n const { changedComps, addedPackages } = await this.deps.setDependency(pattern, packages, setDepsFlags);\n\n return `${chalk.green('successfully updated dependencies')}\n${chalk.bold('changed components')}\n${changedComps.join('\\n')}\n\n${chalk.bold('added packages')}\n${JSON.stringify(addedPackages, undefined, 4)}`;\n }\n}\n\nexport class DependenciesRemoveCmd implements Command {\n name = 'remove <component-pattern> <package...>';\n arguments = [\n { name: 'component-pattern', description: COMPONENT_PATTERN_HELP },\n {\n name: 'package...',\n description:\n 'package name with or without a version, e.g. \"lodash@1.0.0\" or just \"lodash\" which will remove all lodash instances of any version',\n },\n ];\n group = 'info';\n description = 'remove a dependency from one or more components';\n extendedDescription = `this command removes the dependency whether it was set by 'bit deps set'/variants or by auto-detection.\nif the dependency was auto-detected, it will be marked with a minus sign in the .bitmap file.\notherwise, the config is written to .bitmap without the dependency.\nsee also 'bit deps unset'`;\n alias = '';\n options = [\n ['d', 'dev', 'remove from devDependencies'],\n ['p', 'peer', 'remove from peerDependencies'],\n ] as CommandOptions;\n\n constructor(private deps: DependenciesMain) {}\n\n async report([pattern, packages]: [string, string[]], removeDepsFlags: RemoveDependenciesFlags) {\n const results = await this.deps.removeDependency(pattern, packages, removeDepsFlags);\n if (!results.length) {\n return chalk.yellow('the specified component-pattern do not use the entered packages. nothing to remove');\n }\n\n const output = results\n .map(({ id, removedPackages }) => `${chalk.underline(id.toString())}\\n${removedPackages.join('\\n')}`)\n .join('\\n\\n');\n\n return `${chalk.green('successfully removed dependencies')}\\n${output}`;\n }\n}\n\nexport class DependenciesUnsetCmd implements Command {\n name = 'unset <component-pattern> <package...>';\n arguments = [\n { name: 'component-pattern', description: COMPONENT_PATTERN_HELP },\n {\n name: 'package...',\n description:\n 'package name with or without a version, e.g. \"lodash@1.0.0\" or just \"lodash\" which will remove all lodash instances of any version',\n },\n ];\n group = 'info';\n description = 'unset a dependency to component(s) that was set via config (e.g. \"bit deps set\" or variants)';\n extendedDescription = `this command removes the dependency only when it was set by config not if it was auto detected.\nin the .bitmap file, the config is written without the dependency.\nsee also \"bit deps remove\"`;\n alias = '';\n options = [\n ['d', 'dev', 'unset from devDependencies'],\n ['p', 'peer', 'unset from peerDependencies'],\n ] as CommandOptions;\n\n constructor(private deps: DependenciesMain) {}\n\n async report([pattern, packages]: [string, string[]], removeDepsFlags: RemoveDependenciesFlags) {\n const results = await this.deps.removeDependency(pattern, packages, removeDepsFlags, true);\n if (!results.length) {\n return chalk.yellow('the specified component-pattern do not use the entered packages. nothing to unset');\n }\n\n const output = results\n .map(({ id, removedPackages }) => `${chalk.underline(id.toString())}\\n${removedPackages.join('\\n')}`)\n .join('\\n\\n');\n\n return `${chalk.green('successfully unset dependencies')}\\n${output}`;\n }\n}\n\nexport class DependenciesResetCmd implements Command {\n name = 'reset <component-pattern>';\n arguments = [{ name: 'component-pattern', description: COMPONENT_PATTERN_HELP }];\n group = 'info';\n description = 'reset dependencies to the default values (revert any previously \"bit deps set\")';\n alias = '';\n options = [] as CommandOptions;\n\n constructor(private deps: DependenciesMain) {}\n\n async report([pattern]: [string]) {\n const results = await this.deps.reset(pattern);\n const comps = results.map((id) => id.toString());\n\n return `${chalk.green('successfully reset dependencies for the following component(s)')}\\n${comps}`;\n }\n}\n\nexport class DependenciesEjectCmd implements Command {\n name = 'eject <component-pattern>';\n arguments = [{ name: 'component-pattern', description: COMPONENT_PATTERN_HELP }];\n group = 'info';\n description = 'write dependencies that were previously set via \"bit deps set\" into .bitmap';\n alias = '';\n options = [] as CommandOptions;\n\n constructor(private deps: DependenciesMain) {}\n\n async report([pattern]: [string]) {\n const results = await this.deps.eject(pattern);\n const comps = results.map((id) => id.toString());\n\n return `${chalk.green('successfully ejected dependencies for the following component(s)')}\\n${comps}`;\n }\n}\n\nexport class DependenciesBlameCmd implements Command {\n name = 'blame <component-name> <dependency-name>';\n arguments = [\n {\n name: 'dependency-name',\n description: 'package-name. for components, you can use either component-id or package-name',\n },\n ];\n group = 'info';\n description = 'find out which snap/tag changed a dependency version';\n alias = '';\n options = [] as CommandOptions;\n\n constructor(private deps: DependenciesMain) {}\n\n async report([compName, depName]: [string, string]) {\n const results = await this.deps.blame(compName, depName);\n if (!results.length) {\n return chalk.yellow(`the specified component ${compName} does not use the entered dependency ${depName}`);\n }\n // table with no style and no borders, just to align the columns.\n const table = new Table({\n chars: {\n top: '',\n 'top-mid': '',\n 'top-left': '',\n 'top-right': '',\n bottom: '',\n 'bottom-mid': '',\n 'bottom-left': '',\n 'bottom-right': '',\n left: '',\n 'left-mid': '',\n mid: '',\n 'mid-mid': '',\n right: '',\n 'right-mid': '',\n middle: ' ',\n },\n style: { 'padding-left': 0, 'padding-right': 0 },\n });\n\n results.map(({ snap, tag, author, date, message, version }) =>\n table.push([snap, tag || '', author, date, message, version])\n );\n\n return table.toString();\n }\n}\n\ntype DependenciesUsageCmdOptions = {\n depth?: number;\n};\n\nexport class DependenciesUsageCmd implements Command {\n name = 'usage <dependency-name>';\n arguments = [\n {\n name: 'dependency-name',\n description:\n 'package-name. for components, you can use either component-id or package-name. if version is specified, it will search for the exact version',\n },\n ];\n group = 'info';\n description = 'find components that use the specified dependency';\n alias = '';\n options = [['', 'depth <number>', 'max display depth of the dependency graph']] as CommandOptions;\n\n constructor(private deps: DependenciesMain) {}\n\n async report([depName]: [string], options: DependenciesUsageCmdOptions) {\n const deepUsageResult = await this.deps.usageDeep(depName, options);\n if (deepUsageResult != null) return deepUsageResult;\n const results = await this.deps.usage(depName);\n if (!Object.keys(results).length) {\n return chalk.yellow(`the specified dependency ${depName} is not used by any component`);\n }\n return Object.keys(results)\n .map((compIdStr) => `${chalk.bold(compIdStr)} (using dep in version ${results[compIdStr]})`)\n .join('\\n');\n }\n}\n\nexport class WhyCmd extends DependenciesUsageCmd {\n name = 'why <dependency-name>';\n}\n\nexport class DependenciesCmd implements Command {\n name = 'deps <sub-command>';\n alias = 'dependencies';\n description = 'manage dependencies';\n options = [];\n group = 'info';\n commands: Command[] = [];\n helpUrl = 'reference/dependencies/configuring-dependencies';\n\n async report([unrecognizedSubcommand]: [string]) {\n return chalk.red(\n `\"${unrecognizedSubcommand}\" is not a subcommand of \"dependencies\", please run \"bit dependencies --help\" to list the subcommands`\n );\n }\n}\n\nexport class SetPeerCmd implements Command {\n name = 'set-peer <component-id> <range>';\n arguments = [\n { name: 'component-id', description: 'the component to set as always peer' },\n {\n name: 'range',\n description: 'the default range to use for the componnent, when added to peerDependencies',\n },\n ];\n group = 'info';\n description = 'set a component as always peer';\n alias = '';\n options = [];\n\n constructor(private deps: DependenciesMain) {}\n\n async report([componentId, range]: [string, string]) {\n await this.deps.setPeer(componentId, range != null ? range.toString() : range);\n return `${chalk.green('successfully marked the component as a peer component')}`;\n }\n}\n\nexport class UnsetPeerCmd implements Command {\n name = 'unset-peer <component-id>';\n arguments = [{ name: 'component-id', description: 'the component to unset as always peer' }];\n group = 'info';\n description = 'unset a component as always peer';\n alias = '';\n options = [];\n\n constructor(private deps: DependenciesMain) {}\n\n async report([componentId]: [string]) {\n await this.deps.unsetPeer(componentId);\n return `${chalk.green('successfully marked the component as not a peer component')}`;\n }\n}\n"],"mappings":";;;;;;AAEA,SAAAA,UAAA;EAAA,MAAAC,IAAA,GAAAC,sBAAA,CAAAC,OAAA;EAAAH,SAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAG,OAAA;EAAA,MAAAH,IAAA,GAAAC,sBAAA,CAAAC,OAAA;EAAAC,MAAA,YAAAA,CAAA;IAAA,OAAAH,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAI,OAAA;EAAA,MAAAJ,IAAA,GAAAC,sBAAA,CAAAC,OAAA;EAAAE,MAAA,YAAAA,CAAA;IAAA,OAAAJ,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEA,SAAAK,QAAA;EAAA,MAAAL,IAAA,GAAAE,OAAA;EAAAG,OAAA,YAAAA,CAAA;IAAA,OAAAL,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAM,UAAA;EAAA,MAAAN,IAAA,GAAAE,OAAA;EAAAI,SAAA,YAAAA,CAAA;IAAA,OAAAN,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAA2D,SAAAC,uBAAAM,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAAA,SAAAG,gBAAAH,CAAA,EAAAI,CAAA,EAAAC,CAAA,YAAAD,CAAA,GAAAE,cAAA,CAAAF,CAAA,MAAAJ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M,IAAI,CAAC1F,IAAI,CAAC8F,SAAS,CAACJ,WAAW,CAAC;IACtC,OAAO,GAAGzE,gBAAK,CAACuB,KAAK,CAAC,2DAA2D,CAAC,EAAE;EACtF;AACF;AAACd,OAAA,CAAAmE,YAAA,GAAAA,YAAA","ignoreList":[]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["b","require"],"sources":["a.js"],"sourcesContent":["// @bit-no-check\nconst b = require('./b');\n"],"mappings":";;AAAA;AACA,MAAMA,CAAC,GAAGC,OAAO,CAAC,KAAK,CAAC","ignoreList":[]}
|
1
|
+
{"version":3,"names":["b","require"],"sources":["a.js"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-unused-vars */\n// @bit-no-check\nconst b = require('./b');\n"],"mappings":";;AAAA;AACA;AACA,MAAMA,CAAC,GAAGC,OAAO,CAAC,KAAK,CAAC","ignoreList":[]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["unparsed","require"],"sources":["b.js"],"sourcesContent":["// @bit-no-check\nconst unparsed = require('./unparsed');\n"],"mappings":";;AAAA;AACA,MAAMA,QAAQ,GAAGC,OAAO,CAAC,YAAY,CAAC","ignoreList":[]}
|
1
|
+
{"version":3,"names":["unparsed","require"],"sources":["b.js"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-unused-vars */\n// @bit-no-check\nconst unparsed = require('./unparsed');\n"],"mappings":";;AAAA;AACA;AACA,MAAMA,QAAQ,GAAGC,OAAO,CAAC,YAAY,CAAC","ignoreList":[]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":[],"sources":["file-a.js"],"sourcesContent":["// @bit-no-check\nimport { varX } from './file-b';\n"],"mappings":"","ignoreList":[]}
|
1
|
+
{"version":3,"names":[],"sources":["file-a.js"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-unused-vars */\n/* eslint-disable import/named */\n// @bit-no-check\nimport { varX } from './file-b';\n"],"mappings":"","ignoreList":[]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":[],"sources":["file-b.js"],"sourcesContent":["// @bit-no-check\nimport { varX } from './file-c';\n\n// export { varX }; // uncomment to make the following test fail \"fileA imports varX from fileB, fileB imports varX from fileC but not export it\"\n"],"mappings":"","ignoreList":[]}
|
1
|
+
{"version":3,"names":[],"sources":["file-b.js"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-unused-vars */\n// @bit-no-check\nimport { varX } from './file-c';\n\n// export { varX }; // uncomment to make the following test fail \"fileA imports varX from fileB, fileB imports varX from fileC but not export it\"\n"],"mappings":"","ignoreList":[]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":[],"sources":["foo.js"],"sourcesContent":["// @bit-no-check\nimport { isString } from '.';\n"],"mappings":"","ignoreList":[]}
|
1
|
+
{"version":3,"names":[],"sources":["foo.js"],"sourcesContent":["// @bit-no-check\n/* eslint-disable @typescript-eslint/no-unused-vars */\nimport { isString } from '.';\n"],"mappings":"","ignoreList":[]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":[],"sources":["unparsed.js"],"sourcesContent":["// @bit-no-check\n// this should trigger parsing error\n"],"mappings":"AAAA;AACA;AAAA","ignoreList":[]}
|
1
|
+
{"version":3,"names":[],"sources":["unparsed.js"],"sourcesContent":["/* eslint-disable */\n// @bit-no-check\n// this should trigger parsing error\n"],"mappings":"AAAA;AACA;AACA;AAAA","ignoreList":[]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["define","b","c"],"sources":["a.js"],"sourcesContent":["// @bit-no-check\ndefine(['./b', './c'], function(b, c) {\n 'use strict';\n\n return 'cool';\n});\n"],"mappings":";;AAAA;AACAA,MAAM,CAAC,CAAC,KAAK,EAAE,KAAK,CAAC,EAAE,UAASC,CAAC,EAAEC,CAAC,EAAE;EACpC,YAAY;;EAEZ,OAAO,MAAM;AACf,CAAC,CAAC","ignoreList":[]}
|
1
|
+
{"version":3,"names":["define","b","c"],"sources":["a.js"],"sourcesContent":["// @bit-no-check\n/* eslint-disable @typescript-eslint/no-unused-vars */\ndefine(['./b', './c'], function(b, c) {\n 'use strict';\n\n return 'cool';\n});\n"],"mappings":";;AAAA;AACA;AACAA,MAAM,CAAC,CAAC,KAAK,EAAE,KAAK,CAAC,EAAE,UAASC,CAAC,EAAEC,CAAC,EAAE;EACpC,YAAY;;EAEZ,OAAO,MAAM;AACf,CAAC,CAAC","ignoreList":[]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["b","require","c"],"sources":["a.js"],"sourcesContent":["
|
1
|
+
{"version":3,"names":["b","require","c"],"sources":["a.js"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-unused-vars */\nvar b = require('./b');\nvar c = require('./c');\n"],"mappings":";;AAAA;AACA,IAAIA,CAAC,GAAGC,OAAO,CAAC,KAAK,CAAC;AACtB,IAAIC,CAAC,GAAGD,OAAO,CAAC,KAAK,CAAC","ignoreList":[]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["path","require","module","exports"],"sources":["b.js"],"sourcesContent":["
|
1
|
+
{"version":3,"names":["path","require","module","exports"],"sources":["b.js"],"sourcesContent":["// eslint-disable-next-line @typescript-eslint/no-unused-vars\nvar path = require('path');\n\nmodule.exports = {};\n"],"mappings":";;AAAA;AACA,IAAIA,IAAI,GAAGC,OAAO,CAAC,MAAM,CAAC;AAE1BC,MAAM,CAACC,OAAO,GAAG,CAAC,CAAC","ignoreList":[]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["fs","require","module","exports"],"sources":["c.js"],"sourcesContent":["
|
1
|
+
{"version":3,"names":["fs","require","module","exports"],"sources":["c.js"],"sourcesContent":["// eslint-disable-next-line @typescript-eslint/no-unused-vars\nvar fs = require('fs');\n\nmodule.exports = {};\n"],"mappings":";;AAAA;AACA,IAAIA,EAAE,GAAGC,OAAO,CAAC,IAAI,CAAC;AAEtBC,MAAM,CAACC,OAAO,GAAG,CAAC,CAAC","ignoreList":[]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["path","require","debug","notReal"],"sources":["a.js"],"sourcesContent":["// @bit-no-check\nvar path = require('path');\nvar debug = require('debug');\nvar notReal = require('not-real');\n"],"mappings":";;AAAA;AACA,IAAIA,IAAI,GAAGC,OAAO,CAAC,MAAM,CAAC;AAC1B,IAAIC,KAAK,GAAGD,OAAO,CAAC,OAAO,CAAC;AAC5B,IAAIE,OAAO,GAAGF,OAAO,CAAC,UAAU,CAAC","ignoreList":[]}
|
1
|
+
{"version":3,"names":["path","require","debug","notReal"],"sources":["a.js"],"sourcesContent":["// @bit-no-check\n/* eslint-disable @typescript-eslint/no-unused-vars */\nvar path = require('path');\nvar debug = require('debug');\nvar notReal = require('not-real');\n"],"mappings":";;AAAA;AACA;AACA,IAAIA,IAAI,GAAGC,OAAO,CAAC,MAAM,CAAC;AAC1B,IAAIC,KAAK,GAAGD,OAAO,CAAC,OAAO,CAAC;AAC5B,IAAIE,OAAO,GAAGF,OAAO,CAAC,UAAU,CAAC","ignoreList":[]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["foo","require"],"sources":["aliased.js"],"sourcesContent":["// @bit-no-check\nvar foo = require('F');\n"],"mappings":";;AAAA;AACA,IAAIA,GAAG,GAAGC,OAAO,CAAC,GAAG,CAAC","ignoreList":[]}
|
1
|
+
{"version":3,"names":["foo","require"],"sources":["aliased.js"],"sourcesContent":["// @bit-no-check\n/* eslint-disable @typescript-eslint/no-unused-vars */\nvar foo = require('F');\n"],"mappings":";;AAAA;AACA;AACA,IAAIA,GAAG,GAAGC,OAAO,CAAC,GAAG,CAAC","ignoreList":[]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["cabinet","require"],"sources":["unaliased.js"],"sourcesContent":["// @bit-no-check\nvar cabinet = require('filing-cabinet');\n"],"mappings":";;AAAA;AACA,IAAIA,OAAO,GAAGC,OAAO,CAAC,gBAAgB,CAAC","ignoreList":[]}
|
1
|
+
{"version":3,"names":["cabinet","require"],"sources":["unaliased.js"],"sourcesContent":["// @bit-no-check\n/* eslint-disable @typescript-eslint/no-unused-vars */\nvar cabinet = require('filing-cabinet');\n"],"mappings":";;AAAA;AACA;AACA,IAAIA,OAAO,GAAGC,OAAO,CAAC,gBAAgB,CAAC","ignoreList":[]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["_default","React","createElement","MySweetComponent","exports","default"],"sources":["foo.jsx"],"sourcesContent":["
|
1
|
+
{"version":3,"names":["_default","React","createElement","MySweetComponent","exports","default"],"sources":["foo.jsx"],"sourcesContent":["/* eslint-disable */\nexport default () => {\n return <MySweetComponent />;\n}\n"],"mappings":";;;;;;AAAA;AAAA,IAAAA,QAAA,GACeA,CAAA,KAAM;EACnB,oBAAOC,KAAA,CAAAC,aAAA,CAACC,gBAAgB,MAAE,CAAC;AAC7B,CAAC;AAAAC,OAAA,CAAAC,OAAA,GAAAL,QAAA","ignoreList":[]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":[],"sources":["missing-deps.js"],"sourcesContent":["// const a = require('non-exist-package'); // missing package\n// const b = require('../non-exist-dep'); // missing dependency\n"],"mappings":"AAAA;AACA;AAAA","ignoreList":[]}
|
1
|
+
{"version":3,"names":[],"sources":["missing-deps.js"],"sourcesContent":["/* eslint-disable */\n// const a = require('non-exist-package'); // missing package\n// const b = require('../non-exist-dep'); // missing dependency\n"],"mappings":"AAAA;AACA;AACA;AAAA","ignoreList":[]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["define","a","b"],"sources":["amd.js"],"sourcesContent":["// @bit-no-check\ndefine(['./a', './b'], function(a, b) {});\n"],"mappings":";;AAAA;AACAA,MAAM,CAAC,CAAC,KAAK,EAAE,KAAK,CAAC,EAAE,UAASC,CAAC,EAAEC,CAAC,EAAE,CAAC,CAAC,CAAC","ignoreList":[]}
|
1
|
+
{"version":3,"names":["define","a","b"],"sources":["amd.js"],"sourcesContent":["// @bit-no-check\n/* eslint-disable @typescript-eslint/no-unused-vars */\ndefine(['./a', './b'], function(a, b) {});\n"],"mappings":";;AAAA;AACA;AACAA,MAAM,CAAC,CAAC,KAAK,EAAE,KAAK,CAAC,EAAE,UAASC,CAAC,EAAEC,CAAC,EAAE,CAAC,CAAC,CAAC","ignoreList":[]}
|
@@ -1,6 +1,6 @@
|
|
1
|
-
declare function _exports({
|
2
|
-
|
3
|
-
|
4
|
-
|
1
|
+
declare function _exports({ _amd, _es6, _es7 }: {
|
2
|
+
_amd?: any;
|
3
|
+
_es6?: any;
|
4
|
+
_es7?: typeof import("./es7") | undefined;
|
5
5
|
}): void;
|
6
6
|
export = _exports;
|
@@ -1,11 +1,12 @@
|
|
1
1
|
"use strict";
|
2
2
|
|
3
|
+
/* eslint-disable @typescript-eslint/no-unused-vars */
|
3
4
|
// @bit-no-check
|
4
5
|
module.exports = function ({
|
5
6
|
// Just requiring any files that exist
|
6
|
-
|
7
|
-
|
8
|
-
|
7
|
+
_amd = require('./amd'),
|
8
|
+
_es6 = require('./es6').foo,
|
9
|
+
_es7 = require('./es7')
|
9
10
|
}) {};
|
10
11
|
|
11
12
|
//# sourceMappingURL=cjsExportLazy.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["module","exports","
|
1
|
+
{"version":3,"names":["module","exports","_amd","require","_es6","foo","_es7"],"sources":["cjsExportLazy.js"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-unused-vars */\n// @bit-no-check\nmodule.exports = function({\n // Just requiring any files that exist\n _amd = require('./amd'),\n _es6 = require('./es6').foo,\n _es7 = require('./es7')\n}) {};\n"],"mappings":";;AAAA;AACA;AACAA,MAAM,CAACC,OAAO,GAAG,UAAS;EACxB;EACAC,IAAI,GAAGC,OAAO,CAAC,OAAO,CAAC;EACvBC,IAAI,GAAGD,OAAO,CAAC,OAAO,CAAC,CAACE,GAAG;EAC3BC,IAAI,GAAGH,OAAO,CAAC,OAAO;AACxB,CAAC,EAAE,CAAC,CAAC","ignoreList":[]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["a","require","b"],"sources":["commonjs.js"],"sourcesContent":["// @bit-no-check\nvar a = require('./a'),\n b = require('./b');\n"],"mappings":";;AAAA;AACA,IAAIA,CAAC,GAAGC,OAAO,CAAC,KAAK,CAAC;EACpBC,CAAC,GAAGD,OAAO,CAAC,KAAK,CAAC","ignoreList":[]}
|
1
|
+
{"version":3,"names":["a","require","b"],"sources":["commonjs.js"],"sourcesContent":["// @bit-no-check\n/* eslint-disable @typescript-eslint/no-unused-vars */\n/* eslint-disable import/extensions */\nvar a = require('./a'),\n b = require('./b');\n"],"mappings":";;AAAA;AACA;AACA;AACA,IAAIA,CAAC,GAAGC,OAAO,CAAC,KAAK,CAAC;EACpBC,CAAC,GAAGD,OAAO,CAAC,KAAK,CAAC","ignoreList":[]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["assert","require","path","fs","nodeFs"],"sources":["coreModules.js"],"sourcesContent":["// @bit-no-check\nvar assert = require('assert');\nvar path = require('path');\nvar fs = require('fs');\nvar nodeFs = require('node:fs');\n"],"mappings":";;AAAA;AACA,IAAIA,MAAM,GAAGC,OAAO,CAAC,QAAQ,CAAC;AAC9B,IAAIC,IAAI,GAAGD,OAAO,CAAC,MAAM,CAAC;AAC1B,IAAIE,EAAE,GAAGF,OAAO,CAAC,IAAI,CAAC;AACtB,IAAIG,MAAM,GAAGH,OAAO,CAAC,SAAS,CAAC","ignoreList":[]}
|
1
|
+
{"version":3,"names":["assert","require","path","fs","nodeFs"],"sources":["coreModules.js"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-unused-vars */\n// @bit-no-check\nvar assert = require('assert');\nvar path = require('path');\nvar fs = require('fs');\nvar nodeFs = require('node:fs');\n"],"mappings":";;AAAA;AACA;AACA,IAAIA,MAAM,GAAGC,OAAO,CAAC,QAAQ,CAAC;AAC9B,IAAIC,IAAI,GAAGD,OAAO,CAAC,MAAM,CAAC;AAC1B,IAAIE,EAAE,GAAGF,OAAO,CAAC,IAAI,CAAC;AACtB,IAAIG,MAAM,GAAGH,OAAO,CAAC,SAAS,CAAC","ignoreList":[]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["_default","amd","require","es6","es7"],"sources":["es6MixedExportLazy.js"],"sourcesContent":["// @bit-no-check\nexport default function({\n // Just requiring any files that exist\n amd = require('./amd'),\n es6 = require('./es6'),\n es7 = require('./es7')\n}) {}\n"],"mappings":";;;;;;AAAA;AACe,SAAAA,SAAS;EACtB;EACAC,GAAG,GAAGC,OAAO,CAAC,OAAO,CAAC;EACtBC,GAAG,GAAGD,OAAO,CAAC,OAAO,CAAC;EACtBE,GAAG,GAAGF,OAAO,CAAC,OAAO;AACvB,CAAC,EAAE,CAAC","ignoreList":[]}
|
1
|
+
{"version":3,"names":["_default","amd","require","es6","es7"],"sources":["es6MixedExportLazy.js"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-unused-vars */\n// @bit-no-check\nexport default function({\n // Just requiring any files that exist\n amd = require('./amd'),\n es6 = require('./es6'),\n es7 = require('./es7')\n}) {}\n"],"mappings":";;;;;;AAAA;AACA;AACe,SAAAA,SAAS;EACtB;EACAC,GAAG,GAAGC,OAAO,CAAC,OAAO,CAAC;EACtBC,GAAG,GAAGD,OAAO,CAAC,OAAO,CAAC;EACtBE,GAAG,GAAGF,OAAO,CAAC,OAAO;AACvB,CAAC,EAAE,CAAC","ignoreList":[]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["foo"],"sources":["es7.js"],"sourcesContent":["// @bit-no-check\nimport { square, diag } from 'lib';\nasync function foo() {}\n"],"mappings":";;AAAA;;AAEA,eAAeA,GAAGA,CAAA,EAAG,CAAC","ignoreList":[]}
|
1
|
+
{"version":3,"names":["foo"],"sources":["es7.js"],"sourcesContent":["// @bit-no-check\n/* eslint-disable @typescript-eslint/no-empty-function */\n/* eslint-disable import/no-unresolved */\n/* eslint-disable @typescript-eslint/no-unused-vars */\nimport { square, diag } from 'lib';\nasync function foo() {}\n"],"mappings":";;AAAA;AACA;AACA;AACA;;AAEA,eAAeA,GAAGA,CAAA,EAAG,CAAC","ignoreList":[]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":[],"sources":["unparseable.js"],"sourcesContent":["// // @bit-no-check\n// {\n// \t\"very invalid\": \"javascript\",\n// \t\"this\", \"is actually json\",\n// \t\"But\" not even valid json.\n// }\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AAAA","ignoreList":[]}
|
1
|
+
{"version":3,"names":[],"sources":["unparseable.js"],"sourcesContent":["/* eslint-disable */\n// // @bit-no-check\n// {\n// \t\"very invalid\": \"javascript\",\n// \t\"this\", \"is actually json\",\n// \t\"But\" not even valid json.\n// }\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AAAA","ignoreList":[]}
|
@@ -1,7 +1,8 @@
|
|
1
|
+
/* eslint-disable @typescript-eslint/no-unused-vars */
|
1
2
|
// @bit-no-check
|
2
3
|
module.exports = function({
|
3
4
|
// Just requiring any files that exist
|
4
|
-
|
5
|
-
|
6
|
-
|
5
|
+
_amd = require('./amd'),
|
6
|
+
_es6 = require('./es6').foo,
|
7
|
+
_es7 = require('./es7')
|
7
8
|
}) {};
|
package/package.json
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
{
|
2
2
|
"name": "@teambit/dependencies",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.493",
|
4
4
|
"homepage": "https://bit.cloud/teambit/dependencies/dependencies",
|
5
5
|
"main": "dist/index.js",
|
6
6
|
"componentId": {
|
7
7
|
"scope": "teambit.dependencies",
|
8
8
|
"name": "dependencies",
|
9
|
-
"version": "1.0.
|
9
|
+
"version": "1.0.493"
|
10
10
|
},
|
11
11
|
"dependencies": {
|
12
12
|
"archy": "1.0.0",
|
@@ -38,27 +38,27 @@
|
|
38
38
|
"@teambit/styling.deps-detectors.detective-sass": "0.0.9",
|
39
39
|
"@teambit/styling.deps-detectors.detective-scss": "0.0.9",
|
40
40
|
"@teambit/typescript.deps-detectors.detective-typescript": "0.0.8",
|
41
|
-
"@teambit/cli": "0.0.
|
42
|
-
"@teambit/graph": "1.0.
|
43
|
-
"@teambit/legacy.constants": "0.0.
|
44
|
-
"@teambit/aspect-loader": "1.0.
|
41
|
+
"@teambit/cli": "0.0.1070",
|
42
|
+
"@teambit/graph": "1.0.493",
|
43
|
+
"@teambit/legacy.constants": "0.0.3",
|
44
|
+
"@teambit/aspect-loader": "1.0.493",
|
45
45
|
"@teambit/component-package-version": "0.0.434",
|
46
|
-
"@teambit/dependency-resolver": "1.0.
|
47
|
-
"@teambit/dev-files": "1.0.
|
48
|
-
"@teambit/legacy.consumer-component": "0.0.
|
49
|
-
"@teambit/logger": "0.0.
|
50
|
-
"@teambit/scope": "1.0.
|
51
|
-
"@teambit/workspace": "1.0.
|
52
|
-
"@teambit/legacy.consumer": "0.0.
|
53
|
-
"@teambit/legacy.dependency-graph": "0.0.
|
54
|
-
"@teambit/component.sources": "0.0.
|
55
|
-
"@teambit/legacy.utils": "0.0.
|
46
|
+
"@teambit/dependency-resolver": "1.0.493",
|
47
|
+
"@teambit/dev-files": "1.0.493",
|
48
|
+
"@teambit/legacy.consumer-component": "0.0.6",
|
49
|
+
"@teambit/logger": "0.0.1163",
|
50
|
+
"@teambit/scope": "1.0.493",
|
51
|
+
"@teambit/workspace": "1.0.493",
|
52
|
+
"@teambit/legacy.consumer": "0.0.5",
|
53
|
+
"@teambit/legacy.dependency-graph": "0.0.8",
|
54
|
+
"@teambit/component.sources": "0.0.57",
|
55
|
+
"@teambit/legacy.utils": "0.0.11",
|
56
56
|
"@teambit/toolbox.path.path": "0.0.5",
|
57
57
|
"@teambit/component-issues": "0.0.152",
|
58
|
-
"@teambit/legacy.bit-map": "0.0.
|
59
|
-
"@teambit/legacy.logger": "0.0.
|
58
|
+
"@teambit/legacy.bit-map": "0.0.62",
|
59
|
+
"@teambit/legacy.logger": "0.0.3",
|
60
60
|
"@teambit/toolbox.fs.extension-getter": "0.0.2",
|
61
|
-
"@teambit/legacy.extension-data": "0.0.
|
61
|
+
"@teambit/legacy.extension-data": "0.0.7",
|
62
62
|
"@teambit/toolbox.fs.last-modified": "0.0.2"
|
63
63
|
},
|
64
64
|
"devDependencies": {
|
@@ -72,9 +72,9 @@
|
|
72
72
|
"@types/mocha": "9.1.0",
|
73
73
|
"@teambit/defender.fs.global-bit-temp-dir": "0.0.1",
|
74
74
|
"@teambit/harmony.envs.core-aspect-env": "0.0.63",
|
75
|
-
"@teambit/component.testing.mock-components": "0.0.
|
76
|
-
"@teambit/harmony.testing.load-aspect": "0.0.
|
77
|
-
"@teambit/workspace.testing.mock-workspace": "0.0.
|
75
|
+
"@teambit/component.testing.mock-components": "0.0.264",
|
76
|
+
"@teambit/harmony.testing.load-aspect": "0.0.259",
|
77
|
+
"@teambit/workspace.testing.mock-workspace": "0.0.32"
|
78
78
|
},
|
79
79
|
"peerDependencies": {
|
80
80
|
"@types/chai": "4.3.19"
|
File without changes
|
@@ -1,11 +0,0 @@
|
|
1
|
-
// import * as fs from 'fs';
|
2
|
-
// import { square, diag } from 'lib';
|
3
|
-
// import foo from './bar';
|
4
|
-
// import './my-module.js'; // Import a module for side-effects only
|
5
|
-
// import zip = require('./ZipCodeValidator'); // needed when importing a module using `export =` syntax
|
6
|
-
|
7
|
-
// console.log(square(11)); // 121
|
8
|
-
// console.log(diag(4, 3)); // 5
|
9
|
-
"use strict";
|
10
|
-
|
11
|
-
//# sourceMappingURL=typescript.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"names":[],"sources":["typescript.ts"],"sourcesContent":["// import * as fs from 'fs';\n// import { square, diag } from 'lib';\n// import foo from './bar';\n// import './my-module.js'; // Import a module for side-effects only\n// import zip = require('./ZipCodeValidator'); // needed when importing a module using `export =` syntax\n\n// console.log(square(11)); // 121\n// console.log(diag(4, 3)); // 5\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;;AAEA;AACA;AAAA","ignoreList":[]}
|
@@ -1,8 +0,0 @@
|
|
1
|
-
// import * as fs from 'fs';
|
2
|
-
// import { square, diag } from 'lib';
|
3
|
-
// import foo from './bar';
|
4
|
-
// import './my-module.js'; // Import a module for side-effects only
|
5
|
-
// import zip = require('./ZipCodeValidator'); // needed when importing a module using `export =` syntax
|
6
|
-
|
7
|
-
// console.log(square(11)); // 121
|
8
|
-
// console.log(diag(4, 3)); // 5
|
File without changes
|