Skip to content

Commit aad7e77

Browse files
committed
Add test app to properly test compatModules
1 parent 86fe40e commit aad7e77

34 files changed

Lines changed: 817 additions & 0 deletions
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# EditorConfig helps developers define and maintain consistent
2+
# coding styles between different editors and IDEs
3+
# editorconfig.org
4+
5+
root = true
6+
7+
[*]
8+
end_of_line = lf
9+
charset = utf-8
10+
trim_trailing_whitespace = true
11+
insert_final_newline = true
12+
indent_style = space
13+
indent_size = 2
14+
15+
[*.hbs]
16+
insert_final_newline = false
17+
18+
[*.{diff,md}]
19+
trim_trailing_whitespace = false
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
/**
3+
Setting `isTypeScriptProject` to true will force the blueprint generators to generate TypeScript
4+
rather than JavaScript by default, when a TypeScript version of a given blueprint is available.
5+
*/
6+
"isTypeScriptProject": false,
7+
8+
/**
9+
Setting `componentAuthoringFormat` to "strict" will force the blueprint generators to generate GJS
10+
or GTS files for the component and the component rendering test. "loose" is the default.
11+
*/
12+
"componentAuthoringFormat": "strict",
13+
14+
/**
15+
Setting `routeAuthoringFormat` to "strict" will force the blueprint generators to generate GJS
16+
or GTS templates for routes. "loose" is the default
17+
*/
18+
"routeAuthoringFormat": "strict"
19+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# This file is committed to git and should not contain any secrets.
2+
#
3+
# Vite recommends using .env.local or .env.[mode].local if you need to manage secrets
4+
# SEE: https://vite.dev/guide/env-and-mode.html#env-files for more information.
5+
6+
7+
# Default NODE_ENV with vite build --mode=test is production
8+
NODE_ENV=development
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# compiled output
2+
/dist/
3+
/declarations/
4+
/tmp/
5+
6+
# dependencies
7+
/node_modules/
8+
9+
# misc
10+
*.local
11+
/.pnp*
12+
/.eslintcache
13+
/coverage/
14+
/npm-debug.log*
15+
/testem.log
16+
/yarn-error.log
17+
18+
# ember-try
19+
/.node_modules.ember-try/
20+
/npm-shrinkwrap.json.ember-try
21+
/package.json.ember-try
22+
/package-lock.json.ember-try
23+
/yarn.lock.ember-try
24+
25+
# broccoli-debug
26+
/DEBUG/
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# unconventional js
2+
/blueprints/*/files/
3+
4+
# compiled output
5+
/dist/
6+
7+
# misc
8+
/coverage/
9+
!.*
10+
.*/
11+
/pnpm-lock.yaml
12+
ember-cli-update.json
13+
*.html
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
export default {
2+
plugins: ['prettier-plugin-ember-template-tag'],
3+
singleQuote: true,
4+
overrides: [
5+
{
6+
files: ['*.js', '*.ts', '*.cjs', '.mjs', '.cts', '.mts', '.cts'],
7+
options: {
8+
trailingComma: 'es5',
9+
},
10+
},
11+
{
12+
files: ['*.html'],
13+
options: {
14+
singleQuote: false,
15+
},
16+
},
17+
{
18+
files: ['*.json'],
19+
options: {
20+
singleQuote: false,
21+
},
22+
},
23+
{
24+
files: ['*.hbs'],
25+
options: {
26+
singleQuote: false,
27+
},
28+
},
29+
{
30+
files: ['*.gjs', '*.gts'],
31+
options: {
32+
templateSingleQuote: false,
33+
trailingComma: 'es5',
34+
},
35+
},
36+
],
37+
};
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# unconventional files
2+
/blueprints/*/files/
3+
4+
# compiled output
5+
/dist/
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
'use strict';
2+
3+
module.exports = {
4+
extends: ['stylelint-config-standard'],
5+
};
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
export default {
2+
extends: 'recommended',
3+
};
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"ignore_dirs": ["dist"]
3+
}

0 commit comments

Comments
 (0)