Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert to pnpm workspace #255

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cli/clearCache.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/env node
const jestPath = require.resolve('jest/bin/jest');
const { execSync } = require('child_process');
const path = require('path');
const fs = require('fs');
Expand All @@ -15,6 +14,7 @@ function clearJestCache() {
if (process.env.INIT_CWD === process.env.PWD) {
console.log('Inside Jest Preview. Do not clear Cache.');
} else {
const jestPath = require.resolve('jest/bin/jest');
console.log('Clearing Jest cache...');
execSync(`node ${jestPath} --clearCache`, { stdio: 'inherit' });
console.log('Cleared Jest cache...');
Expand Down
File renamed without changes.
14 changes: 14 additions & 0 deletions demo/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite App</title>
</head>

<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>
16 changes: 8 additions & 8 deletions jest.config.js → demo/jest.config.js
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
/** @type {import('@jest/types').Config.InitialOptions} */

module.exports = {
roots: ['<rootDir>/demo', '<rootDir>/src'],
roots: ['<rootDir>/src'],
collectCoverageFrom: [
'demo/**/*.{js,jsx,ts,tsx}',
'!demo/**/*.d.ts',
'!demo/mocks/**',
'src/**/*.{js,jsx,ts,tsx}',
'!src/**/*.d.ts',
'!src/mocks/**',
// TODO: To report coverage in `src`. They are compiled to `dist` so it's difficult to report coverage directly
],
coveragePathIgnorePatterns: [],
setupFilesAfterEnv: ['<rootDir>/demo/setupTests.js'],
setupFilesAfterEnv: ['<rootDir>/src/setupTests.js'],
testEnvironment: 'jsdom',
modulePaths: ['<rootDir>/demo'],
modulePaths: ['<rootDir>/src'],
transform: {
'^.+\\.(ts|js|tsx|jsx)$': '@swc/jest',
'^.+\\.(css|scss|sass|less)$': '<rootDir>/transforms/css',
'^(?!.*\\.(js|jsx|mjs|cjs|ts|tsx|json)$)': '<rootDir>/transforms/file',
'^.+\\.(css|scss|sass|less)$': 'jest-preview/transforms/css',
'^(?!.*\\.(js|jsx|mjs|cjs|ts|tsx|json)$)': 'jest-preview/transforms/file',
},
transformIgnorePatterns: [
'[/\\\\]node_modules[/\\\\].+\\.(js|jsx|mjs|cjs|ts|tsx)$',
Expand Down
71 changes: 71 additions & 0 deletions demo/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
{
"name": "demo",
"version": "0.0.1",
"private": true,
"license": "MIT",
"author": {
"name": "Hung Viet Nguyen",
"url": "https://github.com/nvh95"
},
"scripts": {
"dev": "vite",
"preview": "vite preview",
"jest-preview": "jest-preview",
"test:dev": "cross-env NODE_ENV=test jest --watch --no-cache App",
"test:dev:cache": "cross-env NODE_ENV=test jest --watch App",
"test:ci": "cross-env NODE_ENV=test jest",
"test": "pnpm run test:dev:cache",
"prettier": "prettier cli src --check",
"prettier:fix": "pnpm run prettier -- --write",
"sort": "npx sort-package-json"
},
"devDependencies": {
"@babel/core": "^7.18.10",
"@emotion/react": "^11.9.0",
"@emotion/styled": "^11.8.1",
"@stitches/react": "^1.2.8",
"@swc/core": "^1.2.154",
"@swc/jest": "^0.2.20",
"@testing-library/dom": "^8.16.0",
"@testing-library/jest-dom": "^5.16.2",
"@testing-library/react": "^12.1.4",
"@testing-library/user-event": "^13.5.0",
"@types/connect": "^3.4.35",
"@types/jest": "28",
"@types/less": "^3.0.3",
"@types/node": "^18.6.3",
"@types/react": "^17.0.33",
"@types/react-dom": "^17.0.10",
"@types/styled-components": "^5.1.24",
"@types/svgo": "^2.6.3",
"@types/testing-library__jest-dom": "^5.14.5",
"@vitejs/plugin-react": "^1.3.0",
"animate-sass": "^0.8.2",
"animate.css": "^4.1.1",
"autoprefixer": "^10.4.7",
"cross-env": "^7.0.3",
"jest": "^28",
"jest-environment-jsdom": "28",
"jest-preview": "workspace:*",
"jest-watch-typeahead": "^1.0.0",
"less": "^4.1.3",
"nodemon": "^2.0.15",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.14",
"postcss-modules": "^4.3.1",
"postcss-trolling": "^0.1.7",
"prettier": "^2.6.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-is": "^18.2.0",
"rollup": "^2.77.2",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.31.2",
"sass": "^1.50.0",
"styled-components": "^5.3.5",
"tailwindcss": "^3.1.2",
"typescript": "^4.6.3",
"vite": "^2.9.1",
"vite-plugin-svgr": "^2.2.0"
}
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { render, screen } from '@testing-library/react';

import userEvent from '@testing-library/user-event';
import App from '../App';
import { debug } from '../../dist/index';
import { debug } from 'jest-preview';

describe('App', () => {
it('should work as expected', () => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { render, screen, waitFor } from '@testing-library/react';
import Translate from '../components/Translate';
import preview from '../../dist/index';
import preview from 'jest-preview';

describe('Translate', () => {
it('should render in multiple languages', () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ describe('File', () => {
'/logo.svg',
);
expect((screen.getByAltText('logo2') as HTMLImageElement).src).toContain(
'/demo/assets/images/logo.svg',
'/src/assets/images/logo.svg',
);
});
});
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ describe('transform', () => {
render(<App />);
// TODO: To refactor this test. It frequently need to be updated.
expect(document.body.outerHTML).toMatchInlineSnapshot(
`"<body><div><div class=\\"App\\"><header class=\\"App-header\\"><div class=\\"sc-gsnTZi kykGJG\\"><img src=\\"/logo.svg\\" class=\\"App-logo\\" alt=\\"logo\\" height=\\"100\\"><svg xmlns=\\"http://www.w3.org/2000/svg\\" width=\\"410\\" height=\\"100\\" fill=\\"none\\" viewBox=\\"0 0 410 404\\"><path fill=\\"url(#paint0_linear)\\" d=\\"M399.641 59.5246L215.643 388.545C211.844 395.338 202.084 395.378 198.228 388.618L10.5817 59.5563C6.38087 52.1896 12.6802 43.2665 21.0281 44.7586L205.223 77.6824C206.398 77.8924 207.601 77.8904 208.776 77.6763L389.119 44.8058C397.439 43.2894 403.768 52.1434 399.641 59.5246Z\\"></path><path fill=\\"url(#paint1_linear)\\" d=\\"M292.965 1.5744L156.801 28.2552C154.563 28.6937 152.906 30.5903 152.771 32.8664L144.395 174.33C144.198 177.662 147.258 180.248 150.51 179.498L188.42 170.749C191.967 169.931 195.172 173.055 194.443 176.622L183.18 231.775C182.422 235.487 185.907 238.661 189.532 237.56L212.947 230.446C216.577 229.344 220.065 232.527 219.297 236.242L201.398 322.875C200.278 328.294 207.486 331.249 210.492 326.603L212.5 323.5L323.454 102.072C325.312 98.3645 322.108 94.137 318.036 94.9228L279.014 102.454C275.347 103.161 272.227 99.746 273.262 96.1583L298.731 7.86689C299.767 4.27314 296.636 0.855181 292.965 1.5744Z\\"></path><defs><linearGradient id=\\"paint0_linear\\" x1=\\"6\\" x2=\\"235\\" y1=\\"33\\" y2=\\"344\\" gradientUnits=\\"userSpaceOnUse\\"><stop stop-color=\\"#41D1FF\\"></stop><stop offset=\\"1\\" stop-color=\\"#BD34FE\\"></stop></linearGradient><linearGradient id=\\"paint1_linear\\" x1=\\"194.651\\" x2=\\"236.076\\" y1=\\"8.818\\" y2=\\"292.989\\" gradientUnits=\\"userSpaceOnUse\\"><stop stop-color=\\"#FFEA83\\"></stop><stop offset=\\"0.083\\" stop-color=\\"#FFDD35\\"></stop><stop offset=\\"1\\" stop-color=\\"#FFA800\\"></stop></linearGradient></defs></svg></div><img src=\\"/demo/assets/images/logo.svg\\" class=\\"logo2\\" alt=\\"logo2\\"><p>Hello Vite + React!</p><p class=\\"less-p\\">Less: Blue + Dynamic size (break point 400px)</p><p class=\\"less-child-p\\">Less: Yellow</p><p class=\\"_scssModule_ujx1w_1\\">Styled by SCSS Modules</p><p class=\\"sc-bczRLJ dgihId\\">This text is styled by styled-components</p><p class=\\"global-css\\">This text is styled by global css which is not imported to App.tsx</p><p class=\\"_cssModule_1a0qn_1\\">This text is styled by CSS Modules</p><p class=\\"global-configured-sass\\">This text is styled by global configured SASS</p><p class=\\"imported-sass\\">This text is styled by imported SASS</p><p class=\\"bg-yellow-400 font-bold m-5 text-red-500\\">This text is styled by Tailwind CSS</p><button class=\\"css-1b07vmx-App\\">Hover to change color.</button><p class=\\"css-2m18qq\\">Styled by Emotion</p><p class=\\"c-gqdJwI\\">Styled by Stiches</p><p class=\\"load-path-sass\\">This text is styled by SASS from load paths</p><p class=\\"animate__animated animate__bounce\\">An animated element style using @use ~</p><div class=\\"animated fadeIn\\"><p>An animated element style using import ~</p><p>Watch me fade in!</p></div><p><button data-testid=\\"increase\\" type=\\"button\\">count is: <div data-testid=\\"count\\">0</div></button></p><p>Edit <code>App.tsx</code> and save to test HMR updates.</p><p><a class=\\"App-link\\" href=\\"https://reactjs.org\\" target=\\"_blank\\" rel=\\"noopener noreferrer\\">Learn React</a> | <a class=\\"App-link\\" href=\\"https://vitejs.dev/guide/features.html\\" target=\\"_blank\\" rel=\\"noopener noreferrer\\">Vite Docs</a></p></header></div></div></body>"`,
`"<body><div><div class=\\"App\\"><header class=\\"App-header\\"><div class=\\"sc-gsnTZi kykGJG\\"><img src=\\"/logo.svg\\" class=\\"App-logo\\" alt=\\"logo\\" height=\\"100\\"><svg xmlns=\\"http://www.w3.org/2000/svg\\" width=\\"410\\" height=\\"100\\" fill=\\"none\\" viewBox=\\"0 0 410 404\\"><path fill=\\"url(#paint0_linear)\\" d=\\"M399.641 59.5246L215.643 388.545C211.844 395.338 202.084 395.378 198.228 388.618L10.5817 59.5563C6.38087 52.1896 12.6802 43.2665 21.0281 44.7586L205.223 77.6824C206.398 77.8924 207.601 77.8904 208.776 77.6763L389.119 44.8058C397.439 43.2894 403.768 52.1434 399.641 59.5246Z\\"></path><path fill=\\"url(#paint1_linear)\\" d=\\"M292.965 1.5744L156.801 28.2552C154.563 28.6937 152.906 30.5903 152.771 32.8664L144.395 174.33C144.198 177.662 147.258 180.248 150.51 179.498L188.42 170.749C191.967 169.931 195.172 173.055 194.443 176.622L183.18 231.775C182.422 235.487 185.907 238.661 189.532 237.56L212.947 230.446C216.577 229.344 220.065 232.527 219.297 236.242L201.398 322.875C200.278 328.294 207.486 331.249 210.492 326.603L212.5 323.5L323.454 102.072C325.312 98.3645 322.108 94.137 318.036 94.9228L279.014 102.454C275.347 103.161 272.227 99.746 273.262 96.1583L298.731 7.86689C299.767 4.27314 296.636 0.855181 292.965 1.5744Z\\"></path><defs><linearGradient id=\\"paint0_linear\\" x1=\\"6\\" x2=\\"235\\" y1=\\"33\\" y2=\\"344\\" gradientUnits=\\"userSpaceOnUse\\"><stop stop-color=\\"#41D1FF\\"></stop><stop offset=\\"1\\" stop-color=\\"#BD34FE\\"></stop></linearGradient><linearGradient id=\\"paint1_linear\\" x1=\\"194.651\\" x2=\\"236.076\\" y1=\\"8.818\\" y2=\\"292.989\\" gradientUnits=\\"userSpaceOnUse\\"><stop stop-color=\\"#FFEA83\\"></stop><stop offset=\\"0.083\\" stop-color=\\"#FFDD35\\"></stop><stop offset=\\"1\\" stop-color=\\"#FFA800\\"></stop></linearGradient></defs></svg></div><img src=\\"/src/assets/images/logo.svg\\" class=\\"logo2\\" alt=\\"logo2\\"><p>Hello Vite + React!</p><p class=\\"less-p\\">Less: Blue + Dynamic size (break point 400px)</p><p class=\\"less-child-p\\">Less: Yellow</p><p class=\\"_scssModule_ujx1w_1\\">Styled by SCSS Modules</p><p class=\\"sc-bczRLJ dgihId\\">This text is styled by styled-components</p><p class=\\"global-css\\">This text is styled by global css which is not imported to App.tsx</p><p class=\\"_cssModule_1a0qn_1\\">This text is styled by CSS Modules</p><p class=\\"global-configured-sass\\">This text is styled by global configured SASS</p><p class=\\"imported-sass\\">This text is styled by imported SASS</p><p class=\\"bg-yellow-400 font-bold m-5 text-red-500\\">This text is styled by Tailwind CSS</p><button class=\\"css-1b07vmx-App\\">Hover to change color.</button><p class=\\"css-2m18qq\\">Styled by Emotion</p><p class=\\"c-gqdJwI\\">Styled by Stiches</p><p class=\\"load-path-sass\\">This text is styled by SASS from load paths</p><p class=\\"animate__animated animate__bounce\\">An animated element style using @use ~</p><div class=\\"animated fadeIn\\"><p>An animated element style using import ~</p><p>Watch me fade in!</p></div><p><button data-testid=\\"increase\\" type=\\"button\\">count is: <div data-testid=\\"count\\">0</div></button></p><p>Edit <code>App.tsx</code> and save to test HMR updates.</p><p><a class=\\"App-link\\" href=\\"https://reactjs.org\\" target=\\"_blank\\" rel=\\"noopener noreferrer\\">Learn React</a> | <a class=\\"App-link\\" href=\\"https://vitejs.dev/guide/features.html\\" target=\\"_blank\\" rel=\\"noopener noreferrer\\">Vite Docs</a></p></header></div></div></body>"`,
);
});
});
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
6 changes: 3 additions & 3 deletions demo/setupTests.js → demo/src/setupTests.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import '@testing-library/jest-dom/extend-expect';
import { jestPreviewConfigure } from '../dist/index';
import { jestPreviewConfigure } from 'jest-preview';
import './global.css';
import './assets/_scss/global-style.scss';

jestPreviewConfigure({
publicFolder: 'demo/public',
publicFolder: 'src/public',
autoPreview: true,
sassLoadPaths: ['demo/assets/_scss/loadPathsExample'],
sassLoadPaths: ['src/assets/_scss/loadPathsExample'],
});

window.matchMedia = (query) => ({
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion tailwind.config.js → demo/tailwind.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module.exports = {
content: ['./index.html', './demo/**/*.{js,ts,jsx,tsx}'],
content: ['./index.html', './src/**/*.{js,ts,jsx,tsx}'],
theme: {
extend: {},
},
Expand Down
6 changes: 3 additions & 3 deletions vite.config.ts → demo/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default defineConfig(({ mode }) => {
{},
);

// Inject NODE_ENV and make sure envWithProcessPrefix is not empty
// @ts-expect-error Inject NODE_ENV and make sure envWithProcessPrefix is not empty
envWithProcessPrefix['process.env.NODE_ENV'] = `'${mode}'`;

return {
Expand All @@ -39,7 +39,7 @@ export default defineConfig(({ mode }) => {
preprocessorOptions: {
scss: {
includePaths: [
path.resolve(__dirname, 'demo/assets/_scss/loadPathsExample'),
path.resolve(__dirname, 'src/assets/_scss/loadPathsExample'),
],
},
},
Expand All @@ -58,6 +58,6 @@ export default defineConfig(({ mode }) => {
server: {
open: true,
},
publicDir: 'demo/public',
publicDir: 'src/public',
};
});
4 changes: 2 additions & 2 deletions examples/angular/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "angular-jest-preview",
"name": "angular",
"version": "0.0.0",
"scripts": {
"ng": "ng",
Expand Down Expand Up @@ -39,7 +39,7 @@
"@types/testing-library__jest-dom": "^5.14.5",
"autoprefixer": "^10.4.8",
"jest": "^28.1.3",
"jest-preview": "^0.2.8",
"jest-preview": "workspace:*",
"postcss": "^8.4.16",
"start-server-and-test": "^1.14.0",
"tailwindcss": "^3.1.8",
Expand Down
3 changes: 2 additions & 1 deletion examples/create-react-app/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "cra-jest",
"name": "cra",
"version": "0.1.0",
"private": true,
"dependencies": {
Expand Down Expand Up @@ -51,6 +51,7 @@
"animate-sass": "^0.8.2",
"jest-preview": "file:../..",
"npm-run-all": "^4.1.5",
"postcss-modules": "^5.0.0",
"sass": "^1.50.0"
}
}
1 change: 1 addition & 0 deletions examples/create-react-app/pnpm-workspace.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Workaround to allow shamefully-hoise in a pnpm workspace
25 changes: 13 additions & 12 deletions examples/svelte/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "testing-svelte",
"name": "svelte",
"version": "0.0.0",
"type": "module",
"scripts": {
Expand All @@ -13,19 +13,20 @@
"jest-preview": "jest-preview"
},
"devDependencies": {
"@sveltejs/vite-plugin-svelte": "^1.0.0-next.11",
"@testing-library/svelte": "^3.0.3",
"@tsconfig/svelte": "^2.0.1",
"@types/jest": "^27.0.2",
"jest": "^27.2.4",
"jest-preview": "latest",
"svelte": "^3.37.0",
"svelte-check": "^2.1.0",
"@sveltejs/vite-plugin-svelte": "^1.0.4",
"@testing-library/svelte": "^3.2.1",
"@tsconfig/svelte": "^3.0.0",
"@types/jest": "^28",
"jest": "^28",
"jest-environment-jsdom": "^28",
"jest-preview": "workspace:*",
"svelte": "^3.50.0",
"svelte-check": "^2.9.0",
"svelte-jester": "^2.3.2",
"svelte-preprocess": "^4.7.2",
"ts-jest": "^27.0.5",
"svelte-preprocess": "^4.10.7",
"ts-jest": "^28.0.8",
"tslib": "^2.2.0",
"typescript": "^4.3.2",
"vite": "^2.9.13"
"vite": "^3.0.9"
}
}
7 changes: 4 additions & 3 deletions examples/vite-react/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "vite-jest",
"name": "vite-react",
"private": true,
"version": "0.0.0",
"scripts": {
Expand Down Expand Up @@ -30,8 +30,9 @@
"animate.css": "^4.1.1",
"autoprefixer": "^10.4.8",
"cross-env": "^7.0.3",
"jest": "^27.5.1",
"jest-preview": "file:../..",
"jest": "^28",
"jest-environment-jsdom": "28",
"jest-preview": "workspace:*",
"jest-watch-typeahead": "^1.0.0",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.16",
Expand Down
16 changes: 0 additions & 16 deletions index.html

This file was deleted.

43 changes: 5 additions & 38 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,60 +81,27 @@
},
"devDependencies": {
"@babel/core": "^7.18.10",
"@emotion/react": "^11.9.0",
"@emotion/styled": "^11.8.1",
"@jest/types": "27",
"@stitches/react": "^1.2.8",
"@swc/core": "^1.2.154",
"@swc/jest": "^0.2.20",
"@testing-library/dom": "^8.16.0",
"@testing-library/jest-dom": "^5.16.2",
"@testing-library/react": "^12.1.4",
"@testing-library/user-event": "^13.5.0",
"@rollup/plugin-node-resolve": "^15.0.0",
"@types/connect": "^3.4.35",
"@types/jest": "27",
"@types/less": "^3.0.3",
"@types/node": "^18.6.3",
"@types/react": "^17.0.33",
"@types/react-dom": "^17.0.10",
"@types/styled-components": "^5.1.24",
"@types/svgo": "^2.6.3",
"@types/testing-library__jest-dom": "^5.14.5",
"@typescript-eslint/eslint-plugin": "^5.38.0",
"@typescript-eslint/parser": "^5.38.0",
"@vitejs/plugin-react": "^1.3.0",
"animate-sass": "^0.8.2",
"animate.css": "^4.1.1",
"autoprefixer": "^10.4.7",
"cross-env": "^7.0.3",
"@types/react": "^17.0.48",
"eslint": "^8.0.1",
"eslint-config-prettier": "^8.5.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-n": "^15.0.0",
"eslint-plugin-promise": "^6.0.0",
"eslint-plugin-react": "^7.31.8",
"jest": "^27.5.1",
"jest-watch-typeahead": "^1.0.0",
"less": "^4.1.3",
"nodemon": "^2.0.15",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.14",
"postcss-modules": "^4.3.1",
"postcss-trolling": "^0.1.7",
"prettier": "^2.6.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-is": "^18.2.0",
"rollup": "^2.77.2",
"rollup": "^2.79.1",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.31.2",
"sass": "^1.50.0",
"styled-components": "^5.3.5",
"tailwindcss": "^3.1.2",
"typescript": "^4.6.3",
"vite": "^2.9.1",
"vite-plugin-svgr": "^2.2.0"
"rollup-plugin-typescript2": "^0.34.1",
"typescript": "^4.6.3"
},
"bug": {
"url": "https://github.com/nvh95/jest-preview/issues"
Expand Down
Loading