Skip to content

Commit

Permalink
fix: fix @tsed/logger version on each package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
Romakita committed Dec 10, 2024
1 parent 5702776 commit 72ba378
Show file tree
Hide file tree
Showing 81 changed files with 427 additions and 467 deletions.
4 changes: 2 additions & 2 deletions .gflowrc
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"flow": "gflow",
"remote": "origin",
"develop": "production",
"production": "production",
"develop": "6.x",
"production": "6.x",
"ignores": [],
"syncAfterFinish": false,
"postFinish": "",
Expand Down
85 changes: 38 additions & 47 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ jobs:
node-version: [16.x]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
Expand All @@ -32,24 +32,15 @@ jobs:

strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
node-version: [14.x, 16.x, 18.x]
exclude:
- os: macos-latest
node-version: 18.x
- os: macos-latest
node-version: 14.x
- os: windows-latest
node-version: 18.x
- os: windows-latest
node-version: 14.x
os: [ubuntu-latest]
node-version: [16.x]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
Expand All @@ -67,17 +58,17 @@ jobs:
node-version: [16.x]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: yarn install --frozen-lockfile --network-timeout 500000 --ignore-engines
- name: Run test
run: yarn test:core --since origin/production
run: yarn test:core --since origin/6.x

test-specs:
runs-on: ubuntu-latest
Expand All @@ -87,17 +78,17 @@ jobs:
node-version: [16.x]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: yarn install --frozen-lockfile --network-timeout 500000 --ignore-engines
- name: Run test
run: yarn test:specs --since origin/production
run: yarn test:specs --since origin/6.x

test-platform:
runs-on: ubuntu-latest
Expand All @@ -107,17 +98,17 @@ jobs:
node-version: [16.x]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: yarn install --frozen-lockfile --network-timeout 500000 --ignore-engines
- name: Run test
run: yarn test:platform --since origin/production
run: yarn test:platform --since origin/6.x

test-orm:
runs-on: ubuntu-latest
Expand All @@ -127,17 +118,17 @@ jobs:
node-version: [16.x]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: yarn install --frozen-lockfile --network-timeout 500000 --ignore-engines
- name: Run test
run: yarn test:orm --since origin/production
run: yarn test:orm --since origin/6.x

test-graphql:
runs-on: ubuntu-latest
Expand All @@ -147,17 +138,17 @@ jobs:
node-version: [16.x]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: yarn install --frozen-lockfile --network-timeout 500000 --ignore-engines
- name: Run test
run: yarn test:graphql --since origin/production
run: yarn test:graphql --since origin/6.x

test-security:
runs-on: ubuntu-latest
Expand All @@ -167,17 +158,17 @@ jobs:
node-version: [16.x]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: yarn install --frozen-lockfile --network-timeout 500000 --ignore-engines
- name: Run test
run: yarn test:security --since origin/production
run: yarn test:security --since origin/6.x

test-third-parties:
runs-on: ubuntu-latest
Expand All @@ -187,17 +178,17 @@ jobs:
node-version: [16.x]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: yarn install --frozen-lockfile --network-timeout 500000 --ignore-engines
- name: Run test
run: yarn test:third-parties --since origin/production
run: yarn test:third-parties --since origin/6.x

test-formio:
runs-on: ubuntu-latest
Expand All @@ -207,17 +198,17 @@ jobs:
node-version: [16.x]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: yarn install --frozen-lockfile --network-timeout 500000 --ignore-engines
- name: Run test
run: yarn test:formio --since origin/production
run: yarn test:formio --since origin/6.x

build:
runs-on: ubuntu-latest
Expand All @@ -227,9 +218,9 @@ jobs:
node-version: [16.x]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
Expand All @@ -254,7 +245,7 @@ jobs:
build
]
if: github.event_name != 'pull_request' && contains('
refs/heads/production
refs/heads/6.x
refs/heads/alpha
refs/heads/beta
refs/heads/rc
Expand All @@ -265,9 +256,9 @@ jobs:
node-version: [16.x]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
Expand All @@ -288,11 +279,11 @@ jobs:
node-version: [16.x]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
ref: "production"
ref: "6.x"
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
Expand Down
6 changes: 3 additions & 3 deletions benchmarks/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<p style="text-align: center" align="center">
<a href="https://tsed.io" target="_blank"><img src="https://tsed.io/tsed-og.png" width="200" alt="Ts.ED logo"/></a>
<a href="https://tsed.dev" target="_blank"><img src="https://tsed.dev/tsed-og.png" width="200" alt="Ts.ED logo"/></a>
</p>

<div align="center">
Expand All @@ -18,9 +18,9 @@
</div>

<div align="center">
<a href="https://tsed.io/">Website</a>
<a href="https://tsed.dev/">Website</a>
<span>&nbsp;&nbsp;&nbsp;&nbsp;</span>
<a href="https://tsed.io/getting-started/">Getting started</a>
<a href="https://tsed.dev/getting-started/">Getting started</a>
<span>&nbsp;&nbsp;&nbsp;&nbsp;</span>
<a href="https://api.tsed.io/rest/slack/tsedio/tsed">Slack</a>
<span>&nbsp;&nbsp;&nbsp;&nbsp;</span>
Expand Down
2 changes: 1 addition & 1 deletion docs-references/.vuepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const conf = settings({
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",
base: "https://tsed.dev",
api: require("../../docs/.vuepress/public/api.json"),
apiRedirectUrl: "",
themeConfig: {
Expand Down
6 changes: 3 additions & 3 deletions docs/.vuepress/config.base.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@ module.exports = ({title, description, base = "", url, apiRedirectUrl = "", them
openCollective: "https://api.tsed.io/rest/opencollective",
slackUrl: "https://api.tsed.io/rest/slack/tsedio/tsed",
stackoverflowUrl: "https://stackoverflow.com/search?q=tsed",
sponsorUrl: "https://tsed.io/support.html",
sponsorUrl: "https://tsed.dev/support.html",
twitterUrl: "https://twitter.com/TsED_io",
editLinks: true,
docsDir: "docs",
sidebar: "auto",
docsBranch: "production",
apiUrl: "https://tsed.io/api.json",
apiUrl: "https://tsed.dev/api.json",
apiRedirectUrl,
smoothScroll: true,
lastUpdated: "Last updated",
Expand Down Expand Up @@ -321,7 +321,7 @@ module.exports = ({title, description, base = "", url, apiRedirectUrl = "", them
children: [
{
title: "Migrate to v7",
path: `https://tsed.io/getting-started/migration-from-v6`
path: `https://tsed.dev/getting-started/migration-from-v6`
},
{
title: "Migrate from v5",
Expand Down
2 changes: 1 addition & 1 deletion docs/.vuepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ module.exports = require("./config.base")({
title: "Ts.ED - 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.",
url: "https://tsed.io",
url: "https://tsed.dev",
apiRedirectUrl: "https://api-docs.tsed.io"
});
2 changes: 1 addition & 1 deletion docs/docs/logger.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Ts.ED logger supports many features, and is optimized to be used in production.
- [LogStash UDP](https://logger.tsed.io/appenders/logstash-udp.html).
- [Loggly](https://logger.tsed.io/appenders/loggly.html).
- [RabbitMQ](https://logger.tsed.io/appenders/rabbitmq.html).
- [Seq](https://tsed.io/tutorials/seq.html).
- [Seq](https://tsed.dev/tutorials/seq.html).
- [Slack](https://logger.tsed.io/appenders/slack.html).
- [Smtp](https://logger.tsed.io/appenders/smtp.html).
- @@ContextLogger@@, in **production** mode, caches all request logs until the response is sent to your consumer. See [request logger](/docs/logger.html#request-logger) section bellow.
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/mikroorm.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ export class User {
}
```

Now, the model is correctly defined and can be used with a [Controller](https://tsed.io/docs/controllers.html)
Now, the model is correctly defined and can be used with a [Controller](https://tsed.dev/docs/controllers.html)
, [AJV validation](/tutorials/ajv.md),
[Swagger](/tutorials/swagger.md) and [MikroORM](https://mikro-orm.io/docs/defining-entities).

Expand Down
Loading

0 comments on commit 72ba378

Please sign in to comment.