Skip to content

Commit 36b8c4a

Browse files
committed
Merge latest master
2 parents d2a57d9 + eae2261 commit 36b8c4a

Some content is hidden

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

76 files changed

+3220
-6640
lines changed

.eslintrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ module.exports = {
77
sourceType: 'module',
88
},
99
plugins: ['ember', '@typescript-eslint', 'prettier'],
10-
extends: ['eslint:recommended', 'plugin:ember/recommended'],
10+
extends: ['eslint:recommended', 'plugin:ember/recommended', 'plugin:prettier/recommended'],
1111
env: {
1212
browser: true,
1313
},

.gitbook.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
root: ./docs
2+
3+
structure:
4+
readme: ./index.md

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
<!-- Thanks for submitting a pull request! 🎉 -->
1+
<!--
22
3-
<!-- Please note that commit messages need to follow the [Conventional Commits](https://www.conventionalcommits.org) format.
3+
Thanks for submitting a pull request! 🎉
44
5-
For example:
6-
test: fix node tests when run locally with ts-node
5+
Please include a link to a GitHub issue if one exists.
76
8-
-->
7+
If you don't hear from a maintainer within a few days, please feel free to ping us here or in #e-typescript on Discord!
98
10-
<!-- Also, please include a link to a github issue if one exists. -->
9+
-->

.github/workflows/ci.yml

Lines changed: 5 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -20,32 +20,13 @@ env:
2020
CI: true
2121

2222
jobs:
23-
commitlint:
24-
name: Lint Commits
25-
runs-on: ubuntu-latest
26-
env:
27-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
28-
steps:
29-
- name: Checkout Code
30-
uses: actions/checkout@v2
31-
# We need the `with` argument here so that force pushes (e.g. from
32-
# Renovate rebasing) work correctly.
33-
# https://github.com/wagoid/commitlint-github-action/tree/d6a383492a776126bbeba8c1d797ead4baedaaae#usage
34-
with:
35-
fetch-depth: 0
36-
- name: Commitlint
37-
uses: wagoid/[email protected]
38-
3923
test-locked-deps:
4024
name: Test (linux, locked dependencies)
4125
runs-on: ubuntu-latest
4226
steps:
4327
- name: Checkout Code
4428
uses: actions/checkout@v2
45-
- name: Install Node
46-
uses: actions/setup-node@v1
47-
with:
48-
node-version: '^10'
29+
- uses: volta-cli/action@v1
4930
# https://github.com/expo/expo-github-action/issues/20#issuecomment-541676895
5031
- name: Raise Watched File Limit
5132
run: echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
@@ -69,7 +50,7 @@ jobs:
6950
- name: Install Node
7051
uses: actions/setup-node@v1
7152
with:
72-
node-version: '^10'
53+
node-version: '^12'
7354
- name: Install Dependencies
7455
run: yarn install --frozen-lockfile
7556
- name: Prepare CI Environment
@@ -86,10 +67,7 @@ jobs:
8667
steps:
8768
- name: Checkout Code
8869
uses: actions/checkout@v2
89-
- name: Install Node
90-
uses: actions/setup-node@v1
91-
with:
92-
node-version: '^10'
70+
- uses: volta-cli/action@v1
9371
- name: Raise Watched File Limit
9472
run: echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
9573
- name: Install Dependencies
@@ -106,6 +84,7 @@ jobs:
10684
runs-on: ubuntu-latest
10785
needs: [test-locked-deps]
10886
strategy:
87+
fail-fast: false
10988
matrix:
11089
deps:
11190
- ember-cli@latest
@@ -115,10 +94,7 @@ jobs:
11594
steps:
11695
- name: Checkout Code
11796
uses: actions/checkout@v2
118-
- name: Install Node
119-
uses: actions/setup-node@v1
120-
with:
121-
node-version: '^10'
97+
- uses: volta-cli/action@v1
12298
- name: Raise Watched File Limit
12399
run: echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
124100
- name: Install Dependencies

.npmignore

Lines changed: 24 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,28 +9,46 @@
99
/.bowerrc
1010
/.editorconfig
1111
/.ember-cli
12+
/.env*
13+
/.eslintcache
1214
/.eslintignore
1315
/.eslintrc.js
16+
/.git/
17+
/.github/
1418
/.gitignore
19+
/.prettierignore
20+
/.prettierrc.js
1521
/.template-lintrc.js
1622
/.travis.yml
1723
/.watchmanconfig
1824
/bower.json
1925
/config/ember-try.js
26+
/CONTRIBUTING.md
2027
/ember-cli-build.js
2128
/testem.js
2229
/tests/
30+
/yarn-error.log
2331
/yarn.lock
2432
.gitkeep
2533

34+
# ember-try
35+
/.node_modules.ember-try/
36+
/bower.json.ember-try
37+
/npm-shrinkwrap.json.ember-try
38+
/package.json.ember-try
39+
/package-lock.json.ember-try
40+
/yarn.lock.ember-try
41+
2642
# TS sources and compiled tests
2743
/ts/
2844
/js/tests/
2945
/test-fixtures/
3046

31-
32-
# ember-try
33-
/.node_modules.ember-try/
34-
/bower.json.ember-try
35-
/package.json.ember-try
36-
/config/addon-docs.js
47+
# custom
48+
/commitlint.config.js
49+
/.vscode/
50+
/renovate.json
51+
/CODE_OF_CONDUCT.md
52+
/rfcs
53+
/*.sh
54+
/.gitbook.yaml

.vscode/launch.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@
1111
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
1212
"args": [
1313
"-r", "register-ts-node",
14-
"-f", "generates .d.ts files when addon and package names do not match",
14+
"-f", "Acceptance: ember-cli-typescript generator",
15+
"-f", "basic app",
16+
"-t", "1000000",
1517
"ts/tests/**/*.{ts,js}"
1618
],
1719
"internalConsoleOptions": "openOnSessionStart"

CHANGELOG.md

Lines changed: 85 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,87 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a
66

77
## [Unreleased]
88

9+
## [4.2.1] - 2021-06-17
10+
11+
This is a republish of 4.2.0 without the accidentally included 500+ MB of debugging copies of node_modules.
12+
13+
## [4.2.0] - 2021-06-15
14+
15+
### Added ⭐️
16+
17+
- Install @types/ember-data__* when ember-data is found ([#1411])
18+
19+
### Changed 💥
20+
21+
- update option noEmitOnError to true ([#1415])
22+
23+
### Documentation 📖
24+
25+
- Update Broccoli URL ([#1409])
26+
- Improve sentence about declare modifier ([#1414])
27+
- Link to decorator usage doc from ED-models doc ([#1404])
28+
- Fix link to doc "working with route models" ([#1418])
29+
- Fix typo [in services docs] ([#1421])
30+
- @ember-data/object is not a thing ([#1429])
31+
- Update README.md ([#1425])
32+
33+
### Under the hood 🚗
34+
35+
- Fix qunit types... again ([#1401])
36+
- Rip out commitlint from CI ([#1430])
37+
- CI updates ([#1434])
38+
- Bump y18n from 3.2.1 to 3.2.2 ([#1420])
39+
- Bump underscore from 1.10.2 to 1.13.1 ([#1426])
40+
- Bump handlebars from 4.7.6 to 4.7.7 ([#1427])
41+
- Bump lodash from 4.17.20 to 4.17.21 ([#1428])
42+
43+
[#1401]: https://github.com/typed-ember/ember-cli-typescript/pull/1401
44+
[#1404]: https://github.com/typed-ember/ember-cli-typescript/pull/1404
45+
[#1409]: https://github.com/typed-ember/ember-cli-typescript/pull/1409
46+
[#1411]: https://github.com/typed-ember/ember-cli-typescript/pull/1411
47+
[#1414]: https://github.com/typed-ember/ember-cli-typescript/pull/1414
48+
[#1415]: https://github.com/typed-ember/ember-cli-typescript/pull/1415
49+
[#1418]: https://github.com/typed-ember/ember-cli-typescript/pull/1418
50+
[#1420]: https://github.com/typed-ember/ember-cli-typescript/pull/1420
51+
[#1421]: https://github.com/typed-ember/ember-cli-typescript/pull/1421
52+
[#1425]: https://github.com/typed-ember/ember-cli-typescript/pull/1425
53+
[#1426]: https://github.com/typed-ember/ember-cli-typescript/pull/1426
54+
[#1427]: https://github.com/typed-ember/ember-cli-typescript/pull/1427
55+
[#1428]: https://github.com/typed-ember/ember-cli-typescript/pull/1428
56+
[#1429]: https://github.com/typed-ember/ember-cli-typescript/pull/1429
57+
[#1430]: https://github.com/typed-ember/ember-cli-typescript/pull/1430
58+
[#1434]: https://github.com/typed-ember/ember-cli-typescript/pull/1434
59+
60+
## [4.1.0] - 2021-02-03
61+
62+
### Added ⭐️
63+
64+
- Install @types/ember packages separately via blueprint ([#1383])
65+
66+
### Documentation 📖
67+
68+
- Octane and much polish and clarification ([#935])
69+
- Fix working with ember outline links ([#1394])
70+
- Docs fixes ([#1395])
71+
- Fix typos in the Ember Routes docs ([#1400])
72+
73+
### Under the hood 🚗
74+
75+
- Fix qunit types conflict ([#1344])
76+
- Bump @types/ember-qunit & @types/qunit to resolve types conflict ([#1380])
77+
- Fix commitlint action config ([#1388])
78+
- Dependency updates ([4.1.0-deps-bumps])
79+
80+
[#935]: https://github.com/typed-ember/ember-cli-typescript/pull/935
81+
[#1344]: https://github.com/typed-ember/ember-cli-typescript/pull/1344
82+
[#1380]: https://github.com/typed-ember/ember-cli-typescript/pull/1380
83+
[#1383]: https://github.com/typed-ember/ember-cli-typescript/pull/1383
84+
[#1388]: https://github.com/typed-ember/ember-cli-typescript/pull/1388
85+
[#1394]: https://github.com/typed-ember/ember-cli-typescript/pull/1394
86+
[#1395]: https://github.com/typed-ember/ember-cli-typescript/pull/1395
87+
[#1400]: https://github.com/typed-ember/ember-cli-typescript/pull/1400
88+
[4.1.0-deps-bumps]: https://github.com/typed-ember/ember-cli-typescript/pulls?q=is%3Apr+is%3Amerged+base%3Amaster+merged%3A2020-09-02T17%3A55%3A00-0400..2021-02-03T16%3A00%3A00-0500+chore%28deps%29+in%3Atitle+sort%3Aupdated-asc+
89+
990
## [4.0.0] - 2020-09-02
1091

1192
### Breaking 💥
@@ -735,7 +816,10 @@ We now use Babel 7's support for TypeScript to build apps and addons. Most of th
735816
* Basic, semi-working functionality.
736817

737818
[ember-cli-typify]: https://github.com/winding-lines/ember-cli-typify
738-
[unreleased]: https://github.com/typed-ember/ember-cli-typescript/compare/v4.0.0...HEAD
819+
[unreleased]: https://github.com/typed-ember/ember-cli-typescript/compare/v4.2.1...HEAD
820+
[4.2.1]: https://github.com/typed-ember/ember-cli-typescript/compare/v4.2.0...v4.2.1
821+
[4.2.0]: https://github.com/typed-ember/ember-cli-typescript/compare/v4.1.0...v4.2.0
822+
[4.1.0]: https://github.com/typed-ember/ember-cli-typescript/compare/v4.0.0...v4.1.0
739823
[4.0.0]: https://github.com/typed-ember/ember-cli-typescript/compare/v3.1.4...v4.0.0
740824
[4.0.0-rc.1]: https://github.com/typed-ember/ember-cli-typescript/compare/v4.0.0-alpha.1...v4.0.0-rc.1
741825
<!--

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
## Documentation
2929

30-
This README focuses on basic information about setting up and using the addon. For more details, see [the documentation](https://typed-ember.github.io/ember-cli-typescript/versions/master/), which includes:
30+
This README focuses on basic information about setting up and using the addon. For more details, see [the documentation](https://docs.ember-cli-typescript.com), which includes:
3131

3232
- troubleshooting tips
3333
- a walkthrough for using TypeScript with Ember effectively
@@ -89,7 +89,7 @@ ember install ember-decorators@^3.1.0 @ember-decorators/babel-transforms@^3.1.0
8989

9090
#### Update ember-decorators
9191

92-
Follow the same process of deduplication, reinstallation, and re-deduplication as described for ember-cli-babel above. This will get you the latest version of ember-decorators and, importantly, its @ember-decorators/babel-transforms dependency.
92+
If you're on a version of Ember before 3.10, follow the same process of deduplication, reinstallation, and re-deduplication as described for ember-cli-babel above for ember-decorators. This will get you the latest version of ember-decorators and, importantly, its @ember-decorators/babel-transforms dependency.
9393

9494
#### Update ember-cli-typescript
9595

@@ -182,7 +182,7 @@ We have a channel (**`#e-typescript`**) on the [Ember Community Discord server](
182182
183183
### 📚 Issues With Ember Type Definitions
184184
185-
If you've found that some of the Ember type information is missing things, or is incorrect in some way, please first ensure you're using the latest version of the [packages this addon installs](https://ember-cli-typescript.com/docs#other-packages-this-addon-installs). Although [StackOverflow](https://stackoverflow.com/questions/tagged/ember.js+typescript) and [Discuss](https://discuss.emberjs.com/search?q=typescript) are not the advised places to report problems, you may find an answer there.
185+
If you've found that some of the Ember type information is missing things, or is incorrect in some way, please first ensure you're using the latest version of the [packages this addon installs](https://docs.ember-cli-typescript.com/installation#other-packages-this-addon-installs). Although [StackOverflow](https://stackoverflow.com/questions/tagged/ember.js+typescript) and [Discuss](https://discuss.emberjs.com/search?q=typescript) are not the advised places to report problems, you may find an answer there.
186186
187187
If you don't find an answer, please [open an enhancement request or bug report in this project](https://github.com/typed-ember/ember-cli-typescript/issues/new/choose).
188188

blueprint-files/ember-cli-typescript/__config_root__/config/environment.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ declare const config: {
88
environment: string;
99
modulePrefix: string;
1010
podModulePrefix: string;
11-
locationType: string;
11+
locationType: 'history' | 'hash' | 'none' | 'auto';
1212
rootURL: string;
1313
APP: Record<string, unknown>;
1414
};

blueprint-files/ember-cli-typescript/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"noUnusedLocals": true,
1414
"noUnusedParameters": true,
1515
"noImplicitReturns": true,
16-
"noEmitOnError": false,
16+
"noEmitOnError": true,
1717
"noEmit": true,
1818
"inlineSourceMap": true,
1919
"inlineSources": true,

0 commit comments

Comments
 (0)