{"id":19408798,"url":"https://github.com/daern91/build-actions","last_synced_at":"2025-02-25T02:17:53.264Z","repository":{"id":57105390,"uuid":"120100681","full_name":"daern91/build-actions","owner":"daern91","description":null,"archived":false,"fork":false,"pushed_at":"2018-02-04T21:26:11.000Z","size":122,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-22T09:50:46.199Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/daern91.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-02-03T14:56:34.000Z","updated_at":"2018-02-03T15:14:20.000Z","dependencies_parsed_at":"2022-08-20T20:10:40.234Z","dependency_job_id":null,"html_url":"https://github.com/daern91/build-actions","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daern91%2Fbuild-actions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daern91%2Fbuild-actions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daern91%2Fbuild-actions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daern91%2Fbuild-actions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/daern91","download_url":"https://codeload.github.com/daern91/build-actions/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240587480,"owners_count":19825005,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-10T12:07:54.641Z","updated_at":"2025-02-25T02:17:53.159Z","avatar_url":"https://github.com/daern91.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# build-actions\n\n[![Build Status](https://travis-ci.org/daern91/build-actions.svg?branch=master)](https://travis-ci.org/daern91/build-actions)\n[![Coverage Status](https://coveralls.io/repos/github/daern91/build-actions/badge.svg?branch=master)](https://coveralls.io/github/daern91/build-actions?branch=master)\n[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)\n\nA small library to diff Customers and build update actions.\n\n## Installation\n\n### Required Tools and Dependencies\n\n* Node (This project uses the current LTS node version, which is `v8.9.4`)\n\n### Setup (git)\n\nExecute these commands in the project's root directory:\n\n* `git clone https://github.com/daern91/build-actions.git` - Clone the git repo\n* `cd build-actions/` - Move into package folder\n* `npm i` - Install all dependencies\n\n## CLI Usage\n\n* `npm run generate-data` - Generate a data.json file with test customers.\n* Duplicate the data.json file and change some of the customer info in the new copy, e.g. `email`.\n* `buildactions import --file testCustomers/\u003cnewFileName.json\u003e`\n\n## Setup (npm)\n\n`npm install @daern91/build-actions`\n\n## Usage\n\n```javascript\nconst buildActions = require('@daern91/build-actions');\n\nconst actions = buildActions(oldCustomerObject, newCustomerObject);\n\n// Output should be an array of update actions\n```\n\n**NOTE: You may also use CLI by installing package globally with `npm install @daern91/build-actions -g`**\n\n## Tests\n\n* `npm test` for full testing including lint.\n* `npm run cover` for full testing including coverage.\n\n### Requirements\n\n* [x] Setup the project in a github repository\n* [x] Export `buildActions` function\n* [x] Create test data generator\n* [x] Write a CLI (matching with ID instead of name)\n* [ ] Provide JSDoc\n* [x] Tests\n* [x] Lint\n* [x] README\n* [x] Use ES6\n* [x] TravisCI\n* [ ] Cucumber features for CLI integration tests (provided that you did the advanced part)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaern91%2Fbuild-actions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdaern91%2Fbuild-actions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaern91%2Fbuild-actions/lists"}