diff --git a/.yarnrc.yml b/.yarnrc.yml deleted file mode 100644 index 804e09927..000000000 --- a/.yarnrc.yml +++ /dev/null @@ -1,21 +0,0 @@ -defaultSemverRangePrefix: "" - -enableGlobalCache: true - -enableTelemetry: false - -httpRetry: 10 - -httpTimeout: 100000 - -nodeLinker: node-modules - -npmRegistryServer: "https://registry.verdaccio.org" - -plugins: - - path: .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs - spec: "@yarnpkg/plugin-workspace-tools" - - path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs - spec: "@yarnpkg/plugin-interactive-tools" - -yarnPath: .yarn/releases/yarn-berry.cjs diff --git a/babel.config.js b/babel.config.js deleted file mode 100644 index 3722f2772..000000000 --- a/babel.config.js +++ /dev/null @@ -1,22 +0,0 @@ -module.exports = { - presets: [ - [ - '@babel/env', - { - targets: { - node: '12', - }, - }, - ], - '@babel/typescript', - ], - plugins: [ - 'babel-plugin-dynamic-import-node', - '@babel/proposal-class-properties', - '@babel/proposal-object-rest-spread', - '@babel/plugin-proposal-optional-chaining', - '@babel/plugin-proposal-nullish-coalescing-operator', - '@babel/syntax-dynamic-import', - ], - ignore: ['**/*.d.ts'], -}; diff --git a/packages/proxy/src/up-storage.ts b/packages/proxy/src/up-storage.ts index e5df966c4..8b7da69f2 100644 --- a/packages/proxy/src/up-storage.ts +++ b/packages/proxy/src/up-storage.ts @@ -135,7 +135,7 @@ class ProxyStorage implements IProxy { this.agent_options = setConfig(this.config, 'agent_options', { keepAlive: true, maxSockets: 40, - maxFreeSockets: 10 + maxFreeSockets: 10, }); } diff --git a/test/functional/readme/pkg-readme-npm6.json b/test/functional/readme/pkg-readme-npm6.json deleted file mode 100644 index 873486610..000000000 --- a/test/functional/readme/pkg-readme-npm6.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "_id": "readme-test-npm6", - "name": "readme-test-npm6", - "description": "", - "dist-tags": { - "foo": "0.0.0", - "latest": "0.0.0" - }, - "versions": { - "0.0.0": { - "name": "test-readme", - "version": "0.0.0", - "description": "", - "main": "index.js", - "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" - }, - "repository": { - "type": "git", - "url": "" - }, - "author": "", - "license": "ISC", - "_id": "test-readme@0.0.0", - "dist": { - "shasum": "8ee7331cbc641581b1a8cecd9d38d744a8feb863", - "tarball": "http:\/\/localhost:1234\/test-readme\/-\/test-readme-0.0.0.tgz" - }, - "_from": ".", - "_npmVersion": "1.3.1", - "_npmUser": { - "name": "alex", - "email": "user@domain.com" - }, - "maintainers": [ - { - "name": "juan", - "email": "user@domain.com" - } - ] - } - }, - "readme": "this is a readme", - "maintainers": [ - { - "name": "juan", - "email": "user@domain.com" - } - ], - "_attachments": { - "test-readme-0.0.0.tgz": { - "content_type": "application\/octet-stream", - "data": "H4sIAAAAAAAAA+2TsW7CMBCGM\/spTh6YKHUSIJLXqkPnrixWcIMLsS3btCDEu\/fs0Ba1SFVVVISUP8Odzqf\/zlY+K+qlaOSt7eLo2RudnVmMsel4DBjzasKOY1JZlJDlRVkU5aSspnnG8pIVOZ6fe5FTWvsgHK7yV5\/uLvARr0Q7qkUrKadB+mCXzY2Wr9q2TjZ0SF+k88poPGUj\/LAyl752yoauioVWqJgpPZcb\/Hmw0jV4ynfJEw9lvTAwo\/fOGcdBG4h18FbW6knJ+YzCYAByowLkdD+kTlrjVTBumzy2Nq7XqIDea7eKY7FJrMPCuG6Hlaql9rHr4fGO7i\/9pFcl+4X\/rWhX557xA\/9FVZ3gv+j5\/w9F+jl8g58c0OeQyCdH3HOglETsObxTTw7McwLJClt+wzz5JD45IPEcEHjMEfg0r8M9pQfaOSDs5NLP16tXr15XqzeJD6m5AAwAAA==", - "length": 352 - } - } -}