test: cache sinopia storage

This commit is contained in:
zkochan 2016-12-18 15:26:06 +02:00
parent d6fc5af71e
commit 208fc82f13
No known key found for this signature in database
GPG Key ID: 39D2EC376D61F85E
44 changed files with 1226 additions and 6 deletions

2
.gitattributes vendored
View File

@ -1 +1,3 @@
* text eol=lf
*.tgz binary

3
.gitignore vendored
View File

@ -14,6 +14,3 @@ fixtures
_docpress
lib
# Sinopia storage
sinopia/storage

View File

@ -137,10 +137,14 @@
"cover": "istanbul cover test/index.js",
"lint": "standard && tslint -c tslint.json --project .",
"sinopia": "sinopia -c ./sinopia/config.yaml",
"test:tap": "sh test/packages/publish-all.sh && ts-node test | tap-diff",
"prebuild-sinopia": "rm -rf sinopia/storage/",
"publish-test-packages": "sh test/packages/publish-all.sh",
"build-sinopia": "npm-run-all -p -r sinopia publish-test-packages",
"test:tap": "ts-node test | tap-diff",
"test:e2e": "npm-run-all -p -r sinopia test:tap",
"pretest": "rm --force --recursive .tmp/",
"test": "npm run lint && npm run test:e2e",
"posttest": "rm -rf .tmp",
"posttest": "git checkout -- sinopia/storage/",
"prerelease": "npm run tsc && npm test",
"release": "sh .scripts/release.sh",
"tsc": "rm -rf lib && tsc",

21
sinopia/.gitignore vendored Normal file
View File

@ -0,0 +1,21 @@
storage/*
# Don't ignore the ones published for specifically for testing purposes
!storage/circular-deps-1-of-2/
!storage/circular-deps-2-of-2/
!storage/dep-of-pkg-with-1-dep/
!storage/for-legacy-node/
!storage/for-legacy-pnpm/
!storage/hello-world-js-bin/
!storage/install-script-example/
!storage/not-compatible-with-any-os/
!storage/peer-deps-in-child-pkg/
!storage/pkg-that-installs-slowly/
!storage/pkg-that-uses-plugins/
!storage/pkg-with-1-dep/
!storage/pkg-with-bundled-dependencies/
!storage/plugin-example/
!storage/pre-and-postinstall-scripts-example/
!storage/sh-hello-world/
!storage/symlinks-preserved/
!storage/test-pnpm-peer-deps/

View File

@ -7,7 +7,7 @@
#
# path to a directory with all packages
storage: ../.tmp/storage
storage: ./storage
auth:
htpasswd:

View File

@ -0,0 +1 @@
{"list":["hello-world-js-bin","pkg-with-bundled-dependencies","not-compatible-with-any-os","for-legacy-node","for-legacy-pnpm","circular-deps-1-of-2","circular-deps-2-of-2","dep-of-pkg-with-1-dep","pkg-with-1-dep","install-script-example","pre-and-postinstall-scripts-example","pkg-that-installs-slowly","pkg-that-uses-plugins","plugin-example","test-pnpm-peer-deps","peer-deps-in-child-pkg","sh-hello-world","symlinks-preserved"],"secret":"8f78a9f994dc48de35418e42801fabfb857c7c1918139990d43046a245c8ff21"}

View File

@ -0,0 +1,152 @@
{
"name": "circular-deps-1-of-2",
"versions": {
"1.0.0": {
"name": "circular-deps-1-of-2",
"version": "1.0.0",
"author": {
"name": "Zoltan Kochan",
"email": "zoltan.kochan@gmail.com",
"url": "http://kochan.io/"
},
"license": "MIT",
"bin": {
"circular-deps-1-of-2": "./index.js"
},
"dependencies": {
"circular-deps-2-of-2": "1.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/rstacruz/pnpm/tree/master/test/packages/circular-deps-1-of-2"
},
"_id": "circular-deps-1-of-2@1.0.0",
"scripts": {},
"_shasum": "27222cc8dc29c7d445ac5af78266f1bbfcf7a1e1",
"_from": ".",
"_npmVersion": "3.10.3",
"_nodeVersion": "6.5.0",
"_npmUser": {
"name": "zkochan",
"email": "zoltan.kochan@gmail.com"
},
"dist": {
"shasum": "27222cc8dc29c7d445ac5af78266f1bbfcf7a1e1",
"tarball": "https://registry.npmjs.org/circular-deps-1-of-2/-/circular-deps-1-of-2-1.0.0.tgz"
},
"maintainers": [
{
"name": "zkochan",
"email": "zoltan.kochan@gmail.com"
}
],
"_npmOperationalInternal": {
"host": "packages-12-west.internal.npmjs.com",
"tmp": "tmp/circular-deps-1-of-2-1.0.0.tgz_1475874736299_0.9206200123298913"
},
"directories": {}
},
"1.0.1": {
"name": "circular-deps-1-of-2",
"version": "1.0.1",
"author": {
"name": "Zoltan Kochan",
"email": "zoltan.kochan@gmail.com",
"url": "http://kochan.io/"
},
"license": "MIT",
"dependencies": {
"circular-deps-2-of-2": "1.0.1"
},
"repository": {
"type": "git",
"url": "https://github.com/rstacruz/pnpm/tree/master/test/packages/circular-deps-1-of-2"
},
"_id": "circular-deps-1-of-2@1.0.1",
"scripts": {},
"_shasum": "9073da26da2aeb962e19dff9cd25c14d12ccf0ba",
"_from": ".",
"_npmVersion": "3.10.3",
"_nodeVersion": "6.5.0",
"_npmUser": {
"name": "zkochan",
"email": "zoltan.kochan@gmail.com"
},
"dist": {
"shasum": "9073da26da2aeb962e19dff9cd25c14d12ccf0ba",
"tarball": "https://registry.npmjs.org/circular-deps-1-of-2/-/circular-deps-1-of-2-1.0.1.tgz"
},
"maintainers": [
{
"name": "zkochan",
"email": "zoltan.kochan@gmail.com"
}
],
"_npmOperationalInternal": {
"host": "packages-12-west.internal.npmjs.com",
"tmp": "tmp/circular-deps-1-of-2-1.0.1.tgz_1475875654139_0.5392674391623586"
},
"directories": {}
},
"1.0.2": {
"name": "circular-deps-1-of-2",
"version": "1.0.2",
"author": {
"name": "Zoltan Kochan",
"email": "zoltan.kochan@gmail.com",
"url": "http://kochan.io/"
},
"license": "MIT",
"dependencies": {
"circular-deps-2-of-2": "1.0.2"
},
"repository": {
"type": "git",
"url": "https://github.com/rstacruz/pnpm/tree/master/test/packages/circular-deps-1-of-2"
},
"_id": "circular-deps-1-of-2@1.0.2",
"scripts": {},
"_shasum": "386c271e484146383346d98b3fb18d2dda97a196",
"_from": ".",
"_npmVersion": "3.10.9",
"_nodeVersion": "6.9.1",
"_npmUser": {},
"dist": {
"shasum": "386c271e484146383346d98b3fb18d2dda97a196",
"tarball": "http://localhost:4873/circular-deps-1-of-2/-/circular-deps-1-of-2-1.0.2.tgz"
}
}
},
"dist-tags": {
"latest": [
"1.0.1",
"1.0.2"
]
},
"_distfiles": {
"circular-deps-1-of-2-1.0.0.tgz": {
"url": "https://registry.npmjs.org/circular-deps-1-of-2/-/circular-deps-1-of-2-1.0.0.tgz",
"sha": "27222cc8dc29c7d445ac5af78266f1bbfcf7a1e1",
"registry": "npmjs"
},
"circular-deps-1-of-2-1.0.1.tgz": {
"url": "https://registry.npmjs.org/circular-deps-1-of-2/-/circular-deps-1-of-2-1.0.1.tgz",
"sha": "9073da26da2aeb962e19dff9cd25c14d12ccf0ba",
"registry": "npmjs"
}
},
"_attachments": {
"circular-deps-1-of-2-1.0.2.tgz": {
"shasum": "386c271e484146383346d98b3fb18d2dda97a196",
"version": "1.0.2"
}
},
"_uplinks": {
"npmjs": {
"etag": "W/\"57f81347-a2f\"",
"fetched": 1482068196881
}
},
"_rev": "4-0777838951f956e8",
"readme": "ERROR: No README data found!"
}

View File

@ -0,0 +1,152 @@
{
"name": "circular-deps-2-of-2",
"versions": {
"1.0.0": {
"name": "circular-deps-2-of-2",
"version": "1.0.0",
"author": {
"name": "Zoltan Kochan",
"email": "zoltan.kochan@gmail.com",
"url": "http://kochan.io/"
},
"license": "MIT",
"bin": {
"circular-deps-2-of-2": "./index.js"
},
"dependencies": {
"circular-deps-1-of-2": "1.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/rstacruz/pnpm/tree/master/test/packages/circular-deps-2-of-2"
},
"_id": "circular-deps-2-of-2@1.0.0",
"scripts": {},
"_shasum": "22320dc93461b6c3298edbbbe9b63d677fcc6a2c",
"_from": ".",
"_npmVersion": "3.10.3",
"_nodeVersion": "6.5.0",
"_npmUser": {
"name": "zkochan",
"email": "zoltan.kochan@gmail.com"
},
"dist": {
"shasum": "22320dc93461b6c3298edbbbe9b63d677fcc6a2c",
"tarball": "https://registry.npmjs.org/circular-deps-2-of-2/-/circular-deps-2-of-2-1.0.0.tgz"
},
"maintainers": [
{
"name": "zkochan",
"email": "zoltan.kochan@gmail.com"
}
],
"_npmOperationalInternal": {
"host": "packages-12-west.internal.npmjs.com",
"tmp": "tmp/circular-deps-2-of-2-1.0.0.tgz_1475874754452_0.9763507368043065"
},
"directories": {}
},
"1.0.1": {
"name": "circular-deps-2-of-2",
"version": "1.0.1",
"author": {
"name": "Zoltan Kochan",
"email": "zoltan.kochan@gmail.com",
"url": "http://kochan.io/"
},
"license": "MIT",
"dependencies": {
"circular-deps-1-of-2": "1.0.1"
},
"repository": {
"type": "git",
"url": "https://github.com/rstacruz/pnpm/tree/master/test/packages/circular-deps-2-of-2"
},
"_id": "circular-deps-2-of-2@1.0.1",
"scripts": {},
"_shasum": "df84be69c3c8589930443abd47dc7eb4cecbaa97",
"_from": ".",
"_npmVersion": "3.10.3",
"_nodeVersion": "6.5.0",
"_npmUser": {
"name": "zkochan",
"email": "zoltan.kochan@gmail.com"
},
"dist": {
"shasum": "df84be69c3c8589930443abd47dc7eb4cecbaa97",
"tarball": "https://registry.npmjs.org/circular-deps-2-of-2/-/circular-deps-2-of-2-1.0.1.tgz"
},
"maintainers": [
{
"name": "zkochan",
"email": "zoltan.kochan@gmail.com"
}
],
"_npmOperationalInternal": {
"host": "packages-12-west.internal.npmjs.com",
"tmp": "tmp/circular-deps-2-of-2-1.0.1.tgz_1475875642962_0.3759039214346558"
},
"directories": {}
},
"1.0.2": {
"name": "circular-deps-2-of-2",
"version": "1.0.2",
"author": {
"name": "Zoltan Kochan",
"email": "zoltan.kochan@gmail.com",
"url": "http://kochan.io/"
},
"license": "MIT",
"dependencies": {
"circular-deps-1-of-2": "1.0.2"
},
"repository": {
"type": "git",
"url": "https://github.com/rstacruz/pnpm/tree/master/test/packages/circular-deps-2-of-2"
},
"_id": "circular-deps-2-of-2@1.0.2",
"scripts": {},
"_shasum": "3417dae59a8c3b515b3b9b6ad688694b06381b07",
"_from": ".",
"_npmVersion": "3.10.9",
"_nodeVersion": "6.9.1",
"_npmUser": {},
"dist": {
"shasum": "3417dae59a8c3b515b3b9b6ad688694b06381b07",
"tarball": "http://localhost:4873/circular-deps-2-of-2/-/circular-deps-2-of-2-1.0.2.tgz"
}
}
},
"dist-tags": {
"latest": [
"1.0.1",
"1.0.2"
]
},
"_distfiles": {
"circular-deps-2-of-2-1.0.0.tgz": {
"url": "https://registry.npmjs.org/circular-deps-2-of-2/-/circular-deps-2-of-2-1.0.0.tgz",
"sha": "22320dc93461b6c3298edbbbe9b63d677fcc6a2c",
"registry": "npmjs"
},
"circular-deps-2-of-2-1.0.1.tgz": {
"url": "https://registry.npmjs.org/circular-deps-2-of-2/-/circular-deps-2-of-2-1.0.1.tgz",
"sha": "df84be69c3c8589930443abd47dc7eb4cecbaa97",
"registry": "npmjs"
}
},
"_attachments": {
"circular-deps-2-of-2-1.0.2.tgz": {
"shasum": "3417dae59a8c3b515b3b9b6ad688694b06381b07",
"version": "1.0.2"
}
},
"_uplinks": {
"npmjs": {
"etag": "W/\"57f8133c-a2f\"",
"fetched": 1482068197604
}
},
"_rev": "4-fe5fa1f363f9710c",
"readme": "ERROR: No README data found!"
}

View File

@ -0,0 +1,146 @@
{
"name": "dep-of-pkg-with-1-dep",
"versions": {
"1.0.0": {
"name": "dep-of-pkg-with-1-dep",
"version": "1.0.0",
"_id": "dep-of-pkg-with-1-dep@1.0.0",
"scripts": {},
"_shasum": "a846a9c4f74479e65eb6b3770b4012bebcb68566",
"_from": ".",
"_npmVersion": "3.10.3",
"_nodeVersion": "6.5.0",
"_npmUser": {
"name": "zkochan",
"email": "zoltan.kochan@gmail.com"
},
"dist": {
"shasum": "a846a9c4f74479e65eb6b3770b4012bebcb68566",
"tarball": "https://registry.npmjs.org/dep-of-pkg-with-1-dep/-/dep-of-pkg-with-1-dep-1.0.0.tgz"
},
"maintainers": [
{
"name": "zkochan",
"email": "zoltan.kochan@gmail.com"
}
],
"_npmOperationalInternal": {
"host": "packages-16-east.internal.npmjs.com",
"tmp": "tmp/dep-of-pkg-with-1-dep-1.0.0.tgz_1476020223110_0.2565238233655691"
},
"directories": {}
},
"1.1.0": {
"name": "dep-of-pkg-with-1-dep",
"version": "1.1.0",
"_id": "dep-of-pkg-with-1-dep@1.1.0",
"scripts": {},
"_shasum": "67d3ac196cb08162e543b87b3b1829c76072c927",
"_from": ".",
"_npmVersion": "3.10.3",
"_nodeVersion": "6.5.0",
"_npmUser": {
"name": "zkochan",
"email": "zoltan.kochan@gmail.com"
},
"dist": {
"shasum": "67d3ac196cb08162e543b87b3b1829c76072c927",
"tarball": "https://registry.npmjs.org/dep-of-pkg-with-1-dep/-/dep-of-pkg-with-1-dep-1.1.0.tgz"
},
"maintainers": [
{
"name": "zkochan",
"email": "zoltan.kochan@gmail.com"
}
],
"_npmOperationalInternal": {
"host": "packages-16-east.internal.npmjs.com",
"tmp": "tmp/dep-of-pkg-with-1-dep-1.1.0.tgz_1476020253511_0.13295510760508478"
},
"directories": {}
},
"1.1.1": {
"name": "dep-of-pkg-with-1-dep",
"version": "1.1.1",
"_id": "dep-of-pkg-with-1-dep@1.1.1",
"scripts": {},
"_shasum": "164921db994bc958b58ec040aa5b5bfbc1f8fbc7",
"_from": ".",
"_npmVersion": "3.10.9",
"_nodeVersion": "6.9.1",
"_npmUser": {},
"dist": {
"shasum": "164921db994bc958b58ec040aa5b5bfbc1f8fbc7",
"tarball": "http://localhost:4873/dep-of-pkg-with-1-dep/-/dep-of-pkg-with-1-dep-1.1.1.tgz"
}
}
},
"dist-tags": {
"latest": [
"1.1.0",
"1.1.1"
],
"stable": [
"1.1.0"
],
"latest0.551141932421368": [
"1.1.0"
],
"latest0.5175606653015332": [
"1.1.0"
],
"latest008981784593683684": [
"1.1.0"
],
"latest04562271037531931": [
"1.1.0"
],
"latest05814424228630279": [
"1.1.0"
],
"latest07448502102578836": [
"1.1.0"
],
"latest07854293699431689": [
"1.1.0"
],
"latest031745125924045237": [
"1.1.0"
],
"latest05654247860194166": [
"1.1.0"
],
"latest026854781938601646": [
"1.1.0"
],
"latest03541450835866222": [
"1.1.0"
]
},
"_distfiles": {
"dep-of-pkg-with-1-dep-1.0.0.tgz": {
"url": "https://registry.npmjs.org/dep-of-pkg-with-1-dep/-/dep-of-pkg-with-1-dep-1.0.0.tgz",
"sha": "a846a9c4f74479e65eb6b3770b4012bebcb68566",
"registry": "npmjs"
},
"dep-of-pkg-with-1-dep-1.1.0.tgz": {
"url": "https://registry.npmjs.org/dep-of-pkg-with-1-dep/-/dep-of-pkg-with-1-dep-1.1.0.tgz",
"sha": "67d3ac196cb08162e543b87b3b1829c76072c927",
"registry": "npmjs"
}
},
"_attachments": {
"dep-of-pkg-with-1-dep-1.1.1.tgz": {
"shasum": "164921db994bc958b58ec040aa5b5bfbc1f8fbc7",
"version": "1.1.1"
}
},
"_uplinks": {
"npmjs": {
"etag": "W/\"57fb329b-896\"",
"fetched": 1482068198311
}
},
"_rev": "4-70e339ea6ff9eecb",
"readme": "ERROR: No README data found!"
}

View File

@ -0,0 +1,38 @@
{
"name": "for-legacy-node",
"versions": {
"1.0.0": {
"name": "for-legacy-node",
"version": "1.0.0",
"engines": {
"node": "0.10"
},
"_id": "for-legacy-node@1.0.0",
"scripts": {},
"_shasum": "c5f5ee88ec976d8e6b512243623e7b5e2a8db2bf",
"_from": ".",
"_npmVersion": "3.10.9",
"_nodeVersion": "6.9.1",
"_npmUser": {},
"dist": {
"shasum": "c5f5ee88ec976d8e6b512243623e7b5e2a8db2bf",
"tarball": "http://localhost:4873/for-legacy-node/-/for-legacy-node-1.0.0.tgz"
}
}
},
"dist-tags": {
"latest": [
"1.0.0"
]
},
"_distfiles": {},
"_attachments": {
"for-legacy-node-1.0.0.tgz": {
"shasum": "c5f5ee88ec976d8e6b512243623e7b5e2a8db2bf",
"version": "1.0.0"
}
},
"_uplinks": {},
"_rev": "3-08a998b098b71d82",
"readme": "ERROR: No README data found!"
}

View File

@ -0,0 +1,38 @@
{
"name": "for-legacy-pnpm",
"versions": {
"1.0.0": {
"name": "for-legacy-pnpm",
"version": "1.0.0",
"engines": {
"pnpm": "0.1.0"
},
"_id": "for-legacy-pnpm@1.0.0",
"scripts": {},
"_shasum": "21b11a369713c29f6a8adbd906fb53fc8aac40cf",
"_from": ".",
"_npmVersion": "3.10.9",
"_nodeVersion": "6.9.1",
"_npmUser": {},
"dist": {
"shasum": "21b11a369713c29f6a8adbd906fb53fc8aac40cf",
"tarball": "http://localhost:4873/for-legacy-pnpm/-/for-legacy-pnpm-1.0.0.tgz"
}
}
},
"dist-tags": {
"latest": [
"1.0.0"
]
},
"_distfiles": {},
"_attachments": {
"for-legacy-pnpm-1.0.0.tgz": {
"shasum": "21b11a369713c29f6a8adbd906fb53fc8aac40cf",
"version": "1.0.0"
}
},
"_uplinks": {},
"_rev": "3-9df0f2f6f324ad1b",
"readme": "ERROR: No README data found!"
}

View File

@ -0,0 +1,51 @@
{
"name": "hello-world-js-bin",
"versions": {
"1.0.0": {
"name": "hello-world-js-bin",
"version": "1.0.0",
"description": "A package with a hello world js bin",
"bin": {
"hello-world-js-bin": "./index.js"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": {
"name": "Zoltan Kochan",
"email": "zoltan.kochan@gmail.com",
"url": "http://kochan.io/"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/rstacruz/pnpm/tree/master/test/packages/hello-world-js-bin"
},
"_id": "hello-world-js-bin@1.0.0",
"_shasum": "4ebfa8a2a971944208666ce0c0fbadd5ac006bc0",
"_from": ".",
"_npmVersion": "3.10.9",
"_nodeVersion": "6.9.1",
"_npmUser": {},
"dist": {
"shasum": "4ebfa8a2a971944208666ce0c0fbadd5ac006bc0",
"tarball": "http://localhost:4873/hello-world-js-bin/-/hello-world-js-bin-1.0.0.tgz"
}
}
},
"dist-tags": {
"latest": [
"1.0.0"
]
},
"_distfiles": {},
"_attachments": {
"hello-world-js-bin-1.0.0.tgz": {
"shasum": "4ebfa8a2a971944208666ce0c0fbadd5ac006bc0",
"version": "1.0.0"
}
},
"_uplinks": {},
"_rev": "3-b105c292823214fa",
"readme": "ERROR: No README data found!"
}

View File

@ -0,0 +1,50 @@
{
"name": "install-script-example",
"versions": {
"1.0.0": {
"name": "install-script-example",
"version": "1.0.0",
"description": "A package that creates a file by an install script",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"install": "node create generated-by-install"
},
"author": {
"name": "Zoltan Kochan",
"email": "zoltan.kochan@gmail.com",
"url": "http://kochan.io/"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/rstacruz/pnpm/tree/master/test/packages/install-script-example"
},
"readmeFilename": "README.md",
"_id": "install-script-example@1.0.0",
"_shasum": "b7c5f57998cbf634e98668203f95a11f1ef12853",
"_from": ".",
"_npmVersion": "3.10.9",
"_nodeVersion": "6.9.1",
"_npmUser": {},
"dist": {
"shasum": "b7c5f57998cbf634e98668203f95a11f1ef12853",
"tarball": "http://localhost:4873/install-script-example/-/install-script-example-1.0.0.tgz"
}
}
},
"dist-tags": {
"latest": [
"1.0.0"
]
},
"_distfiles": {},
"_attachments": {
"install-script-example-1.0.0.tgz": {
"shasum": "b7c5f57998cbf634e98668203f95a11f1ef12853",
"version": "1.0.0"
}
},
"_uplinks": {},
"_rev": "3-7ea3a16e8cc4c660",
"readme": "# install-script-example\n\nA package that creates a file by an install script\n\n## Installation\n\n```\nnpm i install-script-example\n```\n\n# License\n\nMIT\n"
}

View File

@ -0,0 +1,38 @@
{
"name": "not-compatible-with-any-os",
"versions": {
"1.0.0": {
"name": "not-compatible-with-any-os",
"version": "1.0.0",
"os": [
"this-os-does-not-exist"
],
"_id": "not-compatible-with-any-os@1.0.0",
"scripts": {},
"_shasum": "c1233bca2e0a0eb40fb01f8f298109f918de1c3d",
"_from": ".",
"_npmVersion": "3.10.9",
"_nodeVersion": "6.9.1",
"_npmUser": {},
"dist": {
"shasum": "c1233bca2e0a0eb40fb01f8f298109f918de1c3d",
"tarball": "http://localhost:4873/not-compatible-with-any-os/-/not-compatible-with-any-os-1.0.0.tgz"
}
}
},
"dist-tags": {
"latest": [
"1.0.0"
]
},
"_distfiles": {},
"_attachments": {
"not-compatible-with-any-os-1.0.0.tgz": {
"shasum": "c1233bca2e0a0eb40fb01f8f298109f918de1c3d",
"version": "1.0.0"
}
},
"_uplinks": {},
"_rev": "3-c9376918bd1403b5",
"readme": "ERROR: No README data found!"
}

View File

@ -0,0 +1,41 @@
{
"name": "peer-deps-in-child-pkg",
"versions": {
"1.0.0": {
"name": "peer-deps-in-child-pkg",
"version": "1.0.0",
"peerDependencies": {
"is-negative": "2.x.x"
},
"dependencies": {
"is-negative": "github:kevva/is-negative#2.1.0"
},
"_id": "peer-deps-in-child-pkg@1.0.0",
"scripts": {},
"_shasum": "7aacfa04175dfb055b805cd0c6c0c09ac19dbafc",
"_from": ".",
"_npmVersion": "3.10.9",
"_nodeVersion": "6.9.1",
"_npmUser": {},
"dist": {
"shasum": "7aacfa04175dfb055b805cd0c6c0c09ac19dbafc",
"tarball": "http://localhost:4873/peer-deps-in-child-pkg/-/peer-deps-in-child-pkg-1.0.0.tgz"
}
}
},
"dist-tags": {
"latest": [
"1.0.0"
]
},
"_distfiles": {},
"_attachments": {
"peer-deps-in-child-pkg-1.0.0.tgz": {
"shasum": "7aacfa04175dfb055b805cd0c6c0c09ac19dbafc",
"version": "1.0.0"
}
},
"_uplinks": {},
"_rev": "3-c9fb8a52954f5ab2",
"readme": "ERROR: No README data found!"
}

View File

@ -0,0 +1,37 @@
{
"name": "pkg-that-installs-slowly",
"versions": {
"1.0.0": {
"name": "pkg-that-installs-slowly",
"version": "1.0.0",
"scripts": {
"postinstall": "node postinstall.js"
},
"_id": "pkg-that-installs-slowly@1.0.0",
"_shasum": "c6525d7bfe57cc0a890defe11d070a63ebc9feb9",
"_from": ".",
"_npmVersion": "3.10.9",
"_nodeVersion": "6.9.1",
"_npmUser": {},
"dist": {
"shasum": "c6525d7bfe57cc0a890defe11d070a63ebc9feb9",
"tarball": "http://localhost:4873/pkg-that-installs-slowly/-/pkg-that-installs-slowly-1.0.0.tgz"
}
}
},
"dist-tags": {
"latest": [
"1.0.0"
]
},
"_distfiles": {},
"_attachments": {
"pkg-that-installs-slowly-1.0.0.tgz": {
"shasum": "c6525d7bfe57cc0a890defe11d070a63ebc9feb9",
"version": "1.0.0"
}
},
"_uplinks": {},
"_rev": "3-8960f997d849acdc",
"readme": "ERROR: No README data found!"
}

View File

@ -0,0 +1,48 @@
{
"name": "pkg-that-uses-plugins",
"versions": {
"1.0.0": {
"name": "pkg-that-uses-plugins",
"version": "1.0.0",
"author": {
"name": "Zoltan Kochan",
"email": "zoltan.kochan@gmail.com",
"url": "http://kochan.io/"
},
"license": "MIT",
"bin": {
"pkg-that-uses-plugins": "./index.js"
},
"repository": {
"type": "git",
"url": "https://github.com/rstacruz/pnpm/tree/master/test/packages/pkg-that-uses-plugins"
},
"_id": "pkg-that-uses-plugins@1.0.0",
"scripts": {},
"_shasum": "e5860a1b35db8c48e3ecab58ba73727a6c4dae9b",
"_from": ".",
"_npmVersion": "3.10.9",
"_nodeVersion": "6.9.1",
"_npmUser": {},
"dist": {
"shasum": "e5860a1b35db8c48e3ecab58ba73727a6c4dae9b",
"tarball": "http://localhost:4873/pkg-that-uses-plugins/-/pkg-that-uses-plugins-1.0.0.tgz"
}
}
},
"dist-tags": {
"latest": [
"1.0.0"
]
},
"_distfiles": {},
"_attachments": {
"pkg-that-uses-plugins-1.0.0.tgz": {
"shasum": "e5860a1b35db8c48e3ecab58ba73727a6c4dae9b",
"version": "1.0.0"
}
},
"_uplinks": {},
"_rev": "3-45b721c689db2c23",
"readme": "ERROR: No README data found!"
}

View File

@ -0,0 +1,82 @@
{
"name": "pkg-with-1-dep",
"versions": {
"1.0.0": {
"name": "pkg-with-1-dep",
"version": "1.0.0",
"dependencies": {
"dep-of-pkg-with-1-dep": "^1.0.0"
},
"_id": "pkg-with-1-dep@1.0.0",
"scripts": {},
"_shasum": "0d4ed129376f707bac0bf5f6a58410f663e27c80",
"_from": ".",
"_npmVersion": "3.10.3",
"_nodeVersion": "6.5.0",
"_npmUser": {
"name": "zkochan",
"email": "zoltan.kochan@gmail.com"
},
"dist": {
"shasum": "0d4ed129376f707bac0bf5f6a58410f663e27c80",
"tarball": "https://registry.npmjs.org/pkg-with-1-dep/-/pkg-with-1-dep-1.0.0.tgz"
},
"maintainers": [
{
"name": "zkochan",
"email": "zoltan.kochan@gmail.com"
}
],
"_npmOperationalInternal": {
"host": "packages-12-west.internal.npmjs.com",
"tmp": "tmp/pkg-with-1-dep-1.0.0.tgz_1476020269028_0.6072621596977115"
},
"directories": {}
},
"1.0.1": {
"name": "pkg-with-1-dep",
"version": "1.0.1",
"dependencies": {
"dep-of-pkg-with-1-dep": "^1.0.0"
},
"_id": "pkg-with-1-dep@1.0.1",
"scripts": {},
"_shasum": "1fdc5dc23f2e510912bb101c5c87d3204a526298",
"_from": ".",
"_npmVersion": "3.10.9",
"_nodeVersion": "6.9.1",
"_npmUser": {},
"dist": {
"shasum": "1fdc5dc23f2e510912bb101c5c87d3204a526298",
"tarball": "http://localhost:4873/pkg-with-1-dep/-/pkg-with-1-dep-1.0.1.tgz"
}
}
},
"dist-tags": {
"latest": [
"1.0.0",
"1.0.1"
]
},
"_distfiles": {
"pkg-with-1-dep-1.0.0.tgz": {
"url": "https://registry.npmjs.org/pkg-with-1-dep/-/pkg-with-1-dep-1.0.0.tgz",
"sha": "0d4ed129376f707bac0bf5f6a58410f663e27c80",
"registry": "npmjs"
}
},
"_attachments": {
"pkg-with-1-dep-1.0.1.tgz": {
"shasum": "1fdc5dc23f2e510912bb101c5c87d3204a526298",
"version": "1.0.1"
}
},
"_uplinks": {
"npmjs": {
"etag": "W/\"57fa482e-444\"",
"fetched": 1482068199013
}
},
"_rev": "4-8f2d93562b82ab1c",
"readme": "ERROR: No README data found!"
}

View File

@ -0,0 +1,41 @@
{
"name": "pkg-with-bundled-dependencies",
"versions": {
"1.0.0": {
"name": "pkg-with-bundled-dependencies",
"version": "1.0.0",
"dependencies": {
"hello-world-js-bin": "*"
},
"bundleDependencies": [
"hello-world-js-bin"
],
"_id": "pkg-with-bundled-dependencies@1.0.0",
"scripts": {},
"_shasum": "ef62423a55f0e1b29b6be329315f59cd114bcb68",
"_from": ".",
"_npmVersion": "3.10.9",
"_nodeVersion": "6.9.1",
"_npmUser": {},
"dist": {
"shasum": "ef62423a55f0e1b29b6be329315f59cd114bcb68",
"tarball": "http://localhost:4873/pkg-with-bundled-dependencies/-/pkg-with-bundled-dependencies-1.0.0.tgz"
}
}
},
"dist-tags": {
"latest": [
"1.0.0"
]
},
"_distfiles": {},
"_attachments": {
"pkg-with-bundled-dependencies-1.0.0.tgz": {
"shasum": "ef62423a55f0e1b29b6be329315f59cd114bcb68",
"version": "1.0.0"
}
},
"_uplinks": {},
"_rev": "3-488e8d235853befc",
"readme": "ERROR: No README data found!"
}

View File

@ -0,0 +1,45 @@
{
"name": "plugin-example",
"versions": {
"1.0.0": {
"name": "plugin-example",
"version": "1.0.0",
"author": {
"name": "Zoltan Kochan",
"email": "zoltan.kochan@gmail.com",
"url": "http://kochan.io/"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/rstacruz/pnpm/tree/master/test/packages/plugin-example"
},
"_id": "plugin-example@1.0.0",
"scripts": {},
"_shasum": "f7710d96da8002a55d9e29d11d57738e06c7d7e0",
"_from": ".",
"_npmVersion": "3.10.9",
"_nodeVersion": "6.9.1",
"_npmUser": {},
"dist": {
"shasum": "f7710d96da8002a55d9e29d11d57738e06c7d7e0",
"tarball": "http://localhost:4873/plugin-example/-/plugin-example-1.0.0.tgz"
}
}
},
"dist-tags": {
"latest": [
"1.0.0"
]
},
"_distfiles": {},
"_attachments": {
"plugin-example-1.0.0.tgz": {
"shasum": "f7710d96da8002a55d9e29d11d57738e06c7d7e0",
"version": "1.0.0"
}
},
"_uplinks": {},
"_rev": "3-216aa55b684c134f",
"readme": "ERROR: No README data found!"
}

View File

@ -0,0 +1,51 @@
{
"name": "pre-and-postinstall-scripts-example",
"versions": {
"1.0.0": {
"name": "pre-and-postinstall-scripts-example",
"version": "1.0.0",
"description": "A package that creates files by pre- and postinstall scripts",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"preinstall": "node create generated-by-preinstall",
"postinstall": "node create generated-by-postinstall"
},
"author": {
"name": "Zoltan Kochan",
"email": "zoltan.kochan@gmail.com",
"url": "http://kochan.io/"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/rstacruz/pnpm/tree/master/test/packages/postinstall-example"
},
"readmeFilename": "README.md",
"_id": "pre-and-postinstall-scripts-example@1.0.0",
"_shasum": "e317ee0e6c32a8f28bfe43458ec07df27efdbce3",
"_from": ".",
"_npmVersion": "3.10.9",
"_nodeVersion": "6.9.1",
"_npmUser": {},
"dist": {
"shasum": "e317ee0e6c32a8f28bfe43458ec07df27efdbce3",
"tarball": "http://localhost:4873/pre-and-postinstall-scripts-example/-/pre-and-postinstall-scripts-example-1.0.0.tgz"
}
}
},
"dist-tags": {
"latest": [
"1.0.0"
]
},
"_distfiles": {},
"_attachments": {
"pre-and-postinstall-scripts-example-1.0.0.tgz": {
"shasum": "e317ee0e6c32a8f28bfe43458ec07df27efdbce3",
"version": "1.0.0"
}
},
"_uplinks": {},
"_rev": "3-e5add415c29ee325",
"readme": "# pre-and-postinstall-scripts-example\n\nA package that creates files by pre- and postinstall scripts\n\n## Installation\n\n```\nnpm i pre-and-postinstall-scripts-example\n```\n\n# License\n\nMIT\n"
}

View File

@ -0,0 +1,108 @@
{
"name": "sh-hello-world",
"versions": {
"1.0.0": {
"name": "sh-hello-world",
"version": "1.0.0",
"description": "A package with a hello world bash script",
"bin": {
"sh-hello-world": "./sh-hello-world.sh"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": {
"name": "Zoltan Kochan",
"email": "zoltan.kochan@gmail.com",
"url": "http://kochan.io/"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/rstacruz/pnpm/tree/master/test/packages/sh-hello-world"
},
"_id": "sh-hello-world@1.0.0",
"_shasum": "357fe957e592f385302cd794ea0c8ae2003c6d65",
"_from": ".",
"_npmVersion": "2.15.5",
"_nodeVersion": "4.4.5",
"_npmUser": {
"name": "zkochan",
"email": "zoltan.kochan@gmail.com"
},
"dist": {
"shasum": "357fe957e592f385302cd794ea0c8ae2003c6d65",
"tarball": "https://registry.npmjs.org/sh-hello-world/-/sh-hello-world-1.0.0.tgz"
},
"maintainers": [
{
"name": "zkochan",
"email": "zoltan.kochan@gmail.com"
}
],
"_npmOperationalInternal": {
"host": "packages-16-east.internal.npmjs.com",
"tmp": "tmp/sh-hello-world-1.0.0.tgz_1470422379071_0.5097258181776851"
},
"directories": {}
},
"1.0.1": {
"name": "sh-hello-world",
"version": "1.0.1",
"description": "A package with a hello world bash script",
"bin": {
"sh-hello-world": "./sh-hello-world.sh"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": {
"name": "Zoltan Kochan",
"email": "zoltan.kochan@gmail.com",
"url": "http://kochan.io/"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/rstacruz/pnpm/tree/master/test/packages/sh-hello-world"
},
"_id": "sh-hello-world@1.0.1",
"_shasum": "24bea983eb966555a27877d88dd0f2a5e5953ab1",
"_from": ".",
"_npmVersion": "3.10.9",
"_nodeVersion": "6.9.1",
"_npmUser": {},
"dist": {
"shasum": "24bea983eb966555a27877d88dd0f2a5e5953ab1",
"tarball": "http://localhost:4873/sh-hello-world/-/sh-hello-world-1.0.1.tgz"
}
}
},
"dist-tags": {
"latest": [
"1.0.0",
"1.0.1"
]
},
"_distfiles": {
"sh-hello-world-1.0.0.tgz": {
"url": "https://registry.npmjs.org/sh-hello-world/-/sh-hello-world-1.0.0.tgz",
"sha": "357fe957e592f385302cd794ea0c8ae2003c6d65",
"registry": "npmjs"
}
},
"_attachments": {
"sh-hello-world-1.0.1.tgz": {
"shasum": "24bea983eb966555a27877d88dd0f2a5e5953ab1",
"version": "1.0.1"
}
},
"_uplinks": {
"npmjs": {
"etag": "W/\"57a4dd6c-69f\"",
"fetched": 1482068209004
}
},
"_rev": "4-af6406b1db6b4eba",
"readme": "ERROR: No README data found!"
}

View File

@ -0,0 +1,35 @@
{
"name": "symlinks-preserved",
"versions": {
"1.0.0": {
"name": "symlinks-preserved",
"version": "1.0.0",
"_id": "symlinks-preserved@1.0.0",
"scripts": {},
"_shasum": "28a05ea9206e3d4856a543490c53a9ae5d2b928d",
"_from": ".",
"_npmVersion": "3.10.9",
"_nodeVersion": "6.9.1",
"_npmUser": {},
"dist": {
"shasum": "28a05ea9206e3d4856a543490c53a9ae5d2b928d",
"tarball": "http://localhost:4873/symlinks-preserved/-/symlinks-preserved-1.0.0.tgz"
}
}
},
"dist-tags": {
"latest": [
"1.0.0"
]
},
"_distfiles": {},
"_attachments": {
"symlinks-preserved-1.0.0.tgz": {
"shasum": "28a05ea9206e3d4856a543490c53a9ae5d2b928d",
"version": "1.0.0"
}
},
"_uplinks": {},
"_rev": "3-e9156636f1c37ff0",
"readme": "ERROR: No README data found!"
}

View File

@ -0,0 +1,42 @@
{
"name": "test-pnpm-peer-deps",
"versions": {
"1.0.0": {
"name": "test-pnpm-peer-deps",
"version": "1.0.0",
"peerDependencies": {
"is-negative": "2.x.x"
},
"dependencies": {
"is-negative": "2.0.0",
"peer-deps-in-child-pkg": "1.0.0"
},
"_id": "test-pnpm-peer-deps@1.0.0",
"scripts": {},
"_shasum": "fc45df20c4d70e1cb70d606f5e34d46ebef6f0d9",
"_from": ".",
"_npmVersion": "3.10.9",
"_nodeVersion": "6.9.1",
"_npmUser": {},
"dist": {
"shasum": "fc45df20c4d70e1cb70d606f5e34d46ebef6f0d9",
"tarball": "http://localhost:4873/test-pnpm-peer-deps/-/test-pnpm-peer-deps-1.0.0.tgz"
}
}
},
"dist-tags": {
"latest": [
"1.0.0"
]
},
"_distfiles": {},
"_attachments": {
"test-pnpm-peer-deps-1.0.0.tgz": {
"shasum": "fc45df20c4d70e1cb70d606f5e34d46ebef6f0d9",
"version": "1.0.0"
}
},
"_uplinks": {},
"_rev": "3-9afd78c7b838773b",
"readme": "ERROR: No README data found!"
}