From e53361abe48553b226eee34b629d9686cc073a9b Mon Sep 17 00:00:00 2001 From: mohnoor94 Date: Sun, 14 Jan 2024 11:22:21 +0300 Subject: [PATCH] fix: update package settings --- dist/CHANGELOG.md | 6 --- dist/package.json | 96 ---------------------------------------- scripts/update-assets.sh | 2 + 3 files changed, 2 insertions(+), 102 deletions(-) delete mode 100644 dist/CHANGELOG.md delete mode 100644 dist/package.json diff --git a/dist/CHANGELOG.md b/dist/CHANGELOG.md deleted file mode 100644 index 3d5cc79..0000000 --- a/dist/CHANGELOG.md +++ /dev/null @@ -1,6 +0,0 @@ -## [1.7.33](https://github.com/ExpediaGroup/spec-transformer/compare/v1.7.32...v1.7.33) (2024-01-14) - - -### Bug Fixes - -* update package settings ([3dd99d2](https://github.com/ExpediaGroup/spec-transformer/commit/3dd99d27b1859ad3fb51244980e105f254a3cac1)) diff --git a/dist/package.json b/dist/package.json deleted file mode 100644 index 85a972c..0000000 --- a/dist/package.json +++ /dev/null @@ -1,96 +0,0 @@ -{ - "name": "@expediagroup/spec-transformer", - "version": "1.7.33", - "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", - "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": "11.1.0", - "js-yaml": "4.1.0", - "openapi-to-postmanv2": "4.18.0", - "openapi3-ts": "4.2.1" - }, - "devDependencies": { - "@semantic-release/changelog": "6.0.3", - "@semantic-release/commit-analyzer": "11.1.0", - "@semantic-release/exec": "6.0.3", - "@semantic-release/git": "10.0.1", - "@semantic-release/github": "9.2.6", - "@semantic-release/npm": "11.0.2", - "@semantic-release/release-notes-generator": "12.1.0", - "@types/jest": "29.5.11", - "@types/js-yaml": "4.0.9", - "@types/node": "20.11.0", - "@types/openapi-to-postmanv2": "3.2.4", - "conventional-changelog-conventionalcommits": "7.0.2", - "jest": "29.7.0", - "prettier": "3.1.1", - "semantic-release": "22.0.12", - "ts-jest": "29.1.1", - "ts-node": "10.9.2", - "typescript": "5.3.3" - }, - "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" -} diff --git a/scripts/update-assets.sh b/scripts/update-assets.sh index fcad7d9..36a6bf3 100644 --- a/scripts/update-assets.sh +++ b/scripts/update-assets.sh @@ -17,3 +17,5 @@ mv CHANGELOG.md ../CHANGELOG.md mv package.json ../package.json git add ../CHANGELOG.md ../package.json git commit -m "chore(release): update assets [skip ci]" +git status +git push