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:
Dan Abramov
2018-01-12 01:54:53 +00:00
committed by GitHub
parent 3f7851deab
commit 0aeffe62ef
12 changed files with 65 additions and 107 deletions

View File

@@ -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

View 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;
}

View File

@@ -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"
},