Skip to content

Commit

Permalink
Upgrade to latest v2 blueprint structure
Browse files Browse the repository at this point in the history
  • Loading branch information
nickschot committed Jan 17, 2025
1 parent ba9b8dd commit 82d9994
Show file tree
Hide file tree
Showing 8 changed files with 11,376 additions and 8,082 deletions.
23 changes: 20 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,25 @@
# you definitely want this:
node_modules
# See https://help.github.com/ignore-files/ for more about ignoring files.

# and you can put in anything else that tends to accumulate in your environment:
# dependencies
node_modules/

# misc
.env*
.pnp*
.pnpm-debug.log
.sass-cache
.eslintcache
coverage/
npm-debug.log*
yarn-error.log

# ember-try
/.node_modules.ember-try/
/package.json.ember-try
/package-lock.json.ember-try
/yarn.lock.ember-try
/pnpm-lock.ember-try.yaml


.DS_Store
/.idea/
10 changes: 10 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Prettier is also run from each package, so the ignores here
# protect against files that may not be within a package

# misc
!.*
.lint-todo/

# ember-try
/.node_modules.ember-try/
/pnpm-lock.ember-try.yaml
6 changes: 6 additions & 0 deletions .prettierrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
'use strict';

module.exports = {
plugins: ['prettier-plugin-ember-template-tag'],
singleQuote: true,
};
10 changes: 9 additions & 1 deletion ember-mobile-menu/.prettierrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,13 @@

module.exports = {
plugins: ['prettier-plugin-ember-template-tag'],
singleQuote: true,
overrides: [
{
files: '*.{js,gjs,ts,gts,mjs,mts,cjs,cts}',
options: {
singleQuote: true,
templateSingleQuote: false,
},
},
],
};
18 changes: 11 additions & 7 deletions ember-mobile-menu/babel.config.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
{
"plugins": [
"@embroider/addon-dev/template-colocation-plugin",
"@babel/plugin-transform-class-static-block",
["babel-plugin-ember-template-compilation", {
"targetFormat": "hbs",
"transforms": []
}],
["@babel/plugin-proposal-decorators", { "version": "legacy" }],
"@babel/plugin-proposal-class-properties"
[
"babel-plugin-ember-template-compilation",
{
"targetFormat": "hbs",
"transforms": []
}
],
[
"module:decorator-transforms",
{ "runtime": { "import": "decorator-transforms/runtime" } }
]
]
}
51 changes: 27 additions & 24 deletions ember-mobile-menu/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,22 +29,25 @@
],
"scripts": {
"build": "rollup --config",
"lint": "concurrently 'npm:lint:*(!fix)' --names 'lint:'",
"lint:fix": "concurrently 'npm:lint:*:fix' --names 'fix:'",
"format": "prettier . --cache --write",
"lint": "concurrently \"pnpm:lint:*(!fix)\" --names \"lint:\" --prefixColors auto",
"lint:fix": "concurrently \"pnpm:lint:*:fix\" --names \"fix:\" --prefixColors auto && pnpm run format",
"lint:format": "prettier . --cache --check",
"lint:hbs": "ember-template-lint . --no-error-on-unmatched-pattern",
"lint:hbs:fix": "ember-template-lint . --fix --no-error-on-unmatched-pattern",
"lint:js": "eslint . --cache",
"lint:js:fix": "eslint . --fix",
"prepare": "rollup --config",
"prepack": "rollup --config",
"start": "rollup --config --watch",
"test": "echo 'A v2 addon does not have tests, run tests in test-app'"
},
"dependencies": {
"@ember/render-modifiers": "^2.0.0",
"@ember/test-waiters": "^3.0.0",
"@embroider/addon-shim": "^1.0.0",
"@embroider/addon-shim": "^1.8.9",
"@glimmer/component": "^1.0.4",
"@glimmer/tracking": "^1.0.4",
"decorator-transforms": "^2.2.2",
"ember-concurrency": "^3.0.0 || ^4.0.0",
"ember-gesture-modifiers": "^5.0.0 || ^6.0.0",
"ember-modify-based-class-resource": "^1.1.0",
Expand All @@ -55,26 +58,26 @@
"wobble": "^1.5.1"
},
"devDependencies": {
"@babel/core": "7.26.0",
"@babel/eslint-parser": "7.25.9",
"@babel/plugin-proposal-class-properties": "7.18.6",
"@babel/plugin-proposal-decorators": "7.25.9",
"@babel/plugin-transform-class-static-block": "7.26.0",
"@babel/runtime": "7.26.0",
"@embroider/addon-dev": "7.1.1",
"@rollup/plugin-babel": "6.0.4",
"babel-plugin-ember-template-compilation": "2.3.0",
"concurrently": "8.2.2",
"ember-template-lint": "5.13.0",
"eslint": "8.57.1",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-ember": "11.12.0",
"eslint-plugin-n": "17.12.0",
"eslint-plugin-prettier": "5.2.1",
"prettier": "3.3.3",
"prettier-plugin-ember-template-tag": "2.0.2",
"rollup": "4.22.5",
"rollup-plugin-copy": "3.5.0"
"@babel/core": "^7.25.2",
"@babel/eslint-parser": "^7.25.1",
"@babel/runtime": "^7.25.6",
"@embroider/addon-dev": "^7.1.0",
"@eslint/js": "^9.17.0",
"@rollup/plugin-babel": "^6.0.4",
"babel-plugin-ember-template-compilation": "^2.2.5",
"concurrently": "^9.0.1",
"ember-source": "^5.4.0",
"ember-template-lint": "^6.0.0",
"eslint": "^9.17.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-ember": "^12.3.3",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-n": "^17.15.1",
"globals": "^15.14.0",
"prettier": "^3.4.2",
"prettier-plugin-ember-template-tag": "^2.0.4",
"rollup": "^4.22.5",
"rollup-plugin-copy": "^3.5.0"
},
"peerDependencies": {
"ember-source": ">=3.28.0"
Expand Down
18 changes: 5 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,24 +24,16 @@
},
"devDependencies": {
"concurrently": "8.2.2",
"release-plan": "0.9.2"
"release-plan": "0.9.2",
"prettier": "^3.0.3",
"prettier-plugin-ember-template-tag": "^2.0.2"
},
"volta": {
"node": "18.20.4",
"pnpm": "8.15.9"
"pnpm": "10.0.0"
},
"packageManager": "[email protected]",
"publishConfig": {
"registry": "https://registry.npmjs.org"
},
"pnpm": {
"overrides": {
"@babel/parser": "7.26.2",
"@octokit/rest": "^19.0.0"
},
"peerDependencyRules": {
"ignoreMissing": [
"@babel/core"
]
}
}
}
Loading

0 comments on commit 82d9994

Please sign in to comment.