@teambit/dependency-resolver 0.0.1065 → 0.0.1066
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.dependencies_dependency-resolver@0.0.
|
|
2
|
-
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.dependencies_dependency-resolver@0.0.
|
|
1
|
+
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.dependencies_dependency-resolver@0.0.1066/dist/dependency-resolver.composition.js';
|
|
2
|
+
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.dependencies_dependency-resolver@0.0.1066/dist/dependency-resolver.docs.mdx';
|
|
3
3
|
|
|
4
4
|
export const compositions = [compositions_0];
|
|
5
5
|
export const overview = [overview_0];
|
package/dist/types.d.ts
CHANGED
package/dist/types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"sources":["types.ts"],"sourcesContent":["import { ComponentConfig, ComponentFS } from '@teambit/component';\nimport { PathLinux } from '@teambit/legacy/dist/utils/path';\n\nimport { ComponentManifest } from './manifest/component-manifest';\nimport { PackageName } from './dependencies';\n\nexport type RegistryName = string;\n\nexport type Registry = {\n uri: string;\n alwaysAuth: boolean;\n authHeaderValue?: string;\n originalAuthType: string;\n originalAuthValue: string;\n};\n\nexport type RegistriesMap = Record<RegistryName, Registry>;\n\n// Exact format TBD\nexport interface RawComponentState {\n filesystem: ComponentFS;\n config: ComponentConfig;\n}\n\n/**\n * Import Specifier data.\n * For example, `import foo from './bar' `, \"foo\" is the import-specifier and is default.\n * Conversely, `import { foo } from './bar' `, here, \"foo\" is non-default.\n */\nexport type Specifier = {\n isDefault: boolean;\n name: string;\n};\n\n/**\n * ImportSpecifier are used to generate links from component to its dependencies.\n * For example, a component might have a dependency: \"import { foo } from './bar' \", when a link is generated, we use\n * the import-specifier name, which is \"foo\" to generate the link correctly.\n */\nexport type ImportSpecifier = {\n mainFile: Specifier;\n linkFile?: Specifier; // relevant only when the dependency is a link file (e.g. index.js which import and export the variable from other file)\n};\n\n/**\n * a dependency component may have multiple files that are required from the parent component, each\n * one of the files has its RelativePath instance.\n *\n * For example:\n * main component: \"foo\" => foo.js => `const isString = require('../utils/is-string'); const isArray = require('../utils/is-array');\n * dependency: \"utils\" => utils/is-string.js, utils/is-array.js\n * In this example, the component \"foo\" has one dependency \"utils\" with two RelativePaths.\n * one for utils/is-string.js file and the second for utils/is-array.js file\n */\nexport type RelativePath = {\n sourceRelativePath: PathLinux; // location of the link file\n destinationRelativePath: PathLinux; // destination written inside the link file\n importSpecifiers?: ImportSpecifier[];\n
|
|
1
|
+
{"version":3,"names":[],"sources":["types.ts"],"sourcesContent":["import { ComponentConfig, ComponentFS } from '@teambit/component';\nimport { PathLinux } from '@teambit/legacy/dist/utils/path';\n\nimport { ComponentManifest } from './manifest/component-manifest';\nimport { PackageName } from './dependencies';\n\nexport type RegistryName = string;\n\nexport type Registry = {\n uri: string;\n alwaysAuth: boolean;\n authHeaderValue?: string;\n originalAuthType: string;\n originalAuthValue: string;\n};\n\nexport type RegistriesMap = Record<RegistryName, Registry>;\n\n// Exact format TBD\nexport interface RawComponentState {\n filesystem: ComponentFS;\n config: ComponentConfig;\n}\n\n/**\n * Import Specifier data.\n * For example, `import foo from './bar' `, \"foo\" is the import-specifier and is default.\n * Conversely, `import { foo } from './bar' `, here, \"foo\" is non-default.\n */\nexport type Specifier = {\n isDefault: boolean;\n name: string;\n};\n\n/**\n * ImportSpecifier are used to generate links from component to its dependencies.\n * For example, a component might have a dependency: \"import { foo } from './bar' \", when a link is generated, we use\n * the import-specifier name, which is \"foo\" to generate the link correctly.\n */\nexport type ImportSpecifier = {\n mainFile: Specifier;\n linkFile?: Specifier; // relevant only when the dependency is a link file (e.g. index.js which import and export the variable from other file)\n};\n\n/**\n * a dependency component may have multiple files that are required from the parent component, each\n * one of the files has its RelativePath instance.\n *\n * For example:\n * main component: \"foo\" => foo.js => `const isString = require('../utils/is-string'); const isArray = require('../utils/is-array');\n * dependency: \"utils\" => utils/is-string.js, utils/is-array.js\n * In this example, the component \"foo\" has one dependency \"utils\" with two RelativePaths.\n * one for utils/is-string.js file and the second for utils/is-array.js file\n */\nexport type RelativePath = {\n sourceRelativePath: PathLinux; // location of the link file\n destinationRelativePath: PathLinux; // destination written inside the link file\n importSpecifiers?: ImportSpecifier[];\n importSource?: string; // available when isCustomResolveUsed=true, contains the import path. e.g. \"import x from 'src/utils'\", importSource is 'src/utils'.\n};\n\n/**\n * A definition of one dependency statement in a file\n * For example `import('something')` or require('something')\n */\ninterface FileDependencyDefinition {\n // The path itself as appear in the source code (what inside the () for example)\n // This can be a module path like 'my-package' or relative (for legacy support)\n dependencyPath: string;\n // Used for legacy support\n relativePaths?: RelativePath[];\n // Used for statements like `import type {x} from 'y'\n isType?: boolean;\n}\n\nexport type FileDependenciesDefinition = FileDependencyDefinition[];\n\nexport type ComponentsManifestsMap = Map<PackageName, ComponentManifest>;\n"],"mappings":""}
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/dependency-resolver",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.1066",
|
|
4
4
|
"homepage": "https://bit.cloud/teambit/dependencies/dependency-resolver",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"componentId": {
|
|
7
7
|
"scope": "teambit.dependencies",
|
|
8
8
|
"name": "dependency-resolver",
|
|
9
|
-
"version": "0.0.
|
|
9
|
+
"version": "0.0.1066"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"cli-highlight": "2.1.9",
|
|
@@ -32,22 +32,22 @@
|
|
|
32
32
|
"@pnpm/network.ca-file": "1.0.2",
|
|
33
33
|
"@teambit/legacy-bit-id": "0.0.423",
|
|
34
34
|
"@teambit/component-id": "0.0.427",
|
|
35
|
-
"@teambit/envs": "0.0.
|
|
36
|
-
"@teambit/aspect-loader": "0.0.
|
|
37
|
-
"@teambit/component": "0.0.
|
|
38
|
-
"@teambit/logger": "0.0.
|
|
35
|
+
"@teambit/envs": "0.0.1066",
|
|
36
|
+
"@teambit/aspect-loader": "0.0.1066",
|
|
37
|
+
"@teambit/component": "0.0.1066",
|
|
38
|
+
"@teambit/logger": "0.0.812",
|
|
39
39
|
"@teambit/bit-error": "0.0.402",
|
|
40
|
-
"@teambit/graphql": "0.0.
|
|
41
|
-
"@teambit/bit-roots": "0.0.
|
|
42
|
-
"@teambit/bit": "0.1.
|
|
43
|
-
"@teambit/cli": "0.0.
|
|
44
|
-
"@teambit/config": "0.0.
|
|
45
|
-
"@teambit/global-config": "0.0.
|
|
40
|
+
"@teambit/graphql": "0.0.1066",
|
|
41
|
+
"@teambit/bit-roots": "0.0.56",
|
|
42
|
+
"@teambit/bit": "0.1.53",
|
|
43
|
+
"@teambit/cli": "0.0.719",
|
|
44
|
+
"@teambit/config": "0.0.732",
|
|
45
|
+
"@teambit/global-config": "0.0.721",
|
|
46
46
|
"@teambit/harmony.modules.requireable-component": "0.0.491",
|
|
47
|
-
"@teambit/snapping": "0.0.
|
|
48
|
-
"@teambit/isolator": "0.0.
|
|
47
|
+
"@teambit/snapping": "0.0.381",
|
|
48
|
+
"@teambit/isolator": "0.0.1066",
|
|
49
49
|
"@teambit/component-package-version": "0.0.422",
|
|
50
|
-
"@teambit/component-issues": "0.0.
|
|
50
|
+
"@teambit/component-issues": "0.0.91",
|
|
51
51
|
"@teambit/component-version": "0.0.408"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"@teambit/dependencies.aspect-docs.dependency-resolver": "0.0.161"
|
|
66
66
|
},
|
|
67
67
|
"peerDependencies": {
|
|
68
|
-
"@teambit/legacy": "1.0.
|
|
68
|
+
"@teambit/legacy": "1.0.499",
|
|
69
69
|
"react": "^16.8.0 || ^17.0.0",
|
|
70
70
|
"react-dom": "^16.8.0 || ^17.0.0"
|
|
71
71
|
},
|
|
Binary file
|