Skip to content
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/node_modules/
.log/
/my-addon/
4 changes: 3 additions & 1 deletion files/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,15 @@
"scripts": {
"build": "rollup --config",
"format": "prettier . --cache --write",
"lint": "concurrently \"<%= packageManager %>:lint:*(!fix)\" --names \"lint:\" --prefixColors auto",
"lint": "rollup --config && concurrently \"<%= packageManager %>:lint:*(!fix)\" --names \"lint:\" --prefixColors auto",
"lint:fix": "concurrently \"<%= packageManager %>:lint:*:fix\" --names \"fix:\" --prefixColors auto && <%= packageManager %> run format",
"lint:format": "prettier . --cache --check",
"lint:hbs": "ember-template-lint . --no-error-on-unmatched-pattern",
"lint:js": "eslint . --cache",
"lint:hbs:fix": "ember-template-lint . --fix --no-error-on-unmatched-pattern",
"lint:js:fix": "eslint . --fix<% if (typescript) { %>",
"lint:types": "ember-tsc --noEmit<% } %>",
"lint:publish": "publint run",
"start": "vite dev",
"test": "vite build --mode=development --out-dir dist-tests && testem --file testem.cjs ci --port 0",
"prepack": "rollup --config"
Expand Down Expand Up @@ -69,6 +70,7 @@
"globals": "^16.1.0",
"prettier": "^3.4.2",
"prettier-plugin-ember-template-tag": "^2.0.4",
"publint": "^0.3.16",
"qunit": "^2.24.1",
"qunit-dom": "^3.4.0",
"rollup": "^4.22.5",
Expand Down
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ module.exports = {
yarn: false,
pnpm: isPnpm(options),
npm: isNpm(options),
runScript: isPnpm(options) ? 'pnpm' : 'npm run',
typescript: options.typescript,
ext: options.typescript ? 'ts' : 'js',
blueprint: 'addon',
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"author": "",
"scripts": {
"lint": "prettier --check .",
"format": "prettier --write ."
"format": "prettier --write .",
"new:addon": "rm -rf my-addon; pnpm dlx ember-cli@latest addon my-addon --blueprint ."
},
"devDependencies": {
"prettier": "^3.5.3",
Expand Down