|
1 | 1 | {
|
2 | 2 | "compilerOptions": {
|
3 |
| - "allowJs": false, |
4 | 3 | "strict": true
|
5 | 4 | },
|
6 | 5 | "tasks": {
|
7 | 6 | // runs this source checkout, args will be passed
|
8 |
| - "run": "deno run --unstable-fs --unstable-ffi --unstable-process -A ./entrypoint.ts", |
| 7 | + "run": "deno run --allow-all ./entrypoint.ts", |
9 | 8 |
|
10 | 9 | // you can specify paths to specific tests if you need
|
11 |
| - // follows is the ideal permissions lines, unfortunately deno considers making symlinks to require full read/write permissions for fuck knows why reasons |
12 |
| - //"test": "deno test --allow-read=$PWD,$TMPDIR,$HOME,/ --allow-env --allow-write=$TMPDIR --allow-ffi --unstable", |
13 |
| - "test": "deno test --unstable-ffi --allow-ffi --allow-read --allow-env --allow-write", |
14 |
| - // ^^ ffi & unstable needed for execve.ts |
| 10 | + "test": "deno test --allow-all", |
15 | 11 |
|
16 | 12 | // installs to /usr/local/bin/pkgx
|
17 | 13 | "install": "deno task compile && ./pkgx +gnu.org/coreutils /usr/bin/sudo install -D ./pkgx /usr/local/bin/pkgx",
|
18 | 14 |
|
19 | 15 | //--------------------------------------- ci/cd/admin
|
20 | 16 | "coverage": "scripts/run-coverage.sh",
|
21 | 17 | "typecheck": "deno check ./entrypoint.ts",
|
22 |
| - "compile": "deno compile --lock=deno.lock --allow-read --allow-write --allow-net --allow-run --allow-env --allow-ffi --unstable-ffi --unstable-fs --unstable-process --output \"$INIT_CWD/pkgx\" ./entrypoint.ts" |
| 18 | + "compile": "deno compile --lock=deno.lock --allow-all --output \"$INIT_CWD/pkgx\" ./entrypoint.ts" |
23 | 19 | },
|
24 |
| - "pkgx": "deno~1.45", |
| 20 | + "pkgx": "deno~2.0", |
25 | 21 | "lint": {
|
26 | 22 | "exclude": ["src/**/*.test.ts"]
|
27 | 23 | },
|
28 | 24 | "fmt": {
|
29 |
| - "semiColons": false |
| 25 | + "semiColons": false |
30 | 26 | },
|
31 | 27 | "imports": {
|
| 28 | + "@cliffy/ansi": "jsr:@cliffy/ansi@^1.0.0-rc.7", |
| 29 | + "@std/assert": "jsr:@std/assert@^1.0.6", |
| 30 | + "@std/fmt": "jsr:@std/fmt@^1.0.2", |
| 31 | + "@std/io": "jsr:@std/io@^0.225.0", |
| 32 | + "@std/jsonc": "jsr:@std/jsonc@^1.0.1", |
| 33 | + "@std/path": "jsr:@std/path@^1.0.6", |
| 34 | + "@std/testing": "jsr:@std/testing@^1.0.3", |
| 35 | + "@std/yaml": "jsr:@std/yaml@^1.0.5", |
32 | 36 | "is-what": "https://deno.land/x/[email protected]/src/index.ts",
|
33 |
| - "pkgx": "https://deno.land/x/[email protected]/mod.ts", |
34 |
| - "pkgx/": "https://deno.land/x/[email protected]/src/", |
35 |
| - "outdent": "https://deno.land/x/[email protected]/mod.ts", |
36 |
| - "cliffy/": "https://deno.land/x/[email protected]/", |
37 |
| - "deno/": "https://deno.land/[email protected]/" |
| 37 | + "outdent": "jsr:@cspotcode/outdent@^0.8", |
| 38 | + "pkgx": "https://deno.land/x/[email protected]/mod.ts", |
| 39 | + "pkgx/": "https://deno.land/x/[email protected]/src/" |
38 | 40 | }
|
39 | 41 | }
|
0 commit comments