Skip to content

Commit

Permalink
feat: keep only the top design and base decorators
Browse files Browse the repository at this point in the history
  • Loading branch information
ChoGathK committed Jul 6, 2022
1 parent bbaae67 commit 37a1c3e
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 33 deletions.
15 changes: 4 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: "release"

on:
push:
branches: [master]
branches: [beta, alpha, master]

jobs:
check_and_test:
Expand All @@ -14,16 +14,9 @@ jobs:
secrets:
CODE_COV_CI_TOKEN: ${{ secrets.CODECOV_CI_TOKEN_BY_CORE }}

publish_package:
needs: check_and_test
uses: vodyani/workflows/.github/workflows/publish-npm-package.yml@master
secrets:
NPM_CI_TOKEN: ${{ secrets.NPM_CI_TOKEN }}
with:
enable_build: true

publish_release:
needs: [publish_codecov, publish_package]
uses: vodyani/workflows/.github/workflows/publish-release.yml@master
needs: [publish_codecov]
uses: vodyani/workflows/.github/workflows/publish-release-v2.yml@master
secrets:
NPM_CI_TOKEN: ${{ secrets.NPM_CI_TOKEN }}
GITHUB_CI_TOKEN: ${{ secrets.GITHUB_TOKEN }}
9 changes: 2 additions & 7 deletions README.MD
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
# Vodyani core

*๐Ÿ‘ฉ๐Ÿปโ€๐Ÿš€ "core" is the core package of the Vodyani, providing easy-to-use tool functions, AOP components and top-level design.*
*๐Ÿ‘ฉ๐Ÿปโ€๐Ÿš€ "core" is the core package of the Vodyani, providing top-level design.*

[![Npm](https://img.shields.io/npm/v/@vodyani/core)](https://www.npmjs.com/package/@vodyani/core)
[![Npm](https://img.shields.io/npm/dm/@vodyani/core)](https://www.npmjs.com/package/@vodyani/core)
[![License](https://img.shields.io/github/license/vodyani/core)](LICENSE)
![Workflow](https://github.com/vodyani/core/actions/workflows/release.yml/badge.svg)
[![codecov](https://codecov.io/gh/vodyani/core/branch/main/graph/badge.svg?token=YHBHSZH5PB)](https://codecov.io/gh/vodyani/core)
[![Known Vulnerabilities](https://snyk.io/test/github/vodyani/core/badge.svg?targetFile=package.json)](https://snyk.io/test/github/vodyani/core?targetFile=package.json)
[![semantic-release: angular](https://img.shields.io/badge/semantic--release-angular-e10079?logo=semantic-release)](https://github.com/semantic-release/semantic-release)

## Installation

Expand All @@ -22,13 +23,7 @@ npm install @vodyani/core

## Dependencies

- [autobind-decorator](https://github.com/andreypopp/autobind-decorator) `v2`
- [class-transformer](https://github.com/typestack/class-transformer) `v0.5`
- [class-validator](https://github.com/typestack/class-validator) `v0.13`
- [fast-safe-stringify](https://github.com/davidmarkclements/fast-safe-stringify) `v2`
- [nestjs](https://github.com/nestjs) `v8`
- [lodash](https://github.com/lodash/lodash) `v4`
- [rxjs](https://github.com/ReactiveX/rxjs) `v7`

## License

Expand Down
27 changes: 12 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,17 @@
"license": "MIT",
"version": "0.3.6-beta.0",
"author": "ChoGathK",
"description": "๐Ÿ‘ฉ๐Ÿปโ€๐Ÿš€ providing easy-to-use tool functions, AOP components and top-level design.",
"description": "๐Ÿ‘ฉ๐Ÿปโ€๐Ÿš€ core is the core package of the Vodyani, providing top-level design.",
"homepage": "https://github.com/vodyani/core#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/vodyani/core.git"
},
"keywords": [
"npm-package",
"vodyani",
"nodejs",
"jest",
"nestjs",
"javascript",
"typescript",
"npm-package"
"core"
],
"bugs": {
"url": "https://github.com/vodyani/core/issues"
Expand All @@ -29,27 +26,27 @@
],
"main": "dist/index.js",
"scripts": {
"init": "npm i && npm i @vodyani/eslint-config -D && npx husky install",
"build": "rm -rf dist && tsc",
"test": "jest",
"test:coverage": "jest --coverage",
"lint": "eslint ./src ./test && tsc",
"lint:fix": "eslint --fix --ext .ts src/ test/",
"lint:html-report": "eslint ./src ./test -f html -o eslint-report.html",
"lint:json-report": "eslint ./src ./test -f json -o eslint-report.json",
"release": "npm run release:semantic-release",
"release:beta": "standard-version --prerelease beta",
"release:alpha": "standard-version --prerelease alpha",
"release:semantic-release": "dotenv -c -- semantic-release"
"semantic-release": "dotenv -c -- semantic-release",
"release": "standard-version && npm run semantic-release",
"release:beta": "standard-version --prerelease beta && npm run semantic-release",
"release:alpha": "standard-version --prerelease alpha && npm run semantic-release",
"init": "npm i && npm i @vodyani/eslint-config -D && npx husky install",
"build": "rm -rf dist && tsc"
},
"eslintConfig": {
"extends": "@vodyani"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"eslintConfig": {
"extends": "@vodyani"
},
"release": {
"branches": [
{
Expand Down

0 comments on commit 37a1c3e

Please sign in to comment.