Skip to content

Default name for scoped presets and tasks#185

Open
ext wants to merge 2 commits into
sapegin:masterfrom
ext:feature/scoped-preset
Open

Default name for scoped presets and tasks#185
ext wants to merge 2 commits into
sapegin:masterfrom
ext:feature/scoped-preset

Conversation

@ext

@ext ext commented Jul 8, 2021

Copy link
Copy Markdown
Collaborator

Allows a shorter syntax for scoped packages.

Instead of:

  • @mycompany/mrm-preset
  • @mycompany/mrm-preset-unicorn

we can now write:

  • @mycompany (resolves to @mycompany/mrm-preset)
  • @mycompany/unicorn (resolves to @mycompany/mrm-preset-unicorn, this one actually works in master but not documented as far as I can find)

Why? Because I'm lazy.

@sapegin sapegin left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Nice, thanks! Just a tiny suggestion ;-)

Comment thread packages/mrm/src/index.js Outdated
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

Merging #185 (2e44369) into master (5208741) will decrease coverage by 0.22%.
The diff coverage is 100.00%.

Impacted Files Coverage Δ
packages/mrm/src/index.js 100.00% <100.00%> (ø)
packages/mrm-task-license/index.js 96.15% <0.00%> (-3.85%) ⬇️
packages/mrm-task-eslint/index.js 97.29% <0.00%> (-2.71%) ⬇️
packages/mrm-core/src/npm.js 100.00% <0.00%> (ø)
packages/mrm-task-gitignore/index.js 100.00% <0.00%> (ø)
packages/mrm-task-package/index.js 97.67% <0.00%> (+1.84%) ⬆️

@ext ext force-pushed the feature/scoped-preset branch from 2e44369 to 98e08d8 Compare July 22, 2021 08:58
@ext ext force-pushed the feature/scoped-preset branch from 98e08d8 to 410bfbc Compare August 16, 2021 20:54
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