Skip to content

feature(create-typink): reimplement create-typink#257

Merged
sinzii merged 35 commits intomainfrom
feature/create-typink-improvement
Aug 30, 2025
Merged

feature(create-typink): reimplement create-typink#257
sinzii merged 35 commits intomainfrom
feature/create-typink-improvement

Conversation

@1cedrus
Copy link
Copy Markdown
Member

@1cedrus 1cedrus commented Aug 26, 2025

  • This PR reimplements how create-typink works. The current implementation makes it time-consuming to develop features or add new templates, so we decided to revise it.
  • For now, create-typink only requires two arguments: project name and template name. Networks will be added later
  • The template naming convention is {inkVersion}-{walletConnector}-{ui}, where:
    • inkVersion: legacy | v6
    • walletConnector: typink | subconnectv2 | talisman
    • ui: vite | nextjs
  • Examples:
    • $ npm create typink -n my-typink-app -t legacy-typink-nextjs
    • $ bun create typink -n my-typink-app -t v6-subconnectv2-vite

@1cedrus 1cedrus marked this pull request as ready for review August 26, 2025 10:25
Copilot AI review requested due to automatic review settings August 26, 2025 10:25
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR reimplements the create-typink tool to streamline development by changing from a customizable wizard approach to a simple template-based system. The tool now requires only two arguments: projectName and templateName, using a naming convention of {inkVersion}-{walletConnector}-{ui}.

  • Simplifies the create-typink interface from a complex wizard to two required arguments
  • Introduces standardized template naming convention for easier template selection
  • Adds comprehensive template files for both Vite and Next.js variants with Typink integration

Reviewed Changes

Copilot reviewed 200 out of 599 changed files in this pull request and generated 6 comments.

File Description
packages/create-typink/templates/legacy-typink-vite/* Complete Vite-based template with Chakra UI, TypeScript, and Typink integration
packages/create-typink/templates/legacy-typink-nextjs/* Complete Next.js template with ShadCN UI, TypeScript, and Typink integration
packages/create-typink/templates/legacy-talisman-vite/* Vite template variant with Talisman wallet integration

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@sinzii
Copy link
Copy Markdown
Member

sinzii commented Aug 30, 2025

This PR is getting bigger, let's merge this for now, we'll continue to improve & optimize this further later in another PR.

@sinzii sinzii merged commit bc76fe4 into main Aug 30, 2025
4 checks passed
@sinzii sinzii deleted the feature/create-typink-improvement branch August 30, 2025 15:29
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.

3 participants