@teambit/react 0.0.919 → 0.0.921
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/apps/web/react.application.ts +6 -6
- package/artifacts/__bit_junit.xml +2 -2
- package/artifacts/env-template/public/{362.a94458763762ea513d64.js → 325.f2a8c992d09dfa8809f6.js} +134 -208
- package/artifacts/env-template/public/744.8ce026d1d8623f2a45d5.js +114 -0
- package/artifacts/env-template/public/assets-manifest.json +18 -18
- package/artifacts/env-template/public/compositions.434b6befb8c5993b6863.js +12 -0
- package/artifacts/env-template/public/compositions.html +1 -1
- package/artifacts/env-template/public/overview.e432c879462058cf40a2.js +5 -0
- package/artifacts/env-template/public/overview.html +1 -1
- package/artifacts/env-template/public/{peers.5a10649244dea4abfe28.js → peers.95147e8eeee814c439ff.js} +1 -1
- package/artifacts/env-template/public/preview-root.52c6d54651c389284038.js +1 -0
- package/artifacts/env-template/public/static/css/325.b616a6f9.css +1 -0
- package/artifacts/env-template/public/static/css/compositions.e163efe5.css +1 -0
- package/artifacts/env-template/public/static/css/preview-root.120a1d04.css +1 -0
- package/artifacts/preview/teambit_react_react-preview.js +1 -1
- package/artifacts/schema.json +214 -246
- package/{compositions-1669865271197.js → compositions-1669951536971.js} +0 -0
- package/dist/apps/web/react.application.d.ts +1 -1
- package/dist/apps/web/react.application.js +6 -6
- package/dist/apps/web/react.application.js.map +1 -1
- package/dist/jest/transformers/base-transformer-plugins.js +3 -1
- package/dist/jest/transformers/base-transformer-plugins.js.map +1 -1
- package/dist/jest/transformers/cjs-transformer.js +5 -4
- package/dist/jest/transformers/cjs-transformer.js.map +1 -1
- package/{preview-1669865271197.js → dist/preview-1669951536971.js} +2 -2
- package/dist/react.env.d.ts +4 -10
- package/dist/react.env.js +5 -11
- package/dist/react.env.js.map +1 -1
- package/jest/transformers/base-transformer-plugins.js +1 -1
- package/jest/transformers/cjs-transformer.js +3 -3
- package/{overview-1669865271197.js → overview-1669951536971.js} +0 -0
- package/package-tar/teambit-react-0.0.921.tgz +0 -0
- package/package.json +38 -39
- package/{peers-link.12da65a556b208dcb44e12e06e145839e9b3df37.js → peers-link.45cebb1746ae76219d77ea205ee71642b6e1a9b3.js} +6 -6
- package/artifacts/env-template/public/22.8c98d2c3cd9d1bdb2d18.js +0 -47
- package/artifacts/env-template/public/compositions.bfc5442a5c0d60b26d63.js +0 -9
- package/artifacts/env-template/public/overview.98789df6e70a273d51cb.js +0 -1
- package/artifacts/env-template/public/preview-root.4efe9424b02c36063f42.js +0 -5
- package/artifacts/env-template/public/static/css/362.5888b93b.css +0 -1
- package/artifacts/env-template/public/static/css/compositions.812d93fb.css +0 -1
- package/artifacts/env-template/public/static/css/overview.fff79c79.css +0 -1
- package/package-tar/teambit-react-0.0.919.tgz +0 -0
|
@@ -105,7 +105,7 @@ export class ReactApp implements Application {
|
|
|
105
105
|
entries: await this.getEntries(),
|
|
106
106
|
components: [context.appComponent],
|
|
107
107
|
outputPath: resolve(context.workdir, calcOutputPath(context.appName, 'browser')),
|
|
108
|
-
hostDependencies:
|
|
108
|
+
hostDependencies: this.getHostDependencies(),
|
|
109
109
|
aliasHostDependencies: true,
|
|
110
110
|
},
|
|
111
111
|
],
|
|
@@ -133,7 +133,7 @@ export class ReactApp implements Application {
|
|
|
133
133
|
entries: await this.getSsrEntries(),
|
|
134
134
|
components: [context.appComponent],
|
|
135
135
|
outputPath: resolve(context.workdir, calcOutputPath(context.appName, 'ssr')),
|
|
136
|
-
hostDependencies:
|
|
136
|
+
hostDependencies: this.getHostDependencies(),
|
|
137
137
|
aliasHostDependencies: true,
|
|
138
138
|
},
|
|
139
139
|
],
|
|
@@ -281,7 +281,7 @@ export class ReactApp implements Application {
|
|
|
281
281
|
entries,
|
|
282
282
|
outputPath,
|
|
283
283
|
hostRootDir: capsule?.path,
|
|
284
|
-
hostDependencies:
|
|
284
|
+
hostDependencies: this.getHostDependencies(),
|
|
285
285
|
aliasHostDependencies: true,
|
|
286
286
|
},
|
|
287
287
|
],
|
|
@@ -319,12 +319,12 @@ export class ReactApp implements Application {
|
|
|
319
319
|
publicPath: `public/${this.name}`,
|
|
320
320
|
title: this.name,
|
|
321
321
|
favicon: this.favicon,
|
|
322
|
-
hostDependencies: await this.
|
|
322
|
+
hostDependencies: await this.getHostDependencies(),
|
|
323
323
|
aliasHostDependencies: true,
|
|
324
324
|
});
|
|
325
325
|
}
|
|
326
326
|
|
|
327
|
-
private
|
|
328
|
-
return this.reactEnv.
|
|
327
|
+
private getHostDependencies(): string[] {
|
|
328
|
+
return this.reactEnv.getAdditionalHostDependencies();
|
|
329
329
|
}
|
|
330
330
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
2
|
<testsuites>
|
|
3
|
-
<testsuite name="teambit.react/react@0.0.
|
|
4
|
-
<testcase classname="index-file.spec.js" name="should match snapshot" time="0.
|
|
3
|
+
<testsuite name="teambit.react/react@0.0.921" timestamp="2022-12-02T03:54:22.443Z" tests="1" failures="0" errors="0" skipped="0">
|
|
4
|
+
<testcase classname="index-file.spec.js" name="should match snapshot" time="0.209"/>
|
|
5
5
|
</testsuite>
|
|
6
6
|
</testsuites>
|