Skip to content

Commit

Permalink
Update configs and dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
NullVoxPopuli committed Mar 3, 2023
1 parent 2d09422 commit 6ef2e8c
Show file tree
Hide file tree
Showing 11 changed files with 512 additions and 3,497 deletions.
22 changes: 22 additions & 0 deletions ember-resources/.prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# unconventional js
/blueprints/*/files/
/vendor/

# compiled output
/dist/
/tmp/
CHANGELOG.md

# dependencies
/bower_components/
/node_modules/

# misc
/coverage/
!.*
.eslintcache

# ember-try
/.node_modules.ember-try/
/bower.json.ember-try
/package.json.ember-try
29 changes: 29 additions & 0 deletions ember-resources/.prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
'use strict';

module.exports = {
plugins: ['prettier-plugin-ember-template-tag'],
singleQuote: true,
templateSingleQuote: false,
// this was required to make the VSCode + Prettier work correctly with <template>, see https://github.com/gitKrystan/prettier-plugin-ember-template-tag/issues/38
// we should roll this back once that issue has been fixed!
overrides: [
{
files: '*.hbs',
options: {
singleQuote: false,
},
},
{
files: '*.gjs',
options: {
parser: 'ember-template-tag',
},
},
{
files: '*.gts',
options: {
parser: 'ember-template-tag',
},
},
],
};
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
'use strict';

module.exports = {
extends: 'octane',
extends: 'recommended',
};
25 changes: 13 additions & 12 deletions ember-resources/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,15 +76,15 @@
"README.md"
],
"scripts": {
"start": "rollup -c ./config/rollup.config.mjs --watch",
"build": "FORCE_COLOR=1 npm-run-all --aggregate-output --parallel \"build:*\"",
"build:js": "rollup -c ./config/rollup.config.mjs",
"build:docs": "cp ../README.md ./README.md",
"lint": "FORCE_COLOR=1 npm-run-all --aggregate-output --continue-on-error --parallel \"lint:!(fix)\"",
"lint:fix": "FORCE_COLOR=1 npm-run-all --aggregate-output --continue-on-error --parallel lint:*:fix",
"lint:hbs": "ember-template-lint . --config ./config/.template-lintrc.js",
"lint:hbs:fix": "pnpm run lint:hbs --fix",
"start": "rollup -c ./rollup.config.mjs --watch",
"build": "rollup -c ./rollup.config.mjs",
"lint": "concurrently 'npm:lint:*(!fix)' --names 'lint:'",
"lint:fix": "concurrently 'npm:lint:*:fix' --names 'fix:'",
"lint:hbs": "ember-template-lint . --no-error-on-unmatched-pattern",
"lint:js": "eslint . --cache",
"lint:prettier": "prettier --check .",
"lint:prettier:fix": "prettier --write .",
"lint:hbs:fix": "ember-template-lint . --fix --no-error-on-unmatched-pattern",
"lint:js:fix": "eslint . --fix",
"test": "echo 'Addon does not have tests, run tests in test-app'",
"prepublishOnly": "pnpm run build",
Expand Down Expand Up @@ -116,6 +116,7 @@
},
"devDependencies": {
"@babel/core": "7.21.0",
"@babel/eslint-parser": "^7.19.1",
"@babel/plugin-proposal-class-properties": "7.18.6",
"@babel/plugin-proposal-decorators": "7.21.0",
"@babel/plugin-syntax-decorators": "7.21.0",
Expand All @@ -136,14 +137,14 @@
"@types/ember__object": "^4.0.2",
"@types/ember__owner": "^4.0.0",
"@types/ember__runloop": "^4.0.1",
"babel-eslint": "10.1.0",
"concurrently": "^7.6.0",
"ember-async-data": "^0.7.0",
"ember-template-lint": "3.16.0",
"ember-source": "4.11.0",
"eslint": "^7.32.0",
"ember-template-lint": "5.6.0",
"eslint": "^8.35.0",
"expect-type": "^0.15.0",
"npm-run-all": "4.1.5",
"prettier": "^2.8.4",
"prettier-plugin-ember-template-tag": "^0.3.2",
"rollup": "3.18.0",
"rollup-plugin-ts": "^3.0.0",
"tslib": "^2.4.0",
Expand Down
File renamed without changes.
Loading

0 comments on commit 6ef2e8c

Please sign in to comment.