{"id":37434850,"url":"https://github.com/dont-code/plugin-commerce","last_synced_at":"2026-01-16T06:39:04.422Z","repository":{"id":103252257,"uuid":"541494351","full_name":"dont-code/plugin-commerce","owner":"dont-code","description":"Dont-code Plugin for everything related to product, shops, prices","archived":false,"fork":false,"pushed_at":"2024-12-31T16:00:21.000Z","size":9786,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-31T17:17:31.316Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/dont-code.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-09-26T08:58:45.000Z","updated_at":"2024-12-31T15:53:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"f5529c68-0da1-418e-8ae4-f5cdfb0410f1","html_url":"https://github.com/dont-code/plugin-commerce","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dont-code/plugin-commerce","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dont-code%2Fplugin-commerce","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dont-code%2Fplugin-commerce/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dont-code%2Fplugin-commerce/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dont-code%2Fplugin-commerce/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dont-code","download_url":"https://codeload.github.com/dont-code/plugin-commerce/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dont-code%2Fplugin-commerce/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28477912,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T06:30:42.265Z","status":"ssl_error","status_checked_at":"2026-01-16T06:30:16.248Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":"2026-01-16T06:39:03.858Z","updated_at":"2026-01-16T06:39:04.414Z","avatar_url":"https://github.com/dont-code.png","language":"TypeScript","readme":"![image](https://dont-code.net/assets/logo-shadow-squared.png)\n## Important !\nThis repository is now deprecated. All developments for Dont-code are now happening in the [Monorepo repository](https://github.com/dont-code/monorepo)\n\n## What was it for ?\n\nThis project allows developers to quickstart their development of a Plugin for the  [Dont-code](https://dont-code.net) no-code / low-code platform.\nIt provides example for two kinds of plugins:\n- Seed Field adds a new type of field to the platform.\n- Seeded Entity shows how to modify the Dont-code model and manage the updated display.\n\n## What is it ?\nIt contains a simple but complete repository you can fork to start your development. That includes:\n1. A Nx monorepo with a library [seed](libs/commerce) containing the two plugins.\n2. An Application [plugin-tester](apps/plugin-tester) loading these plugins automatically and allowing you to test and debug them.\n3. Unit tests setup with Jest for each of these plugins.\n4. End 2 end tests example [plugin-tester-e2e](apps/plugin-tester-e2e) using Cypress.\n5. Github Action scripts to build and deploy the plugins automatically [Workflows](.github/workflows).\n\n## How to use it ?\n\nTo develop your own plugins using this seed repository, simply:\n1. Fork this repository in github.\n2. Install it, run some tests and the tester application to make sure it is working.\n3. If you want to create a plugin for a new Field, rename and modify the [SeedField component](libs/commerce/src/lib/preview/seed-field).\n4. If you want to create any other plugin types, rename and modify the [SeedEntity component](libs/commerce/src/lib/preview/price).\n5. Updates the configuration to be injected to the Dont-code platform here [SeedPlugin](libs/commerce/src/lib/declaration/commerce-plugin.ts)\n6. Ensure the plugin tester adds the updated module name of your plugin [AppModule](apps/plugin-tester/src/app/app.module.ts)\n7. Modify the templates loaded by the plugin tester to ease usage of your plugin [templates.json](apps/plugin-tester/src/assets/dev/templates.json)\n8. Run the plugin-tester application and debug your plugins there\n9. Modify and enhance the end 2 end tests of your plugins [seed.spec.ts](apps/plugin-tester-e2e/src/integration/seed.spec.ts)\n10. Modify the Github Action scripts [to build](.github/workflows/dev-build.yml), [and deploy](./.github/workflows/release.yml) your plugins\n11. Test in the Dont-code Buidler and Previewer applications\n\n## How to build it ?\nThis project is a standard Angular - npm project, so the usual commands apply:\n\n1. Installing\n\n`npm install nx -g` #Install nx.dev globally\n\n`npm install`\n\n3. Running the tester application\n\n`nx run plugin-tester:serve`\n\nand point your browser to http://localhost:4200\n\n3. Running unit tests\n\n  `nx run seed:test`\n\n4. Running Cypress End to end tests\n\n  `nx run plugin-tester-e2e:e2e`\n\n5. Build and deploy\n\n  Just commit to Development or Release branch, the Github actions scripts will take care of it\n\n6. Debugging in Builder or Previewer application\n  We have setup some commands to enable debugging the plugin when run inside the Ide or Previewer.\n  Using npm link is difficult and doesn't work all the time, so we use [Yalc](https://github.com/wclr/yalc).\n\n  `npm install yalc -g` Installs the Yalc tool globally\n\n  `npm run publish-all` Publish the library in Yalc repository, after version increase (to bypass Angular caching)\n  \n  Then in the builder project (ide-ui) :\n  `yalc add @dontcode/plugin-seed` to install the plugin using Yalc\n\n  You can now set breakpoints in your plugin classes running in the builder, and if you modify your plugin code, just run\n  `npm run publish-all` again to rebuild it and reload in the builder application.\n\n\n## Thank you\n\nThis project was generated using [Nx](https://nx.dev), visit the [Nx Documentation](https://nx.dev/angular) to learn more.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdont-code%2Fplugin-commerce","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdont-code%2Fplugin-commerce","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdont-code%2Fplugin-commerce/lists"}