Skip to content

Commit

Permalink
chore: use yarn workspaces
Browse files Browse the repository at this point in the history
  • Loading branch information
dyladan committed Nov 8, 2019
1 parent 1f90ce2 commit c995884
Show file tree
Hide file tree
Showing 24 changed files with 51 additions and 45 deletions.
1 change: 1 addition & 0 deletions lerna.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"lerna": "3.13.4",
"npmClient": "yarn",
"useWorkspaces": true,
"packages": [
"benchmark/*",
"packages/*",
Expand Down
7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"name": "opentelemetry-base",
"private": true,
"version": "0.1.1",
"description": "OpenTelemetry is a distributed tracing and stats collection framework.",
"main": "build/src/index.js",
Expand Down Expand Up @@ -48,5 +49,9 @@
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}
},
"workspaces": [
"packages/*",
"packages/opentelemetry-plugin-postgres/*"
]
}
4 changes: 2 additions & 2 deletions packages/opentelemetry-base/tslint.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"rulesDirectory": ["node_modules/tslint-microsoft-contrib"],
"extends": ["../../tslint.base.js", "./node_modules/tslint-consistent-codestyle"]
"rulesDirectory": ["tslint-microsoft-contrib"],
"extends": ["../../tslint.base.js", "tslint-consistent-codestyle"]
}
4 changes: 2 additions & 2 deletions packages/opentelemetry-core/tslint.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"rulesDirectory": ["node_modules/tslint-microsoft-contrib"],
"extends": ["../../tslint.base.js", "./node_modules/tslint-consistent-codestyle"]
"rulesDirectory": ["tslint-microsoft-contrib"],
"extends": ["../../tslint.base.js", "tslint-consistent-codestyle"]
}
4 changes: 2 additions & 2 deletions packages/opentelemetry-exporter-jaeger/tslint.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"rulesDirectory": ["node_modules/tslint-microsoft-contrib"],
"extends": ["../../tslint.base.js", "./node_modules/tslint-consistent-codestyle"]
"rulesDirectory": ["tslint-microsoft-contrib"],
"extends": ["../../tslint.base.js", "tslint-consistent-codestyle"]
}
4 changes: 2 additions & 2 deletions packages/opentelemetry-exporter-zipkin/tslint.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"rulesDirectory": ["node_modules/tslint-microsoft-contrib"],
"extends": ["../../tslint.base.js", "./node_modules/tslint-consistent-codestyle"]
"rulesDirectory": ["tslint-microsoft-contrib"],
"extends": ["../../tslint.base.js", "tslint-consistent-codestyle"]
}
4 changes: 2 additions & 2 deletions packages/opentelemetry-metrics/tslint.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"rulesDirectory": ["node_modules/tslint-microsoft-contrib"],
"extends": ["../../tslint.base.js", "./node_modules/tslint-consistent-codestyle"]
"rulesDirectory": ["tslint-microsoft-contrib"],
"extends": ["../../tslint.base.js", "tslint-consistent-codestyle"]
}
4 changes: 2 additions & 2 deletions packages/opentelemetry-node/tslint.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"rulesDirectory": ["node_modules/tslint-microsoft-contrib"],
"extends": ["../../tslint.base.js", "./node_modules/tslint-consistent-codestyle"]
"rulesDirectory": ["tslint-microsoft-contrib"],
"extends": ["../../tslint.base.js", "tslint-consistent-codestyle"]
}
4 changes: 2 additions & 2 deletions packages/opentelemetry-plugin-dns/tslint.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"rulesDirectory": ["node_modules/tslint-microsoft-contrib"],
"extends": ["../../tslint.base.js", "./node_modules/tslint-consistent-codestyle"]
"rulesDirectory": ["tslint-microsoft-contrib"],
"extends": ["../../tslint.base.js", "tslint-consistent-codestyle"]
}
4 changes: 2 additions & 2 deletions packages/opentelemetry-plugin-document-load/tslint.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"rulesDirectory": ["node_modules/tslint-microsoft-contrib"],
"extends": ["../../tslint.base.js", "./node_modules/tslint-consistent-codestyle"]
"rulesDirectory": ["tslint-microsoft-contrib"],
"extends": ["../../tslint.base.js", "tslint-consistent-codestyle"]
}
4 changes: 2 additions & 2 deletions packages/opentelemetry-plugin-grpc/tslint.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"rulesDirectory": ["node_modules/tslint-microsoft-contrib"],
"extends": ["../../tslint.base.js", "./node_modules/tslint-consistent-codestyle"]
"rulesDirectory": ["tslint-microsoft-contrib"],
"extends": ["../../tslint.base.js", "tslint-consistent-codestyle"]
}
4 changes: 2 additions & 2 deletions packages/opentelemetry-plugin-http/tslint.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"rulesDirectory": ["node_modules/tslint-microsoft-contrib"],
"extends": ["../../tslint.base.js", "./node_modules/tslint-consistent-codestyle"]
"rulesDirectory": ["tslint-microsoft-contrib"],
"extends": ["../../tslint.base.js", "tslint-consistent-codestyle"]
}
4 changes: 2 additions & 2 deletions packages/opentelemetry-plugin-http2/tslint.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"rulesDirectory": ["node_modules/tslint-microsoft-contrib"],
"extends": ["../../tslint.base.js", "./node_modules/tslint-consistent-codestyle"]
"rulesDirectory": ["tslint-microsoft-contrib"],
"extends": ["../../tslint.base.js", "tslint-consistent-codestyle"]
}
4 changes: 2 additions & 2 deletions packages/opentelemetry-plugin-https/tslint.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"rulesDirectory": ["node_modules/tslint-microsoft-contrib"],
"extends": ["../../tslint.base.js", "./node_modules/tslint-consistent-codestyle"]
"rulesDirectory": ["tslint-microsoft-contrib"],
"extends": ["../../tslint.base.js", "tslint-consistent-codestyle"]
}
4 changes: 2 additions & 2 deletions packages/opentelemetry-plugin-mongodb/tslint.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"rulesDirectory": ["node_modules/tslint-microsoft-contrib"],
"extends": ["../../tslint.base.js", "./node_modules/tslint-consistent-codestyle"]
"rulesDirectory": ["tslint-microsoft-contrib"],
"extends": ["../../tslint.base.js", "tslint-consistent-codestyle"]
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"rulesDirectory": ["node_modules/tslint-microsoft-contrib"],
"extends": ["../../../tslint.base.js", "./node_modules/tslint-consistent-codestyle"]
"rulesDirectory": ["tslint-microsoft-contrib"],
"extends": ["../../../tslint.base.js", "tslint-consistent-codestyle"]
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"rulesDirectory": ["node_modules/tslint-microsoft-contrib"],
"extends": ["../../../tslint.base.js", "./node_modules/tslint-consistent-codestyle"]
"rulesDirectory": ["tslint-microsoft-contrib"],
"extends": ["../../../tslint.base.js", "tslint-consistent-codestyle"]
}
4 changes: 2 additions & 2 deletions packages/opentelemetry-plugin-redis/tslint.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"rulesDirectory": ["node_modules/tslint-microsoft-contrib"],
"extends": ["../../tslint.base.js", "./node_modules/tslint-consistent-codestyle"]
"rulesDirectory": ["tslint-microsoft-contrib"],
"extends": ["../../tslint.base.js", "tslint-consistent-codestyle"]
}
4 changes: 2 additions & 2 deletions packages/opentelemetry-scope-async-hooks/tslint.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"rulesDirectory": ["node_modules/tslint-microsoft-contrib"],
"extends": ["../../tslint.base.js", "./node_modules/tslint-consistent-codestyle"]
"rulesDirectory": ["tslint-microsoft-contrib"],
"extends": ["../../tslint.base.js", "tslint-consistent-codestyle"]
}
4 changes: 2 additions & 2 deletions packages/opentelemetry-scope-base/tslint.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"rulesDirectory": ["node_modules/tslint-microsoft-contrib"],
"extends": ["../../tslint.base.js", "./node_modules/tslint-consistent-codestyle"]
"rulesDirectory": ["tslint-microsoft-contrib"],
"extends": ["../../tslint.base.js", "tslint-consistent-codestyle"]
}
4 changes: 2 additions & 2 deletions packages/opentelemetry-shim-opentracing/tslint.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"rulesDirectory": ["node_modules/tslint-microsoft-contrib"],
"extends": ["../../tslint.base.js", "./node_modules/tslint-consistent-codestyle"]
"rulesDirectory": ["tslint-microsoft-contrib"],
"extends": ["../../tslint.base.js", "tslint-consistent-codestyle"]
}
4 changes: 2 additions & 2 deletions packages/opentelemetry-tracing/tslint.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"rulesDirectory": ["node_modules/tslint-microsoft-contrib"],
"extends": ["../../tslint.base.js", "./node_modules/tslint-consistent-codestyle"]
"rulesDirectory": ["tslint-microsoft-contrib"],
"extends": ["../../tslint.base.js", "tslint-consistent-codestyle"]
}
4 changes: 2 additions & 2 deletions packages/opentelemetry-types/tslint.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"rulesDirectory": ["node_modules/tslint-microsoft-contrib"],
"extends": ["../../tslint.base.js", "./node_modules/tslint-consistent-codestyle"]
"rulesDirectory": ["tslint-microsoft-contrib"],
"extends": ["../../tslint.base.js", "tslint-consistent-codestyle"]
}
4 changes: 2 additions & 2 deletions packages/opentelemetry-web/tslint.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"rulesDirectory": ["node_modules/tslint-microsoft-contrib"],
"extends": ["../../tslint.base.js", "./node_modules/tslint-consistent-codestyle"]
"rulesDirectory": ["tslint-microsoft-contrib"],
"extends": ["../../tslint.base.js", "tslint-consistent-codestyle"]
}

0 comments on commit c995884

Please sign in to comment.