Merge branch 'main' into esm-asar-entrypoints

This commit is contained in:
2025-12-12 14:42:02 +01:00
35 changed files with 6036 additions and 3429 deletions

View File

@@ -2,8 +2,8 @@
"name": "@electron/universal",
"version": "0.0.0-development",
"description": "Utility for creating Universal macOS applications from two x64 and arm64 Electron applications",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"type": "module",
"exports": "./dist/index.js",
"license": "MIT",
"keywords": [
"electron",
@@ -12,10 +12,10 @@
],
"repository": {
"type": "git",
"url": "https://github.com/electron/universal.git"
"url": "git+https://github.com/electron/universal.git"
},
"engines": {
"node": ">=16.4"
"node": ">=22.12.0"
},
"files": [
"dist/*",
@@ -25,39 +25,39 @@
"README.md"
],
"author": "Samuel Attard",
"publishConfig": {
"provenance": true
},
"scripts": {
"build": "tsc -p tsconfig.cjs.json && tsc -p tsconfig.esm.json && tsc -p entry-asar/esm/tsconfig.json && tsc -p entry-asar/cjs/tsconfig.json",
"build:docs": "npx typedoc",
"lint": "prettier --check \"{src,entry-asar,test}/**/*.ts\" \"*.ts\"",
"prettier:write": "prettier --write \"{src,entry-asar,test}/**/*.ts\" \"*.ts\"",
"prepublishOnly": "npm run build",
"test": "jest",
"prepare": "husky install"
"prepack": "npm run build",
"test": "vitest run",
"prepare": "husky"
},
"devDependencies": {
"@electron/get": "^3.0.0",
"@electron/get": "^4.0.0",
"@tsconfig/node22": "^22.0.1",
"@types/cross-zip": "^4.0.1",
"@types/debug": "^4.1.10",
"@types/fs-extra": "^11.0.3",
"@types/jest": "^29.5.7",
"@types/minimatch": "^5.1.2",
"@types/node": "^20.8.10",
"@types/node": "~22.10.7",
"@types/plist": "^3.0.4",
"cross-zip": "^4.0.0",
"husky": "^8.0.3",
"jest": "^29.7.0",
"lint-staged": "^15.0.2",
"prettier": "^3.0.3",
"ts-jest": "^29.1.1",
"husky": "^9.1.7",
"lint-staged": "^16.1.0",
"prettier": "^3.5.3",
"typedoc": "~0.25.13",
"typescript": "^5.2.2"
"typescript": "^5.8.3",
"vitest": "^3.1.3"
},
"dependencies": {
"@electron/asar": "^3.2.7",
"@electron/asar": "^4.0.0",
"@malept/cross-spawn-promise": "^2.0.0",
"debug": "^4.3.1",
"dir-compare": "^4.2.0",
"fs-extra": "^11.1.1",
"minimatch": "^9.0.3",
"plist": "^3.1.0"
},
@@ -66,7 +66,5 @@
"prettier --write"
]
},
"resolutions": {
"jackspeak": "2.1.1"
}
"packageManager": "yarn@4.10.3+sha512.c38cafb5c7bb273f3926d04e55e1d8c9dfa7d9c3ea1f36a4868fa028b9e5f72298f0b7f401ad5eb921749eb012eb1c3bb74bf7503df3ee43fd600d14a018266f"
}