Skip to content

Commit

Permalink
fix(various):
Browse files Browse the repository at this point in the history
 - correct searching alias doesn't match a joker method
 - correct examples on boolean openapi
 - correct error message on skipped alias
 - correct cjs build
  • Loading branch information
thib3113 committed Dec 16, 2023
1 parent 190e6e2 commit c500930
Show file tree
Hide file tree
Showing 7 changed files with 227 additions and 223 deletions.
2 changes: 1 addition & 1 deletion esbuild.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,4 @@ fs.writeFileSync(path.join(dist, 'index.cjs'), "module.exports = require('./cjs/
fs.writeFileSync(path.join(dist, 'index.js'), "module.exports = require('./cjs/index.cjs');");

fs.writeFileSync(path.join(dist, 'index.d.ts'), "export * from './types/index.js';");
// fs.writeFileSync(path.join(dist, 'index.d.cts'), "export * from './types/index.js';");
fs.writeFileSync(path.join(dist, 'index.d.cts'), "export * from './types/index.js';");
22 changes: 11 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"jest": "node --experimental-vm-modules node_modules/jest/bin/jest.js",
"test": "npm run jest --",
"lint": "eslint -f unix \"src/**\"",
"lint:fix": "npm lint -- --fix",
"lint:fix": "npm run lint -- --fix",
"ci:eslint": "npm run lint -- -f json -o ./coverage/eslint-report.json",
"generate:documentation": "typedoc"
},
Expand All @@ -31,7 +31,7 @@
"default": "./lib/index.mjs"
},
"require": {
"types": "./lib/index.d.ts",
"types": "./lib/index.d.cts",
"default": "./lib/index.cjs"
},
"default": "./lib/index.cjs"
Expand Down Expand Up @@ -64,29 +64,29 @@
"devDependencies": {
"@jest/globals": "^29.7.0",
"@seriousme/openapi-schema-validator": "^2.1.5",
"@tsconfig/node-lts": "^18.12.5",
"@tsconfig/node-lts": "^20.1.0",
"@types/body-parser": "^1.19.5",
"@types/node": "^20.9.2",
"@types/node": "^20.10.4",
"@types/qs": "^6.9.10",
"@types/swagger-ui-dist": "^3.30.4",
"@typescript-eslint/parser": "6.10.0",
"@typescript-eslint/parser": "6.14.0",
"axios": "^1.6.2",
"esbuild": "^0.19.6",
"eslint": "8.53.0",
"eslint-config-prettier": "9.0.0",
"esbuild": "^0.19.9",
"eslint": "8.56.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-prettier": "5.0.1",
"fastest-validator": "github:thib3113/fastest-validator#fork",
"jest": "^29.7.0",
"jest-sonar": "^0.2.16",
"moleculer": "^0.14.32",
"moleculer-web": "^0.10.7",
"openapi-types": "^12.1.3",
"prettier": "3.0.3",
"prettier": "3.1.1",
"rimraf": "^5.0.5",
"swagger-ui-dist": "^5.10.0",
"ts-jest": "^29.1.1",
"typedoc": "^0.25.3",
"typescript": "^5.2.2"
"typedoc": "^0.25.4",
"typescript": "^5.3.3"
},
"peerDependencies": {
"moleculer": "^0.14.31"
Expand Down
Loading

0 comments on commit c500930

Please sign in to comment.