Switch to Yarn

This commit is contained in:
CrazyMax
2020-06-10 22:22:42 +02:00
parent f98597f4ad
commit 16fd2cd4ef
7 changed files with 5235 additions and 7635 deletions
+3 -3
View File
@@ -7,11 +7,11 @@ Contributions to this project are [released](https://help.github.com/articles/gi
## Submitting a pull request ## Submitting a pull request
1. [Fork](https://github.com/crazy-max/ghaction-upx/fork) and clone the repository 1. [Fork](https://github.com/crazy-max/ghaction-upx/fork) and clone the repository
2. Configure and install the dependencies: `npm install` 2. Configure and install the dependencies: `yarn install`
3. Make sure the tests pass on your machine: `npm run test` 3. Make sure the tests pass on your machine: `yarn run test`
4. Create a new branch: `git checkout -b my-branch-name` 4. Create a new branch: `git checkout -b my-branch-name`
5. Make your change, add tests, and make sure the tests still pass 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) 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. 8. Pat your self on the back and wait for your pull request to be reviewed and merged.
+3 -1
View File
@@ -4,7 +4,7 @@ updates:
directory: "/" directory: "/"
schedule: schedule:
interval: "daily" interval: "daily"
time: "08:00" time: "06:00"
timezone: "Europe/Paris" timezone: "Europe/Paris"
labels: labels:
- ":game_die: dependencies" - ":game_die: dependencies"
@@ -15,6 +15,8 @@ updates:
interval: "daily" interval: "daily"
time: "06:00" time: "06:00"
timezone: "Europe/Paris" timezone: "Europe/Paris"
allow:
- dependency-type: "production"
labels: labels:
- ":game_die: dependencies" - ":game_die: dependencies"
- ":robot: bot" - ":robot: bot"
+2 -2
View File
@@ -26,10 +26,10 @@ jobs:
uses: actions/checkout@v2 uses: actions/checkout@v2
- -
name: Install name: Install
run: npm install run: yarn install
- -
name: Test name: Test
run: npm run test run: yarn run test
- -
name: Upload coverage name: Upload coverage
uses: codecov/codecov-action@v1 uses: codecov/codecov-action@v1
Generated Vendored
+1473 -1471
View File
File diff suppressed because it is too large Load Diff
-6146
View File
File diff suppressed because it is too large Load Diff
+4 -6
View File
@@ -7,8 +7,7 @@
"test": "jest --coverage", "test": "jest --coverage",
"format": "prettier --write **/*.ts", "format": "prettier --write **/*.ts",
"format-check": "prettier --check **/*.ts", "format-check": "prettier --check **/*.ts",
"cleanup-paths": "removeNPMAbsolutePaths ./ --force --fields _where _args", "pre-checkin": "yarn run format && yarn run build"
"pre-checkin": "npm run format && npm run cleanup-paths && npm run build"
}, },
"repository": { "repository": {
"type": "git", "type": "git",
@@ -30,12 +29,11 @@
"@types/jest": "^26.0.0", "@types/jest": "^26.0.0",
"@types/node": "^14.0.13", "@types/node": "^14.0.13",
"@zeit/ncc": "^0.22.3", "@zeit/ncc": "^0.22.3",
"jest": "^25.5.4", "jest": "^26.0.1",
"jest-circus": "^26.0.1", "jest-circus": "^26.0.1",
"jest-runtime": "^25.5.4", "jest-runtime": "^26.0.1",
"prettier": "^2.0.5", "prettier": "^2.0.5",
"removeNPMAbsolutePaths": "^2.0.0", "ts-jest": "^26.1.0",
"ts-jest": "^25.5.1",
"typescript": "^3.9.5", "typescript": "^3.9.5",
"typescript-formatter": "^7.2.2" "typescript-formatter": "^7.2.2"
} }
+3744
View File
File diff suppressed because it is too large Load Diff