@live-codes/browser-compilers 0.16.0 → 0.17.0
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/@testing-library/dom.js +44 -41
- package/dist/@testing-library/jest-dom.js +47 -86
- package/dist/@testing-library/react-pure.js +75 -0
- package/dist/@testing-library/react.js +48 -85
- package/dist/@testing-library/user-event.js +78 -0
- package/dist/babel-plugin-react-compiler/babel-plugin-react-compiler.js +1 -2022
- package/package.json +5 -4
- package/scripts/vendors.js +5 -2
- package/vendor_modules/imports/@testing-library/react-pure.js +1 -0
- package/vendor_modules/imports/@testing-library/user-event.js +4 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@live-codes/browser-compilers",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.17.0",
|
|
4
4
|
"description": "Compilers that run in the browser, for use in livecodes.io",
|
|
5
5
|
"author": "Hatem Hosny",
|
|
6
6
|
"license": "MIT",
|
|
@@ -34,9 +34,10 @@
|
|
|
34
34
|
"@tailwindcss/forms": "0.5.3",
|
|
35
35
|
"@tailwindcss/line-clamp": "0.4.4",
|
|
36
36
|
"@tailwindcss/typography": "0.5.9",
|
|
37
|
-
"@testing-library/dom": "
|
|
38
|
-
"@testing-library/jest-dom": "
|
|
39
|
-
"@testing-library/react": "
|
|
37
|
+
"@testing-library/dom": "10.4.0",
|
|
38
|
+
"@testing-library/jest-dom": "6.6.3",
|
|
39
|
+
"@testing-library/react": "16.1.0",
|
|
40
|
+
"@testing-library/user-event": "14.5.2",
|
|
40
41
|
"@tokencss/core": "0.1.0",
|
|
41
42
|
"@tokencss/postcss": "0.0.5",
|
|
42
43
|
"@typescript/ata": "0.9.4",
|
package/scripts/vendors.js
CHANGED
|
@@ -294,7 +294,7 @@ fs.copyFileSync(
|
|
|
294
294
|
);
|
|
295
295
|
|
|
296
296
|
// @testing-library
|
|
297
|
-
['dom.js', 'jest-dom.js', 'react.js'].forEach(
|
|
297
|
+
['dom.js', 'jest-dom.js', 'react.js', 'react-pure.js', 'user-event.js'].forEach(
|
|
298
298
|
// entryPoints did not work properly!
|
|
299
299
|
(mod) => {
|
|
300
300
|
esbuild
|
|
@@ -303,7 +303,10 @@ fs.copyFileSync(
|
|
|
303
303
|
entryPoints: ['vendor_modules/imports/@testing-library/' + mod],
|
|
304
304
|
outdir: 'dist/@testing-library/',
|
|
305
305
|
format: 'esm',
|
|
306
|
-
|
|
306
|
+
define: {
|
|
307
|
+
'process.env.NODE_ENV': '"development"',
|
|
308
|
+
},
|
|
309
|
+
external: ['react', 'react-dom'],
|
|
307
310
|
})
|
|
308
311
|
.then(() => {
|
|
309
312
|
if (mod !== 'jest-dom.js') return;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@testing-library/react/pure';
|