@teambit/react 0.0.579 → 0.0.583
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/dist/templates/react-env/files/jest.config.js +3 -3
- package/dist/templates/react-env/files/jest.config.js.map +1 -1
- package/dist/typescript/tsconfig.build.json +2 -1
- package/dist/typescript/tsconfig.json +2 -1
- package/package-tar/teambit-react-0.0.583.tgz +0 -0
- package/package.json +44 -44
- package/templates/react-env/files/jest.config.ts +3 -3
- package/tsconfig.json +2 -2
- package/typescript/tsconfig.build.json +2 -1
- package/typescript/tsconfig.json +2 -1
- package/package-tar/teambit-react-0.0.579.tgz +0 -0
|
@@ -15,13 +15,13 @@ function jestConfigFile() {
|
|
|
15
15
|
// const {
|
|
16
16
|
// generateNodeModulesPattern,
|
|
17
17
|
// } = require('@teambit/dependencies.modules.packages-excluder');
|
|
18
|
-
// const packagesToExclude = ['
|
|
18
|
+
// const packagesToExclude = ['@my-org', 'my-package-name'];
|
|
19
19
|
|
|
20
20
|
// module.exports = {
|
|
21
21
|
// ...reactJestConfig,
|
|
22
22
|
// transformIgnorePatterns: [
|
|
23
|
-
//
|
|
24
|
-
//
|
|
23
|
+
// '^.+\\.module\\.(css|sass|scss)$',
|
|
24
|
+
// generateNodeModulesPattern({ packages: packagesToExclude }),
|
|
25
25
|
// ],
|
|
26
26
|
// };
|
|
27
27
|
`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["jest.config.ts"],"names":["jestConfigFile"],"mappings":";;;;;;;AAAO,SAASA,cAAT,GAA0B;AAC/B,SAAQ;AACV;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAlBE;AAmBD","sourcesContent":["export function jestConfigFile() {\n return `\n // Override the Jest config to ignore transpiling from specific folders\n // See the base Jest config: https://bit.dev/teambit/react/react/~code/jest/jest.config.js\n\n // const reactJestConfig = require('@teambit/react/jest/jest.config');\n // uncomment the line below and install the package if you want to use this function\n // const {\n // generateNodeModulesPattern,\n // } = require('@teambit/dependencies.modules.packages-excluder');\n // const packagesToExclude = ['
|
|
1
|
+
{"version":3,"sources":["jest.config.ts"],"names":["jestConfigFile"],"mappings":";;;;;;;AAAO,SAASA,cAAT,GAA0B;AAC/B,SAAQ;AACV;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAlBE;AAmBD","sourcesContent":["export function jestConfigFile() {\n return `\n // Override the Jest config to ignore transpiling from specific folders\n // See the base Jest config: https://bit.dev/teambit/react/react/~code/jest/jest.config.js\n\n // const reactJestConfig = require('@teambit/react/jest/jest.config');\n // uncomment the line below and install the package if you want to use this function\n // const {\n // generateNodeModulesPattern,\n // } = require('@teambit/dependencies.modules.packages-excluder');\n // const packagesToExclude = ['@my-org', 'my-package-name'];\n\n // module.exports = {\n // ...reactJestConfig,\n // transformIgnorePatterns: [\n // '^.+\\\\.module\\\\.(css|sass|scss)$',\n // generateNodeModulesPattern({ packages: packagesToExclude }),\n // ],\n // };\n `;\n}\n"]}
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/react",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.583",
|
|
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.583"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"react-error-boundary": "^3.0.0",
|
|
@@ -79,47 +79,47 @@
|
|
|
79
79
|
"@teambit/react.instructions.react.adding-compositions": "0.0.6",
|
|
80
80
|
"@teambit/react.instructions.react.adding-tests": "0.0.6",
|
|
81
81
|
"@teambit/design.ui.pages.standalone-not-found-page": "0.0.354",
|
|
82
|
-
"@teambit/preview": "0.0.
|
|
83
|
-
"@teambit/react.ui.error-fallback": "0.0.
|
|
84
|
-
"@teambit/react.ui.loader-fallback": "0.0.
|
|
85
|
-
"@teambit/compositions.ui.hooks.use-composition": "0.0.
|
|
82
|
+
"@teambit/preview": "0.0.583",
|
|
83
|
+
"@teambit/react.ui.error-fallback": "0.0.101",
|
|
84
|
+
"@teambit/react.ui.loader-fallback": "0.0.80",
|
|
85
|
+
"@teambit/compositions.ui.hooks.use-composition": "0.0.154",
|
|
86
86
|
"@teambit/design.ui.input.option-button": "0.0.26",
|
|
87
87
|
"@teambit/design.ui.tooltip": "0.0.352",
|
|
88
|
-
"@teambit/application": "0.0.
|
|
89
|
-
"@teambit/bundler": "0.0.
|
|
90
|
-
"@teambit/builder": "0.0.
|
|
91
|
-
"@teambit/isolator": "0.0.
|
|
92
|
-
"@teambit/toolbox.network.get-port": "0.0.
|
|
93
|
-
"@teambit/compiler": "0.0.
|
|
94
|
-
"@teambit/component.modules.component-url": "0.0.
|
|
95
|
-
"@teambit/component": "0.0.
|
|
96
|
-
"@teambit/envs": "0.0.
|
|
97
|
-
"@teambit/eslint": "0.0.
|
|
98
|
-
"@teambit/formatter": "0.0.
|
|
99
|
-
"@teambit/jest": "0.0.
|
|
100
|
-
"@teambit/linter": "0.0.
|
|
101
|
-
"@teambit/pkg": "0.0.
|
|
102
|
-
"@teambit/prettier": "0.0.
|
|
103
|
-
"@teambit/react.ui.highlighter.component-metadata.bit-component-meta": "0.0.
|
|
104
|
-
"@teambit/schema": "0.0.
|
|
105
|
-
"@teambit/tester": "0.0.
|
|
106
|
-
"@teambit/typescript": "0.0.
|
|
107
|
-
"@teambit/webpack": "0.0.
|
|
108
|
-
"@teambit/workspace": "0.0.
|
|
109
|
-
"@teambit/cli": "0.0.
|
|
110
|
-
"@teambit/dependency-resolver": "0.0.
|
|
111
|
-
"@teambit/generator": "0.0.
|
|
112
|
-
"@teambit/graphql": "0.0.
|
|
113
|
-
"@teambit/react.ui.highlighter-provider": "0.0.
|
|
114
|
-
"@teambit/compositions": "0.0.
|
|
115
|
-
"@teambit/ui": "0.0.
|
|
116
|
-
"@teambit/react.eslint-config-bit-react": "0.0.
|
|
117
|
-
"@teambit/mdx.modules.mdx-loader": "0.0.
|
|
118
|
-
"@teambit/react.babel.bit-react-transformer": "0.0.
|
|
119
|
-
"@teambit/webpack.modules.generate-style-loaders": "0.0.
|
|
120
|
-
"@teambit/webpack.modules.style-regexps": "0.0.
|
|
121
|
-
"@teambit/component-id": "0.0.
|
|
122
|
-
"@teambit/config": "0.0.
|
|
88
|
+
"@teambit/application": "0.0.225",
|
|
89
|
+
"@teambit/bundler": "0.0.583",
|
|
90
|
+
"@teambit/builder": "0.0.583",
|
|
91
|
+
"@teambit/isolator": "0.0.583",
|
|
92
|
+
"@teambit/toolbox.network.get-port": "0.0.104",
|
|
93
|
+
"@teambit/compiler": "0.0.583",
|
|
94
|
+
"@teambit/component.modules.component-url": "0.0.111",
|
|
95
|
+
"@teambit/component": "0.0.583",
|
|
96
|
+
"@teambit/envs": "0.0.583",
|
|
97
|
+
"@teambit/eslint": "0.0.583",
|
|
98
|
+
"@teambit/formatter": "0.0.134",
|
|
99
|
+
"@teambit/jest": "0.0.583",
|
|
100
|
+
"@teambit/linter": "0.0.583",
|
|
101
|
+
"@teambit/pkg": "0.0.583",
|
|
102
|
+
"@teambit/prettier": "0.0.134",
|
|
103
|
+
"@teambit/react.ui.highlighter.component-metadata.bit-component-meta": "0.0.12",
|
|
104
|
+
"@teambit/schema": "0.0.583",
|
|
105
|
+
"@teambit/tester": "0.0.583",
|
|
106
|
+
"@teambit/typescript": "0.0.583",
|
|
107
|
+
"@teambit/webpack": "0.0.583",
|
|
108
|
+
"@teambit/workspace": "0.0.583",
|
|
109
|
+
"@teambit/cli": "0.0.400",
|
|
110
|
+
"@teambit/dependency-resolver": "0.0.583",
|
|
111
|
+
"@teambit/generator": "0.0.583",
|
|
112
|
+
"@teambit/graphql": "0.0.583",
|
|
113
|
+
"@teambit/react.ui.highlighter-provider": "0.0.169",
|
|
114
|
+
"@teambit/compositions": "0.0.583",
|
|
115
|
+
"@teambit/ui": "0.0.583",
|
|
116
|
+
"@teambit/react.eslint-config-bit-react": "0.0.478",
|
|
117
|
+
"@teambit/mdx.modules.mdx-loader": "0.0.478",
|
|
118
|
+
"@teambit/react.babel.bit-react-transformer": "0.0.486",
|
|
119
|
+
"@teambit/webpack.modules.generate-style-loaders": "0.0.94",
|
|
120
|
+
"@teambit/webpack.modules.style-regexps": "0.0.123",
|
|
121
|
+
"@teambit/component-id": "0.0.390",
|
|
122
|
+
"@teambit/config": "0.0.412"
|
|
123
123
|
},
|
|
124
124
|
"devDependencies": {
|
|
125
125
|
"@types/react": "^17.0.8",
|
|
@@ -134,10 +134,10 @@
|
|
|
134
134
|
"@types/mocha": "5.2.7",
|
|
135
135
|
"@types/testing-library__jest-dom": "5.9.5",
|
|
136
136
|
"@types/jest": "^26.0.0",
|
|
137
|
-
"@teambit/react.aspect-docs.react": "0.0.
|
|
137
|
+
"@teambit/react.aspect-docs.react": "0.0.122"
|
|
138
138
|
},
|
|
139
139
|
"peerDependencies": {
|
|
140
|
-
"@teambit/legacy": "1.0.
|
|
140
|
+
"@teambit/legacy": "1.0.186",
|
|
141
141
|
"react-dom": "^16.8.0 || ^17.0.0",
|
|
142
142
|
"react": "^16.8.0 || ^17.0.0"
|
|
143
143
|
},
|
|
@@ -199,7 +199,7 @@
|
|
|
199
199
|
"@types/jest": "^26.0.0"
|
|
200
200
|
},
|
|
201
201
|
"peerDependencies": {
|
|
202
|
-
"@teambit/legacy": "1.0.
|
|
202
|
+
"@teambit/legacy": "1.0.186",
|
|
203
203
|
"react-dom": "^16.8.0 || ^17.0.0",
|
|
204
204
|
"react": "^16.8.0 || ^17.0.0"
|
|
205
205
|
}
|
|
@@ -8,13 +8,13 @@ export function jestConfigFile() {
|
|
|
8
8
|
// const {
|
|
9
9
|
// generateNodeModulesPattern,
|
|
10
10
|
// } = require('@teambit/dependencies.modules.packages-excluder');
|
|
11
|
-
// const packagesToExclude = ['
|
|
11
|
+
// const packagesToExclude = ['@my-org', 'my-package-name'];
|
|
12
12
|
|
|
13
13
|
// module.exports = {
|
|
14
14
|
// ...reactJestConfig,
|
|
15
15
|
// transformIgnorePatterns: [
|
|
16
|
-
//
|
|
17
|
-
//
|
|
16
|
+
// '^.+\\.module\\.(css|sass|scss)$',
|
|
17
|
+
// generateNodeModulesPattern({ packages: packagesToExclude }),
|
|
18
18
|
// ],
|
|
19
19
|
// };
|
|
20
20
|
`;
|
package/tsconfig.json
CHANGED
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
"skipLibCheck": true,
|
|
16
16
|
"moduleResolution": "node",
|
|
17
17
|
"esModuleInterop": true,
|
|
18
|
+
"resolveJsonModule": true,
|
|
18
19
|
"composite": true,
|
|
19
20
|
"emitDeclarationOnly": true,
|
|
20
21
|
"outDir": "dist",
|
|
@@ -25,8 +26,7 @@
|
|
|
25
26
|
"strict": true,
|
|
26
27
|
"noImplicitAny": false,
|
|
27
28
|
"rootDir": ".",
|
|
28
|
-
"preserveConstEnums": true
|
|
29
|
-
"resolveJsonModule": true
|
|
29
|
+
"preserveConstEnums": true
|
|
30
30
|
},
|
|
31
31
|
"exclude": [
|
|
32
32
|
"dist"
|
package/typescript/tsconfig.json
CHANGED
|
Binary file
|