Skip to content

Commit 5aa728a

Browse files
authored
Merge pull request #1098 from NullVoxPopuli/strict-mode-deps
Strict mode deps
2 parents e8e3e42 + ebe8d32 commit 5aa728a

File tree

11 files changed

+304
-144
lines changed

11 files changed

+304
-144
lines changed

.github/workflows/ci.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ jobs:
7373
ts-version:
7474
- 4.8
7575
- 4.9
76+
- 5.0
77+
- 5.1
7678
- next
7779

7880
steps:
@@ -82,4 +84,4 @@ jobs:
8284
working-directory: addon
8385
- name: test types
8486
run: pnpm test:types
85-
working-directory: addon
87+
working-directory: test-types

.npmrc

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# these settings allow us to be good stewards of the ecosystem
2+
# end-consumers can flip these settings in their own projects,
3+
# but library authors should not allow for less-than-strictest
4+
# behavior.
5+
#
6+
# For more information: https://pnpm.io/npmrc
7+
auto-install-peers=false
8+
resolve-peers-from-workspace-root=false

addon/package.json

-3
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
"lint:js": "eslint . --cache",
3535
"lint:js:fix": "eslint . --fix",
3636
"start": "rollup --config --watch",
37-
"test:types": "tsc --noEmit --project types",
3837
"prepack": "rollup --config"
3938
},
4039
"dependencies": {
@@ -52,8 +51,6 @@
5251
"@types/qunit": "^2.19.4",
5352
"@types/rsvp": "^4.0.4",
5453
"concurrently": "^8.0.1",
55-
"ember-cli-htmlbars": "^6.2.0",
56-
"ember-resolver": "^10.1.0",
5754
"ember-source": "^4.10.0",
5855
"eslint": "^8.42.0",
5956
"eslint-config-prettier": "^8.6.0",

addon/types/tsconfig.json

-11
This file was deleted.

package.json

+7
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,12 @@
1313
"volta": {
1414
"node": "18.16.0",
1515
"pnpm": "8.6.2"
16+
},
17+
"pnpm": {
18+
"peerDependencyRules": {
19+
"ignoreMissing": [
20+
"webpack"
21+
]
22+
}
1623
}
1724
}

0 commit comments

Comments
 (0)