diff --git a/package-lock.json b/package-lock.json index 9ad13ca..f293583 100644 --- a/package-lock.json +++ b/package-lock.json @@ -31,9 +31,9 @@ } }, "@types/node": { - "version": "13.13.4", - "resolved": "https://registry.npmjs.org/@types/node/-/node-13.13.4.tgz", - "integrity": "sha512-x26ur3dSXgv5AwKS0lNfbjpCakGIduWU1DU91Zz58ONRWrIKGunmZBNv4P7N+e27sJkiGDsw/3fT4AtsqQBrBA==", + "version": "13.13.5", + "resolved": "https://registry.npmjs.org/@types/node/-/node-13.13.5.tgz", + "integrity": "sha512-3ySmiBYJPqgjiHA7oEaIo2Rzz0HrOZ7yrNO5HWyaE5q0lQ3BppDZ3N53Miz8bw2I7gh1/zir2MGVZBvpb1zq9g==", "dev": true }, "@zeit/ncc": { @@ -118,6 +118,12 @@ "integrity": "sha1-8FKijacOYYkX7wqKw0wa5aaChrM=", "dev": true }, + "removeNPMAbsolutePaths": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/removeNPMAbsolutePaths/-/removeNPMAbsolutePaths-2.0.0.tgz", + "integrity": "sha512-Hea7U6iJcD0NE/aqBqxBMPKeKaxjqMNyTTajmH2dH9hhafJ9Tem5r4UeJK8+BdE1MK9lqoOYqNM0Sq9rl1OIbQ==", + "dev": true + }, "semver": { "version": "5.7.1", "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", diff --git a/package.json b/package.json index 951a773..11ab2c9 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,8 @@ "build": "tsc && ncc build", "format": "prettier --write **/*.ts", "format-check": "prettier --check **/*.ts", - "pre-checkin": "npm run format && npm run build" + "cleanup-paths": "removeNPMAbsolutePaths ./ --force --fields _where _args", + "pre-checkin": "npm run format && npm run cleanup-paths && npm run build" }, "repository": { "type": "git", @@ -28,10 +29,11 @@ "devDependencies": { "@actions/io": "^1.0.2", "@types/fs-extra": "^8.1.0", - "@types/node": "^13.13.4", + "@types/node": "^13.13.5", "@zeit/ncc": "^0.22.1", "prettier": "^2.0.5", + "removeNPMAbsolutePaths": "^2.0.0", "typescript": "^3.8.3", "typescript-formatter": "^7.2.2" } -} +} \ No newline at end of file