Switch to Yarn

This commit is contained in:
CrazyMax 2020-06-10 22:22:42 +02:00
parent f98597f4ad
commit 16fd2cd4ef
No known key found for this signature in database
GPG Key ID: 3248E46B6BB8C7F7
7 changed files with 5235 additions and 7635 deletions

View File

@ -7,11 +7,11 @@ Contributions to this project are [released](https://help.github.com/articles/gi
## Submitting a pull request
1. [Fork](https://github.com/crazy-max/ghaction-upx/fork) and clone the repository
2. Configure and install the dependencies: `npm install`
3. Make sure the tests pass on your machine: `npm run test`
2. Configure and install the dependencies: `yarn install`
3. Make sure the tests pass on your machine: `yarn run test`
4. Create a new branch: `git checkout -b my-branch-name`
5. Make your change, add tests, and make sure the tests still pass
6. Run pre-checkin: `npm run pre-checkin`
6. Run pre-checkin: `yarn run pre-checkin`
7. Push to your fork and [submit a pull request](https://github.com/crazy-max/ghaction-upx/compare)
8. Pat your self on the back and wait for your pull request to be reviewed and merged.

View File

@ -4,7 +4,7 @@ updates:
directory: "/"
schedule:
interval: "daily"
time: "08:00"
time: "06:00"
timezone: "Europe/Paris"
labels:
- ":game_die: dependencies"
@ -15,6 +15,8 @@ updates:
interval: "daily"
time: "06:00"
timezone: "Europe/Paris"
allow:
- dependency-type: "production"
labels:
- ":game_die: dependencies"
- ":robot: bot"

View File

@ -26,10 +26,10 @@ jobs:
uses: actions/checkout@v2
-
name: Install
run: npm install
run: yarn install
-
name: Test
run: npm run test
run: yarn run test
-
name: Upload coverage
uses: codecov/codecov-action@v1

2944
dist/index.js generated vendored

File diff suppressed because it is too large Load Diff

6146
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -7,8 +7,7 @@
"test": "jest --coverage",
"format": "prettier --write **/*.ts",
"format-check": "prettier --check **/*.ts",
"cleanup-paths": "removeNPMAbsolutePaths ./ --force --fields _where _args",
"pre-checkin": "npm run format && npm run cleanup-paths && npm run build"
"pre-checkin": "yarn run format && yarn run build"
},
"repository": {
"type": "git",
@ -30,12 +29,11 @@
"@types/jest": "^26.0.0",
"@types/node": "^14.0.13",
"@zeit/ncc": "^0.22.3",
"jest": "^25.5.4",
"jest": "^26.0.1",
"jest-circus": "^26.0.1",
"jest-runtime": "^25.5.4",
"jest-runtime": "^26.0.1",
"prettier": "^2.0.5",
"removeNPMAbsolutePaths": "^2.0.0",
"ts-jest": "^25.5.1",
"ts-jest": "^26.1.0",
"typescript": "^3.9.5",
"typescript-formatter": "^7.2.2"
}

3744
yarn.lock Normal file

File diff suppressed because it is too large Load Diff