Skip to content

Commit

Permalink
style(*): fix formatting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
derevnjuk authored and Romakita committed Feb 14, 2022
1 parent 53cb356 commit c22a4a6
Show file tree
Hide file tree
Showing 639 changed files with 7,445 additions and 15,330 deletions.
6 changes: 2 additions & 4 deletions .github/ISSUE_TEMPLATE/01_bug-report.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,19 @@ about: Create a report to help us improve
title: "[BUG] Title"
labels: bug
assignees: Romakita

---

## Information

- **Version:** 5.x
- Packages:
- Packages:

A few sentences describing the overall goals of the issue.

## Example

```
```ts
import {} from "@tsed/common";
```

## Acceptance criteria
Expand Down
10 changes: 4 additions & 6 deletions .github/ISSUE_TEMPLATE/02_feature-request.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,23 @@
---
name: "\U0001F680 Feature request"
about: Suggest an idea for this project
title: ''
title: ""
labels: enhancement
assignees: Romakita

---

## Informations
## Information

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

```
```ts
import {} from "@tsed/common";
```


**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

Expand Down
5 changes: 2 additions & 3 deletions .github/ISSUE_TEMPLATE/04_say-thank-you.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
---
name: "❤️ Say thank you"
about: Tell us how you use Ts.ED & support our efforts in maintaining it
title: ''
labels: ''
title: ""
labels: ""
assignees: Romakita

---

# ❤️ I'm using Ts.ED
Expand Down
6 changes: 2 additions & 4 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ contact_links:
about: Open a discussion that can be followed by the whole community on Github!
- name: 💬 Community channel (Slack)
url: https://api.tsed.io/rest/slack/tsedio/tsed
about: Join our slack workspace to discuss directly wiht the team!
about: Join our slack workspace to discuss directly wiht the team!
- name: 💬 Community group (Gitter deprecated)
url: https://gitter.im/Tsed-io/Community
about: You want to ask a question or discuss with other community members


about: You want to ask a question or discuss with other community members
28 changes: 14 additions & 14 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ 16.x ]
node-version: [16.x]

steps:
- uses: actions/checkout@v2
Expand All @@ -29,14 +29,14 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
node-version: [ 14.x, 16.x ]
node-version: [14.x, 16.x]
exclude:
# - os: macos-latest
# node-version: 12.x
# - os: macos-latest
# node-version: 12.x
- os: macos-latest
node-version: 14.x
# - os: windows-latest
# node-version: 12.x
# - os: windows-latest
# node-version: 12.x
- os: windows-latest
node-version: 14.x

Expand All @@ -62,7 +62,7 @@ jobs:

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

steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -90,7 +90,7 @@ jobs:

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

steps:
- uses: actions/checkout@v2
Expand All @@ -107,7 +107,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ 16.x ]
node-version: [16.x]

steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -147,7 +147,7 @@ jobs:

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

steps:
- uses: actions/checkout@v2
Expand All @@ -171,12 +171,12 @@ jobs:

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

steps:
- uses: actions/checkout@v2
with:
ref: 'production'
ref: "production"
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
Expand All @@ -200,12 +200,12 @@ jobs:

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

steps:
- uses: actions/checkout@v2
with:
ref: 'production'
ref: "production"
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rebase.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ jobs:
- name: Automatic Rebase
uses: cirrus-actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4 changes: 2 additions & 2 deletions .github/workflows/website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ 14.x ]
node-version: [14.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
Expand All @@ -34,7 +34,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ 14.x ]
node-version: [14.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
Expand Down
2 changes: 1 addition & 1 deletion .mocharc.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
module.exports = require('@tsed/mocha-config')();
module.exports = require("@tsed/mocha-config")();
30 changes: 15 additions & 15 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,23 @@ race, religion, or sexual identity and orientation.
Examples of behavior that contributes to creating a positive
environment include:

* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members
- Using welcoming and inclusive language
- Being respectful of differing viewpoints and experiences
- Gracefully accepting constructive criticism
- Focusing on what is best for the community
- Showing empathy towards other community members

Examples of unacceptable behavior by participants include:

* The use of sexualized language or imagery and unwelcome sexual
attention or advances
* Trolling, insulting/derogatory comments, and personal or political
attacks
* Public or private harassment
* Publishing others' private information, such as a physical or
electronic address, without explicit permission
* Other conduct which could reasonably be considered inappropriate
in a professional setting
- The use of sexualized language or imagery and unwelcome sexual
attention or advances
- Trolling, insulting/derogatory comments, and personal or political
attacks
- Public or private harassment
- Publishing others' private information, such as a physical or
electronic address, without explicit permission
- Other conduct which could reasonably be considered inappropriate
in a professional setting

Project maintainers are responsible for clarifying the standards of
acceptable behavior and are expected to take appropriate and fair
Expand All @@ -53,7 +53,7 @@ at https://gitter.im/Tsed-io/community. All complaints will be
reviewed and investigated and will result in a response that is deemed
necessary and appropriate to the circumstances. The project team is
obligated to maintain confidentiality with regard to the reporter of
an incident. Further details of specific enforcement policies may be
an incident. Further details of specific enforcement policies may be
posted separately.

Project maintainers who do not follow or enforce the Code of Conduct
Expand Down
16 changes: 10 additions & 6 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Contributing
# Contributing

## Introduction

First, thank you for considering contributing to Ts.ED! It is people like you that make the open source community such a great community! 😊
Expand All @@ -23,15 +24,15 @@ Code review process
The bigger the pull request, the longer it will take to review and merge. Try to break down large pull requests in smaller chunks that are easier to review and merge. It is also always helpful to have some context for your pull request. What was the purpose? Why does it matter to you?

---

### WARNING

Ts.ED project uses [conventional commits](https://www.conventionalcommits.org/en/v1.0.0-beta.4/) as format commit message.

Release note and tagging version are based on the message commits.
If you don't follow the format, our CI won't be able to increment the version correctly and your feature won't be released on NPM.

To write your commit message, see [convention page here](https://www.conventionalcommits.org/en/v1.0.0-beta.4/)
---
## To write your commit message, see [convention page here](https://www.conventionalcommits.org/en/v1.0.0-beta.4/)

## Financial contributions

Expand All @@ -42,6 +43,7 @@ We also welcome financial contributions in full transparency on our open collect
If you have any questions, create an [issue](https://github.com/tsedio/tsed/issues) (protip: do a quick search first to see if someone else didn't ask the same question before!). You can also reach us at https://gitter.im/Tsed-io/community.

## How to work on Ts.ED

### Setup

Clone your fork of the repository
Expand All @@ -51,16 +53,18 @@ $ git clone https://github.com/YOUR_USERNAME/tsed.git
```

Install npm dependencies with yarn (not with NPM!):

```bash
yarn
```

> After installing dependencies, yarn/npm run the `postinstall` hook and mounted all packages with `npm link` (e.g. `yarn run repo:bootstrap`).
Compile TypeScript:

```bash
yarn build
// or
// or
npm run build
```

Expand Down Expand Up @@ -102,6 +106,7 @@ git commit -m "feat(domain): Your message"
```

Then:

```bash
npm run test
git fetch
Expand Down Expand Up @@ -143,18 +148,17 @@ yarn vuepress:serve
- Feel free to ask for help from other members of the Ts.ED team.

## Credits

### Contributors

<a href="https://github.com/tsedio/ts-express-decorators/graphs/contributors"><img src="https://opencollective.com/tsed/contributors.svg?width=890" /></a>


### Backers

Thank you to all our backers! 🙏 [[Become a backer](https://opencollective.com/tsed#backer)]

<a href="https://opencollective.com/tsed#backers" target="_blank"><img src="https://opencollective.com/tsed/backers.svg?width=890"></a>


### Sponsors

Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [[Become a sponsor](https://opencollective.com/tsed#sponsor)]
Expand Down
8 changes: 4 additions & 4 deletions PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
## Information

Type | Breaking change
---|---
Feature/Fix/Doc/Chore | Yes/No
| Type | Breaking change |
| --------------------- | --------------- |
| Feature/Fix/Doc/Chore | Yes/No |

****
---

<!--
## Usage example
Expand Down
12 changes: 6 additions & 6 deletions docs-references/.vuepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@ const settings = require("./config.base");

const conf = settings({
title: "Ts.ED API - A Node.js and TypeScript Framework on top of Express/Koa.js.",
description: "A Node.js and TypeScript Framework on top of Express/Koa.js. It provides a lot of decorators and guidelines to write your code.",
description:
"A Node.js and TypeScript Framework on top of Express/Koa.js. It provides a lot of decorators and guidelines to write your code.",
url: "https://api-docs.tsed.io",
base: "https://tsed.io",
api: require('../../docs/.vuepress/public/api.json'),
api: require("../../docs/.vuepress/public/api.json"),
apiRedirectUrl: "",
themeConfig: {
shortTitle: "Ts.ED API",
htmlTitle: "<strong class=\"font-medium\"><span class='text-blue'>Ts</span>.ED API</strong>",
algolia: false,

algolia: false
}
})
});

conf.themeConfig.locales["/"].otherTopics = []
conf.themeConfig.locales["/"].otherTopics = [];

module.exports = conf;
11 changes: 6 additions & 5 deletions docs-references/api.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
---
meta:
- name: description
content: Api Reference of Ts.ED. Use decorator to build your model and map data.
- name: keywords
content: api reference model decorators ts.ed express typescript node.js javascript jsonschema json mapper serialization deserialization
- name: description
content: Api Reference of Ts.ED. Use decorator to build your model and map data.
- name: keywords
content: api reference model decorators ts.ed express typescript node.js javascript jsonschema json mapper serialization deserialization
---

# Api Reference

<br />

<Api />
<Api />
Loading

0 comments on commit c22a4a6

Please sign in to comment.