-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: scripts to bump otel-web + session-recorder versions; add `vers…
…ion` script command (#155) * feat: script to update version (otel-web) * feat: script to update version (session-recorder) * feat: add version script * docs: add changeset
- Loading branch information
Showing
8 changed files
with
42 additions
and
34 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
'@hyperdx/otel-web-session-recorder': patch | ||
'@hyperdx/otel-web': patch | ||
'@hyperdx/browser': patch | ||
--- | ||
|
||
feat: scripts to bump otel-web + session-recorder versions |
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,14 @@ | ||
import { readFileSync, writeFileSync } from 'fs'; | ||
import { resolve } from 'path'; | ||
|
||
// This script is ran when the root package is updated (which happens before child packages) | ||
const packageJsonUrl = resolve(process.cwd(), 'package.json'); | ||
const packageJson = JSON.parse(readFileSync(packageJsonUrl)); | ||
|
||
const content = ` | ||
// this is an autogenerated file, see scripts/version-update.js | ||
export const VERSION = '${packageJson.version}'; | ||
`; | ||
|
||
const fileUrl = resolve(process.cwd(), 'src', 'version.ts'); | ||
writeFileSync(fileUrl, content); |
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 |
---|---|---|
@@ -1,18 +1,2 @@ | ||
/* | ||
Copyright 2023 Splunk Inc. | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
*/ | ||
|
||
// this is an autogenerated file, see scripts/version-update.js | ||
export const VERSION = '0.16.2-20'; | ||
export const VERSION = '0.16.2-next.1'; |
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,14 @@ | ||
import { readFileSync, writeFileSync } from 'fs'; | ||
import { resolve } from 'path'; | ||
|
||
// This script is ran when the root package is updated (which happens before child packages) | ||
const packageJsonUrl = resolve(process.cwd(), 'package.json'); | ||
const packageJson = JSON.parse(readFileSync(packageJsonUrl)); | ||
|
||
const content = ` | ||
// this is an autogenerated file, see scripts/version-update.js | ||
export const VERSION = '${packageJson.version}'; | ||
`; | ||
|
||
const fileUrl = resolve(process.cwd(), 'src', 'version.ts'); | ||
writeFileSync(fileUrl, content); |
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 |
---|---|---|
@@ -1,18 +1,2 @@ | ||
/* | ||
Copyright 2023 Splunk Inc. | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
*/ | ||
|
||
// this is an autogenerated file, see scripts/version-update.js | ||
export const VERSION = '0.16.2-20'; | ||
export const VERSION = '0.16.2-next.0'; |