chore: rm widget code (#3810)
* chore: rm widget tooling * chore: rm widget components * chore: rm widget theme * chore: rm widget assets * chore: rm widget business logic * chore: rm widget meta * chore: update yarn.lock * chore: mv type to usage
Showing
INTERFACE_README.md
deleted
100644 → 0
WIDGETS_README.md
deleted
100644 → 0
cosmos.config.json
deleted
100644 → 0
cosmos.override.cjs
deleted
100644 → 0
... | @@ -44,16 +44,6 @@ | ... | @@ -44,16 +44,6 @@ |
"@reach/dialog": "^0.10.3", | "@reach/dialog": "^0.10.3", | ||
"@reach/portal": "^0.10.3", | "@reach/portal": "^0.10.3", | ||
"@react-hook/window-scroll": "^1.3.0", | "@react-hook/window-scroll": "^1.3.0", | ||
"@rollup/plugin-alias": "^3.1.9", | |||
"@rollup/plugin-babel": "^5.3.0", | |||
"@rollup/plugin-commonjs": "^21.0.1", | |||
"@rollup/plugin-eslint": "^8.0.1", | |||
"@rollup/plugin-json": "^4.1.0", | |||
"@rollup/plugin-node-resolve": "^13.1.3", | |||
"@rollup/plugin-replace": "^3.0.1", | |||
"@rollup/plugin-typescript": "^8.3.0", | |||
"@rollup/plugin-url": "^6.1.0", | |||
"@svgr/rollup": "^6.2.0", | |||
"@testing-library/jest-dom": "^5.14.1", | "@testing-library/jest-dom": "^5.14.1", | ||
"@testing-library/react": "^12.0.0", | "@testing-library/react": "^12.0.0", | ||
"@testing-library/react-hooks": "^7.0.2", | "@testing-library/react-hooks": "^7.0.2", | ||
... | @@ -117,7 +107,6 @@ | ... | @@ -117,7 +107,6 @@ |
"qs": "^6.9.4", | "qs": "^6.9.4", | ||
"react": "^17.0.1", | "react": "^17.0.1", | ||
"react-confetti": "^6.0.0", | "react-confetti": "^6.0.0", | ||
"react-cosmos": "^5.6.6", | |||
"react-dom": "^17.0.1", | "react-dom": "^17.0.1", | ||
"react-ga4": "^1.4.1", | "react-ga4": "^1.4.1", | ||
"react-is": "^17.0.2", | "react-is": "^17.0.2", | ||
... | @@ -129,14 +118,6 @@ | ... | @@ -129,14 +118,6 @@ |
"react-use-gesture": "^6.0.14", | "react-use-gesture": "^6.0.14", | ||
"redux": "^4.1.2", | "redux": "^4.1.2", | ||
"redux-localstorage-simple": "^2.3.1", | "redux-localstorage-simple": "^2.3.1", | ||
"rollup": "^2.63.0", | |||
"rollup-plugin-copy": "^3.4.0", | |||
"rollup-plugin-delete": "^2.0.0", | |||
"rollup-plugin-dts": "^4.1.0", | |||
"rollup-plugin-multi-input": "^1.3.1", | |||
"rollup-plugin-node-externals": "^3.1.2", | |||
"rollup-plugin-scss": "^3.0.0", | |||
"rollup-plugin-typescript2": "^0.31.1", | |||
"sass": "^1.45.1", | "sass": "^1.45.1", | ||
"serve": "^11.3.2", | "serve": "^11.3.2", | ||
"start-server-and-test": "^1.11.0", | "start-server-and-test": "^1.11.0", | ||
... | @@ -170,13 +151,10 @@ | ... | @@ -170,13 +151,10 @@ |
"i18n:compile": "yarn i18n:extract && lingui compile", | "i18n:compile": "yarn i18n:extract && lingui compile", | ||
"i18n:pseudo": "lingui extract --locale pseudo && lingui compile", | "i18n:pseudo": "lingui extract --locale pseudo && lingui compile", | ||
"prepare": "yarn contracts:compile && yarn graphql:generate && yarn i18n:compile", | "prepare": "yarn contracts:compile && yarn graphql:generate && yarn i18n:compile", | ||
"prepublishOnly": "yarn widgets:build", | |||
"start": "react-scripts start", | "start": "react-scripts start", | ||
"build": "react-scripts build", | "build": "react-scripts build", | ||
"test": "react-scripts test --env=./custom-test-env.cjs", | "test": "react-scripts test --env=./custom-test-env.cjs", | ||
"test:e2e": "start-server-and-test 'serve build -l 3000' http://localhost:3000 'cypress run --record'", | "test:e2e": "start-server-and-test 'serve build -l 3000' http://localhost:3000 'cypress run --record'" | ||
"widgets:start": "cosmos", | |||
"widgets:build": "rollup --config --failAfterWarnings --configPlugin typescript2" | |||
}, | }, | ||
"browserslist": { | "browserslist": { | ||
"production": [ | "production": [ | ||
... | ... |
rollup.config.ts
deleted
100644 → 0
2.46 KB
src/lib/errors.ts
deleted
100644 → 0
src/lib/index.tsx
deleted
100644 → 0
src/lib/lib.d.ts
deleted
100644 → 0
tsconfig.base.json
deleted
100644 → 0
tsconfig.lib.json
deleted
100644 → 0