From ebad2aecbe47858800a6c3eec20cff93ae67461e Mon Sep 17 00:00:00 2001 From: priyagupta108 Date: Wed, 26 Aug 2026 15:54:08 +0530 Subject: [PATCH] refactor: standardize formatting in package.json --- package.json | 120 +++++++++++++++++++++++++-------------------------- 1 file changed, 60 insertions(+), 60 deletions(-) diff --git a/package.json b/package.json index 74b50f5..cbbdbe1 100644 --- a/package.json +++ b/package.json @@ -1,60 +1,60 @@ -{ - "name": "setup-go", - "version": "7.0.0", - "type": "module", - "private": true, - "description": "setup go action", - "main": "lib/setup-go.js", - "engines": { - "node": ">=24.0.0" - }, - "scripts": { - "build": "tsc && ncc build -o dist/setup src/setup-go.ts && ncc build -o dist/cache-save src/cache-save.ts", - "format": "prettier --no-error-on-unmatched-pattern --write \"**/*.{ts,yml,yaml}\"", - "format-check": "prettier --no-error-on-unmatched-pattern --check \"**/*.{ts,yml,yaml}\"", - "lint": "eslint \"**/*.ts\"", - "lint:fix": "eslint \"**/*.ts\" --fix", - "test": "node --experimental-vm-modules ./node_modules/jest/bin/jest.js --runInBand --coverage", - "pre-checkin": "npm run format && npm run lint:fix && npm run build && npm test" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/actions/setup-go.git" - }, - "keywords": [ - "actions", - "go", - "setup" - ], - "author": "GitHub", - "license": "MIT", - "dependencies": { - "@actions/cache": "^6.2.0", - "@actions/core": "^3.0.1", - "@actions/exec": "^3.0.0", - "@actions/glob": "^0.7.0", - "@actions/http-client": "^4.0.1", - "@actions/io": "^3.0.2", - "@actions/tool-cache": "^4.0.0", - "semver": "^7.8.5" - }, - "devDependencies": { - "@eslint/js": "^10.0.1", - "@jest/globals": "^30.4.1", - "@types/node": "^24.0.0", - "@types/semver": "^7.7.0", - "@typescript-eslint/eslint-plugin": "^8.62.0", - "@typescript-eslint/parser": "^8.62.0", - "@vercel/ncc": "^0.44.0", - "eslint": "^10.5.0", - "eslint-config-prettier": "^10.0.0", - "eslint-plugin-jest": "^29.15.2", - "eslint-plugin-n": "^18.1.0", - "globals": "^17.7.0", - "jest": "^30.4.2", - "nock": "^14.0.0", - "prettier": "^3.8.4", - "ts-jest": "^29.4.11", - "typescript": "^6.0.3" - } -} +{ + "name": "setup-go", + "version": "7.0.0", + "type": "module", + "private": true, + "description": "setup go action", + "main": "lib/setup-go.js", + "engines": { + "node": ">=24.0.0" + }, + "scripts": { + "build": "tsc && ncc build -o dist/setup src/setup-go.ts && ncc build -o dist/cache-save src/cache-save.ts", + "format": "prettier --no-error-on-unmatched-pattern --write \"**/*.{ts,yml,yaml}\"", + "format-check": "prettier --no-error-on-unmatched-pattern --check \"**/*.{ts,yml,yaml}\"", + "lint": "eslint \"**/*.ts\"", + "lint:fix": "eslint \"**/*.ts\" --fix", + "test": "node --experimental-vm-modules ./node_modules/jest/bin/jest.js --runInBand --coverage", + "pre-checkin": "npm run format && npm run lint:fix && npm run build && npm test" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/actions/setup-go.git" + }, + "keywords": [ + "actions", + "go", + "setup" + ], + "author": "GitHub", + "license": "MIT", + "dependencies": { + "@actions/cache": "^6.2.0", + "@actions/core": "^3.0.1", + "@actions/exec": "^3.0.0", + "@actions/glob": "^0.7.0", + "@actions/http-client": "^4.0.1", + "@actions/io": "^3.0.2", + "@actions/tool-cache": "^4.0.0", + "semver": "^7.8.5" + }, + "devDependencies": { + "@eslint/js": "^10.0.1", + "@jest/globals": "^30.4.1", + "@types/node": "^24.0.0", + "@types/semver": "^7.7.0", + "@typescript-eslint/eslint-plugin": "^8.62.0", + "@typescript-eslint/parser": "^8.62.0", + "@vercel/ncc": "^0.44.0", + "eslint": "^10.5.0", + "eslint-config-prettier": "^10.0.0", + "eslint-plugin-jest": "^29.15.2", + "eslint-plugin-n": "^18.1.0", + "globals": "^17.7.0", + "jest": "^30.4.2", + "nock": "^14.0.0", + "prettier": "^3.8.4", + "ts-jest": "^29.4.11", + "typescript": "^6.0.3" + } +}