Skip to content

Commit 1718ee8

Browse files
authored
version 0.1.1, release fixes (#159)
- limit files included in the published package (no need to publish docs and tests) - fix release.yml workflow to setup npm login
1 parent b7103d5 commit 1718ee8

File tree

4 files changed

+19
-2
lines changed

4 files changed

+19
-2
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424
- uses: actions/setup-node@v4
2525
with:
2626
node-version: 'v18.20.2'
27+
registry-url: 'https://registry.npmjs.org'
2728

2829
- run: npm ci --ignore-scripts
2930

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/opentelemetry-node/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44

55
(nothing yet)
66

7+
## v0.1.1
8+
9+
- Trim files included in published npm package.
10+
711
## v0.1.0
812

913
The first release of the Elastic OpenTelemetry Node.js distribution.

packages/opentelemetry-node/package.json

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@elastic/opentelemetry-node",
3-
"version": "0.1.0",
3+
"version": "0.1.1",
44
"type": "commonjs",
55
"description": "Elastic OpenTelemetry distribution for Node.js",
66
"publishConfig": {
@@ -26,6 +26,18 @@
2626
"engines": {
2727
"node": ">=14"
2828
},
29+
"files": [
30+
"lib",
31+
"types",
32+
"CHANGELOG.md",
33+
"LICENSE",
34+
"NOTICE.md",
35+
"README.md",
36+
"hook.mjs",
37+
"import.mjs",
38+
"package.json",
39+
"require.js"
40+
],
2941
"scripts": {
3042
"example": "cd ../../examples && node -r @elastic/opentelemetry-node simple-http-request.js",
3143
"lint": "npm run lint:eslint && npm run lint:types && npm run lint:deps && npm run lint:license-files && npm run lint:changelog",

0 commit comments

Comments
 (0)