@teambit/react 0.0.918 → 0.0.920
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/{611.3f8b1f749fb9fe7fd869.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.71378e8646cf01ede04b.js +12 -0
- package/artifacts/env-template/public/compositions.html +1 -1
- package/artifacts/env-template/public/overview.38913c3a4933cdb47b3e.js +5 -0
- package/artifacts/env-template/public/overview.html +1 -1
- package/artifacts/env-template/public/peers.a283a593cd53e31aff04.js +1 -0
- 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-1669765084342.js → compositions-1669911866429.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-1669765084342.js → dist/preview-1669911866429.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-1669765084342.js → overview-1669911866429.js} +0 -0
- package/package-tar/teambit-react-0.0.920.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.25c72088da5b04b13dd4.js +0 -9
- package/artifacts/env-template/public/overview.4c3c55f633971b746447.js +0 -1
- package/artifacts/env-template/public/peers.0aaa15fdfb55a4f3f3c0.js +0 -1
- package/artifacts/env-template/public/preview-root.ba159fe0cb1c3cb2fbbc.js +0 -5
- package/artifacts/env-template/public/static/css/611.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.918.tgz +0 -0
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/react",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.920",
|
|
4
4
|
"homepage": "https://bit.dev/teambit/react/react",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"componentId": {
|
|
7
7
|
"scope": "teambit.react",
|
|
8
8
|
"name": "react",
|
|
9
|
-
"version": "0.0.
|
|
9
|
+
"version": "0.0.920"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"fs-extra": "10.0.0",
|
|
@@ -29,7 +29,6 @@
|
|
|
29
29
|
"babel-plugin-transform-typescript-metadata": "0.3.1",
|
|
30
30
|
"@babel/plugin-proposal-decorators": "7.20.0",
|
|
31
31
|
"@babel/plugin-proposal-object-rest-spread": "7.19.4",
|
|
32
|
-
"@babel/plugin-transform-runtime": "7.19.6",
|
|
33
32
|
"@babel/preset-react": "7.13.13",
|
|
34
33
|
"@babel/preset-typescript": "7.18.6",
|
|
35
34
|
"babel-preset-jest": "27.5.1",
|
|
@@ -82,49 +81,49 @@
|
|
|
82
81
|
"@teambit/react.instructions.react.adding-compositions": "0.0.6",
|
|
83
82
|
"@teambit/react.instructions.react.adding-tests": "0.0.6",
|
|
84
83
|
"@teambit/react.rendering.ssr": "0.0.3",
|
|
85
|
-
"@teambit/compositions.ui.hooks.use-composition": "0.0.
|
|
86
|
-
"@teambit/design.ui.tooltip": "0.0.
|
|
87
|
-
"@teambit/builder": "0.0.
|
|
88
|
-
"@teambit/bundler": "0.0.
|
|
89
|
-
"@teambit/compiler": "0.0.
|
|
84
|
+
"@teambit/compositions.ui.hooks.use-composition": "0.0.171",
|
|
85
|
+
"@teambit/design.ui.tooltip": "0.0.360",
|
|
86
|
+
"@teambit/builder": "0.0.920",
|
|
87
|
+
"@teambit/bundler": "0.0.920",
|
|
88
|
+
"@teambit/compiler": "0.0.920",
|
|
90
89
|
"@teambit/component.modules.component-url": "0.0.148",
|
|
91
|
-
"@teambit/component": "0.0.
|
|
92
|
-
"@teambit/dependency-resolver": "0.0.
|
|
93
|
-
"@teambit/envs": "0.0.
|
|
94
|
-
"@teambit/eslint": "0.0.
|
|
95
|
-
"@teambit/formatter": "0.0.
|
|
96
|
-
"@teambit/jest": "0.0.
|
|
97
|
-
"@teambit/linter": "0.0.
|
|
98
|
-
"@teambit/logger": "0.0.
|
|
99
|
-
"@teambit/pkg": "0.0.
|
|
100
|
-
"@teambit/prettier": "0.0.
|
|
101
|
-
"@teambit/preview": "0.0.
|
|
102
|
-
"@teambit/react.ui.compositions-app": "0.0.
|
|
103
|
-
"@teambit/react.ui.docs-app": "0.0.
|
|
104
|
-
"@teambit/react.ui.highlighter.component-metadata.bit-component-meta": "0.0.
|
|
105
|
-
"@teambit/schema": "0.0.
|
|
106
|
-
"@teambit/tester": "0.0.
|
|
107
|
-
"@teambit/typescript": "0.0.
|
|
108
|
-
"@teambit/webpack": "0.0.
|
|
109
|
-
"@teambit/workspace": "0.0.
|
|
110
|
-
"@teambit/application": "0.0.
|
|
111
|
-
"@teambit/cli": "0.0.
|
|
112
|
-
"@teambit/generator": "0.0.
|
|
113
|
-
"@teambit/graphql": "0.0.
|
|
114
|
-
"@teambit/react.ui.highlighter-provider": "0.0.
|
|
115
|
-
"@teambit/compositions": "0.0.
|
|
116
|
-
"@teambit/ui": "0.0.
|
|
117
|
-
"@teambit/react.eslint-config-bit-react": "0.0.
|
|
90
|
+
"@teambit/component": "0.0.920",
|
|
91
|
+
"@teambit/dependency-resolver": "0.0.920",
|
|
92
|
+
"@teambit/envs": "0.0.920",
|
|
93
|
+
"@teambit/eslint": "0.0.920",
|
|
94
|
+
"@teambit/formatter": "0.0.471",
|
|
95
|
+
"@teambit/jest": "0.0.920",
|
|
96
|
+
"@teambit/linter": "0.0.920",
|
|
97
|
+
"@teambit/logger": "0.0.709",
|
|
98
|
+
"@teambit/pkg": "0.0.920",
|
|
99
|
+
"@teambit/prettier": "0.0.471",
|
|
100
|
+
"@teambit/preview": "0.0.920",
|
|
101
|
+
"@teambit/react.ui.compositions-app": "0.0.10",
|
|
102
|
+
"@teambit/react.ui.docs-app": "0.0.201",
|
|
103
|
+
"@teambit/react.ui.highlighter.component-metadata.bit-component-meta": "0.0.30",
|
|
104
|
+
"@teambit/schema": "0.0.920",
|
|
105
|
+
"@teambit/tester": "0.0.920",
|
|
106
|
+
"@teambit/typescript": "0.0.920",
|
|
107
|
+
"@teambit/webpack": "0.0.920",
|
|
108
|
+
"@teambit/workspace": "0.0.920",
|
|
109
|
+
"@teambit/application": "0.0.562",
|
|
110
|
+
"@teambit/cli": "0.0.616",
|
|
111
|
+
"@teambit/generator": "0.0.920",
|
|
112
|
+
"@teambit/graphql": "0.0.920",
|
|
113
|
+
"@teambit/react.ui.highlighter-provider": "0.0.198",
|
|
114
|
+
"@teambit/compositions": "0.0.920",
|
|
115
|
+
"@teambit/ui": "0.0.920",
|
|
116
|
+
"@teambit/react.eslint-config-bit-react": "0.0.689",
|
|
118
117
|
"@teambit/mdx.modules.mdx-loader": "0.0.500",
|
|
119
|
-
"@teambit/react.babel.bit-react-transformer": "0.0.
|
|
118
|
+
"@teambit/react.babel.bit-react-transformer": "0.0.526",
|
|
120
119
|
"@teambit/webpack.modules.generate-style-loaders": "0.0.110",
|
|
121
120
|
"@teambit/webpack.modules.style-regexps": "0.0.139",
|
|
122
121
|
"@teambit/component-id": "0.0.425",
|
|
123
122
|
"@teambit/bit-error": "0.0.402",
|
|
124
123
|
"@teambit/toolbox.network.get-port": "0.0.121",
|
|
125
124
|
"@teambit/react.modules.prerenderer-puppeteer": "0.0.9",
|
|
126
|
-
"@teambit/ui-foundation.ui.pages.static-error": "0.0.
|
|
127
|
-
"@teambit/config": "0.0.
|
|
125
|
+
"@teambit/ui-foundation.ui.pages.static-error": "0.0.85",
|
|
126
|
+
"@teambit/config": "0.0.629"
|
|
128
127
|
},
|
|
129
128
|
"devDependencies": {
|
|
130
129
|
"@types/react": "^17.0.8",
|
|
@@ -146,7 +145,7 @@
|
|
|
146
145
|
"@teambit/react.content.react-overview": "1.95.0"
|
|
147
146
|
},
|
|
148
147
|
"peerDependencies": {
|
|
149
|
-
"@teambit/legacy": "1.0.
|
|
148
|
+
"@teambit/legacy": "1.0.397",
|
|
150
149
|
"react-dom": "^16.8.0 || ^17.0.0",
|
|
151
150
|
"react": "^16.8.0 || ^17.0.0"
|
|
152
151
|
},
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
|
-
import * as React from "react";
|
|
3
|
-
import * as ReactDom from "react-dom";
|
|
4
2
|
import * as TeambitMdxUiMdxScopeContext from "@teambit/mdx.ui.mdx-scope-context";
|
|
5
3
|
import * as MdxJsReact from "@mdx-js/react";
|
|
4
|
+
import * as React from "react";
|
|
5
|
+
import * as ReactDom from "react-dom";
|
|
6
6
|
|
|
7
7
|
const globalObj = window;
|
|
8
8
|
|
|
9
|
-
guard("React", React);
|
|
10
|
-
guard("ReactDom", ReactDom);
|
|
11
9
|
guard("TeambitMdxUiMdxScopeContext", TeambitMdxUiMdxScopeContext);
|
|
12
10
|
guard("MdxJsReact", MdxJsReact);
|
|
11
|
+
guard("React", React);
|
|
12
|
+
guard("ReactDom", ReactDom);
|
|
13
13
|
|
|
14
|
-
globalObj["React"] = React;
|
|
15
|
-
globalObj["ReactDom"] = ReactDom;
|
|
16
14
|
globalObj["TeambitMdxUiMdxScopeContext"] = TeambitMdxUiMdxScopeContext;
|
|
17
15
|
globalObj["MdxJsReact"] = MdxJsReact;
|
|
16
|
+
globalObj["React"] = React;
|
|
17
|
+
globalObj["ReactDom"] = ReactDom;
|
|
18
18
|
|
|
19
19
|
function guard(property, expected) {
|
|
20
20
|
var existing = globalObj[property];
|