[Pkg-javascript-devel] Yarnpkg future
Pirate Praveen
praveen at onenetbeyond.org
Thu Jan 7 09:08:47 GMT 2021
On Wed, Jan 6, 2021 at 7:54 pm, Pirate Praveen
<praveen at onenetbeyond.org> wrote:
> I'm trying to build corepack and it is progressing well. We will need
> to package some dependencies (clipanion, terser-webpack-plugin,
> ts-loader etc). I will report how it goes as I make progress.
Good news. I got a working yarn 2 build from the git main branch
snapshot with .yarn/cache removed.
I had to use npm dist tarballs for
clipanion terser terser-webpack-plugin ts-loader
@yarnpkg/fslib @zkochan/cmd-shim
terser in the archive seems to be missing some features (octal escape
sequences not supported), so it needs to be updated to 4.8.0.
Also schema-utils 2.x for terser-webpack-plugin.
In the process I also added @types/tar and @types/which to node-tar and
node-which
(debian-sid)praveen at mahishasura:/tmp/project2$ node
~/forge/corepack-main/dist/yarn.js init -y
{
name: 'project2'
}
(debian-sid)praveen at mahishasura:/tmp/project2$ node
~/forge/corepack-main/dist/yarn.js add pretty-ms
yarn add v1.22.10
warning package.json: No license field
warning ../package.json: No license field
info No lockfile found.
warning project2: No license field
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Saved lockfile.
warning project2: No license field
success Saved 2 new dependencies.
info Direct dependencies
└─ pretty-ms at 7.0.1
info All dependencies
├─ parse-ms at 2.1.0
└─ pretty-ms at 7.0.1
Done in 0.45s.
(debian-sid)praveen at mahishasura:/tmp/project2$ ls
node_modules package.json README.md yarn.lock
More information about the Pkg-javascript-devel
mailing list