Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update ma' fork #1

Merged
merged 1,268 commits into from
Oct 2, 2018
Merged

update ma' fork #1

merged 1,268 commits into from
Oct 2, 2018

Conversation

selbekk
Copy link
Owner

@selbekk selbekk commented Oct 2, 2018

No description provided.

gaearon and others added 30 commits April 3, 2018 18:45
 - react-dev-utils@5.0.1
 - react-scripts@1.1.4
* Enable loose mode for `class-properties`

* Update comment to point to discussion

Resolves #4263
* Update CSS Modules localIndetName

* Add missing file to package

* Correct regex

* plz plz plz
* 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
Learnstorybook is a tutorial for Storybook that both uses CRA and is at a level of introductionary detail appropriate for CRA users.
* 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.
* Adding License to the README.md

* Adding new license wording on README

* Update README.md
* 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
* Update sass-loader (#4363)

* Added bootstrap scss test (#4376)
* fix: update envinfo + implementation, update issue_template

* update envinfo to 5.4.0, add IE and Edge to —info command,
* Update getCSSModuleLocalIdent to support Sass

* Fix Sass/SCSS index module tests

Also make them more consistent with the non-index variants.
Summary:
The `hasSlash` method uses `path.substr(path, path.length - 1)` to
remove the last character from `path`. Clearly, the first parameter is
suspect; it should be `0`. The code works as written, but only very
accidentally: the first parameter is coerced by `ToNumber` to `NaN`,
which is then coerced by `ToInteger` to `+0`, per [the spec][1].

[1]: https://www.ecma-international.org/ecma-262/6.0/#sec-string.prototype.substr

Test Plan:
Reading the spec should be sufficient. To verify in the Real World:
```js
const path = "has-slash-but-does-not-need-slash/"
const a = path.substr(path, path.length - 1);
const b = path.substr(0, path.length - 1);
console.log(a === b);  // true
console.log(a);        // has-slash-but-does-not-need-slash
```

wchargin-branch: ensureslash-accidental-coercion
Update babel-plugin-macros to 2.2.1.
Add create-react-app-parcel to alternatives section in README
Timer and others added 29 commits October 1, 2018 11:26
* Polyfill for IE9 support

* Turn off performance option in webpack
 - babel-plugin-named-asset-import@0.2.1
 - babel-preset-react-app@5.0.1
 - confusing-browser-globals@1.0.2
 - create-react-app@2.0.1
 - eslint-config-react-app@3.0.1
 - react-app-polyfill@0.1.2
 - react-dev-utils@6.0.2
 - react-error-overlay@5.0.2
 - react-scripts@2.0.2
* Disable react/no-deprecated rule

* Changed wording
…5211)

* Adds instructions to create a Bootstrap theme with Sass

* Update README.md

* Update README.md

* Update README.md
Clicking Error overlay should feed the correct line number for gvim.

Added `gvim` in `COMMON_EDITORS_LINUX`, launches new gvim when it is running.

Tested with gvim 8.0.707 on a Debian 4.9.110-3+deb9u4 (2018-08-21) x86_64 GNU/Linux VM

Relates to #2636.
* Add changelog for v2-final

* Add missing change

* Add header to changelog
 - babel-plugin-named-asset-import@0.2.2
 - babel-preset-react-app@5.0.2
 - confusing-browser-globals@1.0.3
 - create-react-app@2.0.2
 - eslint-config-react-app@3.0.3
 - react-app-polyfill@0.1.3
 - react-dev-utils@6.0.3
 - react-error-overlay@5.0.3
 - react-scripts@2.0.3
@selbekk selbekk merged commit 40eea69 into selbekk:master Oct 2, 2018
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.