-
-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
944 additions
and
182 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,67 +1,73 @@ | ||
{ | ||
"name": "automapper", | ||
"version": "0.0.0", | ||
"license": "MIT", | ||
"scripts": { | ||
"commit": "git-cz", | ||
"contributors:init": "all-contributors init", | ||
"contributors:add": "all-contributors add", | ||
"release": "dotenv release-it --", | ||
"release:beta": "dotenv release-it -- major --preRelease=beta", | ||
"test": "nx run-many --all --target=test --parallel", | ||
"package": "nx package-all core", | ||
"publish": "nx run-many --target=publish --all --parallel" | ||
}, | ||
"private": true, | ||
"dependencies": { | ||
"tslib": "~2.5.0" | ||
}, | ||
"devDependencies": { | ||
"@mikro-orm/core": "5.6.13", | ||
"@nestjs/common": "9.3.9", | ||
"@nestjs/core": "9.3.9", | ||
"@nestjs/platform-express": "9.3.9", | ||
"@nestjs/schematics": "9.0.4", | ||
"@nestjs/testing": "9.3.9", | ||
"@nrwl/devkit": "15.8.5", | ||
"@nrwl/eslint-plugin-nx": "15.8.5", | ||
"@nrwl/jest": "15.8.5", | ||
"@nrwl/js": "15.8.5", | ||
"@nrwl/linter": "15.8.5", | ||
"@nrwl/nest": "15.8.5", | ||
"@nrwl/nx-cloud": "15.2.0", | ||
"@nrwl/web": "15.8.5", | ||
"@nrwl/workspace": "15.8.5", | ||
"@release-it/bumper": "4.0.2", | ||
"@release-it/conventional-changelog": "5.1.1", | ||
"@types/jest": "29.4.0", | ||
"@types/node": "18.15.0", | ||
"@types/supertest": "2.0.12", | ||
"@typescript-eslint/eslint-plugin": "5.54.1", | ||
"@typescript-eslint/parser": "5.54.1", | ||
"all-contributors-cli": "6.24.0", | ||
"babel-preset-minify": "0.5.2", | ||
"commitizen": "4.3.0", | ||
"cz-customizable": "7.0.0", | ||
"dotenv-cli": "7.0.0", | ||
"eslint": "8.35.0", | ||
"eslint-config-prettier": "8.7.0", | ||
"fs-extra": "^11.1.0", | ||
"jest": "29.5.0", | ||
"jest-environment-jsdom": "29.5.0", | ||
"nx": "15.8.5", | ||
"prettier": "2.8.4", | ||
"reflect-metadata": "~0.1.13", | ||
"release-it": "15.8.0", | ||
"rxjs": "~7.8.0", | ||
"sequelize": "6.29.2", | ||
"supertest": "6.3.3", | ||
"ts-jest": "29.0.5", | ||
"typescript": "4.9.5" | ||
}, | ||
"config": { | ||
"commitizen": { | ||
"path": "./node_modules/cz-customizable" | ||
"name": "automapper", | ||
"version": "0.0.0", | ||
"license": "MIT", | ||
"scripts": { | ||
"commit": "git-cz", | ||
"contributors:init": "all-contributors init", | ||
"contributors:add": "all-contributors add", | ||
"release": "dotenv release-it --", | ||
"release:beta": "dotenv release-it -- major --preRelease=beta", | ||
"test": "nx run-many --all --target=test --parallel", | ||
"package": "nx package-all core", | ||
"publish": "nx run-many --target=publish --all --parallel" | ||
}, | ||
"private": true, | ||
"dependencies": { | ||
"@swc/helpers": "~0.4.11", | ||
"tslib": "~2.5.0" | ||
}, | ||
"devDependencies": { | ||
"@mikro-orm/core": "5.6.13", | ||
"@nestjs/common": "9.3.9", | ||
"@nestjs/core": "9.3.9", | ||
"@nestjs/platform-express": "9.3.9", | ||
"@nestjs/schematics": "9.0.4", | ||
"@nestjs/testing": "9.3.9", | ||
"@nrwl/devkit": "15.8.5", | ||
"@nrwl/eslint-plugin-nx": "15.8.5", | ||
"@nrwl/jest": "15.8.5", | ||
"@nrwl/js": "15.8.5", | ||
"@nrwl/linter": "15.8.5", | ||
"@nrwl/nest": "15.8.5", | ||
"@nrwl/nx-cloud": "15.2.0", | ||
"@nrwl/rollup": "15.8.5", | ||
"@nrwl/web": "15.8.5", | ||
"@nrwl/workspace": "15.8.5", | ||
"@release-it/bumper": "4.0.2", | ||
"@release-it/conventional-changelog": "5.1.1", | ||
"@swc/cli": "~0.1.55", | ||
"@swc/core": "^1.2.173", | ||
"@swc/jest": "0.2.20", | ||
"@types/jest": "29.4.0", | ||
"@types/node": "18.15.0", | ||
"@types/supertest": "2.0.12", | ||
"@typescript-eslint/eslint-plugin": "5.54.1", | ||
"@typescript-eslint/parser": "5.54.1", | ||
"all-contributors-cli": "6.24.0", | ||
"babel-preset-minify": "0.5.2", | ||
"commitizen": "4.3.0", | ||
"cz-customizable": "7.0.0", | ||
"dotenv-cli": "7.0.0", | ||
"eslint": "8.35.0", | ||
"eslint-config-prettier": "8.7.0", | ||
"fs-extra": "^11.1.0", | ||
"jest": "29.5.0", | ||
"jest-environment-jsdom": "29.5.0", | ||
"nx": "15.8.5", | ||
"prettier": "2.8.4", | ||
"reflect-metadata": "~0.1.13", | ||
"release-it": "15.8.0", | ||
"rxjs": "~7.8.0", | ||
"sequelize": "6.29.2", | ||
"supertest": "6.3.3", | ||
"ts-jest": "29.0.5", | ||
"ts-node": "10.9.1", | ||
"typescript": "4.9.5" | ||
}, | ||
"config": { | ||
"commitizen": { | ||
"path": "./node_modules/cz-customizable" | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"extends": ["../../.eslintrc.json"], | ||
"ignorePatterns": ["!**/*"], | ||
"overrides": [ | ||
{ | ||
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"], | ||
"rules": {} | ||
}, | ||
{ | ||
"files": ["*.ts", "*.tsx"], | ||
"rules": {} | ||
}, | ||
{ | ||
"files": ["*.js", "*.jsx"], | ||
"rules": {} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# zod | ||
|
||
This library was generated with [Nx](https://nx.dev). | ||
|
||
## Building | ||
|
||
Run `nx build zod` to build the library. | ||
|
||
## Running unit tests | ||
|
||
Run `nx test zod` to execute the unit tests via [Jest](https://jestjs.io). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
module.exports = { | ||
displayName: 'zod', | ||
preset: '../../jest.preset.js', | ||
transform: { | ||
'^.+\\.[tj]s$': 'ts-jest', | ||
}, | ||
moduleFileExtensions: ['ts', 'js', 'html'], | ||
coverageDirectory: '../../coverage/packages/zod', | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"name": "@automapper/zod", | ||
"version": "0.0.1", | ||
"type": "commonjs" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
{ | ||
"name": "zod", | ||
"$schema": "../../node_modules/nx/schemas/project-schema.json", | ||
"sourceRoot": "packages/zod/src", | ||
"projectType": "library", | ||
"targets": { | ||
"build": { | ||
"executor": "@nrwl/rollup:rollup", | ||
"outputs": ["{options.outputPath}"], | ||
"options": { | ||
"outputPath": "dist/packages/zod", | ||
"main": "packages/zod/src/index.ts", | ||
"tsConfig": "packages/zod/tsconfig.lib.json", | ||
"assets": [], | ||
"project": "packages/zod/package.json" | ||
} | ||
}, | ||
"lint": { | ||
"executor": "@nrwl/linter:eslint", | ||
"outputs": ["{options.outputFile}"], | ||
"options": { | ||
"lintFilePatterns": ["packages/zod/**/*.ts"] | ||
} | ||
}, | ||
"test": { | ||
"executor": "@nrwl/jest:jest", | ||
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"], | ||
"options": { | ||
"jestConfig": "packages/zod/jest.config.cjs", | ||
"passWithNoTests": true | ||
}, | ||
"configurations": { | ||
"ci": { | ||
"ci": true, | ||
"codeCoverage": true | ||
} | ||
} | ||
} | ||
}, | ||
"tags": [] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export * from './lib/zod'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import { zod } from './zod'; | ||
|
||
describe('zod', () => { | ||
it('should work', () => { | ||
expect(zod()).toEqual('zod'); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
export function zod(): string { | ||
return 'zod'; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"extends": "../../tsconfig.base.json", | ||
"compilerOptions": { | ||
"module": "commonjs", | ||
"forceConsistentCasingInFileNames": true, | ||
"strict": true, | ||
"noImplicitOverride": true, | ||
"noPropertyAccessFromIndexSignature": true, | ||
"noImplicitReturns": true, | ||
"noFallthroughCasesInSwitch": true | ||
}, | ||
"files": [], | ||
"include": [], | ||
"references": [ | ||
{ | ||
"path": "./tsconfig.lib.json" | ||
}, | ||
{ | ||
"path": "./tsconfig.spec.json" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"extends": "./tsconfig.json", | ||
"compilerOptions": { | ||
"outDir": "../../dist/out-tsc", | ||
"declaration": true, | ||
"types": ["node"] | ||
}, | ||
"include": ["src/**/*.ts"], | ||
"exclude": ["jest.config.ts", "src/**/*.spec.ts", "src/**/*.test.ts"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"extends": "./tsconfig.json", | ||
"compilerOptions": { | ||
"outDir": "../../dist/out-tsc", | ||
"module": "commonjs", | ||
"types": ["jest", "node"] | ||
}, | ||
"include": [ | ||
"jest.config.ts", | ||
"src/**/*.test.ts", | ||
"src/**/*.spec.ts", | ||
"src/**/*.d.ts" | ||
] | ||
} |
Oops, something went wrong.