Skip to content

update: from arackaf/customize-cra#4

Merged
onlyling merged 62 commits intoonlyling:masterfrom
arackaf:master
Nov 14, 2019
Merged

update: from arackaf/customize-cra#4
onlyling merged 62 commits intoonlyling:masterfrom
arackaf:master

Conversation

@onlyling
Copy link
Copy Markdown
Owner

No description provided.

FezVrasta and others added 30 commits March 27, 2019 17:39
 Update(README.md): TypeScript with Less
chore: fix typo in addWebpackExternals
* chore: add .prettierrc

* chore: run prettier on index.js
* chore: install jest

This change installs `jest@^24` and replaces the `test` script with a
call to `jest`.

* test: add addBabelPreset(s) tests

This change adds tests for `addBabelPreset` and `addBabelPresets`. This
adds a test case for a reported bug with `addBabelPresets` that was
caused by incorrect documentation of the api.

* docs: fix incorrect addBabelPresets usage

This change adds a note not to pass an array of presets to
`addBabelPresets` and removes the passed array in the code example.

* test: complete babel loader coverage

* chore: add coverage to .gitignore
* test: add webpack fns tests

* test: add override coverage

* test: add addDecoratorsLegacy coverage

* test: add linting fn coverage

* test: add coverage for most remaining fns
* refactor: separate customizers and utilities

This PR also moves the source files to `src/` folder.

* refactor: break out override fns from utilities

* refactor: split babel and webpack customizers

* fix: add module exports to src/index.js
* doc(readme): format using prettier

* doc(readme): add CRA v3 support note
* chore(pkg): set cjs main and es module

* chore(rollup): configure basic build process

* chore(babel): add preset-env for jest

* refactor(pkg): convert to import/export syntax

* chore(pkg): add clean & prepack scripts

* chore(rollup): add babel plugin

* chore(babel): add object-rest-spread plugin

* chore(rollup): add terser plugin for minification

* chore(rollup): add sourcemaps plugin and enable

* doc(rollup): add comments explaining rollup configuration
* doc: create contributing.md

* doc(readme): add note about contributing.md
* chore(pkg): add husky and commitlint enforcement

* docs(contributing): add conventional-commits note and link
The addExternalBabelPlugin(s) functions allow a user to inject plugins into the `babel-loader` targeting code outside of the `src/` directory. This works in tandem with addBabelPlugin(s) to be able to target code anywhere in a project.

* add new feature: addBabelPluginOutSideOfApp and update snapshot(now the config will be more like cra2/3 webpack-config);user can customize babel loader for outside of the app

* chore: rename addExternalBabelPlugins and add docs

* docs: move addExternalBabelPlugin/addExternalBabelPlugins to the bottom

* docs: optimize api.md for addExternalBabelPlugin/addExternalBabelPlugins
This change allows a user to provide all of the `webpack.externals` types: `string`, `object`, `function`, and `regex`

* feat: addWebpackExternals with combining syntaxes

* feat: addWebpackExternals with combining syntaxes

Latecomers prevail.

* docs(api): add addWebpackExternals types note
with-heart and others added 29 commits August 2, 2019 20:56
This change adds the `addWebpackModuleRule` customizer, which allows a
user to provide a rule which that will be added to the webpack config's
`module.rules` array.
This functions adds an item to the babel-loader config's `exclude`
array.
* docs(api): restructure content

* docs: move Usage to readme and restructure
* feat: implement setWebpackTarget

* docs: add @jthistle as a contributor


Co-authored-by: Mark Chandler <[email protected]>
* solve #153

solve #153

* test: fix addWebpackModuleRule snapshot

* docs: add @postgetme as a contributor
* docs: add @gfafei as a contributor

* feat: add setWebpackPublicPath (#154)
* feat:fix bugs on setWebpackPublicPath

* test: add setWebpackPublicPath http/https tests
* docs: add @danilofuchs as a contributor

* feat: add setWebpackStats
@onlyling onlyling merged commit f439a6b into onlyling:master Nov 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.