Skip to content

Commit ef6c54e

Browse files
authored
Feature/add yarn packaging (webpack#3125)
* feat(yarn): add yarn packaging, lockfile, and update CI scripts * chore(yarn): updated CONTRIBUTING to reflect new install instructions with yarn * fix(ci): yarn ../webpack --force doesn't work lets try CONTRIBUTING form for ci instructions
1 parent 996fdc5 commit ef6c54e

4 files changed

Lines changed: 4719 additions & 8 deletions

File tree

.travis.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,10 @@ env:
1818
- NO_WATCH_TESTS=1
1919

2020
install:
21-
- npm link ../webpack --force
22-
- npm install
21+
- npm install yarn -g
22+
- yarn install
23+
- yarn link
24+
- yarn link webpack
2325

2426
after_success:
2527
- cat ./coverage/lcov.info | node_modules/.bin/coveralls --verbose

CONTRIBUTING.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,16 @@ documentation pages:
2828
```bash
2929
git clone https://github.com/webpack/webpack.git
3030
cd webpack
31-
npm install
32-
npm link
33-
npm link webpack
31+
npm install -g yarn
32+
yarn install
33+
yarn link
34+
yarn link webpack
3435
```
3536

3637
To run the entire test suite use:
3738

3839
```bash
39-
npm test
40+
yarn test
4041
```
4142

4243
## Submitting Changes

appveyor.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,10 @@ environment:
1212

1313
install:
1414
- ps: Update-NodeJsInstallation (Get-NodeJsLatestBuild $env:nodejs_version)
15-
- npm link ../webpack --force
16-
- npm install --msvs_version=2013
15+
- npm install yarn -g
16+
- yarn install --msvs_version=2013
17+
- yarn link
18+
- yarn link webpack
1719

1820
build: off
1921

@@ -23,4 +25,5 @@ matrix:
2325
test_script:
2426
- node --version
2527
- npm --version
28+
- yarn --version
2629
- cmd: npm run appveyor

0 commit comments

Comments
 (0)