chore: link module
This commit is contained in:
3
.husky/post-checkout
Executable file
3
.husky/post-checkout
Executable file
@@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
command -v git-lfs >/dev/null 2>&1 || { echo >&2 "\nThis repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting '.git/hooks/post-checkout'.\n"; exit 2; }
|
||||||
|
git lfs post-checkout "$@"
|
||||||
3
.husky/post-commit
Executable file
3
.husky/post-commit
Executable file
@@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
command -v git-lfs >/dev/null 2>&1 || { echo >&2 "\nThis repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting '.git/hooks/post-commit'.\n"; exit 2; }
|
||||||
|
git lfs post-commit "$@"
|
||||||
3
.husky/post-merge
Executable file
3
.husky/post-merge
Executable file
@@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
command -v git-lfs >/dev/null 2>&1 || { echo >&2 "\nThis repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting '.git/hooks/post-merge'.\n"; exit 2; }
|
||||||
|
git lfs post-merge "$@"
|
||||||
3
.husky/pre-push
Executable file
3
.husky/pre-push
Executable file
@@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
command -v git-lfs >/dev/null 2>&1 || { echo >&2 "\nThis repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting '.git/hooks/pre-push'.\n"; exit 2; }
|
||||||
|
git lfs pre-push "$@"
|
||||||
@@ -68,8 +68,7 @@
|
|||||||
"@babel/plugin-transform-modules-commonjs": "7.17.7",
|
"@babel/plugin-transform-modules-commonjs": "7.17.7",
|
||||||
"@babel/plugin-transform-typescript": "7.16.8",
|
"@babel/plugin-transform-typescript": "7.16.8",
|
||||||
"@babel/types": "*",
|
"@babel/types": "*",
|
||||||
"@innei/class-validator-jsonschema": "3.1.1",
|
"class-validator-jsonschema": "npm:@innei/class-validator-jsonschema@3.1.1",
|
||||||
"@innei/zx-cjs": "6.0.6",
|
|
||||||
"@nestjs/common": "8.4.2",
|
"@nestjs/common": "8.4.2",
|
||||||
"@nestjs/core": "8.4.2",
|
"@nestjs/core": "8.4.2",
|
||||||
"@nestjs/event-emitter": "1.1.0",
|
"@nestjs/event-emitter": "1.1.0",
|
||||||
@@ -130,7 +129,7 @@
|
|||||||
"ua-parser-js": "1.0.2",
|
"ua-parser-js": "1.0.2",
|
||||||
"vm2": "3.9.9",
|
"vm2": "3.9.9",
|
||||||
"xss": "1.0.11",
|
"xss": "1.0.11",
|
||||||
"zx-cjs": "link:./node_modules/@innei/zx-cjs"
|
"zx-cjs": "npm:@innei/zx-cjs@6.0.6"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@innei-util/eslint-config-ts": "0.5.1",
|
"@innei-util/eslint-config-ts": "0.5.1",
|
||||||
|
|||||||
10
pnpm-lock.yaml
generated
10
pnpm-lock.yaml
generated
@@ -13,8 +13,6 @@ specifiers:
|
|||||||
'@babel/types': '*'
|
'@babel/types': '*'
|
||||||
'@innei-util/eslint-config-ts': 0.5.1
|
'@innei-util/eslint-config-ts': 0.5.1
|
||||||
'@innei-util/prettier': 0.4.1
|
'@innei-util/prettier': 0.4.1
|
||||||
'@innei/class-validator-jsonschema': 3.1.1
|
|
||||||
'@innei/zx-cjs': 6.0.6
|
|
||||||
'@nestjs/cli': 8.2.4
|
'@nestjs/cli': 8.2.4
|
||||||
'@nestjs/common': 8.4.2
|
'@nestjs/common': 8.4.2
|
||||||
'@nestjs/core': 8.4.2
|
'@nestjs/core': 8.4.2
|
||||||
@@ -62,6 +60,7 @@ specifiers:
|
|||||||
camelcase-keys: 7.0.2
|
camelcase-keys: 7.0.2
|
||||||
class-transformer: 0.5.1
|
class-transformer: 0.5.1
|
||||||
class-validator: 0.13.2
|
class-validator: 0.13.2
|
||||||
|
class-validator-jsonschema: npm:@innei/class-validator-jsonschema@3.1.1
|
||||||
consola: '*'
|
consola: '*'
|
||||||
cos-nodejs-sdk-v5: 2.11.6
|
cos-nodejs-sdk-v5: 2.11.6
|
||||||
cron: '*'
|
cron: '*'
|
||||||
@@ -119,7 +118,7 @@ specifiers:
|
|||||||
vm2: 3.9.9
|
vm2: 3.9.9
|
||||||
webpack-node-externals: 3.0.0
|
webpack-node-externals: 3.0.0
|
||||||
xss: 1.0.11
|
xss: 1.0.11
|
||||||
zx-cjs: link:./node_modules/@innei/zx-cjs
|
zx-cjs: npm:@innei/zx-cjs@6.0.6
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
'@algolia/client-search': 4.12.1
|
'@algolia/client-search': 4.12.1
|
||||||
@@ -127,8 +126,6 @@ dependencies:
|
|||||||
'@babel/plugin-transform-modules-commonjs': 7.17.7_@babel+core@7.17.8
|
'@babel/plugin-transform-modules-commonjs': 7.17.7_@babel+core@7.17.8
|
||||||
'@babel/plugin-transform-typescript': 7.16.8_@babel+core@7.17.8
|
'@babel/plugin-transform-typescript': 7.16.8_@babel+core@7.17.8
|
||||||
'@babel/types': 7.17.0
|
'@babel/types': 7.17.0
|
||||||
'@innei/class-validator-jsonschema': 3.1.1_279461c9b8c03a205cdbc4878bc60cf8
|
|
||||||
'@innei/zx-cjs': 6.0.6
|
|
||||||
'@nestjs/common': 8.4.2_add13df2cdecb4b62cd3f7664ea82e18
|
'@nestjs/common': 8.4.2_add13df2cdecb4b62cd3f7664ea82e18
|
||||||
'@nestjs/core': 8.4.2_08b1f14f521ca613fa34036185d46615
|
'@nestjs/core': 8.4.2_08b1f14f521ca613fa34036185d46615
|
||||||
'@nestjs/event-emitter': 1.1.0_fbb6b2cee8aa0e7ece50e03c9bcb013d
|
'@nestjs/event-emitter': 1.1.0_fbb6b2cee8aa0e7ece50e03c9bcb013d
|
||||||
@@ -153,6 +150,7 @@ dependencies:
|
|||||||
camelcase-keys: 7.0.2
|
camelcase-keys: 7.0.2
|
||||||
class-transformer: 0.5.1
|
class-transformer: 0.5.1
|
||||||
class-validator: 0.13.2
|
class-validator: 0.13.2
|
||||||
|
class-validator-jsonschema: /@innei/class-validator-jsonschema/3.1.1_279461c9b8c03a205cdbc4878bc60cf8
|
||||||
consola: 2.15.3
|
consola: 2.15.3
|
||||||
cos-nodejs-sdk-v5: 2.11.6
|
cos-nodejs-sdk-v5: 2.11.6
|
||||||
dayjs: 1.11.0
|
dayjs: 1.11.0
|
||||||
@@ -189,7 +187,7 @@ dependencies:
|
|||||||
ua-parser-js: 1.0.2
|
ua-parser-js: 1.0.2
|
||||||
vm2: 3.9.9
|
vm2: 3.9.9
|
||||||
xss: 1.0.11
|
xss: 1.0.11
|
||||||
zx-cjs: link:node_modules/@innei/zx-cjs
|
zx-cjs: /@innei/zx-cjs/6.0.6
|
||||||
|
|
||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
mongodb-memory-server: 8.4.1
|
mongodb-memory-server: 8.4.1
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { JSONSchema } from '@innei/class-validator-jsonschema'
|
import { JSONSchema } from 'class-validator-jsonschema'
|
||||||
import { ApiProperty } from '@nestjs/swagger'
|
import { ApiProperty } from '@nestjs/swagger'
|
||||||
import { Exclude, Transform, Type } from 'class-transformer'
|
import { Exclude, Transform, Type } from 'class-transformer'
|
||||||
import {
|
import {
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { JSONSchema } from '@innei/class-validator-jsonschema'
|
import { JSONSchema } from 'class-validator-jsonschema'
|
||||||
import { Type } from 'class-transformer'
|
import { Type } from 'class-transformer'
|
||||||
import { ValidateNested } from 'class-validator'
|
import { ValidateNested } from 'class-validator'
|
||||||
import {
|
import {
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import { JSONSchema } from '@innei/class-validator-jsonschema'
|
import { JSONSchema } from 'class-validator-jsonschema'
|
||||||
import { DecoratorSchema } from '@innei/class-validator-jsonschema/build/decorators'
|
import { DecoratorSchema } from 'class-validator-jsonschema/build/decorators'
|
||||||
|
|
||||||
export const JSONSchemaPasswordField = (
|
export const JSONSchemaPasswordField = (
|
||||||
title: string,
|
title: string,
|
||||||
|
|||||||
@@ -337,7 +337,7 @@ export class ServerlessService {
|
|||||||
'@babel/core',
|
'@babel/core',
|
||||||
'@babel/types',
|
'@babel/types',
|
||||||
'@babel/plugin-transform-typescript',
|
'@babel/plugin-transform-typescript',
|
||||||
'@innei/class-validator-jsonschema',
|
'class-validator-jsonschema',
|
||||||
'@nestjs/event-emitter',
|
'@nestjs/event-emitter',
|
||||||
'algoliasearch',
|
'algoliasearch',
|
||||||
'axios-retry',
|
'axios-retry',
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
import { targetConstructorToSchema } from '@innei/class-validator-jsonschema'
|
import { targetConstructorToSchema } from 'class-validator-jsonschema'
|
||||||
import { ISchemaConverters } from '@innei/class-validator-jsonschema/build/defaultConverters'
|
import { ISchemaConverters } from 'class-validator-jsonschema/build/defaultConverters'
|
||||||
import { IOptions } from '@innei/class-validator-jsonschema/build/options'
|
import { IOptions } from 'class-validator-jsonschema/build/options'
|
||||||
import { defaultMetadataStorage } from 'class-transformer/cjs/storage.js'
|
import { defaultMetadataStorage } from 'class-transformer/cjs/storage.js'
|
||||||
import { ValidationTypes, getMetadataStorage } from 'class-validator'
|
import { ValidationTypes, getMetadataStorage } from 'class-validator'
|
||||||
import { ValidationMetadata } from 'class-validator/types/metadata/ValidationMetadata'
|
import { ValidationMetadata } from 'class-validator/types/metadata/ValidationMetadata'
|
||||||
|
|
||||||
export { JSONSchema as IsSchema } from '@innei/class-validator-jsonschema'
|
export { JSONSchema as IsSchema } from 'class-validator-jsonschema'
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Build json-schema from `class-validator` & `class-tranformer` metadata.
|
* Build json-schema from `class-validator` & `class-tranformer` metadata.
|
||||||
|
|||||||
Reference in New Issue
Block a user