Skip to content

Commit

Permalink
Merge pull request #121 from aminya/admina [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya authored Aug 27, 2022
2 parents 8e3dedf + 0daa34d commit a349c5c
Show file tree
Hide file tree
Showing 26 changed files with 730 additions and 782 deletions.
2 changes: 0 additions & 2 deletions dist/actions_python.08b116bb.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/actions_python.08b116bb.js.map

This file was deleted.

2 changes: 2 additions & 0 deletions dist/actions_python.f90e48a4.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/actions_python.f90e48a4.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/setup_cpp.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/setup_cpp.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion ignored-error-codes.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
["TS6133", "TS7010"]
["TS6133"]
2 changes: 1 addition & 1 deletion loosely-type-checked-files.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
["node_modules/setup-python/src/cache-distributions/poetry-cache.ts", "node_modules/time-delta/types/index.d.ts"]
["node_modules/setup-python/src/cache-distributions/poetry-cache.ts"]
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
"@actions/io": "^1.1.2",
"@actions/tool-cache": "^2.0.1",
"@npmcli/ci-detect": "github:aminya/ci-detect#37fe40075bebec96794ba0a7c4a6d5c70cbea00d",
"admina": "^0.1.1",
"ci-log": "workspace:1.0.0",
"escape-path-with-spaces": "github:aminya/escape-path-with-spaces#d9f81ee649203ddc55783a2f96ada59df06118e3",
"exec-powershell": "workspace:1.0.0",
Expand All @@ -64,7 +65,6 @@
"msvc-dev-cmd": "github:aminya/msvc-dev-cmd#9f672c1",
"numerous": "1.0.3",
"patha": "^0.4.0",
"root-tools": "workspace:1.0.0",
"semver": "7.3.7",
"setup-python": "github:actions/setup-python#c474c82340438924daab9282d07300bfe7e3692d",
"time-delta": "github:aminya/time-delta#69d91a41cef28e569be9a2991129f5f7d1f0d00e",
Expand All @@ -75,9 +75,9 @@
},
"devDependencies": {
"@types/cross-spawn": "^6.0.2",
"@types/jest": "^28.1.7",
"@types/jest": "^28.1.8",
"@types/mri": "^1.1.1",
"@types/node": "^18.7.9",
"@types/node": "^18.7.13",
"@types/semver": "^7.3.12",
"@types/which": "^2.0.1",
"caxa": "^2.1.0",
Expand All @@ -87,7 +87,7 @@
"eslint": "^8.22.0",
"eslint-config-atomic": "^1.18.1",
"gen-readme": "^1.6.0",
"jest": "^28.1.3",
"jest": "^29.0.0",
"loose-ts-check": "^1.2.0",
"npm-check-updates": "^16.0.5",
"npm-run-all2": "^6.0.2",
Expand All @@ -99,7 +99,7 @@
"terser-config-atomic": "^0.1.1",
"ts-jest": "^28.0.8",
"ts-readme": "^1.1.3",
"typescript": "^4.7.4"
"typescript": "^4.8.2"
},
"engines": {
"node": ">=12.x"
Expand Down
2 changes: 1 addition & 1 deletion packages/ci-log/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"build": "tsc"
},
"dependencies": {
"@actions/core": "^1.9.0",
"@actions/core": "^1.9.1",
"@npmcli/ci-detect": "github:aminya/ci-detect#37fe40075bebec96794ba0a7c4a6d5c70cbea00d"
},
"keywords": [
Expand Down
76 changes: 0 additions & 76 deletions packages/root-tools/README.md

This file was deleted.

41 changes: 0 additions & 41 deletions packages/root-tools/package.json

This file was deleted.

60 changes: 0 additions & 60 deletions packages/root-tools/src/index.ts

This file was deleted.

7 changes: 0 additions & 7 deletions packages/root-tools/tsconfig.json

This file was deleted.

2 changes: 1 addition & 1 deletion packages/untildify-user/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"build": "tsc"
},
"dependencies": {
"root-tools": "workspace:*",
"admina": "0.1.1",
"untildify": "^4.0.0"
},
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion packages/untildify-user/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { join } from "path"
import untildify from "untildify"
import { isSudo } from "root-tools"
import { isSudo } from "admina"

export function untildifyUser(path: string) {
if (isSudo() && typeof process.env.SUDO_USER === "string") {
Expand Down
2 changes: 1 addition & 1 deletion packages/user-access/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"build": "tsc"
},
"dependencies": {
"root-tools": "workspace:*"
"admina": "0.1.1"
},
"keywords": [
"chown",
Expand Down
2 changes: 1 addition & 1 deletion packages/user-access/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { isSudo, execRootSync } from "root-tools"
import { isSudo, execRootSync } from "admina"

/**
* Give the user access to the given path and its sub-directories. It changes the owner to the SUDO_USER. This allows
Expand Down
Loading

0 comments on commit a349c5c

Please sign in to comment.