Open Milly opened 2 months ago
I tried the following and it worked fine in this simple case:
File: a.ts
import * as _ from "jsr:@std/async@^1.0.0";
File: b.ts
```ts
import * as _ from "jsr:@std/async@^0.224.0";
Run:
> deno run -A jsr:@molt/cli a.ts b.ts
� @std/async 0.224.2 → 1.0.3 (^1.0.0, ^0.224.0 → ^1.0.0)
In denops.vim, a non-existent version of @std/async
was defined as a test fixture for testing the dependencies cache. This was the direct cause of the error.
File: tests/denops/testdata/no_check/cli_constraint_error_on_issue_401.ts
import * as _ from "jsr:@std/async@1.0.0-constraint-error";
Does molt/cli have a function to exclude files? I couldn't use --ignore
because it ignores dependencies.
I want it like this:
deno run -A jsr:@molt/cli --exclude no_check **/*.ts
It would also be good if the same could be done with molt-action:
steps:
- uses: hasundue/molt-action@v1
with:
source: "**/*.ts"
exclude: "no_check"
@Milly Sorry for my late response, and appreciate your effort for investigating the problem :pray:
Does molt/cli have a function to exclude files?
No, unfortunately. You may utilize the glob of your shell though.
exclude
option and input to the CLI and the action respectively.I'm preparing for the moving on the weekend these days, so I'm afraid but it is unlikely for these tasks done before that.
@molt/action
In github action in Denops.vim (eb9ef6a): https://github.com/vim-denops/denops.vim/actions/runs/10436394656/job/28901411214#step:3:480Also, when running the
@molt/cli
, anAssertionError
without message.I'm guessing the cause is probably the same. How should I deal with this?