{"id":13630548,"url":"https://github.com/jgodson/shopify-script-creator","last_synced_at":"2025-04-17T17:31:24.625Z","repository":{"id":27209083,"uuid":"110320121","full_name":"jgodson/shopify-script-creator","owner":"jgodson","description":"React app to create Shopify Scripts","archived":false,"fork":false,"pushed_at":"2024-11-20T09:00:31.000Z","size":4734,"stargazers_count":162,"open_issues_count":4,"forks_count":40,"subscribers_count":16,"default_branch":"master","last_synced_at":"2025-04-12T16:59:33.083Z","etag":null,"topics":["hacktoberfest","shopify-scripts"],"latest_commit_sha":null,"homepage":"https://jgodson.github.io/shopify-script-creator/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jgodson.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":"jasongodson","tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":"paypal.me/JasonGodson"}},"created_at":"2017-11-11T05:15:27.000Z","updated_at":"2025-03-17T16:08:43.000Z","dependencies_parsed_at":"2024-06-23T15:41:00.415Z","dependency_job_id":"1d0b2500-0083-4033-8662-30aea4ab40b9","html_url":"https://github.com/jgodson/shopify-script-creator","commit_stats":null,"previous_names":[],"tags_count":80,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jgodson%2Fshopify-script-creator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jgodson%2Fshopify-script-creator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jgodson%2Fshopify-script-creator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jgodson%2Fshopify-script-creator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jgodson","download_url":"https://codeload.github.com/jgodson/shopify-script-creator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249359971,"owners_count":21257142,"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":["hacktoberfest","shopify-scripts"],"created_at":"2024-08-01T22:01:46.729Z","updated_at":"2025-04-17T17:31:24.228Z","avatar_url":"https://github.com/jgodson.png","language":"JavaScript","funding_links":["https://ko-fi.com/jasongodson","paypal.me/JasonGodson"],"categories":["JavaScript"],"sub_categories":[],"readme":"# Shopify Script Creator\nThis project was intended to be a UI to generate Ruby code to paste into the Shopify Script Editor application, no extra coding needed.\n\n## Dependencies\n- [node](https://nodejs.org/en/)\n- [yarn](https://github.com/yarnpkg/yarn/)\n\n## CI\n- CI is set up on [CircleCI](https://circleci.com)\n- CI will run Rspec tests to test ruby code within the ruby_scripts directory\n- CI will check to ensure that no changes were made to the `ruby_scripts` that have not been transferred to the respective `.js` files.\n\n# Getting started\n## Installation\n\nClone this project and install all the project dependencies.\n\n```\nyarn install\n```\n\n## Development\n### JavaScript/React\nRun the local `webpack` development server.\n\n```\nyarn start\n```\n\nOpen http://localhost:8080 in your browser and you should see the application running.\n\n### Ruby Scripts\n- All scripts are cotained in the `ruby_scripts` directory and orgained by type of script (or common if they are applicable to all types of scripts)\n- Tests for scripts are contained within the `spec` directory, then (similar to the script itself) another directory based on the type of script\n\n- If you make changes to any scripts within the `ruby_scripts` directory, you will need to ensure these changes are added to the `src/scripts` `.js` file as well. The command for this is:\n  ```\n  yarn build:scripts\n  ```\n\n## Tests\n#### Ruby\n- Ruby is tested using [Rspec](https://rspec.info)\n- [Factorybot](https://github.com/thoughtbot/factory_bot) is used for building the required objects for tests\n- The `models` directory contains classes to simulate the environment that scripts are executed in.\n- Tests can be run with\n\n  ```\n  yarn test:ruby\n  ```\n\n#### JavaScript\n- There are currently no tests written for this 🙁\n\n## Deploying\n- Update the version in `src/versions.js` and `package.json` prior to deploying\n- Ensure any significant changes to the `components/ChangeLogContent.js` file (you can [convert markdown to html](https://www.browserling.com/tools/markdown-to-html)).\n- Deployment scripts are preconfigured in `package.json` to run with one easy command:\n  ```\n  yarn deploy\n  ```\n  This generates a `docs` directory containing `index.html` and `bundle.js`. The index loads all Polaris styles via the Polaris CDN and the application scripts via `bundle.js`\n- Finally, add a release on GitHub for the new version with the same changes that were listed in the `ChangeLogContent.js` file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjgodson%2Fshopify-script-creator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjgodson%2Fshopify-script-creator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjgodson%2Fshopify-script-creator/lists"}