@teambit/react 0.0.768 → 0.0.771
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/env-template/public/22.js +4 -4
- package/artifacts/env-template/public/277.js +37 -0
- package/artifacts/env-template/public/875.js +57 -57
- package/artifacts/env-template/public/assets-manifest.json +8 -8
- package/artifacts/env-template/public/{compositions.49a97f92431a131a21a9.js → compositions.1cb5b1de37dfd18d7e3f.js} +1 -1
- package/artifacts/env-template/public/compositions.html +1 -1
- package/artifacts/env-template/public/{overview.257f684b603925d81cac.js → overview.4272c575d5b3db7d095f.js} +1 -1
- package/artifacts/env-template/public/overview.html +1 -1
- package/artifacts/env-template/public/{preview-root.65f7614139a4a7d6fbfa.js → preview-root.5139474bedfd0bec69ea.js} +1 -1
- package/artifacts/preview/teambit_react_react-preview.js +2 -2
- package/{compositions-1655868544247.js → compositions-1656339215962.js} +0 -0
- package/dist/templates/react-env/files/main.runtime.js +11 -10
- package/dist/templates/react-env/files/main.runtime.js.map +1 -1
- package/{overview-1655868544247.js → overview-1656339215962.js} +0 -0
- package/package-tar/teambit-react-0.0.771.tgz +0 -0
- package/package.json +31 -31
- package/preview-1656339215962.js +5 -0
- package/templates/react-env/files/main.runtime.ts +11 -10
- package/artifacts/env-template/public/607.js +0 -46
- package/package-tar/teambit-react-0.0.768.tgz +0 -0
- package/preview-1655868544247.js +0 -2
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/react",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.771",
|
|
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.771"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"react-error-boundary": "^3.0.0",
|
|
@@ -80,39 +80,39 @@
|
|
|
80
80
|
"@teambit/react.instructions.react.adding-compositions": "0.0.6",
|
|
81
81
|
"@teambit/react.instructions.react.adding-tests": "0.0.6",
|
|
82
82
|
"@teambit/design.ui.pages.standalone-not-found-page": "0.0.358",
|
|
83
|
-
"@teambit/preview": "0.0.
|
|
83
|
+
"@teambit/preview": "0.0.771",
|
|
84
84
|
"@teambit/react.ui.error-fallback": "0.0.111",
|
|
85
85
|
"@teambit/react.ui.loader-fallback": "0.0.89",
|
|
86
86
|
"@teambit/compositions.ui.hooks.use-composition": "0.0.163",
|
|
87
87
|
"@teambit/design.ui.tooltip": "0.0.352",
|
|
88
|
-
"@teambit/builder": "0.0.
|
|
89
|
-
"@teambit/bundler": "0.0.
|
|
90
|
-
"@teambit/compiler": "0.0.
|
|
88
|
+
"@teambit/builder": "0.0.771",
|
|
89
|
+
"@teambit/bundler": "0.0.771",
|
|
90
|
+
"@teambit/compiler": "0.0.771",
|
|
91
91
|
"@teambit/component.modules.component-url": "0.0.124",
|
|
92
|
-
"@teambit/component": "0.0.
|
|
93
|
-
"@teambit/dependency-resolver": "0.0.
|
|
94
|
-
"@teambit/envs": "0.0.
|
|
95
|
-
"@teambit/eslint": "0.0.
|
|
96
|
-
"@teambit/formatter": "0.0.
|
|
97
|
-
"@teambit/jest": "0.0.
|
|
98
|
-
"@teambit/linter": "0.0.
|
|
99
|
-
"@teambit/logger": "0.0.
|
|
100
|
-
"@teambit/pkg": "0.0.
|
|
101
|
-
"@teambit/prettier": "0.0.
|
|
92
|
+
"@teambit/component": "0.0.771",
|
|
93
|
+
"@teambit/dependency-resolver": "0.0.771",
|
|
94
|
+
"@teambit/envs": "0.0.771",
|
|
95
|
+
"@teambit/eslint": "0.0.771",
|
|
96
|
+
"@teambit/formatter": "0.0.322",
|
|
97
|
+
"@teambit/jest": "0.0.771",
|
|
98
|
+
"@teambit/linter": "0.0.771",
|
|
99
|
+
"@teambit/logger": "0.0.603",
|
|
100
|
+
"@teambit/pkg": "0.0.771",
|
|
101
|
+
"@teambit/prettier": "0.0.322",
|
|
102
102
|
"@teambit/react.ui.highlighter.component-metadata.bit-component-meta": "0.0.21",
|
|
103
|
-
"@teambit/schema": "0.0.
|
|
104
|
-
"@teambit/tester": "0.0.
|
|
105
|
-
"@teambit/typescript": "0.0.
|
|
106
|
-
"@teambit/webpack": "0.0.
|
|
107
|
-
"@teambit/workspace": "0.0.
|
|
108
|
-
"@teambit/application": "0.0.
|
|
109
|
-
"@teambit/cli": "0.0.
|
|
110
|
-
"@teambit/generator": "0.0.
|
|
111
|
-
"@teambit/graphql": "0.0.
|
|
103
|
+
"@teambit/schema": "0.0.771",
|
|
104
|
+
"@teambit/tester": "0.0.771",
|
|
105
|
+
"@teambit/typescript": "0.0.771",
|
|
106
|
+
"@teambit/webpack": "0.0.771",
|
|
107
|
+
"@teambit/workspace": "0.0.771",
|
|
108
|
+
"@teambit/application": "0.0.413",
|
|
109
|
+
"@teambit/cli": "0.0.510",
|
|
110
|
+
"@teambit/generator": "0.0.771",
|
|
111
|
+
"@teambit/graphql": "0.0.771",
|
|
112
112
|
"@teambit/react.ui.highlighter-provider": "0.0.189",
|
|
113
|
-
"@teambit/compositions": "0.0.
|
|
114
|
-
"@teambit/ui": "0.0.
|
|
115
|
-
"@teambit/react.eslint-config-bit-react": "0.0.
|
|
113
|
+
"@teambit/compositions": "0.0.771",
|
|
114
|
+
"@teambit/ui": "0.0.771",
|
|
115
|
+
"@teambit/react.eslint-config-bit-react": "0.0.584",
|
|
116
116
|
"@teambit/mdx.modules.mdx-loader": "0.0.489",
|
|
117
117
|
"@teambit/react.babel.bit-react-transformer": "0.0.501",
|
|
118
118
|
"@teambit/webpack.modules.generate-style-loaders": "0.0.103",
|
|
@@ -120,7 +120,7 @@
|
|
|
120
120
|
"@teambit/component-id": "0.0.402",
|
|
121
121
|
"@teambit/toolbox.network.get-port": "0.0.113",
|
|
122
122
|
"@teambit/react.modules.prerenderer-puppeteer": "0.0.2",
|
|
123
|
-
"@teambit/config": "0.0.
|
|
123
|
+
"@teambit/config": "0.0.523"
|
|
124
124
|
},
|
|
125
125
|
"devDependencies": {
|
|
126
126
|
"@types/react": "^17.0.8",
|
|
@@ -139,7 +139,7 @@
|
|
|
139
139
|
"@teambit/react.content.react-overview": "1.95.0"
|
|
140
140
|
},
|
|
141
141
|
"peerDependencies": {
|
|
142
|
-
"@teambit/legacy": "1.0.
|
|
142
|
+
"@teambit/legacy": "1.0.291",
|
|
143
143
|
"react-dom": "^16.8.0 || ^17.0.0",
|
|
144
144
|
"react": "^16.8.0 || ^17.0.0"
|
|
145
145
|
},
|
|
@@ -203,7 +203,7 @@
|
|
|
203
203
|
"@types/jest": "^26.0.0"
|
|
204
204
|
},
|
|
205
205
|
"peerDependencies": {
|
|
206
|
-
"@teambit/legacy": "1.0.
|
|
206
|
+
"@teambit/legacy": "1.0.291",
|
|
207
207
|
"react-dom": "^16.8.0 || ^17.0.0",
|
|
208
208
|
"react": "^16.8.0 || ^17.0.0"
|
|
209
209
|
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.react_react@0.0.771/dist/react.composition.js'
|
|
2
|
+
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.react_react@0.0.771/dist/react.docs.mdx'
|
|
3
|
+
|
|
4
|
+
export const compositions = [compositions_0];
|
|
5
|
+
export const overview = [overview_0]
|
|
@@ -2,7 +2,7 @@ import { ComponentContext } from '@teambit/generator';
|
|
|
2
2
|
|
|
3
3
|
export function mainRuntimeFile({ namePascalCase: Name, name }: ComponentContext) {
|
|
4
4
|
return `import { MainRuntime } from '@teambit/cli';
|
|
5
|
-
import { ReactAspect, ReactMain } from '@teambit/react';
|
|
5
|
+
import { ReactAspect, ReactMain, UseTypescriptModifiers } from '@teambit/react';
|
|
6
6
|
import { EnvsAspect, EnvsMain } from '@teambit/envs';
|
|
7
7
|
import { ${Name}Aspect } from './${name}.aspect';
|
|
8
8
|
//import {
|
|
@@ -21,17 +21,18 @@ export class ${Name}Main {
|
|
|
21
21
|
|
|
22
22
|
static runtime = MainRuntime;
|
|
23
23
|
|
|
24
|
-
|
|
25
|
-
// previewConfig: [previewConfigTransformer],
|
|
26
|
-
// devServerConfig: [devServerConfigTransformer],
|
|
27
|
-
//};
|
|
24
|
+
static async provider([react, envs]: [ReactMain, EnvsMain]) {
|
|
28
25
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
26
|
+
//const webpackModifiers: UseWebpackModifiers = {
|
|
27
|
+
// previewConfig: [previewConfigTransformer],
|
|
28
|
+
// devServerConfig: [devServerConfigTransformer],
|
|
29
|
+
//};
|
|
30
|
+
|
|
31
|
+
//const tsModifiers: UseTypescriptModifiers = {
|
|
32
|
+
// devConfig: [devConfigTransformer],
|
|
33
|
+
// buildConfig: [buildConfigTransformer],
|
|
34
|
+
//};
|
|
33
35
|
|
|
34
|
-
static async provider([react, envs]: [ReactMain, EnvsMain]) {
|
|
35
36
|
const ${Name}Env = react.compose([
|
|
36
37
|
/**
|
|
37
38
|
* Uncomment to override the config files for TypeScript, Webpack or Jest
|