chore: upgrade to yarn3

This commit is contained in:
LongYinan 2022-01-24 11:33:51 +08:00
parent 135b27acf4
commit 1531489e18
No known key found for this signature in database
GPG key ID: C3666B7FC82ADAD7
31 changed files with 10028 additions and 6954 deletions

View file

@ -1,5 +1,5 @@
{
"name": "test-module",
"name": "compat-mode-examples",
"version": "1.0.0",
"scripts": {
"build": "node ../../cli/scripts/index.js build --js false --features \"latest\"",

View file

@ -320,7 +320,7 @@ test('async', async (t) => {
await t.notThrowsAsync(bufPromise)
const buf = await bufPromise
const { name } = JSON.parse(buf.toString())
t.is(name, 'napi-examples')
t.is(name, 'examples')
await t.throwsAsync(() => readFileAsync('some_nonexist_path.file'))
})

View file

@ -23,7 +23,7 @@ Generated by [AVA](https://avajs.dev).
'ava',
'benny',
'c8',
'chalk',
'colorette',
'cross-env',
'esbuild',
'eslint',

View file

@ -1,5 +1,5 @@
{
"name": "napi-examples",
"name": "examples",
"private": true,
"version": "0.0.0",
"main": "./index.node",