forked from open-telemetry/opentelemetry-js
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
102 lines (102 loc) · 6.14 KB
/
package.json
File metadata and controls
102 lines (102 loc) · 6.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
{
"name": "opentelemetry",
"version": "0.1.0",
"description": "OpenTelemetry is a distributed tracing and stats collection framework.",
"scripts": {
"precompile": "npm run submodule && nx run-many -t protos:generate && nx run-many -t version",
"compile": "tsc --build tsconfig.json tsconfig.esm.json tsconfig.esnext.json",
"prewatch": "npm run precompile",
"watch": "tsc --build --watch tsconfig.json tsconfig.esm.json tsconfig.esnext.json",
"clean": "tsc --build --clean tsconfig.json tsconfig.esm.json tsconfig.esnext.json",
"postinstall": "npm run update-ts-configs",
"submodule": "git submodule sync --recursive && git submodule update --init --recursive",
"version:update": "nx run-many -t version",
"test": "nx run-many -t test",
"test:bundle": "nx run-many -t test:bundle",
"test:browser": "nx run-many -t test:browser",
"test:webworker": "nx run-many -t test:webworker",
"test:bench": "nx run-many -t test:bench",
"test:bench:browser": "nx run-many -t test:bench:browser -- --verbose",
"predocs-test": "npm run docs",
"docs": "typedoc --readme none && touch docs/.nojekyll",
"docs-deploy": "gh-pages --dotfiles --dist docs",
"docs:test": "linkinator docs --silent --retry && linkinator doc/*.md --skip http://localhost:3000 --skip http://localhost:9464 --skip https://github.com/ --skip https://www.npmjs.com/ --silent --retry --directory-listing",
"lint": "nx run-many -t lint && npm run lint:markdown && npm run lint:semconv-deps",
"lint:fix": "nx run-many -t lint:fix && nx run-many -t lint:markdown:fix",
"lint:examples": "eslint --no-error-on-unmatched-pattern ./examples/**/*.js",
"lint:examples:fix": "eslint --no-error-on-unmatched-pattern ./examples/**/*.js --fix",
"lint:markdown": "markdownlint-cli2 $(git ls-files '*.md') # requires Node.js >=20",
"lint:markdown:fix": "markdownlint-cli2 --fix $(git ls-files '*.md') # requires Node.js >=20",
"lint:semconv-deps": "./scripts/lint-semconv-deps.mjs",
"update-ts-configs": "node scripts/update-ts-configs.js",
"maint:regenerate-test-certs": "npm run --if-present --workspaces maint:regenerate-test-certs",
"comment_prepare_1": "echo scripts in this section automatically prepare releases. Intended for use by maintainers only.",
"prepare_release": "node scripts/prepare-release.mjs && npm install --package-lock-only",
"comment_internal": "echo scripts below this line are for internal use",
"_github:draft_release:all": "npm run _github:draft_release:api && _github:draft_release:experimental && _github:draft_release:stable",
"_github:draft_release:api": "node scripts/extract-latest-release-notes.js ./api/CHANGELOG.md && VERSION=$(node scripts/get-version.mjs ./api/package.json | grep -oE '^[0-9]+\\.[0-9]+\\.[0-9]+$') && gh release create --draft --notes-file ./.tmp/release-notes.md --target main --title api/v$VERSION api/v$VERSION",
"_github:draft_release:experimental": "node scripts/extract-latest-release-notes.js ./experimental/CHANGELOG.md && VERSION=$(node scripts/get-version.mjs ./experimental/packages/ | grep -oE '^[0-9]+\\.[0-9]+\\.[0-9]+$') && gh release create --draft --notes-file ./.tmp/release-notes.md --target main --title experimental/v$VERSION experimental/v$VERSION",
"_github:draft_release:stable": "node scripts/extract-latest-release-notes.js ./CHANGELOG.md && VERSION=$(node scripts/get-version.mjs ./packages/ | grep -oE '^[0-9]+\\.[0-9]+\\.[0-9]+$') && gh release create --draft --notes-file ./.tmp/release-notes.md --target main --title v$VERSION v$VERSION",
"_github:draft_release:semconv": "node scripts/extract-latest-release-notes.js ./semantic-conventions/CHANGELOG.md && VERSION=$(node scripts/get-version.mjs ./semantic-conventions/package.json | grep -oE '^[0-9]+\\.[0-9]+\\.[0-9]+$') && gh release create --draft --notes-file ./.tmp/release-notes.md --target main --title semconv/v$VERSION semconv/v$VERSION",
"_github:update_release_pr_body": "gh pr edit --repo open-telemetry/opentelemetry-js $RELEASE_PR_OWNER:otelbot/prepare-next-version --body-file ./.tmp/release-summary.md",
"_github:update_release_branch": "git remote get-url $RELEASE_PR_REMOTE && (git checkout main && git pull $RELEASE_PR_REMOTE main && git branch -D otelbot/prepare-next-version; git checkout -b otelbot/prepare-next-version && npm run prepare_release && git commit -am \"chore: prepare release\" && git push --set-upstream $RELEASE_PR_REMOTE --force otelbot/prepare-next-version)",
"github:create_or_update_release_pr": "npm run _github:update_release_branch && (gh pr create --repo open-telemetry/opentelemetry-js --title 'chore: prepare next release' --body '' || true) && npm run _github:update_release_pr_body"
},
"repository": "open-telemetry/opentelemetry-js",
"keywords": [
"opentelemetry",
"nodejs",
"profiling",
"metrics",
"stats"
],
"author": "OpenTelemetry Authors",
"license": "Apache-2.0",
"devDependencies": {
"@types/node": "18.19.130",
"@typescript-eslint/eslint-plugin": "8.41.0",
"@typescript-eslint/parser": "8.41.0",
"assert": "2.1.0",
"benchmark": "2.1.4",
"eslint": "8.57.1",
"eslint-config-prettier": "10.1.8",
"eslint-plugin-header": "3.1.1",
"eslint-plugin-n": "17.23.2",
"eslint-plugin-prettier": "5.5.5",
"gh-pages": "6.3.0",
"glob": "^13.0.0",
"karma": "6.4.4",
"karma-chrome-launcher": "3.1.0",
"karma-coverage": "2.2.1",
"karma-mocha": "2.0.1",
"karma-mocha-webworker": "1.3.0",
"karma-spec-reporter": "0.0.36",
"karma-webpack": "5.0.1",
"lerna": "9.0.4",
"linkinator": "7.5.3",
"markdownlint-cli2": "0.19.1",
"nx": "22.3.3",
"prettier": "3.6.2",
"process": "0.11.10",
"semver": "7.7.4",
"ts-node": "10.9.2",
"typedoc": "0.27.9",
"typedoc-plugin-missing-exports": "3.1.0",
"typescript": "5.0.4",
"util": "0.12.5"
},
"workspaces": [
"api",
"packages/*",
"semantic-conventions",
"e2e-tests",
"experimental/packages/*",
"experimental/examples/*",
"integration-tests/*",
"examples/otlp-exporter-node",
"examples/opentelemetry-web",
"examples/http",
"examples/https",
"examples/esm-http-ts"
]
}