{"_id":"@bluebird-parking/seed","_rev":"2-451225a83ba60db90aceabd5d4f6a82e","name":"@bluebird-parking/seed","dist-tags":{"latest":"1.0.1"},"versions":{"0.0.1":{"name":"@bluebird-parking/seed","version":"0.0.1","description":"Package for seeding the Bluebird Parking database on GCP.","main":"dist/index.js","types":"dist/index.d.ts","prettier":"@tomchinery/prettier-config","bin":{"@bluebird-parking/seed":"bin/cli","bp-seed":"bin/cli"},"scripts":{"prepare":"npm run build","build":"tsc","test":"jest --coverage","test.watch":"jest --coverage --watch","lint":"eslint ./src/ --fix --ext .js,.jsx,.ts,.tsx --max-warnings 0"},"repository":{"type":"git","url":"git+https://github.com/Bluebird-Parking/bluebird-parking-seed.git"},"keywords":["bluebird-parking-seed","bluebird-parking","parking","seed"],"author":{"name":"Tom Chinery","email":"tom@tomchinery.com"},"license":"Unlicense","bugs":{"url":"https://github.com/Bluebird-Parking/bluebird-parking-seed/issues"},"homepage":"https://github.com/Bluebird-Parking/bluebird-parking-seed#readme","devDependencies":{"@commitlint/cli":"^8.1.0","@commitlint/config-conventional":"^8.1.0","@tomchinery/eslint-config":"0.0.3","@tomchinery/prettier-config":"0.0.1","@types/jest":"^24.0.18","eslint":"^6.2.2","husky":"^3.0.5","jest":"^24.9.0","prettier":"^1.18.2","ts-jest":"^24.0.2","typescript":"<3.6.0"},"dependencies":{"esm":"^3.2.25"},"husky":{"hooks":{"commit-msg":"commitlint -E HUSKY_GIT_PARAMS"}},"gitHead":"26c520d18635eb716be2d6f46d7b367357fb811d","_id":"@bluebird-parking/seed@0.0.1","_nodeVersion":"12.6.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-6kY4Xwmt0LwmZL1GhkwHEQIi6mM6Ex6BQ/YluLzOashzf2rmjPV287Yrorzb6e82ohcfNhRrdZgAFCFhCNEiQw==","shasum":"0bb12036b81b8815a8407002d9f7393e7e9ba412","tarball":"https://registry.npmjs.org/@bluebird-parking/seed/-/seed-0.0.1.tgz","fileCount":17,"unpackedSize":9111,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdeWSFCRA9TVsSAnZWagAAntEP/3OgCy3s31j5hpxvVe9l\n9bZfgONhQYH/1XGjIv82dywtHGjQ+fQ0oEGJFUPmDPJKz988NC1imCr4wHEl\nFzOtGvJsCCe+3AQ0Tzx1xcNFpgA/bQcXEufER79QDJ/iDBrPjEtlRw+IBIuT\nNKMXT5GzjH60HbnZre4lMsN8flpEXFlm64JfoLLEetB+hfR0ZRn+DsBQZljz\nHLLc7d9IH88htD0lSpDYCJUSAqOQn77eoZPl6FwyqgqgffGddCoDMPTrSzKj\ndG3Bms5KD6BliG6ddmyygEbGZmFN3XFU6WF2G5xTxDNxbAoA6ET/lNqfMvN8\nSzj/udNF3eHsolVv6/UCo+0z3bh6jae9cnnJSSUQcxASdQF7uRd6UlcaPPYz\n26CcPqA7xmWILgdKuxF1k5NaxUzJYp2la7O3ZHVjD9DLm+FbHQxJG3OY5KeA\nw2TxjFVmHVQo44g9ymq4nh7yS7y8vbwAALxSKJfil38oukF9GbR7FqBD2uev\nAUSsaqFpOyZjGV0sj/O9NjKE3u/t6Awzwqf3GUG6RCj68BXlvm5iE77zTW8n\nmYyZLiTy8BOcU2bk2UK88qdg0JINRXpwtsgeHtf1X76Lf/2MkogYUr4LJ282\n2tEzePZBIe3GwO1A+zxoXvNLsRjTY9GGK2NHKGWnx9iyMZM8TqmiPCII5xSE\nexp+\r\n=OvwY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFu1EoL01rC0CWv4psiccVImQ+JoBEGTu1tnIZLeQOc+AiBGZud1o1BJN74gg8OCHj9fjJNors0TjI/WDQ9VmmW7Tw=="}]},"maintainers":[{"name":"tomthu","email":"hello@tomchinery.com"}],"_npmUser":{"name":"tomthu","email":"hello@tomchinery.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/seed_0.0.1_1568236676842_0.08095209175752949"},"_hasShrinkwrap":false},"1.0.1":{"name":"@bluebird-parking/seed","version":"1.0.1","description":"Package for seeding the Bluebird Parking database on GCP.","main":"dist/index.js","types":"dist/index.d.ts","prettier":"@tomchinery/prettier-config","bin":{"@bluebird-parking/seed":"bin/cli","bp-seed":"bin/cli"},"scripts":{"prepare":"npm run build","build":"tsc","test":"jest --coverage","test.watch":"jest --coverage --watch","lint":"eslint ./src/ --fix --ext .js,.jsx,.ts,.tsx --max-warnings 0"},"repository":{"type":"git","url":"git+https://github.com/Bluebird-Parking/bluebird-parking-seed.git"},"keywords":["bluebird-parking-seed","bluebird-parking","parking","seed"],"author":{"name":"Tom Chinery","email":"tom@tomchinery.com"},"license":"Unlicense","bugs":{"url":"https://github.com/Bluebird-Parking/bluebird-parking-seed/issues"},"homepage":"https://github.com/Bluebird-Parking/bluebird-parking-seed#readme","devDependencies":{"@commitlint/cli":"^8.1.0","@commitlint/config-conventional":"^8.1.0","@tomchinery/eslint-config":"0.0.3","@tomchinery/prettier-config":"0.0.1","@types/jest":"^24.0.18","eslint":"^6.2.2","husky":"^3.0.5","jest":"^24.9.0","prettier":"^1.18.2","ts-jest":"^24.0.2","typescript":"<3.6.0"},"dependencies":{"esm":"^3.2.25"},"husky":{"hooks":{"commit-msg":"commitlint -E HUSKY_GIT_PARAMS"}},"gitHead":"26c520d18635eb716be2d6f46d7b367357fb811d","_id":"@bluebird-parking/seed@1.0.1","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"tomthu","email":"hello@tomchinery.com"},"dist":{"integrity":"sha512-ubn+LkSgGg8sLXnWRCQgLpBRuywCWE/1hLwVDaW9IbxLJ5n6dTxyn069kEDoWYu7OTbBarMeoLCInAsNCgpz1Q==","shasum":"df092a2b02373574bb006ea6009a9138097dfe15","tarball":"https://registry.npmjs.org/@bluebird-parking/seed/-/seed-1.0.1.tgz","fileCount":26,"unpackedSize":48302,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdeWWcCRA9TVsSAnZWagAAPI0QAIGf47mIhRP6W74TpDCI\nWPLGzeZlCkaL0GOi5twXFaOL6WAiUhR0eIe2j6w0oixtbE1hoeXm0pH14sGn\n7Q/2IQCjkHgmwjm7xATA6zQlaC3t4vFm5KxjEi3t4FCQTcwBa2M/Y0xyf6lk\n8Ff2V2+LP4hSoFfRZG/Y/tWpa2rjPfJkFY3ZPbpC42JqxOkzm7R4R4ICjkKZ\n2m8fsNgC9g1G51J8mCICCGlVMZrZy4bX4uJBhg7iQlBGN1rnGfl4TE6rwqpG\nD6EG3feUAbK70BPY1++9lSMnDPOyiDQU4gFa72clO9YiCfJSmb2BCUYmKK1T\nUweaS5cHWDpV4YtuhtuQrfOkzr2nSbP+8vdy+iqS2NQsmSveTwUXQlz7YGj2\nJSBcWQLcZBPPKgP+vVXHxQPBYUE2EtrO6izw1nehdnjuWJ8QUsw4A9Uigie5\nOJFRvDkmn8BZwrI2TXalEgw4DXBYFW3zTZGjJ7p60w48EQfO43s5DUUm7OfG\nxn/y0wlmkmiDK4DTqvYNfzVt9QRg2g9nz67TDQLF+cGw15eujqr6nhVqBHx0\nJzJP358ncQ/eXr2KENF4no1ju0ZK8Krbs6eMGGFuFb/Gm3PBUcbeqk6F6fEp\ntF+iphXmYZfkCy/JPJKNFvxQ02bbSANjDogyheCFiqtQ8uSJT1lAALObMGnB\nYGWR\r\n=n0R6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICJ9HtHX4YRKZXWEZhhHV8BXCCGOuR3HW1RpnZBbbgKVAiEAnh4QwR1DeaMmP3iRdOqiAHzs2+QOsGFRE47iwWmjWvg="}]},"maintainers":[{"name":"tomthu","email":"hello@tomchinery.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/seed_1.0.1_1568236955675_0.2769079220397803"},"_hasShrinkwrap":false}},"time":{"created":"2019-09-11T21:17:56.633Z","0.0.1":"2019-09-11T21:17:56.987Z","modified":"2022-04-04T19:44:18.719Z","1.0.1":"2019-09-11T21:22:35.895Z"},"maintainers":[{"name":"tomthu","email":"hello@tomchinery.com"}],"description":"Package for seeding the Bluebird Parking database on GCP.","homepage":"https://github.com/Bluebird-Parking/bluebird-parking-seed#readme","keywords":["bluebird-parking-seed","bluebird-parking","parking","seed"],"repository":{"type":"git","url":"git+https://github.com/Bluebird-Parking/bluebird-parking-seed.git"},"author":{"name":"Tom Chinery","email":"tom@tomchinery.com"},"bugs":{"url":"https://github.com/Bluebird-Parking/bluebird-parking-seed/issues"},"license":"Unlicense","readme":"# `@bluebird-parking/seed`\n\n> Package for seeding the Bluebird Parking database on GCP.\n\n## Summary\n\nThis package and CLI is used as apart of the ETL process for Bluebird Parking seed data. It can:\n- Create a Firestore Database\n- Populate a Firestore Database with Seed Data\n- Teardown a Firestore Database removing Seed Data\n\nThis package supports both being imported as a module; exposing a public API and being used as a CLI.\n\n## Environment\n\n- Google Cloud Platform\n- Locally with the following environment variables:\n  - GOOGLE_CLOUD_PROJECT=your_google_cloud_project\n  \n### Source Data\n\nData is sourced from a collection of government backed XML files containing over 20,000 car parks\nacross the UK. \n\nThis data should be held within a Google Storage bucket called: `gs://bluebird-source-data`. \n\n## Installation\n\n`npm install @bluebird-parking/seed`\n\n## Dependencies\n\n- Google Cloud Platform\n- esm\n\n## Development Dependencies\n\n- @tomchinery/eslint-config\n- @tomchinery/prettier\n- @types/jest\n- eslint\n- jest\n- prettier\n- ts-jest\n- typescript\n\n## Contributing\n\nThis project is setup with Google Cloudbuild which will run on every branch and commit. \n\n### Unit Tests \n\nPlease ensure each commit has unit tests and meets 100% test coverage threshold otherwise\nthe build will fail. \n\nThere are two commands for unit testing:\n- `npm run test` - which runs the test suite with coverage reports.\n- `npm run test.watch` - which watches all files and runs the test suite with coverage reports on file changes.\n\n### Linting\n\nPlease ensure each commit has no lint warnings or errors otherwise the build will fail. \n\nThere is one command for linting:\n- `npm run lint` - which runs ESLint and Prettier (fixing what can be fixed).\n\n### Building\n\nPlease ensure each commit successfully builds otherwise the build will fail.\n\nThere is one command for building:\n- `npm run build` - which compiles and builds the project.\n\n### Conventional Commits\n\nPlease ensure each commit successfully complies with [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0-beta.4/) othervise the build will fail.\n\nThere are two methods in which conventional commits are enforced:\n- A Commit Pre-Hook step using Husky\n- A step on Cloudbuild to verify that a commit conforms to the conventional commit standard\n\n### Deployment and Releases\n\n@TODO: When semantic releases is setup on Cloudbuild.\n\n## TODO:\n\n- [] Setup Semantic Releases on CI/CD\n- [] Setup Slack Cloudbuild Notifications\n- [] Document Slack Github integration\n- [] Document the following noted ENV_VARS:\n  - [] Note: Should use the env_var for $GOOGLE_CLOUD_PROJECT.\n  - [] Note: Should use env_var for DATA BUCKET URL\n  - [] Note: Should use env_var for DATA/FIRESTORE DATABASE to load/remove data from\n\n## License\n\nSee [LICENSE.md](https://github.com/Bluebird-Parking/bluebird-parking-seed/blob/master/LICENSE).\n\n","readmeFilename":"README.md"}