Skip to content

Commit 73cb580

Browse files
authored
Merge pull request #16 from ember-learn/new-design-and-stuff
Convert the RFCs app to be a proper app that helps uses
2 parents 341b683 + 90a062a commit 73cb580

File tree

1,293 files changed

+59996
-50462
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,293 files changed

+59996
-50462
lines changed

.ember-cli

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,19 @@
11
{
22
/**
3-
Ember CLI sends analytics information by default. The data is completely
4-
anonymous, but there are times when you might want to disable this behavior.
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,
57

6-
Setting `disableAnalytics` to true will prevent any data from being sent.
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
717
*/
8-
"disableAnalytics": false
18+
"routeAuthoringFormat": "strict"
919
}

.eslintrc.js

Lines changed: 0 additions & 59 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 20 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8,39 +8,44 @@ on:
88
pull_request: {}
99

1010
concurrency:
11-
group: ci-${{ github.head_ref || github.ref }}
12-
cancel-in-progress: true
11+
group: ci-${{ github.head_ref || github.ref }}
12+
cancel-in-progress: true
1313

1414
jobs:
1515
lint:
1616
name: "Lint"
1717
runs-on: ubuntu-latest
18+
timeout-minutes: 10
1819

1920
steps:
20-
- uses: actions/checkout@v2
21+
- uses: actions/checkout@v4
22+
- uses: pnpm/action-setup@v4
2123
- name: Install Node
22-
uses: actions/setup-node@v2
24+
uses: actions/setup-node@v4
2325
with:
24-
node-version: 16.x
25-
cache: npm
26+
node-version: 20
27+
cache: pnpm
2628
- name: Install Dependencies
27-
run: npm ci
29+
run: pnpm install --frozen-lockfile
2830
- name: Lint
29-
run: npm run lint
31+
run: pnpm lint
3032

3133
test:
3234
name: "Test"
3335
runs-on: ubuntu-latest
36+
timeout-minutes: 10
3437

3538
steps:
36-
- uses: actions/checkout@v2
39+
- uses: actions/checkout@v4
40+
- uses: pnpm/action-setup@v4
3741
- name: Install Node
38-
uses: actions/setup-node@v2
42+
uses: actions/setup-node@v4
3943
with:
40-
node-version: 16.x
41-
cache: npm
44+
node-version: 20
45+
cache: pnpm
4246
- name: Install Dependencies
43-
run: npm ci
44-
- run: npm run clone
47+
run: pnpm install --frozen-lockfile
48+
- name: Clone RFCs repo
49+
run: pnpm clone
4550
- name: Run Tests
46-
run: npm test
51+
run: pnpm test

.gitignore

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,32 @@
1-
# See https://help.github.com/ignore-files/ for more about ignoring files.
2-
31
# compiled output
42
/dist/
3+
/dist-*/
4+
/declarations/
55
/tmp/
66

77
# dependencies
8-
/bower_components/
98
/node_modules/
109

1110
# misc
1211
/.env*
1312
/.pnp*
14-
/.sass-cache
1513
/.eslintcache
16-
/connect.lock
1714
/coverage/
18-
/libpeerconnection.log
1915
/npm-debug.log*
2016
/testem.log
2117
/yarn-error.log
2218

2319
# ember-try
2420
/.node_modules.ember-try/
25-
/bower.json.ember-try
2621
/npm-shrinkwrap.json.ember-try
2722
/package.json.ember-try
2823
/package-lock.json.ember-try
2924
/yarn.lock.ember-try
3025

3126
# rfcs text
27+
/rfcs
3228
/rfcs/
3329
/processed-rfcs/
30+
31+
# broccoli-debug
32+
/DEBUG/

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
use-node-version=22.17.1

.prettierignore

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,16 @@
11
# unconventional js
22
/blueprints/*/files/
3-
/vendor/
43

54
# compiled output
65
/dist/
7-
/tmp/
86

9-
# dependencies
10-
/bower_components/
11-
/node_modules/
7+
# data files
8+
/data/
129

1310
# misc
1411
/coverage/
1512
!.*
16-
.eslintcache
17-
.lint-todo/
18-
19-
# ember-try
20-
/.node_modules.ember-try/
21-
/bower.json.ember-try
22-
/npm-shrinkwrap.json.ember-try
23-
/package.json.ember-try
24-
/package-lock.json.ember-try
25-
/yarn.lock.ember-try
13+
.*/
14+
/pnpm-lock.yaml
15+
ember-cli-update.json
16+
*.html

.prettierrc.js

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,39 @@
11
'use strict';
22

33
module.exports = {
4+
plugins: ['prettier-plugin-ember-template-tag'],
45
singleQuote: true,
6+
overrides: [
7+
{
8+
files: ['*.js', '*.ts', '*.cjs', '.mjs', '.cts', '.mts', '.cts'],
9+
options: {
10+
trailingComma: 'es5',
11+
},
12+
},
13+
{
14+
files: ['*.html'],
15+
options: {
16+
singleQuote: false,
17+
},
18+
},
19+
{
20+
files: ['*.json'],
21+
options: {
22+
singleQuote: false,
23+
},
24+
},
25+
{
26+
files: ['*.hbs'],
27+
options: {
28+
singleQuote: false,
29+
},
30+
},
31+
{
32+
files: ['*.gjs', '*.gts'],
33+
options: {
34+
templateSingleQuote: false,
35+
trailingComma: 'es5',
36+
},
37+
},
38+
],
539
};

.stylelintignore

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/

.stylelintrc.js

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+
};

.watchmanconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"ignore_dirs": ["tmp", "dist"]
2+
"ignore_dirs": ["dist"]
33
}

0 commit comments

Comments
 (0)