Skip to content

Commit 8d21a94

Browse files
authored
Merge pull request #21 from trojs/feature/trojs
Move to TroJS repo
2 parents 38862e6 + 3b08ef6 commit 8d21a94

File tree

5 files changed

+1591
-731
lines changed

5 files changed

+1591
-731
lines changed

.github/workflows/sonarcloud.yml

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: SonarCloud
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
8+
runs-on: ubuntu-latest
9+
10+
strategy:
11+
matrix:
12+
node-version: [20.x]
13+
14+
steps:
15+
- uses: actions/checkout@v4
16+
- name: Use Node.js ${{ matrix.node-version }}
17+
uses: actions/setup-node@v4
18+
with:
19+
node-version: ${{ matrix.node-version }}
20+
- name: npm install, lint, and test
21+
run: |
22+
npm ci
23+
npm run lint
24+
npm test
25+
env:
26+
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
27+
CI: true
28+
- name: SonarCloud Scan
29+
uses: sonarsource/sonarcloud-github-action@master
30+
env:
31+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
32+
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

README.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Mutate the value when set some data
22

3-
[![NPM version][npm-image]][npm-url] [![Coveralls Status][coveralls-image]][coveralls-url]
3+
[![NPM version][npm-image]][npm-url]
44

55
With this package you can define some setters that are optional.
66
So it change the value for the defined setters, but if you don't pass the key, it doesnt set the key.
@@ -71,5 +71,3 @@ result.hydrate({ test: 'another text'})
7171

7272
[npm-url]: https://www.npmjs.com/package/@trojs/mutator
7373
[npm-image]: https://img.shields.io/npm/v/@trojs/mutator.svg
74-
[coveralls-url]: https://coveralls.io/r/hckrnews/mutator
75-
[coveralls-image]: https://img.shields.io/coveralls/hckrnews/mutator/main.svg

0 commit comments

Comments
 (0)