@teambit/react 0.0.1129 → 0.0.1131
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/{246.be41cd9d6ce996e54007.js → 733.37026e4f09ac5bbb7c7f.js} +2 -2
- package/artifacts/env-template/public/{924.25c2604cc76c1395378b.js → 924.3c1080d746a3789291ea.js} +4 -4
- package/artifacts/env-template/public/assets-manifest.json +14 -14
- package/artifacts/env-template/public/{compositions.3f69a6d2b1fddc4810cf.js → compositions.66cc3cb0975fe6f241a0.js} +1 -1
- package/artifacts/env-template/public/compositions.html +1 -1
- package/artifacts/env-template/public/{overview.af24c52f552f9697c7bf.js → overview.f189b58974c7da51c231.js} +1 -1
- package/artifacts/env-template/public/overview.html +1 -1
- package/artifacts/env-template/public/{peers.e1a7a5264a6abd1710b9.js → peers.f0d9a1532713690464a0.js} +1 -1
- package/artifacts/env-template/public/{preview-root.f9e457d5945d888f6c97.js → preview-root.ef67a6442e9103a22003.js} +1 -1
- package/artifacts/env-template/public/static/css/{924.a758a929.css → 924.cc84ee54.css} +1 -1
- package/dist/{preview-1691723880005.js → preview-1691983057527.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.1131.tgz +0 -0
- package/package.json +36 -36
- 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.1129.tgz +0 -0
- /package/{compositions-1691723880005.js → compositions-1691983057527.js} +0 -0
- /package/{overview-1691723880005.js → overview-1691983057527.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.1131",
|
|
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.1131"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"fs-extra": "10.0.0",
|
|
@@ -91,46 +91,46 @@
|
|
|
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.1131",
|
|
95
|
+
"@teambit/bundler": "0.0.1131",
|
|
96
|
+
"@teambit/compiler": "0.0.1131",
|
|
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.1131",
|
|
99
|
+
"@teambit/dependency-resolver": "0.0.1131",
|
|
100
|
+
"@teambit/envs": "0.0.1131",
|
|
101
|
+
"@teambit/eslint": "0.0.1131",
|
|
102
|
+
"@teambit/formatter": "0.0.682",
|
|
103
|
+
"@teambit/jest": "0.0.1131",
|
|
104
|
+
"@teambit/linter": "0.0.1131",
|
|
105
|
+
"@teambit/logger": "0.0.850",
|
|
106
|
+
"@teambit/pkg": "0.0.1131",
|
|
107
|
+
"@teambit/prettier": "0.0.682",
|
|
108
|
+
"@teambit/preview": "0.0.1131",
|
|
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.1131",
|
|
113
|
+
"@teambit/tester": "0.0.1131",
|
|
114
|
+
"@teambit/typescript": "0.0.1131",
|
|
115
|
+
"@teambit/webpack": "0.0.1131",
|
|
116
|
+
"@teambit/workspace-config-files": "0.0.111",
|
|
117
|
+
"@teambit/workspace": "0.0.1131",
|
|
118
|
+
"@teambit/application": "0.0.773",
|
|
119
|
+
"@teambit/cli": "0.0.757",
|
|
120
|
+
"@teambit/generator": "0.0.1131",
|
|
121
|
+
"@teambit/graphql": "0.0.1131",
|
|
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.
|
|
126
|
-
"@teambit/mdx.modules.mdx-loader": "
|
|
127
|
-
"@teambit/react.babel.bit-react-transformer": "
|
|
128
|
-
"@teambit/webpack.modules.generate-style-loaders": "0.0
|
|
129
|
-
"@teambit/webpack.modules.style-regexps": "0.0
|
|
123
|
+
"@teambit/compositions": "0.0.1131",
|
|
124
|
+
"@teambit/ui": "0.0.1131",
|
|
125
|
+
"@teambit/react.eslint-config-bit-react": "1.0.3",
|
|
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",
|
|
130
130
|
"@teambit/bit-error": "0.0.402",
|
|
131
131
|
"@teambit/toolbox.network.get-port": "1.0.0",
|
|
132
132
|
"@teambit/ui-foundation.ui.pages.static-error": "0.0.87",
|
|
133
|
-
"@teambit/config": "0.0.
|
|
133
|
+
"@teambit/config": "0.0.771"
|
|
134
134
|
},
|
|
135
135
|
"devDependencies": {
|
|
136
136
|
"@types/react": "^17.0.8",
|
|
@@ -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.540",
|
|
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
|