Skip to content

Commit

Permalink
rm old scripts + deps
Browse files Browse the repository at this point in the history
  • Loading branch information
Chance Strickland committed Feb 21, 2021
1 parent 3d1c2d7 commit e0246c7
Show file tree
Hide file tree
Showing 10 changed files with 53 additions and 666 deletions.
10 changes: 2 additions & 8 deletions scripts/config/jest.ts → jest.config.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
import * as fs from "fs-extra";
import * as path from "path";

const appDirectory = fs.realpathSync(process.cwd());
const rootDir = path.resolve(appDirectory, ".");

export default {
module.exports = {
collectCoverageFrom: ["packages/**/src/**/*.{ts,tsx,js}"],
globals: {
__DEV__: "boolean",
Expand All @@ -25,7 +19,7 @@ export default {
"^.+\\.js$",
],
// projects: ["<rootDir>", "<rootDir>/packages/*"],
rootDir,
// rootDir,
watchPlugins: [
require.resolve("jest-watch-typeahead/filename"),
require.resolve("jest-watch-typeahead/testname"),
Expand Down
32 changes: 7 additions & 25 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,7 @@
},
"scripts": {
"start": "start-storybook -p 9001 -c .storybook",
"test": "cross-env CI=true ts-node ./scripts/test packages",
"test:pkg": "cross-env CI=true ts-node ./scripts/test --pkg",
"test:watch": "ts-node ./scripts/test packages",
"test:coverage": "yarn test --coverage",
"test": "jest",
"build": "yarn build:packages",
"build:packages": "preconstruct build",
"ver": "lerna version --no-push --exact",
Expand All @@ -34,10 +31,6 @@
"@manypkg/cli": "^0.17.0",
"@preconstruct/cli": "^2.0.1",
"@reach/router": "^1.3.4",
"@rollup/plugin-commonjs": "^15.0.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^9.0.0",
"@rollup/plugin-replace": "^2.3.3",
"@storybook/addon-actions": "^6.0.28",
"@storybook/addon-docs": "^6.0.28",
"@storybook/addon-links": "^6.0.28",
Expand All @@ -48,20 +41,15 @@
"@testing-library/react": "^11.2.2",
"@testing-library/user-event": "^12.6.0",
"@types/eslint": "^7.2.0",
"@types/fs-extra": "^9.0.1",
"@types/highlight-words-core": "^1.2.0",
"@types/invariant": "^2.2.33",
"@types/jest": "^26.0.0",
"@types/lodash": "^4.14.155",
"@types/mri": "^1.1.0",
"@types/node": "^12.12.47",
"@types/ora": "^3.2.0",
"@types/react": "^16.9.46",
"@types/react-dom": "^16.9.8",
"@types/react-router-dom": "^5.1.5",
"@types/react-test-renderer": "^16.9.3",
"@types/rollup-plugin-json": "^3.0.2",
"@types/rollup-plugin-sourcemaps": "0.4.2",
"@types/react": "^17.0.2",
"@types/react-dom": "^17.0.1",
"@types/react-router-dom": "^5.1.7",
"@types/react-test-renderer": "^17.0.1",
"@types/sinon": "^9.0.4",
"@types/styled-components": "^5.1.2",
"@types/tabbable": "^3.1.0",
Expand All @@ -75,7 +63,6 @@
"babel-plugin-annotate-pure-calls": "0.4.0",
"babel-plugin-dev-expression": "0.2.2",
"babel-plugin-macros": "^3.0.1",
"chalk": "^4.1.0",
"cross-env": "^7.0.2",
"dotenv-cli": "^3.2.0",
"eslint": "^7.7.0",
Expand All @@ -85,21 +72,16 @@
"eslint-plugin-jsx-a11y": "^6.3.1",
"eslint-plugin-react": "^7.20.6",
"eslint-plugin-react-hooks": "^4.1.0",
"fs-extra": "^9.0.1",
"husky": "^4.2.5",
"jest": "^26.4.1",
"jest-axe": "^3.5.0",
"jest-watch-typeahead": "0.6.0",
"lerna": "^3.22.1",
"lerna-changelog": "^1.0.1",
"lerna-script": "^1.3.2",
"lodash": "^4.17.20",
"match-sorter": "^6.0.1",
"mri": "^1.1.6",
"prettier": "^2.0.5",
"pretty-ms": "^7.0.0",
"pretty-quick": "^3.0.0",
"progress-estimator": "0.3.0",
"prop-types": "^15.7.2",
"react": "^17.0.1",
"react-dom": "^17.0.1",
Expand All @@ -115,8 +97,8 @@
"typescript": "^4.0.2"
},
"resolutions": {
"@types/react": "^16.9.46",
"@types/react-dom": "^16.9.8"
"@types/react": "^17.0.2",
"@types/react-dom": "^17.0.1"
},
"workspaces": [
"packages/*"
Expand Down
14 changes: 0 additions & 14 deletions scripts/constants.ts

This file was deleted.

43 changes: 0 additions & 43 deletions scripts/test.ts

This file was deleted.

44 changes: 0 additions & 44 deletions scripts/types.ts

This file was deleted.

172 changes: 0 additions & 172 deletions scripts/utils.ts

This file was deleted.

5 changes: 0 additions & 5 deletions types/@babel/index.d.ts

This file was deleted.

Loading

0 comments on commit e0246c7

Please sign in to comment.