-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: stop using npm workspaces (#279)
With this change there is now a single "packages/opentelemetry-node/package-lock.json" file that can unambiguously be used for a reproducible distribution (i.e. a Docker image or lambda layer zip file). This moves *away* from using npm workspaces. That's a bit of a bummer. However, AFAICT there is no way to use the package-lock.json when using npm workspaces to create a dist of just the opentelemetry-node package. The goal is to have a docker image build of this package, using the versions in package-lock for reproducible builds. In general a workspaces-package-lock could have a split of deps at the top-level and in packages/opentelemetry-node/node_modules that cannot be correctly resolved into a single node_modules tree without reproducing npm's internal layout logic. Also: * correct test versionRanges to use caret so '20.0.0' doesn't accidentally pass (20.0.0 >= 18.19.0, oops) * update dependabot config for the separate packages; deprecate update-otel-deps in the hopes that dependabot can handle otel updates now
- Loading branch information
Showing
23 changed files
with
20,770 additions
and
15,472 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,5 +25,5 @@ jobs: | |
with: | ||
node-version: 20 | ||
cache: 'npm' | ||
- run: npm ci | ||
- run: npm run ci-all | ||
- run: npm run lint |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
lockfile-version=2 | ||
prefer-dedupe=true |
Oops, something went wrong.