Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(release): pulling release/2.0.8 into master #145

Merged
merged 6 commits into from
Aug 14, 2024
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
1 change: 0 additions & 1 deletion .github/workflows/draft-new-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,3 @@ jobs:
github_token: ${{ secrets.PAT }}
pr_title: 'chore(release): pulling ${{ steps.create-release.outputs.branch_name }} into master'
pr_body: ':crown: *An automated PR*'
pr_reviewer: 'bardisg,MoumitaM'
1 change: 0 additions & 1 deletion .github/workflows/publish-new-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ jobs:
github_token: ${{ secrets.PAT }}
pr_title: 'chore(release): pulling master into develop post release v${{ steps.extract-version.outputs.release_version }}'
pr_body: ':crown: *An automated PR*'
pr_reviewer: 'bardisg,MoumitaM'

- name: Delete hotfix release branch
uses: koj-co/delete-merged-action@master
Expand Down
11 changes: 11 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,19 @@ jobs:
npm run test:ci
npm run check:lint:ci

- name: Fix filesystem paths in generated reports
run: |
./scripts/fix-reports-path-in-github-runner.sh

- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
files: ./coverage/clover.xml
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ examples/**/package-lock.json
.idea/
.DS_Store
.eslintcache
.env
.env
reports/
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

### [2.0.8](https://github.com/rudderlabs/rudder-sdk-node/compare/v2.0.7...v2.0.8) (2024-08-14)


### Bug Fixes

* upgrade axios to a safe version ([#143](https://github.com/rudderlabs/rudder-sdk-node/issues/143)) ([bba0cd4](https://github.com/rudderlabs/rudder-sdk-node/commit/bba0cd43c9b219fb7205395c364dd5c5242f6e7f))

### [2.0.7](https://github.com/rudderlabs/rudder-sdk-node/compare/v2.0.6...v2.0.7) (2024-01-29)


Expand Down
2 changes: 1 addition & 1 deletion CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1 +1 @@
* @MoumitaM @bardisg
* @MoumitaM @saikumarrs
4 changes: 3 additions & 1 deletion readme.md → README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
## [![Releases](https://img.shields.io/github/release/rudderlabs/rudder-sdk-node.svg)](https://github.com/rudderlabs/rudder-sdk-node/releases) [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=rudderlabs_rudder-sdk-node&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=rudderlabs_rudder-sdk-node) [![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=rudderlabs_rudder-sdk-node&metric=sqale_rating)](https://sonarcloud.io/summary/new_code?id=rudderlabs_rudder-sdk-node) [![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=rudderlabs_rudder-sdk-node&metric=reliability_rating)](https://sonarcloud.io/summary/new_code?id=rudderlabs_rudder-sdk-node) [![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=rudderlabs_rudder-sdk-node&metric=security_rating)](https://sonarcloud.io/summary/new_code?id=rudderlabs_rudder-sdk-node) [![Coverage](https://sonarcloud.io/api/project_badges/measure?project=rudderlabs_rudder-sdk-node&metric=coverage)](https://sonarcloud.io/summary/new_code?id=rudderlabs_rudder-sdk-node)

<p align="center">
<a href="https://rudderstack.com/">
<img src="https://user-images.githubusercontent.com/59817155/121357083-1c571300-c94f-11eb-8cc7-ce6df13855c9.png">
<img src="https://raw.githubusercontent.com/rudderlabs/rudder-sdk-js/develop/assets/rs-logo-full-light.jpg">
</a>
</p>

Expand Down
2 changes: 1 addition & 1 deletion examples/async-flush/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
"author": "",
"license": "ISC",
"dependencies": {
"@rudderstack/rudder-sdk-node": "^1.1.4"
"@rudderstack/rudder-sdk-node": "*"
}
}
42 changes: 23 additions & 19 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rudderstack/rudder-sdk-node",
"version": "2.0.7",
"version": "2.0.8",
"description": "Rudder Node SDK",
"main": "./cjs/index.js",
"module": "./esm/index.js",
Expand All @@ -26,8 +26,8 @@
"build": "babel src/index.js --out-dir dist",
"build:cjs": "tsc -p tsconfig.json --outDir ./dist/cjs --module commonjs",
"build:esm": "tsc -p tsconfig.json",
"test": "AVA_MODE_ON=true nyc --reporter=lcov --reporter=html --reporter=text ava --serial --verbose > coverage.lcov",
"test:ci": "AVA_MODE_ON=true nyc --reporter=lcov --reporter=html --reporter=text ava --serial --verbose > coverage.lcov",
"test": "AVA_MODE_ON=true nyc --reporter=lcov --reporter=html --reporter=text --reporter=text-summary ava --serial --verbose",
"test:ci": "AVA_MODE_ON=true nyc --reporter=lcov --reporter=text --reporter=text-summary --reporter=clover ava --serial --verbose",
"changelog": "auto-changelog -p -t keepachangelog -u true -l false --sort-commits date-desc ",
"generateHistory": "auto-changelog -p -r origin --tag-prefix v --tag-pattern 'v(1.0.(0|[1-9]d*)|1.1.[0-4]|2.(0|[1-9]d*).(0|[1-9]d*))' -l false -o HISTORY.md -t keepachangelog",
"check:lint": "eslint src",
Expand All @@ -49,7 +49,7 @@
"analytics"
],
"dependencies": {
"axios": "1.6.5",
"axios": "1.7.4",
"axios-retry": "3.7.0",
"component-type": "1.2.1",
"join-component": "1.1.0",
Expand Down
13 changes: 13 additions & 0 deletions scripts/fix-reports-path-in-github-runner.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/bash
# Path variables
defaultPrefixToReplace="/github/workspace"
defaultAbsolutePathPrefix="home/runner/work/rudder-sdk-node/rudder-sdk-node"
selfHostedAbsolutePathPrefix="runner/_work/rudder-sdk-node/rudder-sdk-node"
absolutePathPrefix="$defaultAbsolutePathPrefix"

# List of files to alter
echo "Replacing $absolutePathPrefix for reports"
sed -i "s+$absolutePathPrefix+$defaultPrefixToReplace+g" "coverage/lcov.info"
# For relative paths in lcov.info
sed -i "s+SF:$absolutePathPrefix/+SF:+g" "coverage/lcov.info"
sed -i "s+/$absolutePathPrefix+$defaultPrefixToReplace+g" "reports/eslint.json"
6 changes: 5 additions & 1 deletion sonar-project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,16 @@ sonar.qualitygate.wait=false
sonar.projectKey=rudderlabs_rudder-sdk-node
sonar.organization=rudderlabs
sonar.projectName=rudder-sdk-node
sonar.projectVersion=2.0.7
sonar.projectVersion=2.0.8

# Meta-data for the project
sonar.links.scm=https://github.com/rudderlabs/rudder-sdk-node
sonar.links.issue=https://github.com/rudderlabs/rudder-sdk-node/issues

# Path to reports
sonar.javascript.lcov.reportPaths=coverage/lcov.info
sonar.eslint.reportPaths=reports/eslint.json

# Path to sources
sonar.sources=src
sonar.inclusions=**/*.js
Expand Down
Loading