Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .craft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ targets:
- name: npm
- name: registry
sdks:
npm:@sentry-internal/profiling-node-binaries:
npm:@sentry-internal/node-cpu-profiler:
- name: github
38 changes: 38 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: "Action: Prepare Release"
on:
workflow_dispatch:
inputs:
version:
description: Version to release
required: true
force:
description: Force a release even when there are release-blockers (optional)
required: false
merge_target:
description: Target branch to merge into. Uses the default branch as a fallback (optional)
required: false
default: master
jobs:
release:
runs-on: ubuntu-20.04
name: 'Release a new version'
steps:
- name: Get auth token
id: token
uses: actions/create-github-app-token@5d869da34e18e7287c1daad50e0b8ea0f506ce69 # v1.11.0
with:
app-id: ${{ vars.SENTRY_RELEASE_BOT_CLIENT_ID }}
private-key: ${{ secrets.SENTRY_RELEASE_BOT_PRIVATE_KEY }}
- uses: actions/checkout@v4
with:
token: ${{ steps.token.outputs.token }}
fetch-depth: 0
- name: Prepare release
uses: getsentry/action-prepare-release@v1
env:
GITHUB_TOKEN: ${{ steps.token.outputs.token }}
with:
version: ${{ github.event.inputs.version }}
force: ${{ github.event.inputs.force }}
merge_target: ${{ github.event.inputs.merge_target }}
craft_config_from_merge_target: true
9 changes: 6 additions & 3 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
## This is an old changelog.
## 2.0.0

The profiling-node package has since been migrated to sentry-javascript monorepo. Any changes to this package made after
the migration are now tracked in the root CHANGELOG.md.
The profiling-node binaries were moved out of the JavaScript monorepo and into their own repository.

## Repository Change.

The profiling-node package was migrated to sentry-javascript monorepo.

## 1.3.3

Expand Down
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<p align="center">
<a href="https://sentry.io/?utm_source=github&utm_medium=logo" target="_blank">
<img src="https://sentry-brand.storage.googleapis.com/sentry-wordmark-dark-280x84.png" alt="Sentry" width="280" height="84">
</a>
</p>

# Sentry JavaScript Node CPU Profiler

This is an internal package that contains the CPU profiler and native binaries
used by `@sentry/profiling-node`.
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@sentry-internal/profiling-node-binaries",
"name": "@sentry-internal/node-cpu-profiler",
"version": "2.0.0",
"description": "Binaries for Sentry Node Profiling",
"repository": "git://github.com/getsentry/sentry-javascript-profiling-node-binaries.git",
Expand Down Expand Up @@ -40,8 +40,7 @@
"build:bindings:arm64": "node-gyp build --arch=arm64 && node scripts/copy-target.js",
"build:dev": "yarn clean && yarn build:bindings:configure && yarn build",
"build:tarball": "npm pack",
"pretest": "node ./test/prepare.js",
"test": "vitest run --testTimeout 60000"
"test": "node ./test/prepare.js && vitest run --testTimeout 60000"
},
"dependencies": {
"detect-libc": "^2.0.2",
Expand Down
Loading
Loading