Skip to content

Commit da10f69

Browse files
authored
chore: README and CHANGELOG (#1)
1 parent fa02f7c commit da10f69

File tree

8 files changed

+465
-370
lines changed

8 files changed

+465
-370
lines changed

.craft.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ targets:
55
- name: npm
66
- name: registry
77
sdks:
8-
npm:@sentry-internal/profiling-node-binaries:
8+
npm:@sentry-internal/node-cpu-profiler:
99
- name: github

.github/workflows/release.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: "Action: Prepare Release"
2+
on:
3+
workflow_dispatch:
4+
inputs:
5+
version:
6+
description: Version to release
7+
required: true
8+
force:
9+
description: Force a release even when there are release-blockers (optional)
10+
required: false
11+
merge_target:
12+
description: Target branch to merge into. Uses the default branch as a fallback (optional)
13+
required: false
14+
default: master
15+
jobs:
16+
release:
17+
runs-on: ubuntu-20.04
18+
name: 'Release a new version'
19+
steps:
20+
- name: Get auth token
21+
id: token
22+
uses: actions/create-github-app-token@5d869da34e18e7287c1daad50e0b8ea0f506ce69 # v1.11.0
23+
with:
24+
app-id: ${{ vars.SENTRY_RELEASE_BOT_CLIENT_ID }}
25+
private-key: ${{ secrets.SENTRY_RELEASE_BOT_PRIVATE_KEY }}
26+
- uses: actions/checkout@v4
27+
with:
28+
token: ${{ steps.token.outputs.token }}
29+
fetch-depth: 0
30+
- name: Prepare release
31+
uses: getsentry/action-prepare-release@v1
32+
env:
33+
GITHUB_TOKEN: ${{ steps.token.outputs.token }}
34+
with:
35+
version: ${{ github.event.inputs.version }}
36+
force: ${{ github.event.inputs.force }}
37+
merge_target: ${{ github.event.inputs.merge_target }}
38+
craft_config_from_merge_target: true

CHANGELOG

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
1-
## This is an old changelog.
1+
## 2.0.0
22

3-
The profiling-node package has since been migrated to sentry-javascript monorepo. Any changes to this package made after
4-
the migration are now tracked in the root CHANGELOG.md.
3+
The profiling-node binaries were moved out of the JavaScript monorepo and into their own repository.
4+
5+
## Repository Change.
6+
7+
The profiling-node package was migrated to sentry-javascript monorepo.
58

69
## 1.3.3
710

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<p align="center">
2+
<a href="https://sentry.io/?utm_source=github&utm_medium=logo" target="_blank">
3+
<img src="https://sentry-brand.storage.googleapis.com/sentry-wordmark-dark-280x84.png" alt="Sentry" width="280" height="84">
4+
</a>
5+
</p>
6+
7+
# Sentry JavaScript Node CPU Profiler
8+
9+
This is an internal package that contains the CPU profiler and native binaries
10+
used by `@sentry/profiling-node`.

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@sentry-internal/profiling-node-binaries",
2+
"name": "@sentry-internal/node-cpu-profiler",
33
"version": "2.0.0",
44
"description": "Binaries for Sentry Node Profiling",
55
"repository": "git://github.com/getsentry/sentry-javascript-profiling-node-binaries.git",
@@ -40,8 +40,7 @@
4040
"build:bindings:arm64": "node-gyp build --arch=arm64 && node scripts/copy-target.js",
4141
"build:dev": "yarn clean && yarn build:bindings:configure && yarn build",
4242
"build:tarball": "npm pack",
43-
"pretest": "node ./test/prepare.js",
44-
"test": "vitest run --testTimeout 60000"
43+
"test": "node ./test/prepare.js && vitest run --testTimeout 60000"
4544
},
4645
"dependencies": {
4746
"detect-libc": "^2.0.2",

0 commit comments

Comments
 (0)