From 7a45f4e2445b6baf9b33a5cb2decd5744b59a32d Mon Sep 17 00:00:00 2001 From: Diana Morales Date: Fri, 19 Nov 2021 17:22:31 +0100 Subject: [PATCH] migrate verdaccio-docker-local-storage from V4 to V6 (#2686) --- docker-examples/v6/README.md | 2 + .../conf/config.yaml | 71 ++++++++++++ .../docker-local-storage-volume/conf/htpasswd | 1 + .../docker-compose.yaml | 12 ++ .../v6/docker-local-storage-volume/readme.md | 31 ++++++ .../storage/@jota/pk1-juan-1/package.json | 61 ++++++++++ .../@jota/pk1-juan-1/pk1-juan-1-1.0.0.tgz | Bin 0 -> 1755 bytes .../storage/@jota/pk1-juan/package.json | 105 ++++++++++++++++++ .../storage/@jota/pk1-juan/pk1-juan-1.0.0.tgz | Bin 0 -> 1754 bytes .../storage/@jota/pk1-juan/pk1-juan-1.0.1.tgz | Bin 0 -> 1754 bytes .../npm_test_pkg1/npm_test_pkg1-1.0.0.tgz | Bin 0 -> 290 bytes .../npm_test_pkg1/npm_test_pkg1-1.0.1.tgz | Bin 0 -> 292 bytes .../storage/npm_test_pkg1/package.json | 70 ++++++++++++ .../storage/pk1-juan/package.json | 61 ++++++++++ .../storage/pk1-juan/pk1-juan-1.0.0.tgz | Bin 0 -> 1749 bytes 15 files changed, 414 insertions(+) create mode 100644 docker-examples/v6/docker-local-storage-volume/conf/config.yaml create mode 100644 docker-examples/v6/docker-local-storage-volume/conf/htpasswd create mode 100644 docker-examples/v6/docker-local-storage-volume/docker-compose.yaml create mode 100644 docker-examples/v6/docker-local-storage-volume/readme.md create mode 100644 docker-examples/v6/docker-local-storage-volume/storage/@jota/pk1-juan-1/package.json create mode 100644 docker-examples/v6/docker-local-storage-volume/storage/@jota/pk1-juan-1/pk1-juan-1-1.0.0.tgz create mode 100644 docker-examples/v6/docker-local-storage-volume/storage/@jota/pk1-juan/package.json create mode 100644 docker-examples/v6/docker-local-storage-volume/storage/@jota/pk1-juan/pk1-juan-1.0.0.tgz create mode 100644 docker-examples/v6/docker-local-storage-volume/storage/@jota/pk1-juan/pk1-juan-1.0.1.tgz create mode 100644 docker-examples/v6/docker-local-storage-volume/storage/npm_test_pkg1/npm_test_pkg1-1.0.0.tgz create mode 100644 docker-examples/v6/docker-local-storage-volume/storage/npm_test_pkg1/npm_test_pkg1-1.0.1.tgz create mode 100644 docker-examples/v6/docker-local-storage-volume/storage/npm_test_pkg1/package.json create mode 100644 docker-examples/v6/docker-local-storage-volume/storage/pk1-juan/package.json create mode 100644 docker-examples/v6/docker-local-storage-volume/storage/pk1-juan/pk1-juan-1.0.0.tgz diff --git a/docker-examples/v6/README.md b/docker-examples/v6/README.md index f627255a7..d5000da35 100644 --- a/docker-examples/v6/README.md +++ b/docker-examples/v6/README.md @@ -3,3 +3,5 @@ > We recommend to have installed [docker-compose >= 1.29.0](https://github.com/docker/compose/releases/tag/1.29.2) - [Docker + Nginx + Verdaccio](reverse_proxy/nginx/README.md) +- [Docker + Apache + Verdaccio](apache-verdaccio/README.md) +- [Docker + Local Storage Volume + Verdaccio](docker-local-storage-volume/README.md) diff --git a/docker-examples/v6/docker-local-storage-volume/conf/config.yaml b/docker-examples/v6/docker-local-storage-volume/conf/config.yaml new file mode 100644 index 000000000..6e5652bc8 --- /dev/null +++ b/docker-examples/v6/docker-local-storage-volume/conf/config.yaml @@ -0,0 +1,71 @@ +# +# This is the config file used for the docker images. +# It allows all users to do anything, so don't use it on production systems. +# +# Do not configure host and port under `listen` in this file +# as it will be ignored when using docker. +# see https://github.com/verdaccio/verdaccio/blob/master/wiki/docker.md#docker-and-custom-port-configuration +# +# Look here for more config file examples: +# https://github.com/verdaccio/verdaccio/tree/master/conf +# + +# path to a directory with all packages +storage: /verdaccio/storage + +auth: + htpasswd: + file: /verdaccio/conf/htpasswd + # Maximum amount of users allowed to register, defaults to "+inf". + # You can set this to -1 to disable registration. + #max_users: 1000 +security: + api: + jwt: + sign: + expiresIn: 60d + notBefore: 1 + web: + sign: + expiresIn: 7d + +# a list of other known repositories we can talk to +uplinks: + npmjs: + url: https://registry.npmjs.org/ + +packages: + '@jota/*': + access: $all + publish: $all + + '@*/*': + # scoped packages + access: $all + publish: $all + proxy: npmjs + + '**': + # allow all users (including non-authenticated users) to read and + # publish all packages + # + # you can specify usernames/groupnames (depending on your auth plugin) + # and three keywords: "$all", "$anonymous", "$authenticated" + access: $all + + # allow all known users to publish packages + # (anyone can register by default, remember?) + publish: $all + + # if package is not available locally, proxy requests to 'npmjs' registry + proxy: npmjs + +# To use `npm audit` uncomment the following section +middlewares: + audit: + enabled: true + +# log settings +logs: + - { type: stdout, format: pretty, level: trace } + #- {type: file, path: verdaccio.log, level: info} diff --git a/docker-examples/v6/docker-local-storage-volume/conf/htpasswd b/docker-examples/v6/docker-local-storage-volume/conf/htpasswd new file mode 100644 index 000000000..6464e408d --- /dev/null +++ b/docker-examples/v6/docker-local-storage-volume/conf/htpasswd @@ -0,0 +1 @@ +jpicado:$6vkdNgRX2npc:autocreated 2017-07-11T18:48:38.003Z diff --git a/docker-examples/v6/docker-local-storage-volume/docker-compose.yaml b/docker-examples/v6/docker-local-storage-volume/docker-compose.yaml new file mode 100644 index 000000000..92b4c366e --- /dev/null +++ b/docker-examples/v6/docker-local-storage-volume/docker-compose.yaml @@ -0,0 +1,12 @@ +services: + verdaccio: + image: verdaccio/verdaccio:nightly-master + container_name: verdaccio-docker-local-storage-vol + ports: + - '4873:4873' + volumes: + - './storage:/verdaccio/storage' + - './conf:/verdaccio/conf' +volumes: + verdaccio: + driver: local diff --git a/docker-examples/v6/docker-local-storage-volume/readme.md b/docker-examples/v6/docker-local-storage-volume/readme.md new file mode 100644 index 000000000..c3cea84e4 --- /dev/null +++ b/docker-examples/v6/docker-local-storage-volume/readme.md @@ -0,0 +1,31 @@ +# Verdaccio and simple local storage + +This example shows a simple configuration for `verdaccio` plus the default local storage with the minimum configuration required using `docker-compose`. + +Contains + +- conf: Configuration file and default user httpasswd +- storage: A published default package with 2 versions. + +```bash +$> docker-compose up +``` + +## Login + +If you want to login into the Verdaccio instance created via these Docker Examples, please try: + +Username: jpicado +Password: jpicado + +## Running in Dokku + +If you use Dokku, an open-source alternative for Heroku, you can run this example using the following steps: + +1. Create a new application `dokku apps:create verdaccio` +2. Pull the verdaccio image `docker pull verdaccio/verdaccio:` +3. Tag the docker image for the app: `docker tag verdaccio/verdaccio:nightly-master dokku/verdaccio:v1` +4. Create the directories for persistent storage `mkdir -p /var/lib/dokku/data/storage/verdaccio/storage`, `mkdir -p /var/lib/dokku/data/storage/verdaccio/storage` +5. Mount the volumes: `dokku storage:mount verdaccio /var/lib/dokku/data/storage/verdaccio/storage:/verdaccio/storage` and `dokku storage:mount verdaccio /var/lib/dokku/data/storage/verdaccio/conf:/verdaccio/conf` +6. Deploy the docker image `dokku tags:deploy verdaccio v1` +7. Enjoy the application diff --git a/docker-examples/v6/docker-local-storage-volume/storage/@jota/pk1-juan-1/package.json b/docker-examples/v6/docker-local-storage-volume/storage/@jota/pk1-juan-1/package.json new file mode 100644 index 000000000..ee1f5cf84 --- /dev/null +++ b/docker-examples/v6/docker-local-storage-volume/storage/@jota/pk1-juan-1/package.json @@ -0,0 +1,61 @@ +{ + "name": "@jota/pk1-juan-1", + "versions": { + "1.0.0": { + "name": "@jota/pk1-juan-1", + "version": "1.0.0", + "description": "Simple React Webpack Babel Starter Kit", + "main": "index.js", + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, + "keywords": [], + "author": { + "name": "Juan Picado", + "email": "juan@jotadeveloper.com" + }, + "license": "ISC", + "dependencies": { + "angular": "^1.6.8", + "angular2": "^2.0.0-beta.21", + "babel-core": "^6.26.0", + "babel-env": "^2.4.1", + "jquery": "^3.2.1", + "react": "^16.2.0", + "test_npm_18": "^1.0.1", + "typescript": "^2.6.2", + "verdaccio": "^2.7.2", + "verdaccio-memory": "0.0.3", + "webpack": "^3.10.0" + }, + "readmeFilename": "README.md", + "_id": "@jota/pk1-juan-1@1.0.0", + "_npmVersion": "5.5.1", + "_nodeVersion": "8.7.0", + "_npmUser": {}, + "dist": { + "integrity": "sha512-aKXCuBayXFdSVt4+94B7lqvsPsM0KIsIcXvc7Ghkir3OsE6FQl2bXBBWe6deNuTwJihsFvDbCDiMq+0TIUENBQ==", + "shasum": "faf627d746ce7c670aed088b761960716e68e186", + "tarball": "http://0.0.0.0:4873/@jota/pk1-juan-1/-/@jota/pk1-juan-1-1.0.0.tgz" + } + } + }, + "dist-tags": { + "latest": "1.0.0" + }, + "time": { + "modified": "2018-01-17T18:32:18.049Z", + "created": "2018-01-17T18:32:18.049Z", + "1.0.0": "2018-01-17T18:32:18.049Z" + }, + "_distfiles": {}, + "_attachments": { + "pk1-juan-1-1.0.0.tgz": { + "shasum": "faf627d746ce7c670aed088b761960716e68e186", + "version": "1.0.0" + } + }, + "_uplinks": {}, + "_rev": "3-5cf06458deec6f04", + "readme": "# react-webpack-babel\nSimple React Webpack Babel Starter Kit\n\nTired of complicated starters with 200MB of dependencies which are hard to understand and modify?\n\nTry this is a simple [React](https://facebook.github.io/react/), [Webpack](http://webpack.github.io/) and [Babel](https://babeljs.io/) application with nothing else in it.\n\n### What's in it?\n\n* Simple src/index.jsx and src/index.css (local module css).\n* Webpack configuration for development (with hot reloading) and production (with minification).\n* CSS module loading, so you can include your css by ```import styles from './path/to.css';```.\n* Both js(x) and css hot loaded during development.\n* [Webpack Dashboard Plugin](https://github.com/FormidableLabs/webpack-dashboard) on dev server.\n\n### To run\n\n* You'll need to have [git](https://git-scm.com/) and [node](https://nodejs.org/en/) installed in your system.\n* Fork and clone the project:\n\n```\ngit clone https://github.com/alicoding/react-webpack-babel.git\n```\n\n* Then install the dependencies:\n\n```\nnpm install\n```\n\n* Run development server:\n\n```\nnpm start\n```\n\n* Or you can run development server with [webpack-dashboard](https://github.com/FormidableLabs/webpack-dashboard):\n\n```\nnpm run dev\n```\n\nOpen the web browser to `http://localhost:8888/`\n\n### To build the production package\n\n```\nnpm run build\n```\n\n### Nginx Config\n\nHere is an example Nginx config:\n```\nserver {\n\t# ... root and other options\n\n\tgzip on;\n\tgzip_http_version 1.1;\n\tgzip_types text/plain text/css text/xml application/javascript image/svg+xml;\n\n\tlocation / {\n\t\ttry_files $uri $uri/ /index.html;\n\t}\n\n\tlocation ~ \\.html?$ {\n\t\texpires 1d;\n\t}\n\n\tlocation ~ \\.(svg|ttf|js|css|svgz|eot|otf|woff|jpg|jpeg|gif|png|ico)$ {\n\t\taccess_log off;\n\t\tlog_not_found off;\n\t\texpires max;\n\t}\n}\n```\n\n### Eslint\nThere is a .eslint.yaml config for eslint ready with React plugin.\nTo use it, you need to install additional dependencies though:\n\n```\nnpm install --save-dev eslint eslint-plugin-react\n```\n\nTo do the actual linting, run:\n\n```\nnpm run lint\n```\n\n### Notes on importing css styles\n* styles having /src/ in their absolute path are considered part of the application and exported as local css modules.\n* other styles are considered global styles used by many components and are included in the css bundle directly.\n\n### Contribute\nPlease contribute to the project if you know how to make it better, including this README :)" +} diff --git a/docker-examples/v6/docker-local-storage-volume/storage/@jota/pk1-juan-1/pk1-juan-1-1.0.0.tgz b/docker-examples/v6/docker-local-storage-volume/storage/@jota/pk1-juan-1/pk1-juan-1-1.0.0.tgz new file mode 100644 index 0000000000000000000000000000000000000000..d670e65dbc58bd52e471108b642c3edcbfc67ce6 GIT binary patch literal 1755 zcmV<11|<0(iwFP!000006YW@SZ`(Ey?$_#99Fk#8wpg<4*eTLs-P&c?`--MOF{Eum zOSD8sA~ljq?AG0H-yKQCPM3AVwze2xCVtV~k$1sV=>U1@a4w{Yfbx7s;hTq>Q@ zawpFng|)U+nil*H&4x!JW4VIQ$Oq?9&M$bS8m{9^)t`HtDv@z%oY&tTKkQs;I2tZ9 z!PkssvS=&jmVc4PM^r3TlGyeVvxSzx>9d-6Dbi5t^`@`Yb z#!DEu6t;vxzyIR{5?Mc8!(}P55}4*tGM$4}&>~M0*ylj6TIFK8 zxQ{CI0&FP^;6DT74Lfm`J>MyFLZ+1-PaV853};o$0; z?5b7ELfw60V<()7qSf94?0gVzHPr85$C*?ri_xqU%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u&@4A?G`~VyP0HM%vZvX%Q literal 0 HcmV?d00001 diff --git a/docker-examples/v6/docker-local-storage-volume/storage/@jota/pk1-juan/pk1-juan-1.0.1.tgz b/docker-examples/v6/docker-local-storage-volume/storage/@jota/pk1-juan/pk1-juan-1.0.1.tgz new file mode 100644 index 0000000000000000000000000000000000000000..cf64a4b7779bd35e0c6ced0a3950b90d42b7d0ea GIT binary patch literal 1754 zcmV<01||6)iwFP!000006YW@gZ`(Ey@4wZjI3z=xY_Vk7iBqJ*y0y))_ll-KF{Eum zOSD8sA~ljq?9Sb1-yKQCPM3DCJ}|&+^YA@*cf7mbk!e_V#tNP^{%1TjO5S+KtKaXB zc6Z@AI<7Pw4B$pO91QmN)8TG^bOT9yqY>QbziUUXTdlE7qbvV)A0G@{{`{Y;-y(nw z$!flF02^OUm1RkDmiDGClN&q4JLlR6C5fHJ{W$g1oSRIG#s-cj)=aohLgsvimE@^j z&>(|sA;EHENsMQuf@d3tS}T13QUNi*G&~a%!SiPuaO)QEnXr&L1^G6s$_z?13s#@w=akaiMdHs)0?Q`*^iF^UJHxPO(&<$2KG zjW6}4zqVY@9eo%NmUPWoX1yc0*K#X5wiDUZC+VHwW`C(<=S@geFodcd4^x}7EE6iQ z_OD^}YF;bv4TcyGJAn&6Cdde0rpR+Sie5z@yQ0_YpR9oUN$d(zXYa$t+ws3Y9F9Ex zkM{ceqv0;%e}BKfyT<k?vR2&`?3!Zuw+$Rk_S~qy9W)?phFJa(9*b)Z){*U)bWc7Xx7p2HbV46e8bPiTQi#$zWp96i>Di@Ra zJv5=`U`t^D|1&V&v18}i^R3d_#vCNcgk^lJ)LC4h$#xtImAJ5y?HxD{{(ET@4xz5d zZab65F2Loc?kJ`v2sA!EeDL_Vq(ZM`0lYFCgal#ZDB9fIgr_C5w~Z&E|DQrQOrx_) zl$|+)OG;)8Y*i{_6$Rd+G*Y%>RPGKRC*edCt@a+^e&ZSaW%x0xnj*j`5 zaQxOst}CZr?>I+W$VD6HLw4%sWI|ke_4=Yb9?r9pXwXq|>Dg9x_vo z6;;S1chOiTCnOK+F8La-0U~GPivPgIrb}-x?{v2Tqely1xW;!)NYfJqx|NilUsQX$ zsz7q?3bAD8SYWvS6=OY<)y`U|6{&K*6rfL7DM}X!mnb6W+EP`xA(nwVIx{zx*AyJO zd*+X#Qj%kBbIQ_`XZ9e9@X#W(7I@bL%diR+WhuF)Z>gl+7HH;4$z|tmOrxY^w0XTQ1rEmzE_U_l#_p#$Q3t&Iq%5N7@3O^RbZ^u1sbPR zo`#NhomDDh5ANVfPA@B9+=?piQqVO@7>QSHIZ1DgbbrEPoWTRvlu`5zM<647lE7!o zb-NevU3=j4!h!r2-Q0vYjzKGI1F8dT5Tq;j#}pGqH;b2|!IHh}e>ttR=gj{h07Oj_-<%hpq0n8lNay21PsqKSR?kl+ zf*Si1Y)|(sfq+z{C6$}6R<(YIXO4dF6Q|B+4UPo^X?~sH7TR4{J6TN40-asp$CnGP z>_Q>!LQRm-6!^u9MIk1OMivXK_-(&6%Q9}vNu>&$C==Ws_byHlicco0rK9x3&V!oG zoC~j(i90m-P_PkpM@SjO+>zor!xQrfbNK4XG#>N0FJnIr{gWq-uzXsAe!Js(po5RD z!}n$DFgTO_q;f#e)=W2wH@ zBre=#-71SdU@AO-6ZTTYcpS%u4uFmrNUVe=6hRo85*n~6Rn=N-7Q}fsyy<-=aBgGh z4Z;GAdFR#2u%rsde4sHDVg~$_Bcp!m7{Wx~0>Sue8yA%tqefujk>@mnY9{CI)`2*Q z4?bsx6vMpAgV%m!VQFAX=2#P%t>$3>VDnln#u!iZsN&2xqk%$+Tmfbf6PM#NsV;DO wT@brwXOw&xbBmXqonV+w&D~b~eHsq7KlTN0z1C~J*6R)H4}~X=wg4Oe0GZrgzW@LL literal 0 HcmV?d00001 diff --git a/docker-examples/v6/docker-local-storage-volume/storage/npm_test_pkg1/npm_test_pkg1-1.0.0.tgz b/docker-examples/v6/docker-local-storage-volume/storage/npm_test_pkg1/npm_test_pkg1-1.0.0.tgz new file mode 100644 index 0000000000000000000000000000000000000000..38ccedd48b591fe9f783411721b6b55434f6b178 GIT binary patch literal 290 zcmV+-0p0!|iwFP!000001MO2iPs1=2%$#5GVL-{r7TDcv;w4DhKui<_nwoSZo8pf<6I{$9<7qui9soCstN*MHg#lLrgZ?XIAo0b zt7J`G)){4-vf!V3kgu?{t~Gv?pVmodfg}GDyyXBywj+{-XFaYQTDQ`}nvsiOJ)^Ng z$>6er7Bs0n+Rg~=4o(usR>YN%J?{LEl+?7*dLy**LTC`SVYgARB-h3$vjC|e7+^Ja z;z3})Brux+?t}wI{FD1wZNS$TW%^L=?mjB*)@_veoZ?AzC~Z8>&FvM*_xW$X;y;Z; o?&lvL?HoP6$$yN?G5@^r`S&+`%KwB36DFJ!@AqtEmH-L>06!j%jsO4v literal 0 HcmV?d00001 diff --git a/docker-examples/v6/docker-local-storage-volume/storage/npm_test_pkg1/npm_test_pkg1-1.0.1.tgz b/docker-examples/v6/docker-local-storage-volume/storage/npm_test_pkg1/npm_test_pkg1-1.0.1.tgz new file mode 100644 index 0000000000000000000000000000000000000000..9eee8efef449911f58598fbd62f689b22ba8e1db GIT binary patch literal 292 zcmV+<0o(o`iwFP!000001MO3>PQx%1?3}N7^3VyTcATVASH!@~NKs`akJg0PmhD0j z>c3;h0Tv_%S^-in!^L;bd(TPEh^7-;T$sf9gVSnuVo*x!vV_RXx*C`kX&u2!4l~BX zRj?(iiWy~`G8X((5AqfE&I=nx`DvYW7Wm+Qg4YayDA6NX1vdT0qw^cnZ5g?U))QJM zwTdpwX+Ekgy2eW5M<zhlG9kbtl#eW)O q?icSL?HoP6$^Q_SG5>YN>yZC&!>9aDm@r|&Iq?P^i!7r63IG80CX8VK literal 0 HcmV?d00001 diff --git a/docker-examples/v6/docker-local-storage-volume/storage/npm_test_pkg1/package.json b/docker-examples/v6/docker-local-storage-volume/storage/npm_test_pkg1/package.json new file mode 100644 index 000000000..a7aeb62ed --- /dev/null +++ b/docker-examples/v6/docker-local-storage-volume/storage/npm_test_pkg1/package.json @@ -0,0 +1,70 @@ +{ + "name": "npm_test_pkg1", + "versions": { + "1.0.0": { + "name": "npm_test_pkg1", + "version": "1.0.0", + "description": "", + "main": "index.js", + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, + "keywords": [], + "author": "", + "license": "ISC", + "_id": "npm_test_pkg1@1.0.0", + "_npmVersion": "5.1.0", + "_nodeVersion": "4.6.1", + "_npmUser": {}, + "dist": { + "integrity": "sha512-qq8u/xKpYFCfmANLg5ohY4ZBkzM7NsKjIpYH+eSXji69aceMQvltRXx0O1qo7yAIORiCFsMTGLlkDCQtbhByxg==", + "shasum": "d058de16fdf8bde775ef2898e682faacc3eaa67f", + "tarball": "http://localhost:4873/npm_test_pkg1/-/npm_test_pkg1-1.0.0.tgz" + } + }, + "1.0.1": { + "name": "npm_test_pkg1", + "version": "1.0.1", + "description": "", + "main": "index.js", + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, + "keywords": [], + "author": "", + "license": "ISC", + "_id": "npm_test_pkg1@1.0.1", + "_npmVersion": "5.1.0", + "_nodeVersion": "4.6.1", + "_npmUser": {}, + "dist": { + "integrity": "sha512-0YLdKRIAbZJoLpOFqXZE/JldTnGRKjIX999xV4PMJ+sUO6pWiLO8NbG4wuT5738Re3D5WTRa743y9uPvgrTD0A==", + "shasum": "1f6251ce59e375a6328958202ec07eb7de38dae6", + "tarball": "http://localhost:4873/npm_test_pkg1/-/npm_test_pkg1-1.0.1.tgz" + } + } + }, + "dist-tags": { + "latest": "1.0.1" + }, + "time": { + "modified": "2017-07-11T18:52:35.061Z", + "created": "2017-07-11T18:49:27.417Z", + "1.0.0": "2017-07-11T18:49:27.417Z", + "1.0.1": "2017-07-11T18:52:35.061Z" + }, + "_distfiles": {}, + "_attachments": { + "npm_test_pkg1-1.0.0.tgz": { + "shasum": "d058de16fdf8bde775ef2898e682faacc3eaa67f", + "version": "1.0.0" + }, + "npm_test_pkg1-1.0.1.tgz": { + "shasum": "1f6251ce59e375a6328958202ec07eb7de38dae6", + "version": "1.0.1" + } + }, + "_uplinks": {}, + "_rev": "11-382567c9979db3fd", + "readme": "ERROR: No README data found!" +} diff --git a/docker-examples/v6/docker-local-storage-volume/storage/pk1-juan/package.json b/docker-examples/v6/docker-local-storage-volume/storage/pk1-juan/package.json new file mode 100644 index 000000000..64b07b40a --- /dev/null +++ b/docker-examples/v6/docker-local-storage-volume/storage/pk1-juan/package.json @@ -0,0 +1,61 @@ +{ + "name": "pk1-juan", + "versions": { + "1.0.0": { + "name": "pk1-juan", + "version": "1.0.0", + "description": "Simple React Webpack Babel Starter Kit", + "main": "index.js", + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, + "keywords": [], + "author": { + "name": "Juan Picado", + "email": "juan@jotadeveloper.com" + }, + "license": "ISC", + "dependencies": { + "angular": "^1.6.8", + "angular2": "^2.0.0-beta.21", + "babel-core": "^6.26.0", + "babel-env": "^2.4.1", + "jquery": "^3.2.1", + "react": "^16.2.0", + "test_npm_18": "^1.0.1", + "typescript": "^2.6.2", + "verdaccio": "^2.7.2", + "verdaccio-memory": "0.0.3", + "webpack": "^3.10.0" + }, + "readmeFilename": "README.md", + "_id": "pk1-juan@1.0.0", + "_npmVersion": "5.5.1", + "_nodeVersion": "8.7.0", + "_npmUser": {}, + "dist": { + "integrity": "sha512-K3ifqa0DEndma1RPhM83TBVISIY3wq2JdTL0GafvJno6z6JvFBp4iQgyrKn7Yjkd0J/LZ9IJvhNWsGQZuoXMPQ==", + "shasum": "5d670df046b9bc4bc1714efe8873a614c522e41d", + "tarball": "http://0.0.0.0:4873/pk1-juan/-/pk1-juan-1.0.0.tgz" + } + } + }, + "dist-tags": { + "latest": "1.0.0" + }, + "time": { + "modified": "2018-01-17T18:27:09.087Z", + "created": "2018-01-17T18:27:09.087Z", + "1.0.0": "2018-01-17T18:27:09.087Z" + }, + "_distfiles": {}, + "_attachments": { + "pk1-juan-1.0.0.tgz": { + "shasum": "5d670df046b9bc4bc1714efe8873a614c522e41d", + "version": "1.0.0" + } + }, + "_uplinks": {}, + "_rev": "5-e7a0e845b8b0cdc8", + "readme": "# react-webpack-babel\nSimple React Webpack Babel Starter Kit\n\nTired of complicated starters with 200MB of dependencies which are hard to understand and modify?\n\nTry this is a simple [React](https://facebook.github.io/react/), [Webpack](http://webpack.github.io/) and [Babel](https://babeljs.io/) application with nothing else in it.\n\n### What's in it?\n\n* Simple src/index.jsx and src/index.css (local module css).\n* Webpack configuration for development (with hot reloading) and production (with minification).\n* CSS module loading, so you can include your css by ```import styles from './path/to.css';```.\n* Both js(x) and css hot loaded during development.\n* [Webpack Dashboard Plugin](https://github.com/FormidableLabs/webpack-dashboard) on dev server.\n\n### To run\n\n* You'll need to have [git](https://git-scm.com/) and [node](https://nodejs.org/en/) installed in your system.\n* Fork and clone the project:\n\n```\ngit clone https://github.com/alicoding/react-webpack-babel.git\n```\n\n* Then install the dependencies:\n\n```\nnpm install\n```\n\n* Run development server:\n\n```\nnpm start\n```\n\n* Or you can run development server with [webpack-dashboard](https://github.com/FormidableLabs/webpack-dashboard):\n\n```\nnpm run dev\n```\n\nOpen the web browser to `http://localhost:8888/`\n\n### To build the production package\n\n```\nnpm run build\n```\n\n### Nginx Config\n\nHere is an example Nginx config:\n```\nserver {\n\t# ... root and other options\n\n\tgzip on;\n\tgzip_http_version 1.1;\n\tgzip_types text/plain text/css text/xml application/javascript image/svg+xml;\n\n\tlocation / {\n\t\ttry_files $uri $uri/ /index.html;\n\t}\n\n\tlocation ~ \\.html?$ {\n\t\texpires 1d;\n\t}\n\n\tlocation ~ \\.(svg|ttf|js|css|svgz|eot|otf|woff|jpg|jpeg|gif|png|ico)$ {\n\t\taccess_log off;\n\t\tlog_not_found off;\n\t\texpires max;\n\t}\n}\n```\n\n### Eslint\nThere is a .eslint.yaml config for eslint ready with React plugin.\nTo use it, you need to install additional dependencies though:\n\n```\nnpm install --save-dev eslint eslint-plugin-react\n```\n\nTo do the actual linting, run:\n\n```\nnpm run lint\n```\n\n### Notes on importing css styles\n* styles having /src/ in their absolute path are considered part of the application and exported as local css modules.\n* other styles are considered global styles used by many components and are included in the css bundle directly.\n\n### Contribute\nPlease contribute to the project if you know how to make it better, including this README :)" +} diff --git a/docker-examples/v6/docker-local-storage-volume/storage/pk1-juan/pk1-juan-1.0.0.tgz b/docker-examples/v6/docker-local-storage-volume/storage/pk1-juan/pk1-juan-1.0.0.tgz new file mode 100644 index 0000000000000000000000000000000000000000..a739e279d0d8372d3ed7d2331e0d77dd1a16768d GIT binary patch literal 1749 zcmV;`1}ga8P{Ye%kIt+7m_EB|#L9}Han{GY7fB7hCa zYQAv*8_ikTo3>1D>=5;wYa^5-MjH3yzNhBgWLh*fa6GYQ!hI4l=QFG!PxXQZ8Ds?s zmK#fAJS!DE+c?x(=>w1ohykYInV1NkKihy?w}8)tg>(ZoU%B1R`20fYoVGiD?kKFa zrP8$Fcjz=c5*f=Cd`=O3IaQYB{G3;+;X2M#{e}0b5*e4qMf>g1gD#|oqvJ9Ye8pKN zi?(8J`xj|Eitjk#C1c#b@o1NydD4h!{Nx||7fqj zKN=GL_xJm|YyAHZ%i({cx#13|kA065I$gn@@Bz=N;62yy9)g>yEreXrw3OOD$%60JznveOZ!GaAuA#IQj8p2BhuekUH^BJ z`+eB>i~e`*k`D3TARX-uN3Q>e>-*maSzZ1gAAa@l$HTbJ--C^}=YMx^H}&}+?4^Uz zaF6o8H(KZagRD*P02*#}J$DU=jzry593B%3o_ZGCCl(yxaape6dtsyKiO@U;H37U} zH+Z#X7C#ynJWXJq1AWyh7nAutG@<8U zOJM;2GcewT}GQnq7M?hYR(;Y1Xz_8#EmgYdecc?Vn0rBYeUW~Eq;j`^5y{N`=u zbi7P0B)+kHAkM&pqodAd(A)u|V6Ixo@KGgXR<${&&zhWq@f=Q1PcbB=@yTZA6=rjy zRSmb}q+zy9tfFvk-$g0f|301*OwHEJJ49QMpJWSbC2uty;z}%})1?d^GEtkOK&glbhiPcM+;!M#@9_q(-Q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