-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: yarn berry install packages (#226)
* Add commands to ensure usage of yarn-berry * add sudo to corepack enable * add sudo to corepack enable * Add package manager to package.json * fix linter errors * Add a second package for testing * Fix package files location * Update cache * Remove lock * Set immutable installation * Use migration command * Add yarn install in test * Add corepack enable * Update yarn version * Add env manually * Use custom command * use a different version
- Loading branch information
1 parent
4ec8467
commit 0d7935c
Showing
4 changed files
with
54 additions
and
5 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 |
---|---|---|
@@ -0,0 +1,42 @@ | ||
{ | ||
"name": "opd-server", | ||
"packageManager": "[email protected]", | ||
"version": "1.0.0", | ||
"description": "", | ||
"main": "index.js", | ||
"scripts": { | ||
"dev": "nodemon --watch 'src/**/*.ts' --exec 'ts-node --require dotenv/config' src/index.ts", | ||
"build": "tsc -h", | ||
"start": "node dist/index.js", | ||
"test": "jest jest-tests", | ||
"testmocha": "mocha mocha-tests", | ||
"test:coverage": "jest --coverage jest-tests" | ||
}, | ||
"author": "", | ||
"license": "ISC", | ||
"devDependencies": { | ||
"@types/cors": "^2.8.12", | ||
"@types/dotenv": "^8.2.0", | ||
"@types/express": "^4.17.13", | ||
"@types/node": "^17.0.0", | ||
"@types/node-fetch": "^3.0.2", | ||
"jest": "^27.4.5", | ||
"jest-junit": "^13.0.0", | ||
"mocha-junit-reporter": "2.0.2", | ||
"mocha-multi": "1.1.5", | ||
"nodemon": "^2.0.20", | ||
"ts-node": "^10.4.0", | ||
"tslint": "^6.1.1", | ||
"typescript": "^4.5.4" | ||
}, | ||
"dependencies": { | ||
"axios": "^0.28.0", | ||
"axios-logger": "^2.6.0", | ||
"cors": "^2.8.5", | ||
"dotenv": "^10.0.0", | ||
"express": "^4.19.2", | ||
"mocha": "^9.1.3", | ||
"node-fetch": "^3.2.10", | ||
"yaml": "^1.10.2" | ||
} | ||
} |
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