Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: mvp #1

Merged
merged 45 commits into from
Dec 5, 2023
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
6a7c25a
wip: docker based suite
Yohe-Am Nov 8, 2023
b2459ac
Merge branch 'main' into feat/mvp
Yohe-Am Nov 9, 2023
058a964
wip: worker based plugins
Yohe-Am Nov 9, 2023
40da885
wip: installation
Yohe-Am Nov 12, 2023
98fea71
wip: shimmy shim shim
Yohe-Am Nov 16, 2023
084d519
feat: ambient access plugs
Yohe-Am Nov 17, 2023
40c106a
feat: plugin deps
Yohe-Am Nov 19, 2023
5bf620f
feat: wasmedge, lib/include shims support and globs
Yohe-Am Nov 22, 2023
7cf84cb
feat(plug): pnpm
Yohe-Am Nov 22, 2023
88f1993
feat(plug): cargo-instal and wasm-tools
Yohe-Am Nov 23, 2023
4dd100b
feat(plug): wasm-opt & cargo-insta
Yohe-Am Nov 23, 2023
56657b7
feat(ci): e2e tests and some new plugs
Yohe-Am Nov 24, 2023
f9573b1
Merge branch 'main' into feat/mvp
Yohe-Am Nov 24, 2023
10b1108
wip: asdf plug support
Yohe-Am Nov 24, 2023
612731c
fix: missing changes
Yohe-Am Nov 24, 2023
97d1c6f
feat(core): asdf support
Yohe-Am Nov 24, 2023
411ee78
fix: formatting
Yohe-Am Nov 24, 2023
1b8bcfb
fix(tests): disable asdf-python
Yohe-Am Nov 24, 2023
e52fbcf
feat(plug): protoc
Yohe-Am Nov 26, 2023
4ee2592
feat(tests): `protoc`
Yohe-Am Nov 26, 2023
627e3d4
refactor(hooks): move to bash-preexec
Yohe-Am Nov 27, 2023
b3fd19f
fix(hooks): `init_ghjk` directly in hooks.sh
Yohe-Am Nov 27, 2023
eee3a6d
feat(plug): earthly
Yohe-Am Nov 27, 2023
915abbc
fix: change installId format to something less problematic
Yohe-Am Nov 28, 2023
6fe347e
feat(plug): ruff
Yohe-Am Nov 28, 2023
0a90307
feat(plug): whiz
Yohe-Am Nov 30, 2023
08b4c36
refactor: native js `unarchive`
Yohe-Am Nov 30, 2023
f21dafb
fix: use zipjs
Yohe-Am Nov 30, 2023
0b0fb49
fix: better `unarchive`
Yohe-Am Nov 30, 2023
74d44a6
fix: get tests working
Yohe-Am Nov 30, 2023
237c057
fix: address feedback
Yohe-Am Nov 30, 2023
5e19714
fix: remove dead code
Yohe-Am Nov 30, 2023
f95a1bc
refactor: `install.ts` -> `setup.ts`
Yohe-Am Dec 1, 2023
d7511a6
refactor: `setup.ts` -> `init.ts`
Yohe-Am Dec 1, 2023
f06ec82
wip: `modules`
Yohe-Am Dec 1, 2023
da08af2
wip: `plugs` -> `ports`
Yohe-Am Dec 1, 2023
324906d
refactor: big un
Yohe-Am Dec 2, 2023
fb7d8e0
fix: apply feedback
Yohe-Am Dec 4, 2023
cbb0f39
fix: pin debian pkg versions for test dockerfile
Yohe-Am Dec 4, 2023
1c818e0
fix: back to aliases and zsh support
Yohe-Am Dec 4, 2023
9dc062c
refactor(hooks): explicit bash command
Yohe-Am Dec 4, 2023
fe0e00b
feat(ci): ghjk action
Yohe-Am Dec 5, 2023
56de32f
fix(ci): missing shell prop
Yohe-Am Dec 5, 2023
fa8e79a
fix(action): improve outputs
Yohe-Am Dec 5, 2023
278beb1
refactor: make hooks more efficient
Yohe-Am Dec 5, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.git
.vscode
tests/
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
.DS_Store
play.ts
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,12 @@ repos:
- ts
- tsx
files: ^website/
- id: version
name: "Lock versions"
always_run: true
Yohe-Am marked this conversation as resolved.
Show resolved Hide resolved
language: system
entry: bash -c 'deno run -A dev/lock.ts --check'
pass_filenames: false
# - id: version
Yohe-Am marked this conversation as resolved.
Show resolved Hide resolved
# name: "Lock versions"
# always_run: true
# language: system
# entry: bash -c 'deno run -A dev/lock.ts --check'
# pass_filenames: false
- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.5.4
hooks:
Expand Down
7 changes: 5 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,8 @@
"deno.codeLens.referencesAllFunctions": true,
"[typescript]": {
"editor.defaultFormatter": "denoland.vscode-deno"
}
}
},
"cSpell.words": [
"ghjk"
]
}
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,10 @@ and looks as follows (abstracting away some implementation details):
- pnpm
- mold({ if: Deno.build.os === "Macos" })
- hash verifiable dependencies (timestamp)
- hide the `Deno` object in an abstraction

## design considerations

- keep interface with plugins KISS, open to consumption by others
- `ghjk.ts` scripts are executed in a secure sandbox and the plugins it declares
are each run in a separate worker and only given access to relevant dirs
2 changes: 1 addition & 1 deletion cli/cleanup.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Command } from "./deps.ts";
import { Command } from "../deps/cli.ts";

export class CleanupCommand extends Command {
constructor() {
Expand Down
123 changes: 0 additions & 123 deletions cli/core/hooks.ts

This file was deleted.

55 changes: 0 additions & 55 deletions cli/core/tools.ts

This file was deleted.

15 changes: 0 additions & 15 deletions cli/deps.ts

This file was deleted.

Loading