diff --git a/README.md b/README.md index f84e0257b..afc63eb38 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ Nestia is a set of helper libraries for NestJS, supporting below features: - `@nestia/editor`: Swagger-UI with Online TypeScript Editor - `nestia`: Just CLI (command line interface) tool -> **Note** +> [!NOTE] > > - **Only one line** required, with pure TypeScript type > - Enhance performance **30x** up diff --git a/packages/cli/README.md b/packages/cli/README.md index fc9510d6f..ad95d9d16 100644 --- a/packages/cli/README.md +++ b/packages/cli/README.md @@ -18,7 +18,7 @@ Nestia is a set of helper libraries for NestJS, supporting below features: - `@nestia/migrate`: migration from Swagger to NestJS - `nestia`: just CLI (command line interface) tool -> **Note** +> [!NOTE] > > - **Only one line** required, with pure TypeScript type > - Enhance performance **30x** up diff --git a/packages/core/README.md b/packages/core/README.md index f84e0257b..afc63eb38 100644 --- a/packages/core/README.md +++ b/packages/core/README.md @@ -22,7 +22,7 @@ Nestia is a set of helper libraries for NestJS, supporting below features: - `@nestia/editor`: Swagger-UI with Online TypeScript Editor - `nestia`: Just CLI (command line interface) tool -> **Note** +> [!NOTE] > > - **Only one line** required, with pure TypeScript type > - Enhance performance **30x** up diff --git a/packages/e2e/README.md b/packages/e2e/README.md index fc9510d6f..ad95d9d16 100644 --- a/packages/e2e/README.md +++ b/packages/e2e/README.md @@ -18,7 +18,7 @@ Nestia is a set of helper libraries for NestJS, supporting below features: - `@nestia/migrate`: migration from Swagger to NestJS - `nestia`: just CLI (command line interface) tool -> **Note** +> [!NOTE] > > - **Only one line** required, with pure TypeScript type > - Enhance performance **30x** up diff --git a/packages/fetcher/README.md b/packages/fetcher/README.md index f84e0257b..afc63eb38 100644 --- a/packages/fetcher/README.md +++ b/packages/fetcher/README.md @@ -22,7 +22,7 @@ Nestia is a set of helper libraries for NestJS, supporting below features: - `@nestia/editor`: Swagger-UI with Online TypeScript Editor - `nestia`: Just CLI (command line interface) tool -> **Note** +> [!NOTE] > > - **Only one line** required, with pure TypeScript type > - Enhance performance **30x** up diff --git a/packages/migrate/README.md b/packages/migrate/README.md index e710f12fb..d1ccbc226 100644 --- a/packages/migrate/README.md +++ b/packages/migrate/README.md @@ -18,7 +18,7 @@ Nestia is a set of helper libraries for NestJS, supporting below features: - `@nestia/migrate`: migration from Swagger to NestJS - `nestia`: just CLI (command line interface) tool -> **Note** +> [!NOTE] > > - **Only one line** required, with pure TypeScript type > - Enhance performance **30x** up diff --git a/packages/sdk/README.md b/packages/sdk/README.md index f84e0257b..afc63eb38 100644 --- a/packages/sdk/README.md +++ b/packages/sdk/README.md @@ -22,7 +22,7 @@ Nestia is a set of helper libraries for NestJS, supporting below features: - `@nestia/editor`: Swagger-UI with Online TypeScript Editor - `nestia`: Just CLI (command line interface) tool -> **Note** +> [!NOTE] > > - **Only one line** required, with pure TypeScript type > - Enhance performance **30x** up diff --git a/packages/sdk/assets/bundle/distribute/README.md b/packages/sdk/assets/bundle/distribute/README.md index 1ac96c5c7..991718adc 100644 --- a/packages/sdk/assets/bundle/distribute/README.md +++ b/packages/sdk/assets/bundle/distribute/README.md @@ -30,7 +30,7 @@ Just import and call some API functions like gif image below: - Automatic E2E test functions generator - `nestia`: just CLI (command line interface) tool -> **Note** +> [!NOTE] > > - **Only one line** required, with pure TypeScript type > - Runtime validator is **20,000x faster** than `class-validator` diff --git a/test/features/distribute-assert-json/packages/api/README.md b/test/features/distribute-assert-json/packages/api/README.md index 1ac96c5c7..991718adc 100644 --- a/test/features/distribute-assert-json/packages/api/README.md +++ b/test/features/distribute-assert-json/packages/api/README.md @@ -30,7 +30,7 @@ Just import and call some API functions like gif image below: - Automatic E2E test functions generator - `nestia`: just CLI (command line interface) tool -> **Note** +> [!NOTE] > > - **Only one line** required, with pure TypeScript type > - Runtime validator is **20,000x faster** than `class-validator` diff --git a/test/features/distribute-assert/packages/api/README.md b/test/features/distribute-assert/packages/api/README.md index 1ac96c5c7..991718adc 100644 --- a/test/features/distribute-assert/packages/api/README.md +++ b/test/features/distribute-assert/packages/api/README.md @@ -30,7 +30,7 @@ Just import and call some API functions like gif image below: - Automatic E2E test functions generator - `nestia`: just CLI (command line interface) tool -> **Note** +> [!NOTE] > > - **Only one line** required, with pure TypeScript type > - Runtime validator is **20,000x faster** than `class-validator` diff --git a/test/features/distribute-json/packages/api/README.md b/test/features/distribute-json/packages/api/README.md index 1ac96c5c7..991718adc 100644 --- a/test/features/distribute-json/packages/api/README.md +++ b/test/features/distribute-json/packages/api/README.md @@ -30,7 +30,7 @@ Just import and call some API functions like gif image below: - Automatic E2E test functions generator - `nestia`: just CLI (command line interface) tool -> **Note** +> [!NOTE] > > - **Only one line** required, with pure TypeScript type > - Runtime validator is **20,000x faster** than `class-validator` diff --git a/test/features/distribute/packages/api/README.md b/test/features/distribute/packages/api/README.md index 1ac96c5c7..991718adc 100644 --- a/test/features/distribute/packages/api/README.md +++ b/test/features/distribute/packages/api/README.md @@ -30,7 +30,7 @@ Just import and call some API functions like gif image below: - Automatic E2E test functions generator - `nestia`: just CLI (command line interface) tool -> **Note** +> [!NOTE] > > - **Only one line** required, with pure TypeScript type > - Runtime validator is **20,000x faster** than `class-validator` diff --git a/website/.eslintrc.json b/website/.eslintrc.json new file mode 100644 index 000000000..bd1e2833d --- /dev/null +++ b/website/.eslintrc.json @@ -0,0 +1,6 @@ +{ + "extends": "next", + "rules": { + "@typescript-eslint/no-namespace": "off" + } +} \ No newline at end of file diff --git a/website/.gitignore b/website/.gitignore index c7b1329dd..ff6de6096 100644 --- a/website/.gitignore +++ b/website/.gitignore @@ -1,4 +1,8 @@ .next node_modules/ out/ -public/api/ \ No newline at end of file +public/api/ + +public/robots.txt +public/sitemap*.xml +!package-lock.json \ No newline at end of file diff --git a/website/.prettierignore b/website/.prettierignore new file mode 100644 index 000000000..b512c09d4 --- /dev/null +++ b/website/.prettierignore @@ -0,0 +1 @@ +node_modules \ No newline at end of file diff --git a/website/public/robots.txt b/website/public/robots.txt deleted file mode 100644 index 65a0d2e33..000000000 --- a/website/public/robots.txt +++ /dev/null @@ -1,9 +0,0 @@ -# * -User-agent: * -Allow: / - -# Host -Host: https://nestia.io - -# Sitemaps -Sitemap: https://nestia.io/sitemap.xml diff --git a/website/public/sitemap-0.xml b/website/public/sitemap-0.xml deleted file mode 100644 index 5b42e9d8f..000000000 --- a/website/public/sitemap-0.xml +++ /dev/null @@ -1,21 +0,0 @@ - - -https://nestia.io/2024-03-22T10:33:46.135Zdaily0.7 -https://nestia.io/docs/2024-03-22T10:33:46.135Zdaily0.7 -https://nestia.io/docs/core/TypedBody/2024-03-22T10:33:46.135Zdaily0.7 -https://nestia.io/docs/core/TypedException/2024-03-22T10:33:46.135Zdaily0.7 -https://nestia.io/docs/core/TypedFormData/2024-03-22T10:33:46.135Zdaily0.7 -https://nestia.io/docs/core/TypedHeaders/2024-03-22T10:33:46.135Zdaily0.7 -https://nestia.io/docs/core/TypedParam/2024-03-22T10:33:46.135Zdaily0.7 -https://nestia.io/docs/core/TypedQuery/2024-03-22T10:33:46.135Zdaily0.7 -https://nestia.io/docs/core/TypedRoute/2024-03-22T10:33:46.135Zdaily0.7 -https://nestia.io/docs/editor/2024-03-22T10:33:46.135Zdaily0.7 -https://nestia.io/docs/migrate/2024-03-22T10:33:46.135Zdaily0.7 -https://nestia.io/docs/pure/2024-03-22T10:33:46.135Zdaily0.7 -https://nestia.io/docs/sdk/e2e/2024-03-22T10:33:46.135Zdaily0.7 -https://nestia.io/docs/sdk/sdk/2024-03-22T10:33:46.135Zdaily0.7 -https://nestia.io/docs/sdk/simulator/2024-03-22T10:33:46.135Zdaily0.7 -https://nestia.io/docs/sdk/swagger/2024-03-22T10:33:46.135Zdaily0.7 -https://nestia.io/docs/setup/2024-03-22T10:33:46.135Zdaily0.7 -https://nestia.io/playground/2024-03-22T10:33:46.135Zdaily0.7 - \ No newline at end of file diff --git a/website/public/sitemap.xml b/website/public/sitemap.xml deleted file mode 100644 index 678cf3457..000000000 --- a/website/public/sitemap.xml +++ /dev/null @@ -1,4 +0,0 @@ - - -https://nestia.io/sitemap-0.xml - \ No newline at end of file