Skip to content
This repository has been archived by the owner on Aug 4, 2022. It is now read-only.

Commit

Permalink
Merge pull request #14 from secure-rm/develop
Browse files Browse the repository at this point in the history
v4.0.0
  • Loading branch information
SteelAlloy committed Oct 27, 2019
2 parents 77592a4 + ed3cea2 commit c5ce994
Show file tree
Hide file tree
Showing 29 changed files with 1,457 additions and 1,022 deletions.
13 changes: 13 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Lines starting with '#' are comments.
# Each line is a file pattern followed by one or more owners.

# These owners will be the default owners for everything in the repo.
* @oganexon

# Order is important. The last matching pattern has the most precedence.
# So if a pull request only touches javascript files, only these owners
# will be requested to review.
# *.js @octocat @github/js

# You can also use email addresses if you prefer.
# docs/* docs@example.com
41 changes: 35 additions & 6 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,44 @@ jobs:

steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node_version }}
- name: Setup Node.js ${{ matrix.node_version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node_version }}

- name: Installing
run: npm install
env:
CI: true

- name: Linting
run: npm run lint

- name: Building
run: npm run build

- name: Testing
run: npm test

coverage:
name: Code coverage
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@master

- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: 12

- name: npm install, build and test
- name: Generate coverage report
run: |
npm install
npm run build --if-present
npm test
env:
CI: true
npm run build
npm run coverage
- name: Upload coverage to Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.github_token }}
6 changes: 3 additions & 3 deletions .github/workflows/npmpublish.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Node.js Package
name: Publish NPM Package

on:
release:
Expand All @@ -13,7 +13,7 @@ jobs:
with:
node-version: 12
- run: npm ci
- run: npm test
- run: npm run build

publish-npm:
needs: build
Expand All @@ -27,7 +27,7 @@ jobs:
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

publish-gpr:
needs: build
Expand Down
32 changes: 0 additions & 32 deletions .travis.yml

This file was deleted.

17 changes: 16 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed
### Security -->

## [Unreleased]
<!-- ## [Unreleased] -->

## [4.0.0] - 2019-10-27

### Added
- Custom directory removal.
- More tests.
- Wiki.
- Preview standard.

### Changed
- Repository location.
- New custom standard syntax.

### Security
- Libraries update.

## [3.0.3] - 2019-08-30

Expand Down
28 changes: 11 additions & 17 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
<img src="https://img.shields.io/npm/collaborators/secure-rm?style=for-the-badge" alt="npm collaborators">
</p>


# Contributing / Developing

Contributions are welcome. Fork this repository and issue a pull request with your changes.
Expand All @@ -25,32 +24,22 @@ You'll need to clone the repository and install the required packages.
Just execute these commands:

```shell
git clone https://github.com/oganexon/secure-rm.git
git clone https://github.com/secure-rm/core.git
cd ./secure-rm/
npm install
```
To invoke the command line tool, run:
```shell
npm start -- [ARGS]
```

If you want to install all the tools, juste run:
### Building

```shell
npm run dev-setup
npm run build
```

<!--### Deploying / Publishing
give instructions on how to build and release a new version
In case there's some step you have to take that publishes this project to a
server, this is the right time to state it.
If you want to start compilation in watch mode:
```shell
packagemanager deploy your-project -s server.com -u username -p password
npm run watch-ts
```

And again you'd need to tell what the previous code actually does.
-->

### Versioning

We use [SemVer](http://semver.org/) for versioning. For the versions available, see the [link to tags on this repository](/tags).
Expand All @@ -75,3 +64,8 @@ You can install a [plugin](https://standardjs.com/awesome.html#editor-plugins) f
### Pull request

Please follow the [pull request template](./github/PULL_REQUEST_TEMPLATE/pull_request_template.md).

### Deploying / Publishing

Submit a pull request after running `npm run build` to ensure it runs correctly.
The package is automatically published to npm when a new release is published on github.
Loading

0 comments on commit c5ce994

Please sign in to comment.