Commit Graph

1723 Commits

Author SHA1 Message Date
Mikhail Osher
458336bef6 Update sass-loader to 7.0.1 (#4376)
* Update sass-loader (#4363)

* Added bootstrap scss test (#4376)
2018-04-27 18:32:20 -06:00
Mikhail Osher
da4a87f638 Support package distribution tags (#4350)
* Support package distribution tags (#4348)

* Remove redundand variable check in `getInstallPackage`

* Simplify react-scripts version using `--scripts-version=@tagname` notation

* Add dist-tag tests to e2e-installs
2018-04-27 08:45:18 -04:00
Andreas Cederström
cc36849ca8 fix broken css module support in prod (#4361) 2018-04-27 08:04:51 +02:00
Chad Greenburg
32eebfeb7f Bumped jest version to 22.4.1 (#4362)
* Updated jest version.
2018-04-27 08:04:21 +02:00
Andreas Cederström
0fe6fea6e4 bump babel 7 to beta 46 2018-04-27 07:53:56 +02:00
Andreas Cederström
fb8e78b24f bump lint-staged to node 10 compatible version 2018-04-27 07:51:04 +02:00
Thiago Galvani
789b856b13 documentation: Added License to the README.md (#4294)
* Adding License to the README.md

* Adding new license wording on README

* Update README.md
2018-04-21 16:44:51 -04:00
wtgtybhertgeghgtwtg
66cc7a903e Bump fsevents. (#4331) 2018-04-20 23:51:55 -04:00
Brian Muenzenmeyer
cf6caf46ef Fix typo in e2e-simple.sh comment (#4323) 2018-04-19 14:39:32 -04:00
Fabiano Brito
bf3d73c2c6 Add Sass loader (#4195)
* Installs and adds sass loader task in webpack for dev environment.

* Uses Timer's branch of sass-loader without node-sass dependency.

* Adds method for handling SASS modules.

* Fixes extension of excluded files when looking for scss modules.

* Adds support for both .scss and .sass extensions.

* Uses ExtractTextPlugin with sass-loader to bundle styles for the production build.

* Bundles SASS modules for the production build.

* Uses the latest version of sass-loader.

* Adds function to create different rules for style loaders in dev environment.

* Abstracts style loaders to a common function to avoid repetition.

* Simplifies the common function that creates style loaders.

* Creates assets for testing SASS/SCSS support.

* Creates mock components and unit tests for SASS and SCSS with and without modules.

* Creates integration tests for SASS/SCSS support.

* Adds node-sass as a template dependency so sass-loader can be tested.

* Includes sass tests when test component is mounted.

* Fixes asserted module name for sass and scss modules tests.

* Removes tests against css imports in SCSS and SASS files.

* Updates sass-loader to v7.

* Uses getCSSModuleLocalIdent from react-dev-utils.

* Fixes tests to match the use of getCSSModuleLocalIdent.

* Improves readability of getStyleLoader function.

* Uses postcss after sass.

* Refactors dev config to simplify common function for style loaders.

* Refactors prod config to simplify common function for style loaders.

* Use importLoaders config according to css-loader docs.
2018-04-18 10:35:55 -06:00
Antti Ahti
836bb39394 Fix some typos in README.md (#4286) 2018-04-15 11:59:47 -04:00
Tom Coleman
92b79b3215 Added learnstorybook.com to Storybook links (#4298)
Learnstorybook is a tutorial for Storybook that both uses CRA and is at a level of introductionary detail appropriate for CRA users.
2018-04-15 11:57:11 -04:00
Jerry Muzsik
fc2f63a238 Document multiple build environments via env-cmd #4071 (#4117)
* Docs - Document multiple build environments via

* Docs - Document multiple build environments via

* Docs - Document multiple build environments via

* Docs - Document multiple build environments via env-cmd

* fix - based upon requests

* Update README.md
2018-04-15 11:52:43 -04:00
Francis Upton IV
14f4485aeb Fixed link to CSS imports blog post 2018-04-13 16:06:57 -06:00
Ro Savage
ae2cf07249 Update CSS Modules localIndetName (#4192)
* Update CSS Modules localIndetName

* Add missing file to package

* Correct regex

* plz plz plz
2018-04-13 16:14:31 -04:00
Rob Grochowicz
1d4fdc2dd4 Enable loose mode for class-properties (#4248)
* Enable loose mode for `class-properties`

* Update comment to point to discussion

Resolves #4263
2018-04-05 20:42:01 -04:00
Andreas Cederström
06176e1ea4 bump babel 7 beta (#4253) 2018-04-05 07:28:30 +02:00
Andreas Cederström
7966139635 Small typo fix #4217 2018-04-04 08:46:15 +02:00
Joe Haddad
6bf77205ea Changelog for 1.1.4 2018-04-03 20:32:28 -04:00
Joe Haddad
dfbc71ce2a Publish
- react-dev-utils@5.0.1
 - react-scripts@1.1.4
react-scripts@1.1.4 react-dev-utils@5.0.1 v1.1.4
2018-04-03 20:27:48 -04:00
Joe Haddad
305bd7015f Changelog for 1.1.4 2018-04-03 20:27:05 -04:00
Joe Haddad
110fdedef0 Update detect-port-alt (#4250) 2018-04-03 20:07:35 -04:00
Joe Haddad
27629245fb Update detect-port-alt 2018-04-03 19:59:36 -04:00
Dan Abramov
90c908e397 Changelog for 1.1.3 2018-04-03 18:45:06 +01:00
Dan Abramov
3b102fe1b9 Work around Jest environment resolving bug (#4247) 2018-04-03 18:44:59 +01:00
Dan Abramov
408db51973 Publish
- react-scripts@1.1.3
react-scripts@1.1.3 v1.1.3
2018-04-03 18:30:53 +01:00
Dan Abramov
f040d85a76 Changelog for 1.1.3 2018-04-03 18:30:23 +01:00
Dan Abramov
d639e90bfa Work around Jest environment resolving bug (#4247) 2018-04-03 18:03:08 +01:00
Dan Abramov
2e690e98fc Add 1.1.2 changelog (#4242) 2018-04-03 00:53:06 +01:00
Vicente Plata
061d1e46fc Add troubleshooting for Github Pages (#4197)
Add troubleshooting for an issue that has to do with either 2FA, or using Windows, or both, when trying to deploy an app via gh-pages
2018-04-03 00:51:58 +01:00
Dan Abramov
609aeea67b Publish
- react-scripts@1.1.2
react-scripts@1.1.2 v1.1.2
2018-04-03 00:48:34 +01:00
Dan Abramov
780a4573e7 Add 1.1.2 changelog (#4242) 2018-04-03 00:48:07 +01:00
Plortinus
9c3f03cac7 use the lastest url of gitignore file (#4236)
* use the lastest url of gitignore file

* Update gitignore
2018-04-02 15:19:28 -04:00
Daniel
9a99b5d190 Fix typo and be clearer about ecma settings in uglifyjs options (#4239) 2018-04-02 15:17:24 -04:00
Daniel
2824bf2e15 [next] Revert to use ecma 5 in uglifyOptions (#4234)
* Revert to use ecma 5 in uglifyOptions

* remove explicit ecma version from uglifyOptions settings

The defaults are already what we want

* be explicit of where we use ecma: 8 and ecma: 5
2018-04-02 13:30:30 -04:00
Jih-Chi Lee
da518d2238 Fix floating caret position incorrect while scrolling overlay (#4024) 2018-03-26 23:03:39 -04:00
bradfordlemley
9c167a4249 Add some stuff that requires transpilation. (#4174) 2018-03-25 21:14:59 -04:00
Albert Still
06dd17e21b add create-react-app --help info for local file path --scripts-version support (#4015)
* add `create-react-app --help` info for local file path --scripts-version

* make example path `../my-react-scripts` for local file path --help info
2018-03-25 21:08:16 -04:00
Minh Nguyen
8db5e336b1 Revert lint-related changes made in #4193 (#4211) 2018-03-25 18:03:23 -06:00
Ian Sutherland
8a34b7cc77 Add ESLint check for incorrect propTypes usage (#3840) (#4048) 2018-03-25 16:17:41 -06:00
Andreas Cederström
33f1294f07 Revert "Change no-unused-vars 'args' from none to all to show warning on destructured objects"
This reverts commit 1dcb3db3ed.
2018-03-23 14:41:28 +01:00
froyog
1922f4d4d8 Allow ModuleScopePlugin accecpts an array as its appSrc (#4138)
* allow appSrc accepting an array

* fixture of finding all appSrcs logic

* update docs on ModuleScopePlugin accepts an array for appSrc

* minor typo fix in docs: change directory to directories.
2018-03-23 13:28:41 +01:00
Vicente Plata
cb1608b3e0 Add troubleshooting for Github Pages (#4197)
Add troubleshooting for an issue that has to do with either 2FA, or using Windows, or both, when trying to deploy an app via gh-pages
2018-03-23 11:07:25 +01:00
Lee Byron
c6375edc07 .mjs should not resolve before .js files (#4085)
Support for .mjs files added in #3239 did not account for npm libraries which ship native mjs files alongside js files. This accounts for this by ensuring .js files resolve before their accompanying .mjs file. Note that this is not an ideal end state since selecting a .mjs over a .js extension should be the result of whether `import` was used instead of `require()` in a node environment with native ESM support (currently via `--experimental-modules`). Instead, this change just *always* selects a .js extension before the .mjs extension if it exists.

This unbreaks support for using GraphQL (relay, apollo, etc) within create-react-app projects.
2018-03-22 10:27:23 -04:00
bradfordlemley
058d03f8f8 Fix typos in example monorepo documentation. (#4164) 2018-03-21 17:42:30 -04:00
Ro Savage
b2fd8db8bd Minor fixes to CI (#4193) 2018-03-21 14:55:35 -04:00
Andreas Cederström
e76f36085c Merge pull request #4187 from goncy/unused-vars-not-showing-on-destructured-objects
Change no-unused-vars 'args' from none to all to show warning on destructing
2018-03-20 13:21:46 +01:00
goncy
1dcb3db3ed Change no-unused-vars 'args' from none to all to show warning on destructured objects 2018-03-20 08:27:23 -03:00
Brian Ng
cb3f835586 Bump babel-related deps (#4159)
* Add explicit dep on plugin-proposal-object-rest-spread to babel-preset-react-app

* Bump babel-related deps to beta.42

* Pass useBuiltIns directly to react-preset
2018-03-18 14:22:56 -06:00
Harry Moreno
1e52f252fc Remove ref to non free resource (#4160)
the screencast for react storybook is non-free. Remove.
2018-03-15 21:50:58 +00:00