feat!: remove sites:create-template command#7946
Conversation
sites:create-template command
src/commands/sites/sites.ts
Outdated
| await sitesCreateTemplate(repository, options, command) | ||
| .addHelpText( | ||
| 'after', | ||
| `(Deprecated) This command has been deprecated. Learn more: https://docs.netlify.com/start/quickstarts/deploy-from-template/`, |
There was a problem hiding this comment.
💭 I would vote to just remove it entirely. Since it isn't a command you use as part of your existing workflow on a project, but rather something you might use to start a project, I don't think there's much risk of anything trying to run it and being confused. Thoughts?
docs/index.md
Outdated
| |:--------------------------- |:-----| | ||
| | [`sites:create`](/commands/sites#sitescreate) | Create an empty project (advanced) | | ||
| | [`sites:create-template`](/commands/sites#sitescreate-template) | (Beta) Create a project from a starter template | | ||
| | [`sites:create-template`](/commands/sites#sitescreate-template) | (Deprecated) Create a project from a starter template | |
There was a problem hiding this comment.
regardless of whether we actually "remove" the command, I would vote to remote it from the docs/help
| parserPreset: { | ||
| parserOpts: { | ||
| headerPattern: /^(\w+)(?:\(([^)]*)\))?(!)?:\s(.+)$/, | ||
| breakingHeaderPattern: /^(\w+)(?:\(([^)]*)\))?(!)?:\s(.+)$/, | ||
| headerCorrespondence: ['type', 'scope', 'breaking', 'subject'], | ||
| }, | ||
| }, |
There was a problem hiding this comment.
the ding dang conventional commit parser I had to switch to because the old one stopped being a thing doesn't pass if you do a ! for breaking change. (it's also looking for a footer in the title with BREAKING CHANGE but titles don't have footers, it thinks it's linting a commit message). I'm trying to avoid doing 2 rounds of CLI test flake
* feat: deprecate sites:create-template * chore: format * chore: lint * docs: build docs * fix: claude says this is how we fix the PR title lint issue * fix: lol now claude says this will work * remove this * remove unneeded issuePrefixes that claude added * fix: remove a bit more dead code * fix: remove sites:create-template placeholder cmd --------- Co-authored-by: Philippe Serhal <philippe.serhal@netlify.com>
Summary
BREAKING: The
sites:create-templatecommand has been removed.It gets very very little usage, there are a lot of quicker, more user friendly ways to create a site these days.
👋