chore: upgrade to yarn3
This commit is contained in:
parent
135b27acf4
commit
1531489e18
31 changed files with 10028 additions and 6954 deletions
examples
napi-compat-mode
napi
|
@ -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\"",
|
||||
|
|
|
@ -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'))
|
||||
})
|
||||
|
|
|
@ -23,7 +23,7 @@ Generated by [AVA](https://avajs.dev).
|
|||
'ava',
|
||||
'benny',
|
||||
'c8',
|
||||
'chalk',
|
||||
'colorette',
|
||||
'cross-env',
|
||||
'esbuild',
|
||||
'eslint',
|
||||
|
|
Binary file not shown.
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "napi-examples",
|
||||
"name": "examples",
|
||||
"private": true,
|
||||
"version": "0.0.0",
|
||||
"main": "./index.node",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue