Skip to content

Commit 6ba0df1

Browse files
committed
Merge branch 'pbsa-develop' into 'master'
Release candidate 0.8.0 See merge request PBSA/tools-libs/peerplaysjs-lib!74
2 parents 8b0affa + b20ffdd commit 6ba0df1

File tree

254 files changed

+19068
-62587
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

254 files changed

+19068
-62587
lines changed

.babelrc

Lines changed: 0 additions & 12 deletions
This file was deleted.

.eslintrc

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"plugins": ["prettier"],
3-
"extends": ["eslint:recommended"],
3+
"extends": ["eslint:recommended", "prettier"],
4+
"parser": "@babel/eslint-parser",
45
"parserOptions": {
56
"sourceType": "module",
67
"ecmaVersion": 2017
@@ -46,10 +47,11 @@
4647
{ "blankLine": "always", "prev": "*", "next": "block-like" },
4748
{ "blankLine": "always", "prev": "block-like", "next": "*" }
4849
],
49-
"max-len": ["error", { "code": 100 }],
50+
//"max-len": ["error", { "code": 100, "ignoreComments": true, "ignoreTrailingComments": true, "ignoreUrls": true }],
5051
"implicit-arrow-linebreak": ["error", "beside"],
5152
"no-control-regex": "off",
52-
"arrow-parens": ["error", "always"]
53+
"arrow-parens": ["error", "always"],
54+
"no-func-assign": "off"
5355
},
5456
"settings": {
5557
"import/resolver": "webpack"

.gitignore

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,26 @@
1+
# IDE
2+
/.vscode
3+
4+
5+
# dependencies
6+
/node_modules
7+
/.pnp
8+
/.dccache
9+
.pnp.js
10+
.env
111
.npmrc
212
npm-debug.log
313
node_modules
14+
15+
# testing
16+
/coverage
17+
18+
# production
19+
/build
20+
/dist
21+
22+
23+
24+
25+
26+

.gitlab-ci.yml

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
workflow:
2+
rules:
3+
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
4+
- if: $CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS
5+
when: never
6+
- if: $CI_COMMIT_BRANCH
7+
8+
include:
9+
- template: Jobs/Dependency-Scanning.latest.gitlab-ci.yml
10+
- template: Jobs/License-Scanning.latest.gitlab-ci.yml
11+
- template: Jobs/SAST.latest.gitlab-ci.yml
12+
- template: Jobs/Secret-Detection.latest.gitlab-ci.yml
13+
14+
stages:
15+
- build
16+
- test
17+
- publish
18+
19+
build:
20+
image: node:16
21+
stage: build
22+
script:
23+
- npm install
24+
- npm run build
25+
artifacts:
26+
untracked: false
27+
when: on_success
28+
expire_in: 30 days
29+
paths:
30+
- build/
31+
tags:
32+
- docker
33+
34+
deploy:
35+
image: node:16
36+
stage: publish
37+
script:
38+
- echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc
39+
- npm publish
40+
rules:
41+
- if: $CI_COMMIT_BRANCH == "master"
42+
when: manual
43+
44+
45+
variables:
46+
SONAR_USER_HOME: "${CI_PROJECT_DIR}/.sonar" # Defines the location of the analysis task cache
47+
GIT_DEPTH: "0" # Tells git to fetch all the branches of the project, required by the analysis task
48+
sonarcloud-check:
49+
image:
50+
name: sonarsource/sonar-scanner-cli:latest
51+
entrypoint: [""]
52+
cache:
53+
key: "${CI_JOB_NAME}"
54+
paths:
55+
- .sonar/cache
56+
script:
57+
- sonar-scanner
58+
only:
59+
- branches
60+
- merge_requests

.husky/commit-msg

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/env sh
2+
. "$(dirname -- "$0")/_/husky.sh"
3+
4+
.git/hooks/commit-msg $1

.husky/pre-commit

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/env sh
2+
. "$(dirname -- "$0")/_/husky.sh"
3+
4+
npm run pre-commit

.scannerwork/.sonar_lock

Whitespace-only changes.

.scannerwork/report-task.txt

Lines changed: 0 additions & 7 deletions
This file was deleted.

.sonarcloud.properties

Lines changed: 0 additions & 32 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,16 @@
22

33
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.
44

5-
### [0.6.5](https://github.com/peerplays-network/peerplaysjs-lib/compare/v0.6.0...v0.6.5) (2019-12-24)
5+
### [0.8.0](https://github.com/peerplays-network/peerplaysjs-lib/compare/v0.6.4...v0.8.0)(2022-21-16)
66

7+
### Features
8+
9+
- Support for NFTs
710

811
### Bug Fixes
12+
* add support for node 16 ([7d776a3d](https://gitlab.com/PBSA/tools-libs/peerplaysjs-lib/-/commit/7d776a3d013ffd2c363d98951cc819af025a23b0))
13+
* fixed vulnerabilities and various secuirty issues ([a993eef7](https://gitlab.com/PBSA/tools-libs/peerplaysjs-lib/-/commit/a993eef7c32918c09bc2cdaabfe1a2a7c1a3eab2))
914

10-
* remove vesting_balance_type from vesting_balance_withdraw_operation ([1ba7f2f](https://github.com/peerplays-network/peerplaysjs-lib/commit/1ba7f2f810bbf48c6cca88a4cd4869ed7d034c6b))
1115

1216
### [0.6.4](https://github.com/peerplays-network/peerplaysjs-lib/compare/v0.6.2...v0.6.4) (2019-12-16)
1317

0 commit comments

Comments
 (0)