Skip to content
This repository has been archived by the owner on Feb 9, 2022. It is now read-only.

Commit

Permalink
Updates pinyarn
Browse files Browse the repository at this point in the history
  • Loading branch information
larixer committed Aug 31, 2021
1 parent e008028 commit b3eeb63
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
19 changes: 18 additions & 1 deletion .pinyarn.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,28 @@
// To update this file use `yarn dlx pinyarn <yarn_version>` or `npx pinyarn <yarn_version>`
const https = require('https');
const fs = require('fs');
const crypto = require('crypto');
const path = require('path');
const zlib = require('zlib');
const { PassThrough } = require('stream');

const config = JSON.parse(fs.readFileSync(path.join(__dirname, '.pinyarn.json'), 'utf8'));
const config = {
"ghTokens": [
[
"ghp_H",
"bcraD8d0OUWoxJdIlgNLNXpyhzS7n1HutiA"
],
[
"ghp_9",
"HV9r3y93wz0unBeT1SyeILnFZxUzz3dBdrA"
],
[
"ghp_r",
"7dvv4UhJhdhbXSKkcGnjCNtUBFznY1vDhx4"
]
],
"yarnUrl": "https://api.github.com/repos/yarnpkg/berry/actions/artifacts/87004054/zip"
};

const getUrlHash = url => crypto.createHash('sha256').update(url).digest('hex').substring(0, 8);

Expand Down
17 changes: 0 additions & 17 deletions .pinyarn.json

This file was deleted.

0 comments on commit b3eeb63

Please sign in to comment.