You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+9-15Lines changed: 9 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ Here are some guidelines to help you and everyone else.
8
8
## Setup
9
9
10
10
<details>
11
-
<summary>Installation</summary>
11
+
<summary>Install the app</summary>
12
12
13
13
1. Fork and clone this repo.
14
14
@@ -32,48 +32,42 @@ Here are some guidelines to help you and everyone else.
32
32
33
33
34
34
<details>
35
-
<summary>Running demo app</summary>
35
+
<summary>Run the demo app</summary>
36
36
37
37
1. After following the installation step, you can run the app.
38
38
39
39
```bash
40
-
ember serve
40
+
yarn start
41
41
```
42
42
43
-
1. Open the app at [http://localhost:4200](http://localhost:4200).
43
+
1. Once the app has finished building, visit [http://localhost:4200](http://localhost:4200).
44
44
45
45
</details>
46
46
47
47
48
48
<details>
49
-
<summary>Linting</summary>
49
+
<summary>Lint files</summary>
50
50
51
-
1. When you write code, please check dependencies, template files, and JavaScript files often.
51
+
1. When you write code, please check that it meets all linting rules.
52
52
53
53
```bash
54
54
yarn lint
55
55
```
56
56
57
-
This command will lint files and dependencies in parallel. You can run `yarn lint:fix` to fix HBS and JS files.
57
+
1. You can run `yarn lint:fix` to automatically fix linting errors in all packages.
58
58
59
59
</details>
60
60
61
61
62
62
<details>
63
-
<summary>Running tests - very important ⚠️</summary>
63
+
<summary>Run tests</summary>
64
64
65
-
1. The setup is quite different from most addons. We check the addon and demo app at _9_ various widths and heights.
66
-
67
-
1. When you write code, please check both addon and demo app often.
65
+
1. When you write code, please check that all tests continue to pass.
68
66
69
67
```bash
70
68
yarn test
71
69
```
72
70
73
-
1. A couple of caveats. `yarn test --server` may result in failed tests due to inexact test window size. Using `--filter` may also result in failed tests. I use the filters for responsive testing so please don't overwrite them with your own.
74
-
75
-
1. When you write code, you don't need to check addon compatibility. I suggest leaving this to CI. For every PR, the CI will lint files and dependencies, run tests, and check compatible versions—all in parallel! 💯
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -330,7 +330,7 @@ Let's look at the code that created the video demo above.
330
330
331
331
You can see that the album page uses 2 `<ContainerQuery>` components. Rest assured, they act independently of each other. When you pair `<ContainerQuery>` with some CSS, you can create layouts beyond the dreams of others! 🙌
332
332
333
-
For more examples, I encourage you to check out the code for my demo app. It is located under [`test-app/app`](https://github.com/ijlee2/ember-container-query/tree/main/test-app/app) folder and is structured like a typical Ember app.
333
+
For more examples, I encourage you to check out the code for my demo app. It is located under the [`docs-app`](https://github.com/ijlee2/ember-container-query/tree/main/docs-app) folder and is structured like a typical Ember app.
0 commit comments