@teambit/react 0.0.1130 → 0.0.1132
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/{869.d21019408e311385b101.js → 330.09ce33c831287e2581f6.js} +5 -5
- package/artifacts/env-template/public/{924.3c1080d746a3789291ea.js → 924.89512771e869b7cc63a3.js} +9 -7
- package/artifacts/env-template/public/assets-manifest.json +14 -14
- package/artifacts/env-template/public/{compositions.34bcf28d135719d2d79f.js → compositions.6cafcfc29549e8f53b2e.js} +1 -1
- package/artifacts/env-template/public/compositions.html +1 -1
- package/artifacts/env-template/public/{overview.92a996d31c3d2d9c02fc.js → overview.497ba756940e22889520.js} +1 -1
- package/artifacts/env-template/public/overview.html +1 -1
- package/artifacts/env-template/public/{peers.3a79404739acbb1d5b38.js → peers.657c998c4c73d3792788.js} +1 -1
- package/artifacts/env-template/public/{preview-root.287137045365cc226bc9.js → preview-root.09ccaabbeb848be6cd94.js} +1 -1
- package/artifacts/env-template/public/static/css/{924.cc84ee54.css → 924.a758a929.css} +1 -1
- package/dist/{preview-1691896579999.js → preview-1692069513137.js} +2 -2
- package/dist/templates/react-app/files/app-plugin.d.ts +1 -1
- package/dist/templates/react-app/files/app-plugin.js +6 -11
- package/dist/templates/react-app/files/app-plugin.js.map +1 -1
- package/dist/templates/react-app/index.js +1 -1
- package/dist/templates/react-app/index.js.map +1 -1
- package/package-tar/teambit-react-0.0.1132.tgz +0 -0
- package/package.json +40 -40
- package/templates/react-app/files/app-plugin.ts +6 -10
- package/templates/react-app/index.ts +1 -1
- package/package-tar/teambit-react-0.0.1130.tgz +0 -0
- /package/{compositions-1691896579999.js → compositions-1692069513137.js} +0 -0
- /package/{overview-1691896579999.js → overview-1692069513137.js} +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.1132",
|
|
4
4
|
"homepage": "https://bit.cloud/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.1132"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"fs-extra": "10.0.0",
|
|
@@ -16,7 +16,6 @@
|
|
|
16
16
|
"ramda": "0.27.1",
|
|
17
17
|
"lodash.flatten": "4.4.0",
|
|
18
18
|
"@testing-library/jest-dom": "5.16.2",
|
|
19
|
-
"lodash.compact": "3.0.1",
|
|
20
19
|
"postcss-preset-env": "7.8.2",
|
|
21
20
|
"css-minimizer-webpack-plugin": "3.0.2",
|
|
22
21
|
"terser-webpack-plugin": "5.2.0",
|
|
@@ -25,6 +24,7 @@
|
|
|
25
24
|
"react-dev-utils": "11.0.4",
|
|
26
25
|
"style-loader": "^2.0.0",
|
|
27
26
|
"@pmmmwh/react-refresh-webpack-plugin": "0.5.4",
|
|
27
|
+
"lodash.compact": "3.0.1",
|
|
28
28
|
"@babel/plugin-proposal-class-properties": "7.18.6",
|
|
29
29
|
"babel-plugin-transform-typescript-metadata": "0.3.1",
|
|
30
30
|
"@babel/plugin-proposal-decorators": "7.20.0",
|
|
@@ -38,13 +38,13 @@
|
|
|
38
38
|
"@babel/plugin-transform-modules-commonjs": "7.19.6",
|
|
39
39
|
"camelcase": "6.2.0",
|
|
40
40
|
"comment-json": "3.0.3",
|
|
41
|
+
"react-error-overlay": "6.0.9",
|
|
42
|
+
"strip-ansi": "6.0.0",
|
|
41
43
|
"@prerenderer/prerenderer": "^1.2.0",
|
|
42
44
|
"@prerenderer/renderer-jsdom": "^1.1.2",
|
|
43
45
|
"@prerenderer/webpack-plugin": "^5.2.0",
|
|
44
46
|
"express": "4.17.1",
|
|
45
47
|
"url-join": "4.0.1",
|
|
46
|
-
"react-error-overlay": "6.0.9",
|
|
47
|
-
"strip-ansi": "6.0.0",
|
|
48
48
|
"react-refresh": "0.10.0",
|
|
49
49
|
"@babel/runtime": "7.20.0",
|
|
50
50
|
"less-loader": "10.0.0",
|
|
@@ -91,56 +91,56 @@
|
|
|
91
91
|
"@teambit/component-id": "0.0.427",
|
|
92
92
|
"@teambit/react.rendering.ssr": "0.0.3",
|
|
93
93
|
"@teambit/compositions.ui.hooks.use-composition": "0.0.172",
|
|
94
|
-
"@teambit/builder": "0.0.
|
|
95
|
-
"@teambit/bundler": "0.0.
|
|
96
|
-
"@teambit/compiler": "0.0.
|
|
94
|
+
"@teambit/builder": "0.0.1132",
|
|
95
|
+
"@teambit/bundler": "0.0.1132",
|
|
96
|
+
"@teambit/compiler": "0.0.1132",
|
|
97
97
|
"@teambit/component.modules.component-url": "0.0.151",
|
|
98
|
-
"@teambit/component": "0.0.
|
|
99
|
-
"@teambit/dependency-resolver": "0.0.
|
|
100
|
-
"@teambit/envs": "0.0.
|
|
101
|
-
"@teambit/eslint": "0.0.
|
|
102
|
-
"@teambit/formatter": "0.0.
|
|
103
|
-
"@teambit/jest": "0.0.
|
|
104
|
-
"@teambit/linter": "0.0.
|
|
105
|
-
"@teambit/logger": "0.0.
|
|
106
|
-
"@teambit/pkg": "0.0.
|
|
107
|
-
"@teambit/prettier": "0.0.
|
|
108
|
-
"@teambit/preview": "0.0.
|
|
98
|
+
"@teambit/component": "0.0.1132",
|
|
99
|
+
"@teambit/dependency-resolver": "0.0.1132",
|
|
100
|
+
"@teambit/envs": "0.0.1132",
|
|
101
|
+
"@teambit/eslint": "0.0.1132",
|
|
102
|
+
"@teambit/formatter": "0.0.683",
|
|
103
|
+
"@teambit/jest": "0.0.1132",
|
|
104
|
+
"@teambit/linter": "0.0.1132",
|
|
105
|
+
"@teambit/logger": "0.0.851",
|
|
106
|
+
"@teambit/pkg": "0.0.1132",
|
|
107
|
+
"@teambit/prettier": "0.0.683",
|
|
108
|
+
"@teambit/preview": "0.0.1132",
|
|
109
109
|
"@teambit/react.ui.compositions-app": "0.0.12",
|
|
110
|
-
"@teambit/react.ui.docs-app": "
|
|
110
|
+
"@teambit/react.ui.docs-app": "1.0.1",
|
|
111
111
|
"@teambit/react.ui.highlighter.component-metadata.bit-component-meta": "0.0.31",
|
|
112
|
-
"@teambit/schema": "0.0.
|
|
113
|
-
"@teambit/tester": "0.0.
|
|
114
|
-
"@teambit/typescript": "0.0.
|
|
115
|
-
"@teambit/webpack": "0.0.
|
|
116
|
-
"@teambit/workspace-config-files": "0.0.
|
|
117
|
-
"@teambit/workspace": "0.0.
|
|
118
|
-
"@teambit/application": "0.0.
|
|
119
|
-
"@teambit/cli": "0.0.
|
|
120
|
-
"@teambit/generator": "0.0.
|
|
121
|
-
"@teambit/graphql": "0.0.
|
|
112
|
+
"@teambit/schema": "0.0.1132",
|
|
113
|
+
"@teambit/tester": "0.0.1132",
|
|
114
|
+
"@teambit/typescript": "0.0.1132",
|
|
115
|
+
"@teambit/webpack": "0.0.1132",
|
|
116
|
+
"@teambit/workspace-config-files": "0.0.112",
|
|
117
|
+
"@teambit/workspace": "0.0.1132",
|
|
118
|
+
"@teambit/application": "0.0.774",
|
|
119
|
+
"@teambit/cli": "0.0.758",
|
|
120
|
+
"@teambit/generator": "0.0.1132",
|
|
121
|
+
"@teambit/graphql": "0.0.1132",
|
|
122
122
|
"@teambit/react.ui.highlighter-provider": "0.0.200",
|
|
123
|
-
"@teambit/compositions": "0.0.
|
|
124
|
-
"@teambit/ui": "0.0.
|
|
125
|
-
"@teambit/react.eslint-config-bit-react": "1.0.
|
|
123
|
+
"@teambit/compositions": "0.0.1132",
|
|
124
|
+
"@teambit/ui": "0.0.1132",
|
|
125
|
+
"@teambit/react.eslint-config-bit-react": "1.0.4",
|
|
126
|
+
"@teambit/mdx.modules.mdx-loader": "1.0.1",
|
|
127
|
+
"@teambit/react.babel.bit-react-transformer": "1.0.1",
|
|
128
|
+
"@teambit/webpack.modules.generate-style-loaders": "1.0.0",
|
|
129
|
+
"@teambit/webpack.modules.style-regexps": "1.0.0",
|
|
126
130
|
"@teambit/bit-error": "0.0.402",
|
|
127
131
|
"@teambit/toolbox.network.get-port": "1.0.0",
|
|
128
|
-
"@teambit/mdx.modules.mdx-loader": "0.0.513",
|
|
129
|
-
"@teambit/react.babel.bit-react-transformer": "0.0.530",
|
|
130
|
-
"@teambit/webpack.modules.generate-style-loaders": "0.0.110",
|
|
131
|
-
"@teambit/webpack.modules.style-regexps": "0.0.139",
|
|
132
132
|
"@teambit/ui-foundation.ui.pages.static-error": "0.0.87",
|
|
133
|
-
"@teambit/config": "0.0.
|
|
133
|
+
"@teambit/config": "0.0.772"
|
|
134
134
|
},
|
|
135
135
|
"devDependencies": {
|
|
136
136
|
"@types/react": "^17.0.8",
|
|
137
137
|
"@types/fs-extra": "9.0.7",
|
|
138
138
|
"@types/lodash": "4.14.165",
|
|
139
139
|
"@types/lodash.flatten": "4.4.6",
|
|
140
|
-
"@types/lodash.compact": "3.0.6",
|
|
141
140
|
"@types/webpack": "5.28.1",
|
|
142
141
|
"@types/mini-css-extract-plugin": "2.2.0",
|
|
143
142
|
"@types/react-dev-utils": "9.0.10",
|
|
143
|
+
"@types/lodash.compact": "3.0.6",
|
|
144
144
|
"@types/express": "4.17.13",
|
|
145
145
|
"@types/url-join": "4.0.0",
|
|
146
146
|
"@types/react-dom": "^17.0.5",
|
|
@@ -152,7 +152,7 @@
|
|
|
152
152
|
"@teambit/react.content.react-overview": "1.95.0"
|
|
153
153
|
},
|
|
154
154
|
"peerDependencies": {
|
|
155
|
-
"@teambit/legacy": "1.0.
|
|
155
|
+
"@teambit/legacy": "1.0.541",
|
|
156
156
|
"react-dom": "^16.8.0 || ^17.0.0",
|
|
157
157
|
"react": "^16.8.0 || ^17.0.0"
|
|
158
158
|
},
|
|
@@ -1,13 +1,9 @@
|
|
|
1
1
|
import { ComponentContext } from '@teambit/generator';
|
|
2
2
|
|
|
3
|
-
export function appPlugin({ name
|
|
4
|
-
return
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
};
|
|
10
|
-
|
|
11
|
-
export default ${Name}App;
|
|
12
|
-
`;
|
|
3
|
+
export function appPlugin({ name }: ComponentContext) {
|
|
4
|
+
return `/** @type {import("@teambit/react.apps.react-app-types").ReactAppOptions} */
|
|
5
|
+
module.exports.default = {
|
|
6
|
+
name: "${name}",
|
|
7
|
+
entry: [require.resolve("./${name}.app-root")],
|
|
8
|
+
};`;
|
|
13
9
|
}
|
|
Binary file
|
|
File without changes
|
|
File without changes
|