google / google/wireit

Incompatible with yarn@4.4.0

Open
#1,156 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
6.4k
Forks
128
Avg merge
4d 10h
Merged PRs (30d)
4

Description

Here is a package.json I have in my workspace:

```json
{
"private": true,

"scripts": {
"build": "yarn run -TB wireit",
"deploy": "yarn run -TB wireit"
},
"wireit": {
"build": {
"command": "./copy_files.py",

},
"deploy": {
"command": "firebase deploy",
"dependencies": [
"build"
]
}
}
}
```

`yarn run deploy` runs fine in that folder with yarn@4.0.1.

In 4.4.0, I get this error:

```
❌ package.json:1:1 Script "deploy" not found in the scripts section of this package.json.
```

It appears to be from [`analyzer.ts`](https://github.com/google/wireit/blob/main/src/analyzer.ts#L452), although the error message doesn't specify _which_ package.json is problematic.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.