-
-
Notifications
You must be signed in to change notification settings - Fork 141
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #697 from adopted-ember-addons/addon-workspace
Extract addon to separate workspace
- Loading branch information
Showing
65 changed files
with
566 additions
and
79 deletions.
There are no files selected for viewing
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# EditorConfig helps developers define and maintain consistent | ||
# coding styles between different editors and IDEs | ||
# editorconfig.org | ||
|
||
root = true | ||
|
||
[*] | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
indent_style = space | ||
indent_size = 2 | ||
|
||
[*.hbs] | ||
insert_final_newline = false | ||
|
||
[*.{diff,md}] | ||
trim_trailing_whitespace = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
/** | ||
Setting `isTypeScriptProject` to true will force the blueprint generators to generate TypeScript | ||
rather than JavaScript by default, when a TypeScript version of a given blueprint is available. | ||
*/ | ||
"isTypeScriptProject": false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# unconventional js | ||
/blueprints/*/files/ | ||
|
||
# compiled output | ||
/declarations/ | ||
/dist/ | ||
|
||
# misc | ||
/coverage/ | ||
!.* | ||
.*/ | ||
|
||
# ember-try | ||
/.node_modules.ember-try/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
'use strict'; | ||
|
||
module.exports = { | ||
root: true, | ||
parser: '@babel/eslint-parser', | ||
parserOptions: { | ||
ecmaVersion: 'latest', | ||
sourceType: 'module', | ||
requireConfigFile: false, | ||
babelOptions: { | ||
plugins: [ | ||
['@babel/plugin-proposal-decorators', { decoratorsBeforeExport: true }], | ||
], | ||
}, | ||
}, | ||
plugins: ['ember'], | ||
extends: [ | ||
'eslint:recommended', | ||
'plugin:ember/recommended', | ||
'plugin:prettier/recommended', | ||
], | ||
env: { | ||
browser: true, | ||
}, | ||
rules: { | ||
'ember/no-get': 'off', | ||
}, | ||
overrides: [ | ||
// node files | ||
{ | ||
files: [ | ||
'./.eslintrc.js', | ||
'./.prettierrc.js', | ||
'./.stylelintrc.js', | ||
'./.template-lintrc.js', | ||
'./ember-cli-build.js', | ||
'./index.js', | ||
'./testem.js', | ||
'./blueprints/*/index.js', | ||
'./config/**/*.js', | ||
'./tests/dummy/config/**/*.js', | ||
], | ||
parserOptions: { | ||
sourceType: 'script', | ||
}, | ||
env: { | ||
browser: false, | ||
node: true, | ||
}, | ||
extends: ['plugin:n/recommended'], | ||
}, | ||
{ | ||
// test files | ||
files: ['tests/**/*-test.{js,ts}'], | ||
extends: ['plugin:qunit/recommended'], | ||
rules: { | ||
'qunit/require-expect': ['error', 'except-simple'], | ||
}, | ||
}, | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# compiled output | ||
/dist/ | ||
/declarations/ | ||
|
||
# dependencies | ||
/node_modules/ | ||
|
||
# misc | ||
/.env* | ||
/.pnp* | ||
/.eslintcache | ||
/coverage/ | ||
/npm-debug.log* | ||
/testem.log | ||
/yarn-error.log | ||
|
||
# ember-try | ||
/.node_modules.ember-try/ | ||
/npm-shrinkwrap.json.ember-try | ||
/package.json.ember-try | ||
/package-lock.json.ember-try | ||
/yarn.lock.ember-try | ||
|
||
# broccoli-debug | ||
/DEBUG/ |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# unconventional js | ||
/blueprints/*/files/ | ||
|
||
# compiled output | ||
/dist/ | ||
|
||
# misc | ||
/coverage/ | ||
!.* | ||
.*/ | ||
|
||
# ember-try | ||
/.node_modules.ember-try/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
'use strict'; | ||
|
||
module.exports = { | ||
overrides: [ | ||
{ | ||
files: '*.{js,ts}', | ||
options: { | ||
singleQuote: true, | ||
}, | ||
}, | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
'use strict'; | ||
|
||
module.exports = { | ||
extends: 'recommended', | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"ignore_dirs": ["dist"] | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,97 @@ | ||
{ | ||
"name": "ember-changeset", | ||
"version": "4.1.2", | ||
"description": "Changesets for Ember", | ||
"keywords": [ | ||
"ember-addon", | ||
"changeset" | ||
], | ||
"homepage": "https://github.com/adopted-ember-addons/ember-changeset", | ||
"bugs": "https://github.com/adopted-ember-addons/ember-changeset/issues", | ||
"repository": "https://github.com/adopted-ember-addons/ember-changeset", | ||
"license": "MIT", | ||
"author": "Lauren Tan <[email protected]>", | ||
"contributors": [ | ||
{ | ||
"name": "Scott Newcomer", | ||
"url": "https://github.com/snewcomer" | ||
} | ||
], | ||
"types": "./index.d.ts", | ||
"directories": { | ||
"doc": "doc", | ||
"test": "tests" | ||
}, | ||
"scripts": { | ||
"build": "ember build --environment=production", | ||
"lint": "concurrently \"pnpm:lint:*(!fix)\" --names \"lint:\"", | ||
"lint:fix": "concurrently \"pnpm:lint:*:fix\" --names \"fix:\"", | ||
"lint:hbs": "ember-template-lint .", | ||
"lint:hbs:fix": "ember-template-lint . --fix", | ||
"lint:js": "eslint . --cache", | ||
"lint:js:fix": "eslint . --fix" | ||
}, | ||
"dependencies": { | ||
"@babel/core": "^7.25.2", | ||
"@embroider/macros": "^1.0.0", | ||
"@glimmer/tracking": "^1.1.2", | ||
"ember-auto-import": "^2.8.1", | ||
"ember-cli-babel": "^7.26.11", | ||
"validated-changeset": "~1.3.4" | ||
}, | ||
"devDependencies": { | ||
"@babel/eslint-parser": "^7.25.1", | ||
"@babel/plugin-proposal-decorators": "^7.24.7", | ||
"@ember/optional-features": "^2.1.0", | ||
"@ember/string": "^3.0.1", | ||
"@ember/test-helpers": "^3.3.1", | ||
"@glimmer/component": "^1.1.2", | ||
"@glimmer/tracking": "^1.1.2", | ||
"broccoli-asset-rev": "^3.0.0", | ||
"concurrently": "^8.2.2", | ||
"ember-cli": "~5.12.0", | ||
"ember-cli-clean-css": "^3.0.0", | ||
"ember-cli-dependency-checker": "^3.3.2", | ||
"ember-cli-htmlbars": "^6.3.0", | ||
"ember-cli-inject-live-reload": "^2.1.0", | ||
"ember-cli-sri": "^2.1.1", | ||
"ember-cli-terser": "^4.0.2", | ||
"ember-data": "~4.12.8", | ||
"ember-load-initializers": "^2.1.2", | ||
"ember-qunit": "^8.1.0", | ||
"ember-resolver": "^12.0.1", | ||
"ember-source": "~5.12.0", | ||
"ember-template-lint": "^6.0.0", | ||
"eslint": "^8.57.1", | ||
"eslint-config-prettier": "^9.1.0", | ||
"eslint-plugin-ember": "^12.2.1", | ||
"eslint-plugin-n": "^16.6.2", | ||
"eslint-plugin-prettier": "^5.2.1", | ||
"eslint-plugin-qunit": "^8.1.2", | ||
"loader.js": "^4.7.0", | ||
"prettier": "^3.3.3", | ||
"qunit": "^2.22.0", | ||
"qunit-dom": "^3.2.1" | ||
}, | ||
"peerDependencies": { | ||
"ember-data": "*", | ||
"ember-source": ">=3.20.0" | ||
}, | ||
"peerDependenciesMeta": { | ||
"ember-data": { | ||
"optional": true | ||
} | ||
}, | ||
"engines": { | ||
"node": "18.* || 20.* || >= 22" | ||
}, | ||
"volta": { | ||
"extends": "../package.json" | ||
}, | ||
"ember": { | ||
"edition": "octane" | ||
}, | ||
"ember-addon": { | ||
"configPath": "tests/dummy/config" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
'use strict'; | ||
|
||
module.exports = { | ||
test_page: 'tests/index.html?hidepassed', | ||
disable_watching: true, | ||
launch_in_ci: ['Chrome'], | ||
launch_in_dev: ['Chrome'], | ||
browser_start_timeout: 120, | ||
browser_args: { | ||
Chrome: { | ||
ci: [ | ||
// --no-sandbox is needed when running Chrome inside a container | ||
process.env.CI ? '--no-sandbox' : null, | ||
'--headless', | ||
'--disable-dev-shm-usage', | ||
'--disable-software-rasterizer', | ||
'--mute-audio', | ||
'--remote-debugging-port=0', | ||
'--window-size=1440,900', | ||
].filter(Boolean), | ||
}, | ||
}, | ||
}; |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ | |
"license": "MIT", | ||
"author": "Lauren Tan <[email protected]>", | ||
"scripts": { | ||
"contributors": "pnpm dlx contributor-faces -e \"(*-bot|*\\[bot\\]|*-tomster|homu|bors)\"", | ||
"lint": "pnpm --filter '*' lint", | ||
"lint:fix": "pnpm --filter '*' lint:fix", | ||
"test": "pnpm --filter '*' test", | ||
|
@@ -12,7 +13,8 @@ | |
"devDependencies": { | ||
"concurrently": "^9.1.0", | ||
"prettier": "^3.3.3", | ||
"prettier-plugin-ember-template-tag": "^2.0.2" | ||
"prettier-plugin-ember-template-tag": "^2.0.2", | ||
"release-plan": "^0.10.0" | ||
}, | ||
"packageManager": "[email protected]", | ||
"volta": { | ||
|
Oops, something went wrong.