Skip to content

Commit

Permalink
feat(project): Add peer dependencies
Browse files Browse the repository at this point in the history
Adds the list of peer dependencies for the `projen-project` package.
  • Loading branch information
langri-sha committed Jun 24, 2024
1 parent 6383154 commit c8bf2b6
Show file tree
Hide file tree
Showing 5 changed files with 163 additions and 2 deletions.
40 changes: 39 additions & 1 deletion .projenrc.mts
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,45 @@ project.addSubproject(
'ramda@0.30.1',
],
devDeps: ['@types/ramda@0.30.0'],
peerDeps: ['projen@^0.82.0'],
peerDeps: [
'@babel/core@^7.8.0',
'@types/babel__core@^7.8.0',
'beachball@^2.0.0',
'eslint@^9.0.0',
'husky@^9.0.1',
'jest@^28.0.0 || ^29.0.0',
'lint-staged@^15.0.0',
'prettier@^3.0.0',
'projen@^0.82.0',
'ts-node@^10.0.0',
'typescript@^5.5.0',
],
peerDependenciesMeta: {
'@babel/core': {
optional: true,
},
'@types/babel__core': {
optional: true,
},
beachball: {
optional: true,
},
eslint: {
optional: true,
},
husky: {
optional: true,
},
jest: {
optional: true,
},
'lint-staged': {
optional: true,
},
prettier: {
optional: true,
},
},
},
},
subproject,
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "minor",
"comment": "feat(project): Add peer dependencies",
"packageName": "@langri-sha/projen-project",
"email": "filip.dupanovic@gmail.com",
"dependentChangeType": "patch"
}
50 changes: 50 additions & 0 deletions packages/projen-project/.projen/deps.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,61 @@
"version": "0.30.0",
"type": "build"
},
{
"name": "@babel/core",
"version": "^7.8.0",
"type": "peer"
},
{
"name": "@types/babel__core",
"version": "^7.8.0",
"type": "peer"
},
{
"name": "beachball",
"version": "^2.0.0",
"type": "peer"
},
{
"name": "eslint",
"version": "^9.0.0",
"type": "peer"
},
{
"name": "husky",
"version": "^9.0.1",
"type": "peer"
},
{
"name": "jest",
"version": "^28.0.0 || ^29.0.0",
"type": "peer"
},
{
"name": "lint-staged",
"version": "^15.0.0",
"type": "peer"
},
{
"name": "prettier",
"version": "^3.0.0",
"type": "peer"
},
{
"name": "projen",
"version": "^0.82.0",
"type": "peer"
},
{
"name": "ts-node",
"version": "^10.0.0",
"type": "peer"
},
{
"name": "typescript",
"version": "^5.5.0",
"type": "peer"
},
{
"name": "@langri-sha/projen-babel",
"version": "workspace:*",
Expand Down
38 changes: 37 additions & 1 deletion packages/projen-project/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,43 @@
"@types/ramda": "0.30.0"
},
"peerDependencies": {
"projen": "^0.82.0"
"@babel/core": "^7.8.0",
"@types/babel__core": "^7.8.0",
"beachball": "^2.0.0",
"eslint": "^9.0.0",
"husky": "^9.0.1",
"jest": "^28.0.0 || ^29.0.0",
"lint-staged": "^15.0.0",
"prettier": "^3.0.0",
"projen": "^0.82.0",
"ts-node": "^10.0.0",
"typescript": "^5.5.0"
},
"peerDependenciesMeta": {
"@babel/core": {
"optional": true
},
"@types/babel__core": {
"optional": true
},
"beachball": {
"optional": true
},
"eslint": {
"optional": true
},
"husky": {
"optional": true
},
"jest": {
"optional": true
},
"lint-staged": {
"optional": true
},
"prettier": {
"optional": true
}
},
"publishConfig": {
"access": "public",
Expand Down
30 changes: 30 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c8bf2b6

Please sign in to comment.