Commit Graph

1503 Commits

Author SHA1 Message Date
arianon
e5e9f59a4e Update getCSSModuleLocalIdent to support Sass (#4391)
* Update getCSSModuleLocalIdent to support Sass

* Fix Sass/SCSS index module tests

Also make them more consistent with the non-index variants.
2018-05-08 13:07:41 -04:00
Trevor Brindle
7b2eae1745 Update envinfo and issue template (#4375)
* fix: update envinfo + implementation, update issue_template

* update envinfo to 5.4.0, add IE and Edge to —info command,
2018-04-30 10:44:43 -06:00
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
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
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
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
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
Stefan Feješ
d9fbe448d7 typo fix (#4134) 2018-03-12 10:05:18 -04:00
JK
75f3fccc7d Update CONTRIBUTING.md link (#4114)
update h5bp CONTRIBUTING.md link...
2018-03-07 17:50:58 -05:00
Stas Rudakou
65e0621622 Fix a typo in packages/react-scripts/template/README.md (#4089)
s/allows to easily makes/allows you to easily make/
2018-03-04 20:45:19 -05:00
João Paquim
041f44c7af Docs: Update status of Object Rest/Spread proposal (#4101) 2018-03-04 20:40:15 -05:00
nikolas2
b49762ac1a docs: use node_js 8 in example travis.yml (#4107)
This is the current node LTS release.
2018-03-04 20:35:18 -05:00
Pete Nykänen
e9abde7392 Alphabetize and clean files-array in react-dev-utils package.json (#4016)
Signed-off-by: petetnt <pete.a.nykanen@gmail.com>
2018-02-12 17:03:21 +00:00
Alexander Roberts
9690bc86d5 Add support for new yarn workspaces config format (#4001) 2018-02-11 13:36:02 +00:00
Ian Sutherland
43fbf0f3d6 Update dotenv to 5.0.0 (#4009) 2018-02-10 12:45:40 -07:00