-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/main' into feat/readonly-root
- Loading branch information
Showing
41 changed files
with
843 additions
and
727 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
FROM ghcr.io/containerbase/devcontainer:9.33.1 | ||
FROM ghcr.io/containerbase/devcontainer:9.33.9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
{ | ||
"name": "containerbase", | ||
"build": { | ||
"dockerfile": "Dockerfile", | ||
"dockerfile": "Dockerfile" | ||
}, | ||
"customizations": { | ||
"vscode": { | ||
"settings": { | ||
"terminal.integrated.profiles.linux": { | ||
"bash": { | ||
"path": "bash", | ||
"icon": "terminal-bash", | ||
}, | ||
"icon": "terminal-bash" | ||
} | ||
}, | ||
"terminal.integrated.defaultProfile.linux": "bash", | ||
"terminal.integrated.defaultProfile.linux": "bash" | ||
}, | ||
"extensions": ["dbaeumer.vscode-eslint", "esbenp.prettier-vscode"], | ||
}, | ||
"extensions": ["dbaeumer.vscode-eslint", "esbenp.prettier-vscode"] | ||
} | ||
}, | ||
"postCreateCommand": "pnpm install", | ||
"postCreateCommand": "pnpm install" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
20.10.0 | ||
20.11.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,7 +35,7 @@ | |
"bats-support": "0.3.0", | ||
"esbuild": "0.20.0", | ||
"tsconfig-paths": "4.2.0", | ||
"vite": "5.0.12" | ||
"vite": "5.1.1" | ||
}, | ||
"dependencies": { | ||
"@sindresorhus/is": "6.1.0", | ||
|
@@ -45,32 +45,32 @@ | |
"del": "7.1.0", | ||
"execa": "8.0.1", | ||
"global-agent": "3.0.0", | ||
"got": "14.1.0", | ||
"got": "14.2.0", | ||
"inversify": "6.0.2", | ||
"pino": "8.18.0", | ||
"pino-pretty": "10.3.1", | ||
"pretty-ms": "9.0.0", | ||
"reflect-metadata": "0.2.1", | ||
"semver": "7.5.4", | ||
"semver": "7.6.0", | ||
"simple-git": "3.22.0", | ||
"tar": "6.2.0", | ||
"typanion": "3.14.0" | ||
}, | ||
"devDependencies": { | ||
"@semantic-release/exec": "6.0.3", | ||
"@tsconfig/node20": "20.1.2", | ||
"@tsconfig/strictest": "2.0.2", | ||
"@tsconfig/strictest": "2.0.3", | ||
"@types/common-tags": "1.8.4", | ||
"@types/global-agent": "2.1.3", | ||
"@types/node": "20.11.16", | ||
"@types/node": "20.11.17", | ||
"@types/semver": "7.5.6", | ||
"@types/shelljs": "0.8.15", | ||
"@types/tar": "6.1.11", | ||
"@typescript-eslint/eslint-plugin": "6.20.0", | ||
"@typescript-eslint/parser": "6.20.0", | ||
"@typescript-eslint/eslint-plugin": "6.21.0", | ||
"@typescript-eslint/parser": "6.21.0", | ||
"@vitest/coverage-v8": "1.2.2", | ||
"@vitest/ui": "1.2.2", | ||
"@yao-pkg/pkg": "5.11.1", | ||
"@yao-pkg/pkg": "5.11.2", | ||
"bats": "1.10.0", | ||
"bats-assert": "2.0.0", | ||
"bats-support": "0.3.0", | ||
|
@@ -87,19 +87,19 @@ | |
"eslint-plugin-jest-formatting": "3.1.0", | ||
"eslint-plugin-promise": "6.1.1", | ||
"eslint-plugin-typescript-enum": "2.1.0", | ||
"eslint-plugin-vitest": "0.3.21", | ||
"eslint-plugin-vitest": "0.3.22", | ||
"husky": "9.0.10", | ||
"lint-staged": "15.2.1", | ||
"lint-staged": "15.2.2", | ||
"nock": "13.5.1", | ||
"npm-run-all2": "6.1.2", | ||
"prettier": "3.2.4", | ||
"prettier": "3.2.5", | ||
"prettier-plugin-packagejson": "2.4.10", | ||
"semantic-release": "23.0.0", | ||
"semantic-release": "23.0.2", | ||
"shelljs": "0.8.5", | ||
"tsx": "4.7.0", | ||
"tsx": "4.7.1", | ||
"type-fest": "4.10.2", | ||
"typescript": "5.3.3", | ||
"vite": "5.0.12", | ||
"vite": "5.1.1", | ||
"vite-tsconfig-paths": "4.3.1", | ||
"vitest": "1.2.2", | ||
"vitest-github-actions-reporter": "0.11.1" | ||
|
@@ -111,8 +111,10 @@ | |
}, | ||
"pnpm": { | ||
"patchedDependencies": { | ||
"[email protected]": "patches/[email protected]" | ||
"[email protected]": "patches/[email protected]", | ||
"@yao-pkg/[email protected]": "patches/@[email protected]" | ||
}, | ||
"allowNonAppliedPatches": true, | ||
"supportedArchitectures": { | ||
"os": [ | ||
"linux", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
diff --git a/prelude/bootstrap.js b/prelude/bootstrap.js | ||
index 36aa2a4d1448fa33869181fe0a9ab5fd92abd0bd..809eeaee0943875745e1d82ae81c5bb427332b3d 100644 | ||
--- a/prelude/bootstrap.js | ||
+++ b/prelude/bootstrap.js | ||
@@ -2113,7 +2113,7 @@ function payloadFileSync(pointer) { | ||
modifyLong(args, 0); | ||
return ancestor.execSync.apply(childProcess, args); | ||
}; | ||
-})(); | ||
+}); // fix: disable child_process patch (); | ||
|
||
// ///////////////////////////////////////////////////////////////// | ||
// PROMISIFY /////////////////////////////////////////////////////// | ||
@@ -2147,40 +2147,41 @@ function payloadFileSync(pointer) { | ||
// ///////////////////////////////////////////////////////////// | ||
// CHILD_PROCESS /////////////////////////////////////////////// | ||
// ///////////////////////////////////////////////////////////// | ||
- | ||
- const customPromiseExecFunction = | ||
- (o) => | ||
- (...args) => { | ||
- let resolve; | ||
- let reject; | ||
- const p = new Promise((res, rej) => { | ||
- resolve = res; | ||
- reject = rej; | ||
- }); | ||
- | ||
- p.child = o.apply( | ||
- undefined, | ||
- args.concat((error, stdout, stderr) => { | ||
- if (error !== null) { | ||
- error.stdout = stdout; | ||
- error.stderr = stderr; | ||
- reject(error); | ||
- } else { | ||
- resolve({ stdout, stderr }); | ||
- } | ||
- }), | ||
- ); | ||
- | ||
- return p; | ||
- }; | ||
- | ||
- Object.defineProperty(childProcess.exec, custom, { | ||
- value: customPromiseExecFunction(childProcess.exec), | ||
- }); | ||
- | ||
- Object.defineProperty(childProcess.execFile, custom, { | ||
- value: customPromiseExecFunction(childProcess.execFile), | ||
- }); | ||
+ | ||
+ // fix: disable child_process patch | ||
+ // const customPromiseExecFunction = | ||
+ // (o) => | ||
+ // (...args) => { | ||
+ // let resolve; | ||
+ // let reject; | ||
+ // const p = new Promise((res, rej) => { | ||
+ // resolve = res; | ||
+ // reject = rej; | ||
+ // }); | ||
+ | ||
+ // p.child = o.apply( | ||
+ // undefined, | ||
+ // args.concat((error, stdout, stderr) => { | ||
+ // if (error !== null) { | ||
+ // error.stdout = stdout; | ||
+ // error.stderr = stderr; | ||
+ // reject(error); | ||
+ // } else { | ||
+ // resolve({ stdout, stderr }); | ||
+ // } | ||
+ // }), | ||
+ // ); | ||
+ | ||
+ // return p; | ||
+ // }; | ||
+ | ||
+ // Object.defineProperty(childProcess.exec, custom, { | ||
+ // value: customPromiseExecFunction(childProcess.exec), | ||
+ // }); | ||
+ | ||
+ // Object.defineProperty(childProcess.execFile, custom, { | ||
+ // value: customPromiseExecFunction(childProcess.execFile), | ||
+ // }); | ||
})(); | ||
|
||
// ///////////////////////////////////////////////////////////////// |
Oops, something went wrong.