{"_id":"@coweb/newsgroup-endpoint","_rev":"2-db010716500a636dea212a1050247486","name":"@coweb/newsgroup-endpoint","dist-tags":{"latest":"0.0.3"},"versions":{"0.0.2":{"name":"@coweb/newsgroup-endpoint","version":"0.0.2","description":"Just testing what can be done","main":"index.js","scripts":{"test":"./scripts/test"},"repository":{"type":"git","url":"http://gitlab.ceng.metu.edu.tr/Group3/news-endpoint.git"},"author":{"name":"Shepherds"},"license":"GPL-3.0","devDependencies":{"@semantic-release/commit-analyzer":"^6.1.0","@semantic-release/git":"^7.0.5","@semantic-release/gitlab":"^3.0.5","@semantic-release/npm":"^5.0.5","@semantic-release/release-notes-generator":"^7.1.3","@types/chai":"^4.1.7","@types/express":"^4.16.1","@types/mocha":"^5.2.5","@types/mongoose":"^5.5.0","@types/sinon":"^5.0.5","chai":"^4.2.0","husky":"^1.1.3","istanbul":"^0.4.5","mocha":"^5.2.0","nyc":"^13.1.0","prettier":"^1.14.3","semantic-release":"^15.0.0","sinon":"^7.1.1","ts-node":"^7.0.1","tslint":"^5.11.0","typescript":"^3.1.6","validate-commit-msg":"^2.14.0"},"dependencies":{"@coweb/cow":"^1.17.2","ajv":"^6.10.0","express":"^4.16.4","mongoose":"^5.5.6"},"publishConfig":{"access":"public"},"husky":{"hooks":{"commit-msg":"validate-commit-msg","pre-push":"./scripts/test.sh && ./scripts/lint.sh"}},"release":{"plugins":["@semantic-release/commit-analyzer","@semantic-release/release-notes-generator","@semantic-release/npm","@semantic-release/git",["@semantic-release/gitlab",{"gitlabUrl":"https://gitlab.ceng.metu.edu.tr"}]]},"gitHead":"32f98df534782ec5a14376242a6f54162ff3a72e","_id":"@coweb/newsgroup-endpoint@0.0.2","_npmVersion":"6.4.1","_nodeVersion":"10.14.2","_npmUser":{"name":"ozyinc","email":"ozan.incesulu@gmail.com"},"dist":{"integrity":"sha512-cqTdKgA7ftne5zk/gWOS65y9NGu2o2ehhte9QWAoETlhGbJXNX5xnQW8tgh3a34/+SY/TglkXGoG/VJ+3FBQow==","shasum":"55baa1662a0dcf6b9c1f8829951288759f6ccfea","tarball":"https://registry.npmjs.org/@coweb/newsgroup-endpoint/-/newsgroup-endpoint-0.0.2.tgz","fileCount":4,"unpackedSize":22063,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc/cmtCRA9TVsSAnZWagAAKtoP/3akVbdpcRSknKrtLS1I\nwxDjkArApEDU6KaQ8nyWBxMPI9rIcJcI1y4gjQoKw/4T+7C5niWK/Ho8zyuf\nzNHY/aQ3XzDA1Zx+HrfBCJJWp96imbmjXHU/WGTNxTtlczUHwhuqo+LZrsON\nFz9GsD11q3QJF+GIK7FH0Blun9ZSwy+UPw8vQ4nzw5Y/ocL8f0aFFGz5aTK6\nKl048lniqheXg66etmRrUfyoIDpBxLrSWd58wgIdMX78MeyWNPBnRHk74sbH\nhWzybjioDKzmm6mcfI7DzhgsoqOOZkpyDpBxppIdDy25k7R0ui4zjDL4dqVX\nbnzK1LwGnZ8meMYIgQlFs0V83WNuBBO7J0E7aXc4OQyWDZlmDwElJ4ch5WqC\nIi3Zmb3ljs4r0ngDqZmQLJJ6ttv/XmmuzRnUfDJf2s4KcJlq74O4dEClligd\nY4GEO8H9txEWNwovdGbwj8Jb9S0ryFIKGEFEAwOlLr34QVf11L/f3X4sjnIg\niNCxShqABby2tRIqT0BU0nE94Z1Fst5Yq8lgyVtLbbv7Lg29gpxB28QpPkfB\nxUQFcPaBjgJVMmwuHrQqYiHB+VSZ4Knl+OVgeQBFzZ90CFZ3hxvPmZW3lry+\nQp8DcTQWQ/ihGijhR9G2YWkLLEkZLjWu4LvejNu7ZcWHraSAUZvsB/Dp8+qq\nhKeu\r\n=+OYx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFdOs9bqIWd3QaOfvq3kOyGeia6PZGZu6eEKa9orJDHAAiEA5OGF46/n/+puqTRSM82OZpozmk504akYLzAEQnui/rs="}]},"maintainers":[{"name":"ozyinc","email":"ozan.incesulu@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/newsgroup-endpoint_0.0.2_1560136108473_0.6363596472495126"},"_hasShrinkwrap":false},"0.0.3":{"name":"@coweb/newsgroup-endpoint","version":"0.0.3","description":"Just testing what can be done","main":"index.js","scripts":{"test":"./scripts/test"},"repository":{"type":"git","url":"http://gitlab.ceng.metu.edu.tr/Group3/news-endpoint.git"},"author":{"name":"Shepherds"},"license":"GPL-3.0","devDependencies":{"@semantic-release/commit-analyzer":"^6.1.0","@semantic-release/git":"^7.0.5","@semantic-release/gitlab":"^3.0.5","@semantic-release/npm":"^5.0.5","@semantic-release/release-notes-generator":"^7.1.3","@types/chai":"^4.1.7","@types/express":"^4.16.1","@types/mocha":"^5.2.5","@types/mongoose":"^5.5.0","@types/sinon":"^5.0.5","chai":"^4.2.0","husky":"^1.1.3","istanbul":"^0.4.5","mocha":"^5.2.0","nyc":"^13.1.0","prettier":"^1.14.3","semantic-release":"^15.0.0","sinon":"^7.1.1","ts-node":"^7.0.1","tslint":"^5.11.0","typescript":"^3.1.6","validate-commit-msg":"^2.14.0"},"dependencies":{"@coweb/cow":"^1.17.2","ajv":"^6.10.0","body-parser":"^1.18.3","busboy":"^0.2.14","cookie-parser":"^1.4.3","dotenv":"^6.1.0","express":"^4.16.4","express-busboy":"^7.0.1","express-session":"^1.15.6","fs-extra":"^8.0.1","mongoose":"^5.5.6"},"publishConfig":{"access":"public"},"husky":{"hooks":{"commit-msg":"validate-commit-msg","pre-push":"./scripts/test.sh && ./scripts/lint.sh"}},"release":{"plugins":["@semantic-release/commit-analyzer","@semantic-release/release-notes-generator","@semantic-release/npm","@semantic-release/git",["@semantic-release/gitlab",{"gitlabUrl":"https://gitlab.ceng.metu.edu.tr"}]]},"gitHead":"e21640f9563bb51abcafa7ccadb27f48c99c528a","_id":"@coweb/newsgroup-endpoint@0.0.3","_npmVersion":"6.4.1","_nodeVersion":"10.14.2","_npmUser":{"name":"ozyinc","email":"ozan.incesulu@gmail.com"},"dist":{"integrity":"sha512-4cVcgywwuynX/g9IW2ALL4uAQW4Z4B05xmTmQS/m0rbPRkrjIBwTKPDkwudOmp6lnpJ7Thxtw5I6Fjv3qVvwlw==","shasum":"d2720d69e842b225c693871a5fa45349c6740f5d","tarball":"https://registry.npmjs.org/@coweb/newsgroup-endpoint/-/newsgroup-endpoint-0.0.3.tgz","fileCount":4,"unpackedSize":22265,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc/cugCRA9TVsSAnZWagAAuEQP/jdWIQ+PuHAqfWZB05cI\nBadWehZ8v2tubhBeufWuwiBO+LvVLJJbowN6A8vCMMXzBbNjWWIfTEf7P+A1\nsuIc9jjfJW9woy2HxeRWSRVfbebS5vZLXXJPpl3VwbdVotOQHsJj4hz3MHiJ\nt1xX9y5UOKt1ZSt7CQFbKgi9eA9BzefdBgZJl04L9sGL4ZMSV6r1gm5cwKLJ\ntMfdlxp4EtI6tmWZt5bnzGbn5UmNdwsjwtp0LZe5tdQwzl5oapXdIH69/FJ1\nIvlP3dC0r8rkeARA3GgCIdaX8X2PxDdBiQVYfrMNF29dgAH0oL4rmSXmLrn5\nziirkXZ67ZI+YlxKjNCZ414qEgU219qNpNbDb6j+7aDFWS1hhWgoOd56SkVW\nvcnpbLeOZyN/sw3m5PnsrcnZDn4sTItg2RMw0ADmvHjbcq2BFd+EhQN9hhHL\ng0pGzVzLghrqlw1rTixulUvhAf2ZCO3lAj4VeZ9Smat//kwzLboqb5CgrK3Q\n/j2N9G+c5oFRqFid/9eSWmUYldt5+gO8mN7ExCUxFqz5Vmut4DpeLEF+K8u2\nKOdqQ1nRqHrYMHhihUY7DcSr1I/sE4Pflajds1uuklcyaexOH22XxYb6EmHK\n7IvIz9+vYnN1s5hU7hmX+cSp6fJB1xZeCfQfPvSqWP0eDYezOZh8F3B68WqO\nPZXH\r\n=6HtQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCshWUS5q+FDwklO6TtZuJ5vzk6TS3PWCSoK2vvcYRlKwIhANLzyRYggXWwB9u0LzZhMA0vFnCMI+CeQg1tEzFWJUCu"}]},"maintainers":[{"name":"ozyinc","email":"ozan.incesulu@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/newsgroup-endpoint_0.0.3_1560136607762_0.7763100766263242"},"_hasShrinkwrap":false}},"time":{"created":"2019-06-10T03:08:28.266Z","0.0.2":"2019-06-10T03:08:28.659Z","modified":"2022-04-05T01:31:04.231Z","0.0.3":"2019-06-10T03:16:47.940Z"},"maintainers":[{"name":"ozyinc","email":"ozan.incesulu@gmail.com"}],"description":"Just testing what can be done","repository":{"type":"git","url":"http://gitlab.ceng.metu.edu.tr/Group3/news-endpoint.git"},"author":{"name":"Shepherds"},"license":"GPL-3.0","readme":"COW: \\<component\\> / \\<subservice\\>\n\n[![pipeline status](http://gitlab.ceng.metu.edu.tr/Group3/project-template/badges/master/pipeline.svg)](http://gitlab.ceng.metu.edu.tr/Group3/test-project/commits/master)\n[![coverage report](http://gitlab.ceng.metu.edu.tr/Group3/project-template/badges/master/coverage.svg)](http://gitlab.ceng.metu.edu.tr/Group3/test-project/commits/master)\n\nIn order to create a new subservice:\n1. Create project in GitLab\n2. Pull project to your local development branch\n3. Copy and paste this project (except `.git` directory) to the newly created project\n4. If you are creating an\n    * application: overwrite content of `.gitlab-ci.yml` with `app.gitlab-ci.yml`\n    * front-end server: apply application steps and overwrite content of `Dockerfile` with `httpd-Dockerfile` (also you can change the public directory given in it) and change entrypoint in cow.yml to `httpd-foreground`. You may delete anything related to typescript backend. Update the scripts to match your requirements.\n    * library: delete app related entities from package.json (`@coweb/cow`, `express`, etc...) \n5. Rename every `project-template` you see in the files to either `component-subservice` or indicate otherwise. (In some places there are also only `project` or `template`, rename those accordingly to your component and subservice names, too)\n6. `git commit -am \"feat: initial commit\"`\n7. `git push`\n8. Open project in GitLab and go to Settings -> CI/CD\n    * Under General Pipelines change Test Coverage Parsing to : `All files\\s*\\|\\s*(\\d+).*`\n    * Under Runners activate COW Runner for your project\n    * Under Variables add **Protected** variables of:  \n         GL_TOKEN : <copy from this project's settings>\n         NPM_TOKEN : <copy from this project's settings>\n         CI_DOCKER_PASSWORD: <copy from this project's settings> (not necessary for a library)\n      **IMPORTANT**: Do not commit these values to Git\n    * TODO: We actually have to move this to runner's Kubernetes secrets\n8. Delete these steps and write something meaningful that explains the purpose of the subservice.\n9. Start coding!\n","readmeFilename":"README.md"}