mirror of
https://github.com/JamesIves/github-pages-deploy-action.git
synced 2026-05-31 00:12:03 +08:00
* chore: merge all Dependabot dependency updates with fixes - Update @actions/core/exec/github/io to v3/v9 (ESM-only) - Update @eslint/js to v10, @typescript-eslint/* to 8.58, eslint-plugin-jest/prettier - Update jest 29→30, typescript 5.8→6.0, @types/jest/node, prettier, rimraf, ts-jest - Update lodash 4.17→4.18 (yarn.lock only) - Add CJS test stubs for ESM-only @actions/* packages - Update tsconfig.json: target es2022, add types for node+jest - Update jest.config.js: moduleNameMapper for stubs, remove jest-circus runner - Fix new lint rules: preserve-caught-error and no-useless-assignment Agent-Logs-Url: https://github.com/JamesIves/github-pages-deploy-action/sessions/2a6d68c0-eab5-4c98-a927-2525b124ca87 Co-authored-by: JamesIves <10888441+JamesIves@users.noreply.github.com> * refactor: convert project to proper ESM - package.json: add "type": "module" for ESM runtime + nodenext compilation - tsconfig.json: module/moduleResolution → nodenext (ESM output with .js extensions) - src/*.ts: add .js extensions to all relative imports - __tests__/*.test.ts: add .js to relative imports, remove jest.mock() factories for @actions/* - jest.config.js → jest.config.cjs: CJS jest config, moduleNameMapper strips .js for ts-jest - __mocks__/@actions/*.js + package.json: proper Jest manual mocks (CJS, with functional implementations for integration tests) replacing __tests__/stubs/ workaround - eslint.config.mjs: ignore __mocks__/** instead of __tests__/stubs/** Agent-Logs-Url: https://github.com/JamesIves/github-pages-deploy-action/sessions/c73b8f61-87f7-4eab-8e99-d363a69f6e66 Co-authored-by: JamesIves <10888441+JamesIves@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: JamesIves <10888441+JamesIves@users.noreply.github.com>
62 lines
1.6 KiB
JSON
62 lines
1.6 KiB
JSON
{
|
|
"name": "@jamesives/github-pages-deploy-action",
|
|
"description": "GitHub action for building a project and deploying it to GitHub pages.",
|
|
"author": "James Ives <iam@jamesiv.es> (https://jamesiv.es)",
|
|
"version": "4.8.0",
|
|
"license": "MIT",
|
|
"type": "module",
|
|
"main": "lib/lib.js",
|
|
"types": "lib/lib.d.ts",
|
|
"scripts": {
|
|
"build": "rimraf lib && tsc --declaration",
|
|
"test": "jest",
|
|
"lint": "eslint --fix .",
|
|
"lint:check": "eslint .",
|
|
"lint:format": "prettier --write .",
|
|
"lint:format:check": "prettier --check ."
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/JamesIves/github-pages-deploy-action.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/JamesIves/github-pages-deploy-action/issues"
|
|
},
|
|
"homepage": "https://github.com/JamesIves/github-pages-deploy-action",
|
|
"keywords": [
|
|
"actions",
|
|
"node",
|
|
"setup",
|
|
"build",
|
|
"deploy",
|
|
"gh-pages",
|
|
"pages",
|
|
"github",
|
|
"deploy",
|
|
"deployment"
|
|
],
|
|
"dependencies": {
|
|
"@actions/core": "3.0.0",
|
|
"@actions/exec": "3.0.0",
|
|
"@actions/github": "9.0.0",
|
|
"@actions/io": "3.0.2",
|
|
"@eslint/js": "^10.0.1",
|
|
"typescript-eslint": "^8.13.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/jest": "30.0.0",
|
|
"@types/node": "25.5.0",
|
|
"@typescript-eslint/eslint-plugin": "8.58.0",
|
|
"@typescript-eslint/parser": "8.58.0",
|
|
"eslint": "10.1.0",
|
|
"eslint-config-prettier": "10.1.8",
|
|
"eslint-plugin-jest": "29.15.1",
|
|
"eslint-plugin-prettier": "5.5.5",
|
|
"jest": "30.3.0",
|
|
"prettier": "3.8.1",
|
|
"rimraf": "6.1.3",
|
|
"ts-jest": "29.4.9",
|
|
"typescript": "6.0.2"
|
|
}
|
|
}
|