Skip to content

Commit

Permalink
Add vite test-app (#9595)
Browse files Browse the repository at this point in the history
* Add vite boilerplate

* Remove glint@unstable from the vite app, we are not type checking vite rn

* Loosen the vite app's eslint config

* eh

* Ope

* Lockfile

* Glimmer/component 2

* Ope 10

* Ope 11

* AllowAny glimmer/component

* Fix peers
  • Loading branch information
NullVoxPopuli authored Nov 13, 2024
1 parent 80bf8a5 commit c6971b8
Show file tree
Hide file tree
Showing 41 changed files with 5,364 additions and 194 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/compat-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,18 @@ jobs:
run: pnpm test:embroider
env:
UV_USE_IO_URING: 0
vite:
timeout-minutes: 7
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
- uses: ./.github/actions/setup
with:
restore-broccoli-cache: true
install: true
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Run Tests
run: pnpm test:vite
floating-dependencies:
timeout-minutes: 9
runs-on: ubuntu-latest
Expand Down
14 changes: 12 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"test:docs": "FORCE_COLOR=2 pnpm build:docs && pnpm run -r --workspace-concurrency=-1 --if-present test:docs",
"test:blueprints": "pnpm run -r --workspace-concurrency=-1 --if-present test:blueprints",
"test:fastboot": "pnpm run -r --workspace-concurrency=-1 --if-present test:fastboot",
"test:vite": "pnpm run -r ---workspace-concurrency=-1 --if-present test:vite",
"test:embroider": "pnpm run -r ---workspace-concurrency=-1 --if-present test:embroider"
},
"devDependencies": {
Expand Down Expand Up @@ -103,6 +104,12 @@
"ember-cli": "*"
}
},
"ember-page-title": {
"peerDependencies": {
"@glimmer/component": "*",
"ember-source": "*"
}
},
"ember-cli-fastboot": {
"peerDependencies": {
"ember-cli": "*",
Expand All @@ -124,6 +131,9 @@
"ember-source": {
"dependencies": {
"webpack": "*"
},
"peerDependencies": {
"@glimmer/component": "*"
}
},
"@ember/test-helpers": {
Expand All @@ -133,8 +143,7 @@
}
},
"overrides": {
"ember-auto-import": "^2.8.1",
"@embroider/macros": "^1.16.6",
"ember-auto-import": "^2.10.0",
"broccoli-funnel": "^3.0.8",
"broccoli-merge-trees": "^4.2.0",
"@glimmer/validator": "^0.92.3",
Expand All @@ -156,6 +165,7 @@
],
"allowAny": [
"ember-source",
"@glimmer/component",
"typescript"
]
},
Expand Down
Loading

0 comments on commit c6971b8

Please sign in to comment.