Skip to content

Conversation

@NullVoxPopuli
Copy link
Contributor

@NullVoxPopuli NullVoxPopuli commented Jul 1, 2025

Reviewers, these should be looked at first:


This is a highly needed behavior of our blueprint.

For far too long and have folks starting new projects been held back by the support of existing projects.

We need to have first-class support for people just starting out.

To use this --minimal blueprint from this PR:

# or npx
pnpm dlx \
  ember-cli@latest new my-app \
  --pnpm \
  --minimal \ 
  --blueprint "github:ember-cli/ember-app-blueprint#nvp/minimal-flag-non-default"

To use this --no-compat blueprint from this PR:

# or npx
pnpm dlx \
  ember-cli@latest new my-app \
  --pnpm \
  --no-compat \ 
  --blueprint "github:ember-cli/ember-app-blueprint#nvp/minimal-flag-non-default"

Here is a commit of everything involved in making an app minimal:
NullVoxPopuli/ember-initializers-demo@02b73bb
(repo from prep for this RFC: emberjs/rfcs#1120 )

I'd use this for all my personal projects, and new apps at work (that don't depend on v1 addons)

From the README:

--no-compat

Does the following:

  • enables type=module in package.json (required for vite-ssr, and many ESM tools)
  • makes the build and boot MUCH FASTER
    (in large apps, this can have your app's boot be up to 1 minute faster)
  • removes @embroider/compat
    • removes support for:
      • hbs (both for component files, and testing)
      • content-for (in the HTML files)
      • v1 addons
      • node-land config/environment.js
  • removes ember-cli
    • ember-cli brings in a ton of old dependencies, so removing it makes installs much faster
    • downside though is that you no longer have scaffolding (ember g) -- however, you could use pnpm dlx ember-cli g ... (or npx ember-cli g)

--minimal

Does the following

  • everything listed under --no-compat
  • Removes all linting, formatting, and testing support
    • leaves you with a minimal app that you can use for demos, and PRing to other repositories that have multi-framework support (and probably use other testing tools for that multi-framework support)
  • different defaults:
    • warp-drive becomes opt-in (pass --warp-drive if you want it -- normally requires --no-warp-drive to remove)
    • ember-welcome-page becomes opt-in (normally requires --no-welcome to remove)

@NullVoxPopuli NullVoxPopuli changed the title VERY WIP no looking Add --minimal / --no-compat Oct 28, 2025
@NullVoxPopuli NullVoxPopuli force-pushed the nvp/minimal-flag-non-default branch from a448400 to 3fd1498 Compare November 22, 2025 18:39
@NullVoxPopuli NullVoxPopuli changed the title Add --minimal / --no-compat Add --minimal and --no-compat Nov 22, 2025
@NullVoxPopuli NullVoxPopuli force-pushed the nvp/minimal-flag-non-default branch from b6a0978 to 2966145 Compare November 26, 2025 15:42
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.

2 participants