Skip to content

Commit 5f63579

Browse files
committed
is npm just broken? pnpm works
1 parent b88fbdc commit 5f63579

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

files/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"scripts": {
1818
"build": "rollup --config",
1919
"format": "prettier . --cache --write",
20-
"lint": "concurrently \"<%= packageManager %>:lint:*(!fix)\" --names \"lint:\" --prefixColors auto",
20+
"lint": "rollup --config && concurrently \"<%= packageManager %>:lint:*(!fix)\" --names \"lint:\" --prefixColors auto",
2121
"lint:fix": "concurrently \"<%= packageManager %>:lint:*:fix\" --names \"fix:\" --prefixColors auto && <%= packageManager %> run format",
2222
"lint:format": "prettier . --cache --check",
2323
"lint:hbs": "ember-template-lint . --no-error-on-unmatched-pattern",

index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ module.exports = {
4242
yarn: false,
4343
pnpm: isPnpm(options),
4444
npm: isNpm(options),
45+
runScript: isPnpm(options) ? 'pnpm' : 'npm run',
4546
typescript: options.typescript,
4647
ext: options.typescript ? 'ts' : 'js',
4748
blueprint: 'addon',

0 commit comments

Comments
 (0)