Skip to content

Commit

Permalink
chore: cleanup files in package json (#1786)
Browse files Browse the repository at this point in the history
* chore: typo in CONTRIBUTING.md

* chore: cleanup files entries in package.json (#820)

* chore: add missing files entries to package.json (#820)

* chore: remove useless .npmignore (#820)

---------

Co-authored-by: Amir Blum <amirgiraffe@gmail.com>
  • Loading branch information
macno and blumamir authored Nov 13, 2023
1 parent e313938 commit 9b76ffb
Show file tree
Hide file tree
Showing 101 changed files with 64 additions and 382 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ You will receive the following error :
✖ type must be one of [ci, feat, fix, docs, style, refactor, perf, test, revert, chore] [type-enum]
```

Here an exemple that will pass the verification: `git commit -s -am "chore(opentelemetry-core): update deps"`
Here an example that will pass the verification: `git commit -s -am "chore(opentelemetry-core): update deps"`

### Fork

Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,7 @@
"files": [
"build/src/**/*.js",
"build/src/**/*.js.map",
"build/src/**/*.d.ts",
"doc",
"LICENSE",
"README.md"
"build/src/**/*.d.ts"
],
"publishConfig": {
"access": "public"
Expand Down
4 changes: 0 additions & 4 deletions detectors/node/opentelemetry-resource-detector-aws/.npmignore

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,7 @@
"files": [
"build/src/**/*.js",
"build/src/**/*.js.map",
"build/src/**/*.d.ts",
"doc",
"LICENSE",
"README.md"
"build/src/**/*.d.ts"
],
"publishConfig": {
"access": "public"
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@
"files": [
"build/src/**/*.js",
"build/src/**/*.js.map",
"build/src/**/*.d.ts",
"LICENSE",
"README.md"
"build/src/**/*.d.ts"
],
"publishConfig": {
"access": "public"
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@
"files": [
"build/src/**/*.js",
"build/src/**/*.js.map",
"build/src/**/*.d.ts",
"LICENSE",
"README.md"
"build/src/**/*.d.ts"
],
"publishConfig": {
"access": "public"
Expand Down
4 changes: 0 additions & 4 deletions detectors/node/opentelemetry-resource-detector-gcp/.npmignore

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,7 @@
"files": [
"build/src/**/*.js",
"build/src/**/*.js.map",
"build/src/**/*.d.ts",
"doc",
"LICENSE",
"README.md"
"build/src/**/*.d.ts"
],
"publishConfig": {
"access": "public"
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,7 @@
"files": [
"build/src/**/*.js",
"build/src/**/*.js.map",
"build/src/**/*.d.ts",
"doc",
"LICENSE",
"README.md"
"build/src/**/*.d.ts"
],
"publishConfig": {
"access": "public"
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,7 @@
"files": [
"build/src/**/*.js",
"build/src/**/*.js.map",
"build/src/**/*.d.ts",
"LICENSE",
"README.md"
"build/src/**/*.d.ts"
],
"publishConfig": {
"access": "public"
Expand Down
4 changes: 0 additions & 4 deletions metapackages/auto-instrumentations-node/.npmignore

This file was deleted.

7 changes: 6 additions & 1 deletion metapackages/auto-instrumentations-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,5 +93,10 @@
"@opentelemetry/resource-detector-gcp": "^0.29.2",
"@opentelemetry/resources": "^1.12.0",
"@opentelemetry/sdk-node": "^0.45.1"
}
},
"files": [
"build/src/**/*.js",
"build/src/**/*.js.map",
"build/src/**/*.d.ts"
]
}
4 changes: 0 additions & 4 deletions metapackages/auto-instrumentations-web/.npmignore

This file was deleted.

7 changes: 6 additions & 1 deletion metapackages/auto-instrumentations-web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,5 +65,10 @@
"@opentelemetry/instrumentation-fetch": "^0.45.1",
"@opentelemetry/instrumentation-user-interaction": "^0.33.2",
"@opentelemetry/instrumentation-xml-http-request": "^0.45.1"
}
},
"files": [
"build/src/**/*.js",
"build/src/**/*.js.map",
"build/src/**/*.d.ts"
]
}
4 changes: 0 additions & 4 deletions packages/opentelemetry-host-metrics/.npmignore

This file was deleted.

5 changes: 1 addition & 4 deletions packages/opentelemetry-host-metrics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,7 @@
"files": [
"build/src/**/*.js",
"build/src/**/*.js.map",
"build/src/**/*.d.ts",
"doc",
"LICENSE",
"README.md"
"build/src/**/*.d.ts"
],
"publishConfig": {
"access": "public"
Expand Down
4 changes: 0 additions & 4 deletions packages/opentelemetry-id-generator-aws-xray/.npmignore

This file was deleted.

5 changes: 1 addition & 4 deletions packages/opentelemetry-id-generator-aws-xray/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,7 @@
"build/esm/**/*.d.ts",
"build/src/**/*.js",
"build/src/**/*.js.map",
"build/src/**/*.d.ts",
"doc",
"LICENSE",
"README.md"
"build/src/**/*.d.ts"
],
"peerDependencies": {
"@opentelemetry/api": "^1.0.0"
Expand Down
4 changes: 1 addition & 3 deletions packages/opentelemetry-propagation-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@
"files": [
"build/**/*.js",
"build/**/*.js.map",
"build/**/*.d.ts",
"LICENSE",
"README.md"
"build/**/*.d.ts"
],
"author": "OpenTelemetry Authors",
"license": "Apache-2.0",
Expand Down
4 changes: 1 addition & 3 deletions packages/opentelemetry-redis-common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@
"files": [
"build/**/*.js",
"build/**/*.js.map",
"build/**/*.d.ts",
"LICENSE",
"README.md"
"build/**/*.d.ts"
],
"author": "OpenTelemetry Authors",
"license": "Apache-2.0",
Expand Down
4 changes: 1 addition & 3 deletions packages/opentelemetry-sql-common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,7 @@
"files": [
"build/**/*.js",
"build/**/*.js.map",
"build/**/*.d.ts",
"LICENSE",
"README.md"
"build/**/*.d.ts"
],
"author": "OpenTelemetry Authors",
"license": "Apache-2.0",
Expand Down
4 changes: 1 addition & 3 deletions packages/opentelemetry-test-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,7 @@
"files": [
"build/**/*.js",
"build/**/*.js.map",
"build/**/*.d.ts",
"LICENSE",
"README.md"
"build/**/*.d.ts"
],
"author": "OpenTelemetry Authors",
"license": "Apache-2.0",
Expand Down
4 changes: 0 additions & 4 deletions plugins/node/instrumentation-amqplib/.npmignore

This file was deleted.

4 changes: 1 addition & 3 deletions plugins/node/instrumentation-amqplib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@
"files": [
"build/src/**/*.js",
"build/src/**/*.js.map",
"build/src/**/*.d.ts",
"LICENSE",
"README.md"
"build/src/**/*.d.ts"
],
"publishConfig": {
"access": "public"
Expand Down
4 changes: 0 additions & 4 deletions plugins/node/instrumentation-cucumber/.npmignore

This file was deleted.

5 changes: 1 addition & 4 deletions plugins/node/instrumentation-cucumber/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,7 @@
"files": [
"build/src/**/*.js",
"build/src/**/*.js.map",
"build/src/**/*.d.ts",
"doc",
"LICENSE",
"README.md"
"build/src/**/*.d.ts"
],
"publishConfig": {
"access": "public"
Expand Down
4 changes: 0 additions & 4 deletions plugins/node/instrumentation-dataloader/.npmignore

This file was deleted.

5 changes: 1 addition & 4 deletions plugins/node/instrumentation-dataloader/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,7 @@
"files": [
"build/src/**/*.js",
"build/src/**/*.js.map",
"build/src/**/*.d.ts",
"doc",
"LICENSE",
"README.md"
"build/src/**/*.d.ts"
],
"publishConfig": {
"access": "public"
Expand Down
4 changes: 0 additions & 4 deletions plugins/node/instrumentation-fs/.npmignore

This file was deleted.

4 changes: 0 additions & 4 deletions plugins/node/instrumentation-lru-memoizer/.npmignore

This file was deleted.

4 changes: 0 additions & 4 deletions plugins/node/instrumentation-mongoose/.npmignore

This file was deleted.

4 changes: 0 additions & 4 deletions plugins/node/instrumentation-socket.io/.npmignore

This file was deleted.

4 changes: 0 additions & 4 deletions plugins/node/instrumentation-tedious/.npmignore

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,7 @@
"files": [
"build/src/**/*.js",
"build/src/**/*.js.map",
"build/src/**/*.d.ts",
"doc",
"LICENSE",
"README.md"
"build/src/**/*.d.ts"
],
"publishConfig": {
"access": "public"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@
"build/src/**/*.js",
"build/src/**/*.js.map",
"build/src/**/*.d.ts",
"doc",
"LICENSE",
"README.md"
"doc"
],
"publishConfig": {
"access": "public"
Expand Down
4 changes: 0 additions & 4 deletions plugins/node/opentelemetry-instrumentation-bunyan/.npmignore

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,7 @@
"files": [
"build/src/**/*.js",
"build/src/**/*.js.map",
"build/src/**/*.d.ts",
"doc",
"LICENSE",
"README.md"
"build/src/**/*.d.ts"
],
"publishConfig": {
"access": "public"
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,7 @@
"files": [
"build/src/**/*.js",
"build/src/**/*.js.map",
"build/src/**/*.d.ts",
"doc",
"LICENSE",
"README.md"
"build/src/**/*.d.ts"
],
"publishConfig": {
"access": "public"
Expand Down
4 changes: 0 additions & 4 deletions plugins/node/opentelemetry-instrumentation-connect/.npmignore

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,7 @@
},
"files": [
"build/src/**/*.js",
"build/src/**/*.d.ts",
"doc",
"LICENSE",
"README.md"
"build/src/**/*.d.ts"
],
"publishConfig": {
"access": "public"
Expand Down
4 changes: 0 additions & 4 deletions plugins/node/opentelemetry-instrumentation-dns/.npmignore

This file was deleted.

Loading

0 comments on commit 9b76ffb

Please sign in to comment.