-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: Fix main branch typescript errors #83
Changes from 9 commits
6df8e5a
ca5e123
005290f
7c54006
3690063
28761d7
2b6ed5b
ad8da94
6ae7b64
c399620
126348c
370cb3b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,20 +37,6 @@ jobs: | |
run: pnpm lint | ||
|
||
|
||
|
||
commits: | ||
name: Commit Messages | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- uses: ./.github/actions/pnpm | ||
- uses: wagoid/[email protected] | ||
with: | ||
configFile: 'commitlint.config.cjs' | ||
|
||
|
||
build: | ||
name: Build Tests | ||
needs: [install_dependencies] | ||
|
@@ -72,9 +58,8 @@ jobs: | |
fail-fast: true | ||
matrix: | ||
typescript-scenario: | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
@@ -89,7 +74,6 @@ jobs: | |
pnpm --filter test-app exec glint --version; | ||
pnpm --filter test-app exec glint; | ||
|
||
|
||
|
||
|
||
default_tests: | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,18 +3,18 @@ template: "v2-addon" | |
|
||
# --------------------- | ||
|
||
addon: './ember-velcro' | ||
testApp: './test-app' | ||
addon: "./ember-velcro" | ||
testApp: "./test-app" | ||
|
||
# https://github.com/pnpm/pnpm/issues/4965 | ||
fixes: ['pnpm#4965'] | ||
fixes: ["pnpm#4965"] | ||
|
||
lint: | ||
commits: true | ||
cmd: 'pnpm lint' | ||
cmd: "pnpm lint" | ||
|
||
build: | ||
run: 'pnpm build' | ||
run: "pnpm build" | ||
expect: | | ||
index.js | ||
index.js.map | ||
|
@@ -26,9 +26,8 @@ support: | |
ember-try: true | ||
glint: true | ||
typescript: | ||
- "[email protected]" | ||
- "[email protected]" | ||
- "[email protected]" | ||
- "[email protected]" | ||
- "[email protected]" | ||
|
||
release: | ||
semantic: true |
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Went ahead and deleted this as our other repos are no longer including this due to the move to changesets where we can control releases and commits can be squashed with helpful messages anyway. Getting errors in CI about commits is really tough, especially when the error messages aren't helpful at all. We don't want to create a release just yet using semantic-release anyway, as there's still more to do to get this completely functional with toucan-core + Glint in general for external consumers. For example, we'll need to add an exported template-registry. I plan on doing this right after this PR merges, as I want to keep PRs as small as possible so they're easier to follow. |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,8 +52,8 @@ | |
"prepack": "rollup --config ./rollup.config.js" | ||
}, | ||
"peerDependencies": { | ||
"@glint/environment-ember-loose": "^0.9.4", | ||
"@glint/template": "^0.9.5" | ||
"@glint/environment-ember-loose": "^1.0.2", | ||
"@glint/template": "^1.0.2" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I know this PR didn't change this, but I wonder why we have these as peer deps? Other similar addons with Glint support don't have this, same for the addon blueprint. At least they should be optional, as non-TS shouldn't be force to install them. But I think it should be enough to have them as devDeps!? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thank you! I agree here, nice call out. This should be resolved now with the latest commit |
||
}, | ||
"dependencies": { | ||
"@embroider/addon-shim": "^1.0.0", | ||
|
@@ -62,16 +62,16 @@ | |
"ember-modifier": "^3.2.7" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.19.3", | ||
"@babel/core": "^7.21.0", | ||
"@babel/plugin-proposal-class-properties": "^7.18.6", | ||
"@babel/plugin-proposal-decorators": "^7.19.3", | ||
"@babel/preset-typescript": "^7.18.6", | ||
"@babel/runtime": "^7.19.4", | ||
"@embroider/addon-dev": "^2.0.0", | ||
"@glimmer/component": "^1.1.2", | ||
"@glimmer/tracking": "^1.1.2", | ||
"@glint/environment-ember-loose": "^0.9.5", | ||
"@glint/template": "^0.9.5", | ||
"@glint/environment-ember-loose": "^1.0.2", | ||
"@glint/template": "^1.0.2", | ||
"@nullvoxpopuli/eslint-configs": "^2.2.58", | ||
"@rollup/plugin-babel": "^5.3.1", | ||
"@semantic-release/changelog": "^6.0.0", | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Glint requires typescript
>=
4.8. We had a similar PR here