Skip to content

Commit

Permalink
FormAPI is now DocSpring
Browse files Browse the repository at this point in the history
  • Loading branch information
ndbroadbent committed May 31, 2020
1 parent 926a023 commit 3aaccba
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ This is a [craco](https://github.com/sharegate/craco) plugin that adds Less supp
## Ant Design

If you want to use [Ant Design](https://ant.design/) with `create-react-app`,
you should use the [`craco-antd`](https://github.com/FormAPI/craco-antd) plugin.
you should use the [`craco-antd`](https://github.com/DocSpring/craco-antd) plugin.
`craco-antd` includes Less and `babel-plugin-import` (to only include the required CSS.) It also makes it easy to customize the theme variables.

## Supported Versions
Expand Down
8 changes: 4 additions & 4 deletions lib/craco-less.dev.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -288,8 +288,8 @@ test("throws an error when we can't find file-loader in the webpack config", ()
"Or:\n\n" +
" $ npm update craco-less\n\n" +
"If that doesn't work, craco-less needs to be fixed to support the latest version.\n" +
"Please check to see if there's already an issue in the FormAPI/craco-less repo:\n\n" +
" * https://github.com/FormAPI/craco-less/issues?q=is%3Aissue+webpack+file-loader\n\n" +
"Please check to see if there's already an issue in the DocSpring/craco-less repo:\n\n" +
" * https://github.com/DocSpring/craco-less/issues?q=is%3Aissue+webpack+file-loader\n\n" +
"If not, please open an issue and we'll take a look. (Or you can send a PR!)\n\n" +
"You might also want to look for related issues in the " +
"craco and create-react-app repos:\n\n" +
Expand All @@ -316,8 +316,8 @@ test("throws an error when we can't find the oneOf rules in the webpack config",
"Or:\n\n" +
" $ npm update craco-less\n\n" +
"If that doesn't work, craco-less needs to be fixed to support the latest version.\n" +
"Please check to see if there's already an issue in the FormAPI/craco-less repo:\n\n" +
" * https://github.com/FormAPI/craco-less/issues?q=is%3Aissue+webpack+rules+oneOf\n\n" +
"Please check to see if there's already an issue in the DocSpring/craco-less repo:\n\n" +
" * https://github.com/DocSpring/craco-less/issues?q=is%3Aissue+webpack+rules+oneOf\n\n" +
"If not, please open an issue and we'll take a look. (Or you can send a PR!)\n\n" +
"You might also want to look for related issues in the " +
"craco and create-react-app repos:\n\n" +
Expand Down
2 changes: 1 addition & 1 deletion lib/craco-less.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const overrideWebpackConfig = ({ context, webpackConfig, pluginOptions }) => {
const throwError = (message, githubIssueQuery) =>
throwUnexpectedConfigError({
packageName: "craco-less",
githubRepo: "FormAPI/craco-less",
githubRepo: "DocSpring/craco-less",
message,
githubIssueQuery
});
Expand Down
8 changes: 4 additions & 4 deletions lib/craco-less.prod.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -300,8 +300,8 @@ test("throws an error when we can't find file-loader in the webpack config", ()
"Or:\n\n" +
" $ npm update craco-less\n\n" +
"If that doesn't work, craco-less needs to be fixed to support the latest version.\n" +
"Please check to see if there's already an issue in the FormAPI/craco-less repo:\n\n" +
" * https://github.com/FormAPI/craco-less/issues?q=is%3Aissue+webpack+file-loader\n\n" +
"Please check to see if there's already an issue in the DocSpring/craco-less repo:\n\n" +
" * https://github.com/DocSpring/craco-less/issues?q=is%3Aissue+webpack+file-loader\n\n" +
"If not, please open an issue and we'll take a look. (Or you can send a PR!)\n\n" +
"You might also want to look for related issues in the " +
"craco and create-react-app repos:\n\n" +
Expand All @@ -328,8 +328,8 @@ test("throws an error when we can't find the oneOf rules in the webpack config",
"Or:\n\n" +
" $ npm update craco-less\n\n" +
"If that doesn't work, craco-less needs to be fixed to support the latest version.\n" +
"Please check to see if there's already an issue in the FormAPI/craco-less repo:\n\n" +
" * https://github.com/FormAPI/craco-less/issues?q=is%3Aissue+webpack+rules+oneOf\n\n" +
"Please check to see if there's already an issue in the DocSpring/craco-less repo:\n\n" +
" * https://github.com/DocSpring/craco-less/issues?q=is%3Aissue+webpack+rules+oneOf\n\n" +
"If not, please open an issue and we'll take a look. (Or you can send a PR!)\n\n" +
"You might also want to look for related issues in the " +
"craco and create-react-app repos:\n\n" +
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"repository": {
"type": "git",
"url": "git+ssh://[email protected]/FormAPI/craco-less.git"
"url": "git+ssh://[email protected]/DocSpring/craco-less.git"
},
"keywords": [
"craco",
Expand All @@ -20,9 +20,9 @@
"author": "Nathan Broadbent",
"license": "MIT",
"bugs": {
"url": "https://github.com/FormAPI/craco-less/issues"
"url": "https://github.com/DocSpring/craco-less/issues"
},
"homepage": "https://github.com/FormAPI/craco-less#readme",
"homepage": "https://github.com/DocSpring/craco-less#readme",
"devDependencies": {
"@craco/craco": "^5.6.4",
"clone": "^2.1.2",
Expand Down
4 changes: 2 additions & 2 deletions scripts/update_deps
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
// This gets rid of the "unmet peer dependency" warning.

// Related issues:
// * https://github.com/FormAPI/craco-less/issues/3
// * https://github.com/FormAPI/craco-less/issues/4
// * https://github.com/DocSpring/craco-less/issues/3
// * https://github.com/DocSpring/craco-less/issues/4
// * https://stackoverflow.com/questions/53681694/how-can-i-resolve-the-webpack-unmet-peer-dependency-warning-for-my-create-reac
// * https://github.com/yarnpkg/yarn/issues/4850#issuecomment-447277140

Expand Down

0 comments on commit 3aaccba

Please sign in to comment.