Skip to content

Commit

Permalink
fix: missing telemetry dependencies in CLIs (#2253)
Browse files Browse the repository at this point in the history
## Proposed change

<!-- Please include a summary of the changes and the related issue.
Please also include relevant motivation and context. List any
dependencies that is required for this change. -->
  • Loading branch information
kpanot authored Oct 9, 2024
2 parents 28e3be2 + c7c7098 commit ad9a007
Show file tree
Hide file tree
Showing 17 changed files with 6,540 additions and 4,853 deletions.
2 changes: 1 addition & 1 deletion packages/@ama-sdk/create/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ module.exports = {
'files': ['package.json'],
'rules': {
'@o3r/json-dependency-versions-harmonize': ['error', {
'ignoredPackages': ['@o3r/build-helpers', '@o3r/telemetry'],
'ignoredPackages': ['@o3r/build-helpers'],
ignoredDependencies: ['yarn'],
'alignPeerDependencies': false
}]
Expand Down
8 changes: 8 additions & 0 deletions packages/@ama-sdk/create/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@
"postbuild": "cpy package.json dist/",
"prepare:publish": "prepare-publish ./dist"
},
"peerDependencies": {
"@o3r/telemetry": "workspace:^"
},
"peerDependenciesMeta": {
"@o3r/telemetry": {
"optional": true
}
},
"dependencies": {
"@ama-sdk/core": "workspace:*",
"@ama-sdk/schematics": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/@o3r/create/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ module.exports = {
'files': ['package.json'],
'rules': {
'@o3r/json-dependency-versions-harmonize': ['error', {
'ignoredPackages': ['@o3r/build-helpers', '@o3r/telemetry'],
'ignoredPackages': ['@o3r/build-helpers'],
ignoredDependencies: ['yarn'],
'alignPeerDependencies': false
}]
Expand Down
8 changes: 8 additions & 0 deletions packages/@o3r/create/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,14 @@
"postbuild": "cpy package.json dist/",
"prepare:publish": "prepare-publish ./dist"
},
"peerDependencies": {
"@o3r/telemetry": "workspace:^"
},
"peerDependenciesMeta": {
"@o3r/telemetry": {
"optional": true
}
},
"dependencies": {
"@angular/cli": "~18.2.0",
"@schematics/angular": "~18.2.0",
Expand Down
13 changes: 0 additions & 13 deletions tools/github-actions/audit/packaged-action/LICENSE.txt

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

Loading

0 comments on commit ad9a007

Please sign in to comment.