@teambit/env 1.0.424 → 1.0.426
Sign up to get free protection for your applications and to get access to all the features.
- package/artifacts/__bit_junit.xml +1 -1
- package/artifacts/env-template/public/{182.c0cd8485b7443f92ca5c.js → 182.2694cdc9e411fbfe2fbc.js} +6 -6
- package/artifacts/env-template/public/{638.d14578418dd9193a0f2c.js → 478.2b2069024c1db58bb0d7.js} +13 -13
- package/artifacts/env-template/public/{136.f3abc9bde032a65c9fcc.js → 56.57b5a64f0b640caabb98.js} +2 -2
- package/artifacts/env-template/public/assets-manifest.json +14 -14
- package/artifacts/env-template/public/{compositions.c6b899cb402e29a614a8.js → compositions.93cab8be30c2e5b0d96a.js} +1 -1
- package/artifacts/env-template/public/compositions.html +1 -1
- package/artifacts/env-template/public/{overview.89d85580dea82df7d038.js → overview.c05153f725490b3d3169.js} +1 -1
- package/artifacts/env-template/public/overview.html +1 -1
- package/artifacts/env-template/public/{peers.848174eca7ca8fb1e2ba.js → peers.43e56991a10384623093.js} +1 -1
- package/artifacts/env-template/public/{preview-root.2531925cf578e6e3dcd1.js → preview-root.dafbd97c4dd5fd4acae2.js} +1 -1
- package/artifacts/preview/teambit_envs_env-preview.js +1 -1
- package/artifacts/schema.json +100 -100
- package/{compositions-1728098619529.js → compositions-1728236174539.js} +1 -1
- package/dist/env.env.js.map +1 -1
- package/dist/env.main.runtime.js.map +1 -1
- package/dist/{preview-1728098619529.js → preview-1728236174539.js} +2 -2
- package/{overview-1728098619529.js → overview-1728236174539.js} +1 -1
- package/package.json +10 -10
@@ -1,5 +1,5 @@
|
|
1
1
|
|
2
|
-
import { linkModules } from '/home/circleci/.bvm/versions/1.8.
|
2
|
+
import { linkModules } from '/home/circleci/.bvm/versions/1.8.76/bit-1.8.76/node_modules/@teambit/preview/dist/preview.preview.runtime.js';
|
3
3
|
|
4
4
|
import {defaultMainModule} from "/home/circleci/bit/bit/node_modules/@teambit/_local/preview-modules-68b147035e4e910b00e4b8a4a3ce04a0de2e2e59.mjs";
|
5
5
|
|
package/dist/env.env.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["_builder","data","require","_ui","_preview","_defineProperty","e","r","t","_toPropertyKey","Object","defineProperty","value","enumerable","configurable","writable","i","_toPrimitive","Symbol","toPrimitive","call","TypeError","String","Number","EnvEnvType","exports","EnvEnv","constructor","aspectEnv","aspectLoader","__getDescriptor","type","getNpmIgnore","context","patterns","CAPSULE_ARTIFACTS_DIR","isCoreEnv","component","id","toStringWithoutVersion","push","isCoreAspect","BUNDLE_UI_DIR","getPackageJsonProps","packageJsonProps","getPreviewConfig","strategyName","COMPONENT_PREVIEW_STRATEGY_NAME","splitComponentBundle"],"sources":["env.env.ts"],"sourcesContent":["import { CAPSULE_ARTIFACTS_DIR } from '@teambit/builder';\nimport { AspectEnv } from '@teambit/aspect';\nimport { PackageJsonProps } from '@teambit/pkg';\nimport { BUNDLE_UI_DIR } from '@teambit/ui';\nimport { COMPONENT_PREVIEW_STRATEGY_NAME, PreviewStrategyName } from '@teambit/preview';\nimport { AspectLoaderMain } from '@teambit/aspect-loader';\nimport { GetNpmIgnoreContext } from '@teambit/envs';\n\nexport const EnvEnvType = 'env';\n\n/**\n * a component environment built for Envs.\n */\nexport class EnvEnv {\n constructor(private aspectEnv: AspectEnv
|
1
|
+
{"version":3,"names":["_builder","data","require","_ui","_preview","_defineProperty","e","r","t","_toPropertyKey","Object","defineProperty","value","enumerable","configurable","writable","i","_toPrimitive","Symbol","toPrimitive","call","TypeError","String","Number","EnvEnvType","exports","EnvEnv","constructor","aspectEnv","aspectLoader","__getDescriptor","type","getNpmIgnore","context","patterns","CAPSULE_ARTIFACTS_DIR","isCoreEnv","component","id","toStringWithoutVersion","push","isCoreAspect","BUNDLE_UI_DIR","getPackageJsonProps","packageJsonProps","getPreviewConfig","strategyName","COMPONENT_PREVIEW_STRATEGY_NAME","splitComponentBundle"],"sources":["env.env.ts"],"sourcesContent":["import { CAPSULE_ARTIFACTS_DIR } from '@teambit/builder';\nimport { AspectEnv } from '@teambit/aspect';\nimport { PackageJsonProps } from '@teambit/pkg';\nimport { BUNDLE_UI_DIR } from '@teambit/ui';\nimport { COMPONENT_PREVIEW_STRATEGY_NAME, PreviewStrategyName } from '@teambit/preview';\nimport { AspectLoaderMain } from '@teambit/aspect-loader';\nimport { GetNpmIgnoreContext } from '@teambit/envs';\n\nexport const EnvEnvType = 'env';\n\n/**\n * a component environment built for Envs.\n */\nexport class EnvEnv {\n constructor(\n private aspectEnv: AspectEnv,\n private aspectLoader: AspectLoaderMain\n ) {}\n // TODO: consider special icon for envs?\n icon = 'https://static.bit.dev/extensions-icons/default.svg';\n\n async __getDescriptor() {\n return {\n type: EnvEnvType,\n };\n }\n\n getNpmIgnore(context?: GetNpmIgnoreContext) {\n // ignores only .ts files in the root directory, so d.ts files inside dists are unaffected.\n // without this change, the package has \"index.ts\" file in the root, causing typescript to parse it instead of the\n // d.ts files. (changing the \"types\" prop in the package.json file doesn't help).\n\n // Ignores all the contents inside the artifacts directory.\n // Asterisk (*) is needed in order to ignore all other contents of the artifacts directory,\n // especially when specific folders are excluded from the ignore e.g. in combination with `!artifacts/ui-bundle`.\n const patterns = ['/*.ts', `${CAPSULE_ARTIFACTS_DIR}/*`];\n\n // In order to load the env preview template from core aspects we need it to be in the package of the core envs\n // This is because we don't have the core envs in the local scope so we load it from the package itself in the bvm installation\n // as this will be excluded from the package tar by default (as it's under the CAPSULE_ARTIFACTS_DIR)\n // we want to make sure to add it for the core envs\n if (context && this.aspectLoader.isCoreEnv(context.component.id.toStringWithoutVersion())) {\n patterns.push(`!${CAPSULE_ARTIFACTS_DIR}/env-template`);\n }\n if (context && this.aspectLoader.isCoreAspect(context.component.id.toStringWithoutVersion())) {\n patterns.push(`!${CAPSULE_ARTIFACTS_DIR}/${BUNDLE_UI_DIR}`);\n }\n return patterns;\n }\n\n getPackageJsonProps(): PackageJsonProps {\n const packageJsonProps = this.aspectEnv.getPackageJsonProps();\n delete packageJsonProps.exports;\n return packageJsonProps;\n }\n\n getPreviewCon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@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["_aspect","data","require","_cli","_envs","_aspectLoader","_env","_env2","_defineProperty","e","r","t","_toPropertyKey","Object","defineProperty","value","enumerable","configurable","writable","i","_toPrimitive","Symbol","toPrimitive","call","TypeError","String","Number","EnvMain","constructor","envEnv","envs","compose","transformers","targetEnv","merge","provider","aspectAspect","aspectLoader","EnvEnv","aspectEnv","registerEnv","exports","AspectAspect","EnvsAspect","AspectLoaderAspect","MainRuntime","EnvAspect","addRuntime"],"sources":["env.main.runtime.ts"],"sourcesContent":["import { AspectAspect, AspectMain } from '@teambit/aspect';\nimport { MainRuntime } from '@teambit/cli';\nimport { EnvsAspect, Environment, EnvsMain, EnvTransformer } from '@teambit/envs';\nimport { AspectLoaderAspect, AspectLoaderMain } from '@teambit/aspect-loader';\nimport { EnvAspect } from './env.aspect';\nimport { EnvEnv } from './env.env';\n\nexport class EnvMain {\n constructor(readonly envEnv: EnvEnv
|
1
|
+
{"version":3,"names":["_aspect","data","require","_cli","_envs","_aspectLoader","_env","_env2","_defineProperty","e","r","t","_toPropertyKey","Object","defineProperty","value","enumerable","configurable","writable","i","_toPrimitive","Symbol","toPrimitive","call","TypeError","String","Number","EnvMain","constructor","envEnv","envs","compose","transformers","targetEnv","merge","provider","aspectAspect","aspectLoader","EnvEnv","aspectEnv","registerEnv","exports","AspectAspect","EnvsAspect","AspectLoaderAspect","MainRuntime","EnvAspect","addRuntime"],"sources":["env.main.runtime.ts"],"sourcesContent":["import { AspectAspect, AspectMain } from '@teambit/aspect';\nimport { MainRuntime } from '@teambit/cli';\nimport { EnvsAspect, Environment, EnvsMain, EnvTransformer } from '@teambit/envs';\nimport { AspectLoaderAspect, AspectLoaderMain } from '@teambit/aspect-loader';\nimport { EnvAspect } from './env.aspect';\nimport { EnvEnv } from './env.env';\n\nexport class EnvMain {\n constructor(\n readonly envEnv: EnvEnv,\n private envs: EnvsMain\n ) {}\n\n /**\n * compose your own aspect environment.\n */\n compose(transformers: EnvTransformer[] = [], targetEnv: Environment = {}) {\n return this.envs.compose(this.envs.merge(targetEnv, this.envEnv), transformers);\n }\n\n static slots = [];\n static dependencies = [AspectAspect, EnvsAspect, AspectLoaderAspect];\n static runtime = MainRuntime;\n static async provider([aspectAspect, envs, aspectLoader]: [AspectMain, EnvsMain, AspectLoaderMain]) {\n const envEnv = aspectAspect.compose([], new EnvEnv(aspectAspect.aspectEnv, aspectLoader));\n\n envs.registerEnv(envEnv);\n return new EnvMain(envEnv as EnvEnv, envs);\n }\n}\n\nEnvAspect.addRuntime(EnvMain);\n"],"mappings":";;;;;;AAAA,SAAAA,QAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,OAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAE,KAAA;EAAA,MAAAF,IAAA,GAAAC,OAAA;EAAAC,IAAA,YAAAA,CAAA;IAAA,OAAAF,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAG,MAAA;EAAA,MAAAH,IAAA,GAAAC,OAAA;EAAAE,KAAA,YAAAA,CAAA;IAAA,OAAAH,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAI,cAAA;EAAA,MAAAJ,IAAA,GAAAC,OAAA;EAAAG,aAAA,YAAAA,CAAA;IAAA,OAAAJ,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAK,KAAA;EAAA,MAAAL,IAAA,GAAAC,OAAA;EAAAI,IAAA,YAAAA,CAAA;IAAA,OAAAL,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAM,MAAA;EAAA,MAAAN,IAAA,GAAAC,OAAA;EAAAK,KAAA,YAAAA,CAAA;IAAA,OAAAN,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAAmC,SAAAO,gBAAAC,CAAA,EAAAC,CAAA,EAAAC,CAAA,YAAAD,CAAA,GAAAE,cAAA,CAAAF,CAAA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CAAC;IACxB,OAAO,IAAIF,OAAO,CAACE,MAAM,EAAYC,IAAI,CAAC;EAC5C;AACF;AAACW,OAAA,CAAAd,OAAA,GAAAA,OAAA;AAAAnB,eAAA,CAtBYmB,OAAO,WAaH,EAAE;AAAAnB,eAAA,CAbNmB,OAAO,kBAcI,CAACe,sBAAY,EAAEC,kBAAU,EAAEC,kCAAkB,CAAC;AAAApC,eAAA,CAdzDmB,OAAO,aAeDkB,kBAAW;AAS9BC,gBAAS,CAACC,UAAU,CAACpB,OAAO,CAAC","ignoreList":[]}
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.envs_env@1.0.
|
2
|
-
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.envs_env@1.0.
|
1
|
+
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.envs_env@1.0.426/dist/env.composition.js';
|
2
|
+
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.envs_env@1.0.426/dist/env.docs.mdx';
|
3
3
|
|
4
4
|
export const compositions = [compositions_0];
|
5
5
|
export const overview = [overview_0];
|
@@ -1,5 +1,5 @@
|
|
1
1
|
|
2
|
-
import { linkModules } from '/home/circleci/.bvm/versions/1.8.
|
2
|
+
import { linkModules } from '/home/circleci/.bvm/versions/1.8.76/bit-1.8.76/node_modules/@teambit/preview/dist/preview.preview.runtime.js';
|
3
3
|
|
4
4
|
import {defaultMainModule} from "/home/circleci/bit/bit/node_modules/@teambit/_local/preview-modules-9b89befd045d1080499f8437aaaa95b3d5125fd8.mjs";
|
5
5
|
|
package/package.json
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
{
|
2
2
|
"name": "@teambit/env",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.426",
|
4
4
|
"homepage": "https://bit.cloud/teambit/envs/env",
|
5
5
|
"main": "dist/index.js",
|
6
6
|
"componentId": {
|
7
7
|
"scope": "teambit.envs",
|
8
8
|
"name": "env",
|
9
|
-
"version": "1.0.
|
9
|
+
"version": "1.0.426"
|
10
10
|
},
|
11
11
|
"dependencies": {
|
12
12
|
"react": "^16.8.0 || ^17.0.0",
|
@@ -21,14 +21,14 @@
|
|
21
21
|
"@typescript-eslint/eslint-plugin": "7.1.0",
|
22
22
|
"@typescript-eslint/parser": "7.1.0",
|
23
23
|
"@teambit/harmony": "0.4.6",
|
24
|
-
"@teambit/aspect-loader": "1.0.
|
25
|
-
"@teambit/aspect": "1.0.
|
26
|
-
"@teambit/builder": "1.0.
|
27
|
-
"@teambit/envs": "1.0.
|
28
|
-
"@teambit/pkg": "1.0.
|
29
|
-
"@teambit/preview": "1.0.
|
30
|
-
"@teambit/ui": "1.0.
|
31
|
-
"@teambit/cli": "0.0.
|
24
|
+
"@teambit/aspect-loader": "1.0.426",
|
25
|
+
"@teambit/aspect": "1.0.426",
|
26
|
+
"@teambit/builder": "1.0.426",
|
27
|
+
"@teambit/envs": "1.0.426",
|
28
|
+
"@teambit/pkg": "1.0.426",
|
29
|
+
"@teambit/preview": "1.0.426",
|
30
|
+
"@teambit/ui": "1.0.426",
|
31
|
+
"@teambit/cli": "0.0.1003"
|
32
32
|
},
|
33
33
|
"devDependencies": {
|
34
34
|
"@teambit/harmony.envs.core-aspect-env": "0.0.60"
|