Skip to content
This repository was archived by the owner on Jan 28, 2026. It is now read-only.
Open
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
34 changes: 4 additions & 30 deletions .github/workflows/release-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,7 @@ env:
GITHUB_READ_PACKAGES_TOKEN: ${{ secrets.GITHUB_TOKEN }}

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '25.3.0'
- run: yarn install --frozen-lockfile
- run: yarn format
- run: yarn lint


test:
runs-on: ubuntu-latest
Expand All @@ -45,25 +36,11 @@ jobs:
- run: yarn install --frozen-lockfile
- run: yarn test:unit

build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '25.3.0'
- run: yarn install --frozen-lockfile
- run: yarn build:bundle

publish:
needs:
- lint
- test
- build
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v')
- test
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
permissions:
packages: write
contents: write
Expand All @@ -87,15 +64,12 @@ jobs:
run: |
cd packages/rum
# Update package name to scoped version
node -e "const pkg=require('./package.json'); pkg.name='@multiverse-io/browser-rum'; pkg.publishConfig={registry:'https://npm.pkg.github.com', access:'public'}; require('fs').writeFileSync('package.json', JSON.stringify(pkg, null, 2));"
node -e "const pkg=require('./package.json'); pkg.name='@multiverse-io/browser-rum'; pkg.private=false; pkg.publishConfig={registry:'https://npm.pkg.github.com', access:'public'}; require('fs').writeFileSync('package.json', JSON.stringify(pkg, null, 2));"

- name: Publish to GitHub Packages
run: |
cd packages/rum
# Create .npmrc with auth token
echo "@multiverse-io:registry=https://npm.pkg.github.com" > .npmrc
echo "//npm.pkg.github.com/:_authToken=$NODE_AUTH_TOKEN" >> .npmrc
npm publish --access public
npm publish --tag multiverse
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand Down
2 changes: 2 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
@multiverse-io:registry=https://npm.pkg.github.com
//npm.pkg.github.com/:_authToken=${GITHUB_TOKEN}
Copy link

@tony tony Jan 27, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't this this affects CI or not - but we may want to add an npmScopes for .yarnrc.yml:

npmScopes:
  multiverse-io:
    npmAlwaysAuth: true
    npmAuthToken: '${GITHUB_READ_PACKAGES_TOKEN}'
    npmRegistryServer: 'https://npm.pkg.github.com'
    npmPublishRegistry: 'https://npm.pkg.github.com'

FYI I use GITHUB_READ_PACKAGES_TOKEN as a pattern, see:

2 changes: 1 addition & 1 deletion developer-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
"dependencies": {
"@datadog/browser-core": "workspace:*",
"@datadog/browser-logs": "workspace:*",
"@datadog/browser-rum": "workspace:*",
"@mantine/core": "8.3.12",
"@mantine/hooks": "8.3.12",
"@multiverse-io/browser-rum": "workspace:*",
"@tabler/icons-react": "3.36.1",
"clsx": "2.1.1",
"react": "19.2.3",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ describe('startRUMInternalContext', () => {
})

afterEach(() => {
delete window.DD_RUM
delete window.ATLAS_SDK_DD_RUM
delete window.MV_SDK_ATLAS_SDK_DD_RUM_SYNTHETICS
})

Expand Down
6 changes: 3 additions & 3 deletions packages/rum/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@datadog/browser-rum",
"version": "6.25.3",
"name": "@multiverse-io/browser-rum",
"version": "6.25.3-multiverse.2",
"license": "Apache-2.0",
"main": "cjs/entries/main.js",
"module": "esm/entries/main.js",
Expand All @@ -23,7 +23,7 @@
},
"repository": {
"type": "git",
"url": "https://github.com/DataDog/browser-sdk.git",
"url": "https://github.com/multiverse-io/browser-sdk.git",
"directory": "packages/rum"
},
"devDependencies": {
Expand Down
34 changes: 17 additions & 17 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -368,31 +368,15 @@ __metadata:
languageName: unknown
linkType: soft

"@datadog/browser-rum@workspace:*, @datadog/browser-rum@workspace:packages/rum":
version: 0.0.0-use.local
resolution: "@datadog/browser-rum@workspace:packages/rum"
dependencies:
"@datadog/browser-core": "npm:6.25.3"
"@datadog/browser-rum-core": "npm:6.25.3"
"@types/pako": "npm:2.0.4"
pako: "npm:2.1.0"
peerDependencies:
"@datadog/browser-logs": 6.25.3
peerDependenciesMeta:
"@datadog/browser-logs":
optional: true
languageName: unknown
linkType: soft

"@datadog/browser-sdk-developer-extension@workspace:developer-extension":
version: 0.0.0-use.local
resolution: "@datadog/browser-sdk-developer-extension@workspace:developer-extension"
dependencies:
"@datadog/browser-core": "workspace:*"
"@datadog/browser-logs": "workspace:*"
"@datadog/browser-rum": "workspace:*"
"@mantine/core": "npm:8.3.12"
"@mantine/hooks": "npm:8.3.12"
"@multiverse-io/browser-rum": "workspace:*"
"@tabler/icons-react": "npm:3.36.1"
"@types/chrome": "npm:0.1.33"
"@types/react": "npm:19.2.8"
Expand Down Expand Up @@ -1442,6 +1426,22 @@ __metadata:
languageName: node
linkType: hard

"@multiverse-io/browser-rum@workspace:*, @multiverse-io/browser-rum@workspace:packages/rum":
version: 0.0.0-use.local
resolution: "@multiverse-io/browser-rum@workspace:packages/rum"
dependencies:
"@datadog/browser-core": "npm:6.25.3"
"@datadog/browser-rum-core": "npm:6.25.3"
"@types/pako": "npm:2.0.4"
pako: "npm:2.1.0"
peerDependencies:
"@datadog/browser-logs": 6.25.3
peerDependenciesMeta:
"@datadog/browser-logs":
optional: true
languageName: unknown
linkType: soft

"@napi-rs/wasm-runtime@npm:0.2.4":
version: 0.2.4
resolution: "@napi-rs/wasm-runtime@npm:0.2.4"
Expand Down
Loading