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

Move to TroJS repo #21

Merged
merged 3 commits into from
May 31, 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
32 changes: 32 additions & 0 deletions .github/workflows/sonarcloud.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: SonarCloud

on: [push]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [20.x]

steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: npm install, lint, and test
run: |
npm ci
npm run lint
npm test
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
CI: true
- name: SonarCloud Scan
uses: sonarsource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Mutate the value when set some data

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

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

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