Skip to content

Commit

Permalink
Drop Underreact for CRA (#171)
Browse files Browse the repository at this point in the history
* Drop Underreact for CRA

* Bring back .prettierrc

* Cleanup

* Bring back things to package.json we want

* Revise .eslintignore

* minor changes to configurations

* More again to configuration

* Bad homepage field

* big ol rename

* Dont mock get-window

* Refresh package-lock

* Make some conciliations here

* Drop window mock that is no longer needed

* Fix public directory containing gitignore!

* feedback

* Scope to scripts directory
  • Loading branch information
tristen committed Jul 28, 2022
1 parent 9de5ccd commit d64e16a
Show file tree
Hide file tree
Showing 150 changed files with 36,300 additions and 18,384 deletions.
8 changes: 1 addition & 7 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
*.log
coverage
.DS_Store
_batfish*
src/docs/data
src/docs/_site
build
pkg
src/test-cases-app/component-index.js
dist
**/*underreact.config.js
**/*babel.config.js
html.js
9 changes: 0 additions & 9 deletions .eslintrc.json

This file was deleted.

30 changes: 22 additions & 8 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,23 @@
node_modules
*.log
coverage
# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# production
/build
/pkg
/src/docs/data

# misc
.DS_Store
_site*
src/docs/data
pkg
src/test-cases-app/component-index.js
dist
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
BSD 2-Clause License

Copyright (c) 2018, Mapbox
Copyright (c) 2022, Mapbox
All rights reserved.

Redistribution and use in source and binary forms, with or without
Expand Down
7 changes: 7 additions & 0 deletions config-overrides.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
const paths = require('react-scripts/config/paths');
const path = require('path');

paths.appSrc = path.resolve(__dirname, 'src');
paths.appIndexJs = path.resolve(__dirname, 'src/docs/index.js');
paths.appPublic = path.resolve(__dirname, 'src/docs/public');
paths.appHtml = path.resolve(__dirname, 'src/docs/public/index.html');
10 changes: 0 additions & 10 deletions docs/mapbox-react-components-migration-guide.md

This file was deleted.

3 changes: 0 additions & 3 deletions index.js

This file was deleted.

14 changes: 0 additions & 14 deletions jest.config.js

This file was deleted.

Loading

0 comments on commit d64e16a

Please sign in to comment.