Updated the files.
This commit is contained in:
parent
1553e6b971
commit
753967d4f5
23418 changed files with 3784666 additions and 0 deletions
22
my-app/node_modules/@yarnpkg/lockfile/README.md
generated
vendored
Executable file
22
my-app/node_modules/@yarnpkg/lockfile/README.md
generated
vendored
Executable file
|
@ -0,0 +1,22 @@
|
|||
# yarn-lockfile
|
||||
|
||||
Parse and/or write `yarn.lock` files
|
||||
|
||||
## Usage Examples
|
||||
|
||||
```js
|
||||
const fs = require('fs');
|
||||
const lockfile = require('@yarnpkg/lockfile');
|
||||
// or (es6)
|
||||
import fs from 'fs';
|
||||
import * as lockfile from '@yarnpkg/lockfile';
|
||||
|
||||
let file = fs.readFileSync('yarn.lock', 'utf8');
|
||||
let json = lockfile.parse(file);
|
||||
|
||||
console.log(json);
|
||||
|
||||
let fileAgain = lockfile.stringify(json);
|
||||
|
||||
console.log(fileAgain);
|
||||
```
|
10273
my-app/node_modules/@yarnpkg/lockfile/index.js
generated
vendored
Executable file
10273
my-app/node_modules/@yarnpkg/lockfile/index.js
generated
vendored
Executable file
File diff suppressed because it is too large
Load diff
15
my-app/node_modules/@yarnpkg/lockfile/package.json
generated
vendored
Executable file
15
my-app/node_modules/@yarnpkg/lockfile/package.json
generated
vendored
Executable file
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"name": "@yarnpkg/lockfile",
|
||||
"version": "1.1.0",
|
||||
"description": "The parser/stringifier for Yarn lockfiles.",
|
||||
"main": "index.js",
|
||||
"repository": "https://github.com/yarnpkg/yarn/blob/master/packages/lockfile",
|
||||
"keywords": [
|
||||
"yarn",
|
||||
"yarnpkg",
|
||||
"lockfile",
|
||||
"dependency",
|
||||
"npm"
|
||||
],
|
||||
"license": "BSD-2-Clause"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue