diff --git a/dist/.releaserc.json b/dist/.releaserc.json new file mode 100644 index 0000000..ca2b530 --- /dev/null +++ b/dist/.releaserc.json @@ -0,0 +1,80 @@ +{ + "branches": [ + "main" + ], + "plugins": [ + [ + "@semantic-release/commit-analyzer", + { + "preset": "conventionalcommits", + "releaseRules": [ + { + "type": "feat", + "section": "Features", + "release": "minor" + }, + { + "type": "fix", + "section": "Bug Fixes", + "release": "patch" + }, + { + "type": "no-release", + "release": false + } + ], + "parserOpts": { + "noteKeywords": [ + "BREAKING CHANGE", + "BREAKING CHANGES", + "BREAKING-CHANGE", + "BREAKING" + ] + } + } + ], + [ + "@semantic-release/release-notes-generator", + { + "preset": "conventionalcommits", + "parserOpts": { + "noteKeywords": [ + "BREAKING CHANGE", + "BREAKING CHANGES", + "BREAKING" + ] + }, + "writerOpts": { + "commitsSort": [ + "subject", + "scope" + ] + } + } + ], + [ + "@semantic-release/changelog", + { + "changelogFile": "CHANGELOG.md" + } + ], + "@semantic-release/npm", + "@semantic-release/github", + [ + "@semantic-release/exec", + { + "successCmd": "sh ../scripts/update-assets.sh" + } + ], + [ + "@semantic-release/git", + { + "assets": [ + "package.json", + "CHANGELOG.md", + ".releaserc.json" + ] + } + ] + ] +} diff --git a/dist/CHANGELOG.md b/dist/CHANGELOG.md new file mode 100644 index 0000000..23924f2 --- /dev/null +++ b/dist/CHANGELOG.md @@ -0,0 +1,6 @@ +## [1.10.1](https://github.com/ExpediaGroup/spec-transformer/compare/v1.10.0...v1.10.1) (2024-07-01) + +### Bug Fixes + +* debug semantic release ([810ff0a](https://github.com/ExpediaGroup/spec-transformer/commit/810ff0a0df7302158422578b0270d99fe6c74a09)) +* **deps:** update dependencies openapi3-ts from v4.3.2 to v4.3.3 ([#274](https://github.com/ExpediaGroup/spec-transformer/issues/274)) ([6b0eb2b](https://github.com/ExpediaGroup/spec-transformer/commit/6b0eb2bc99f7f43b1c3f9b994b8974b4c80b9f1f)) diff --git a/dist/package.json b/dist/package.json new file mode 100644 index 0000000..0cb5f13 --- /dev/null +++ b/dist/package.json @@ -0,0 +1,96 @@ +{ + "name": "@expediagroup/spec-transformer", + "version": "1.10.1", + "description": "API Spec Transformer", + "repository": { + "type": "git", + "url": "https://github.com/ExpediaGroup/spec-transformer.git" + }, + "main": "index.js", + "types": "index.d.ts", + "bin": { + "lib": "index.js", + "cli": "cli.js" + }, + "scripts": { + "add-headers": "scripts/add-headers.sh", + "build": "rm -rf dist && npx tsc --pretty && rm -rf dist/test && cp package.json dist/package.json && cp README.md dist/README.md && cp LICENSE dist/LICENSE && cp CONTRIBUTING.md dist/CONTRIBUTING.md && cp .releaserc.json dist/.releaserc.json", + "start": "ts-node index.ts", + "test": "jest", + "semantic-release": "semantic-release" + }, + "keywords": [ + "openapi", + "api", + "specifications", + "transformer", + "specs", + "mapping" + ], + "author": "Expedia Group ", + "contributors": [ + "'Mohammad Noor' AbuKhleif (https://github.com/mohnoor94)", + "Osama Salman (https://github.com/osama-salman99)" + ], + "publishConfig": { + "access": "public" + }, + "license": "Apache-2.0", + "dependencies": { + "commander": "12.1.0", + "js-yaml": "4.1.0", + "openapi-to-postmanv2": "4.21.0", + "openapi3-ts": "4.3.3" + }, + "devDependencies": { + "@semantic-release/changelog": "6.0.3", + "@semantic-release/commit-analyzer": "13.0.0", + "@semantic-release/exec": "6.0.3", + "@semantic-release/git": "10.0.1", + "@semantic-release/github": "10.0.6", + "@semantic-release/npm": "12.0.1", + "@semantic-release/release-notes-generator": "14.0.1", + "@types/jest": "29.5.12", + "@types/js-yaml": "4.0.9", + "@types/node": "20.14.9", + "@types/openapi-to-postmanv2": "3.2.4", + "conventional-changelog-conventionalcommits": "8.0.0", + "jest": "29.7.0", + "prettier": "3.3.2", + "semantic-release": "24.0.0", + "ts-jest": "29.1.4", + "ts-node": "10.9.2", + "typescript": "5.4.5" + }, + "prettier": { + "singleQuote": true, + "printWidth": 120 + }, + "jest": { + "preset": "ts-jest", + "testEnvironment": "node", + "collectCoverage": true, + "coverageReporters": [ + "json", + "text", + "lcov", + "clover", + "json-summary" + ], + "testMatch": [ + "**/test/**/*.test.ts" + ], + "coverageThreshold": { + "global": { + "statements": 90, + "branches": 90, + "functions": 90, + "lines": 90 + } + } + }, + "bugs": { + "url": "https://github.com/ExpediaGroup/spec-transformer/issues" + }, + "homepage": "https://github.com/ExpediaGroup/spec-transformer#readme" +}