mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-03-29 00:18:13 +08:00
Switch to Yarn Workspaces (#3755)
* Switch to Yarn Workspaces * Feedback * Move flowconfig * Use publish script * Keep git status check * Fix Flow without perf penalty * Remove Flow from package.json "test" * Try running it from script directly (?) * Try magic incantations * lol flow COME ON * Try to skip Flow on AppVeyor * -df * -df * -df * Try to fix CI * Revert unrelated changes * Update CONTRIBUTING.md
This commit is contained in:
@@ -1,9 +1,15 @@
|
||||
[ignore]
|
||||
.*/node_modules/eslint-plugin-jsx-a11y/.*
|
||||
|
||||
[include]
|
||||
src/**/*.js
|
||||
<PROJECT_ROOT>/src/**/*.js
|
||||
|
||||
[ignore]
|
||||
.*/node_modules/.*
|
||||
.*/.git/.*
|
||||
.*/__test__/.*
|
||||
.*/fixtures/.*
|
||||
|
||||
[libs]
|
||||
flow/
|
||||
|
||||
[options]
|
||||
module.file_ext=.js
|
||||
sharedmemory.hash_table_pow=19
|
||||
|
||||
19
packages/react-error-overlay/flow/env.js
vendored
Normal file
19
packages/react-error-overlay/flow/env.js
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
declare module 'anser' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'babel-code-frame' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'html-entities' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'settle-promise' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'source-map' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
@@ -6,7 +6,7 @@
|
||||
"scripts": {
|
||||
"prepublishOnly": "npm run build:prod && npm test",
|
||||
"start": "cross-env NODE_ENV=development node build.js --watch",
|
||||
"test": "flow && cross-env NODE_ENV=test jest",
|
||||
"test": "cross-env NODE_ENV=test jest",
|
||||
"build": "cross-env NODE_ENV=development node build.js",
|
||||
"build:prod": "cross-env NODE_ENV=production node build.js"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user