Skip to content

Conversation

@Gbangbolaoluwagbemiga
Copy link

This PR adds support for ParaSpell's XCM tool templates as requested by the ParaSpell team. It implements external git-based template support and adds three new XCM templates.

Changes

  • External Git Template Support*: Added gitUrl, gitSubdir, and gitRef options to TemplateConfig
  • New XCM Templates: Added three ParaSpell XCM templates:
    • xcm-sdk - XCM SDK template
    • xcm-router - XCM Router template
    • xcm-api - XCM API template
  • Robust Template Spawning: Updated spawnTemplate to handle git cloning
  • Error Handling: Made file updates more resilient (optional gitignore, package.json updates)

Templates Added

Testing

  • All templates are properly registered and available in CLI
  • Git cloning functionality works correctly
  • No breaking changes to existing templates
  • All linter checks pass

Requested By

ParaSpell team - https://github.com/paritytech/create-polkadot-dapp/issues/[ISSUE_NUMBER]

- Add support for external git-based templates via gitUrl, gitSubdir, and gitRef
- Add three new XCM templates: xcm-sdk, xcm-router, xcm-api
- Update spawnTemplate to handle git cloning for external templates
- Make file updates more robust (optional gitignore rename, package.json updates)
- All XCM templates are marked as Recommended type

Addresses ParaSpell team request for XCM tool examples:
- https://github.com/paraspell/xcm-sdk-template
- https://github.com/paraspell/xcm-router-template
- https://github.com/paraspell/xcm-api-template
- Removed outdated dependencies and their versions
- Added new dependencies with updated versions
- Cleaned up the lock file to improve project stability and performance
@cla-bot-2021
Copy link

cla-bot-2021 bot commented Oct 7, 2025

User @Gbangbolaoluwagbemiga, please sign the CLA here.

@socket-security
Copy link

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updated@​types/​node@​20.17.6 ⏵ 20.19.19100 +110081 +196100
Addedtypescript@​5.9.31001009010090
Updated@​inquirer/​core@​10.0.1 ⏵ 10.2.2100 +110010094 +2100
Updated@​inquirer/​prompts@​7.0.1 ⏵ 7.8.699 +110010096100
Updatedprettier-plugin-tailwindcss@​0.6.11 ⏵ 0.6.149810010099 +2100

View full report

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant