From 37c3f6d25cd149ae310f68e7c15fe273476bdfcc Mon Sep 17 00:00:00 2001 From: mohnoor94 Date: Sun, 14 Jan 2024 11:37:18 +0300 Subject: [PATCH] fix: update package settings --- dist/CHANGELOG.md | 6 --- dist/package.json | 96 ---------------------------------------- scripts/update-assets.sh | 7 +-- 3 files changed, 2 insertions(+), 107 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 d0ccc74..0000000 --- a/dist/CHANGELOG.md +++ /dev/null @@ -1,6 +0,0 @@ -## [1.7.39](https://github.com/ExpediaGroup/spec-transformer/compare/v1.7.38...v1.7.39) (2024-01-14) - - -### Bug Fixes - -* update package settings ([748e903](https://github.com/ExpediaGroup/spec-transformer/commit/748e90341a576307075293b9c228d57015b715f3)) diff --git a/dist/package.json b/dist/package.json deleted file mode 100644 index 2a3d12d..0000000 --- a/dist/package.json +++ /dev/null @@ -1,96 +0,0 @@ -{ - "name": "@expediagroup/spec-transformer", - "version": "1.7.39", - "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 dd2fcc3..cd75ee2 100644 --- a/scripts/update-assets.sh +++ b/scripts/update-assets.sh @@ -13,14 +13,11 @@ # See the License for the specific language governing permissions and # limitations under the License. -ls -al -echo "----------------------------" cp CHANGELOG.md ../CHANGELOG.md cp package.json ../package.json cd .. -ls -al -echo "--------------------------------------------------------" -git add CHANGELOG.md package.json +rm -rf dist +git add CHANGELOG.md package.json dist git commit -m "chore(release): update assets [skip ci]" git status git push