-
Notifications
You must be signed in to change notification settings - Fork 405
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: switch to Yarn + Yarn workspaces
- Loading branch information
Showing
5 changed files
with
15,576 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,19 +4,21 @@ addons: | |
chrome: stable | ||
|
||
before_install: | ||
- phantomjs --version | ||
# version lifted from `.nvmrc` | ||
- nvm install | ||
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.19.0 | ||
- export PATH="$HOME/.yarn/bin:$PATH" | ||
|
||
before_script: | ||
- npm install -g [email protected] | ||
- npm run setup | ||
- lerna add @pattern-lab/engine-mustache --scope=@pattern-lab/core | ||
- lerna add @pattern-lab/engine-handlebars --scope=@pattern-lab/core | ||
- lerna add @pattern-lab/engine-underscore --scope=@pattern-lab/core | ||
- lerna add @pattern-lab/engine-liquid --scope=@pattern-lab/core | ||
- lerna add @pattern-lab/engine-twig --scope=@pattern-lab/core | ||
- lerna add @pattern-lab/engine-react --scope=@pattern-lab/core | ||
- yarn run setup | ||
- npx lerna add @pattern-lab/engine-mustache --scope=@pattern-lab/core | ||
- npx lerna add @pattern-lab/engine-handlebars --scope=@pattern-lab/core | ||
- npx lerna add @pattern-lab/engine-underscore --scope=@pattern-lab/core | ||
- npx lerna add @pattern-lab/engine-liquid --scope=@pattern-lab/core | ||
- npx lerna add @pattern-lab/engine-twig --scope=@pattern-lab/core | ||
- npx lerna add @pattern-lab/engine-react --scope=@pattern-lab/core | ||
|
||
script: travis_wait npm run test | ||
script: travis_wait yarn run test | ||
|
||
branches: | ||
only: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,38 @@ | ||
{ | ||
"lerna": "3.11.0", | ||
"version": "0.0.0", | ||
"packages": [ | ||
"packages/*" | ||
], | ||
"version": "independent", | ||
"command": { | ||
"init": { | ||
"exact": true | ||
}, | ||
"bootstrap": { | ||
"hoist": [ | ||
"tap", | ||
"eslin*", | ||
"husky", | ||
"prettier", | ||
"pretty-quick", | ||
"babel-eslint" | ||
] | ||
}, | ||
"publish": { | ||
"allowBranch": "master" | ||
"allowBranch": [ | ||
"master", | ||
"dev" | ||
], | ||
"conventionalCommits": true, | ||
"gitReset": true, | ||
"includeMergedTags": true, | ||
"noCommitHooks": true, | ||
"verifyAccess": true | ||
}, | ||
"changed": { | ||
"includeMergedTags": true | ||
} | ||
}, | ||
"ignoreChanges": [ | ||
"**/__fixtures__/**", | ||
"**/__tests__/**", | ||
"**/*.md", | ||
"**/__snapshots__/**" | ||
], | ||
"npmClient": "yarn", | ||
"npmClientArgs": [ | ||
"--ignore-optional", | ||
"--registry=https://registry.npmjs.org/" | ||
] | ||
], | ||
"useWorkspaces": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.