-
-
Notifications
You must be signed in to change notification settings - Fork 16
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
Convert to V2 Addon, drop support for ember-source < v4 #476
Changes from all commits
0a413e5
ff9fde6
84050db
ec2df63
4b4e132
66bd024
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 |
---|---|---|
|
@@ -4,7 +4,6 @@ on: | |
push: | ||
branches: | ||
- master | ||
- 'v*' | ||
pull_request: | ||
workflow_dispatch: | ||
schedule: | ||
|
@@ -19,47 +18,41 @@ jobs: | |
- uses: actions/checkout@v4 | ||
- uses: wyvox/action-setup-pnpm@v3 | ||
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. why not sync up with blueprint to use 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. less to think about, tbh. |
||
# type checking requires build | ||
- run: pnpm prepack | ||
working-directory: addon | ||
- run: pnpm build | ||
- run: pnpm lint | ||
|
||
test: | ||
timeout-minutes: 10 | ||
name: "Tests: ${{ matrix.EMBROIDER && 'embroider' || 'classic' }}" | ||
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. there is no longer any build behavior, so we aren't testing embroider and classic in a matrix -- we expect that embroider handles any behaviors used by this library |
||
name: "Tests" | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
EMBROIDER: | ||
- '' # classic | ||
- 'true' | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: wyvox/action-setup-pnpm@v3 | ||
- run: pnpm test:ember | ||
working-directory: test-apps/base-tests | ||
env: | ||
EMBROIDER: ${{ matrix.EMBROIDER }} | ||
|
||
test_ember-fetch: | ||
timeout-minutes: 10 | ||
name: "Tests (ember-fetch @ v8)" | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: wyvox/action-setup-pnpm@v3 | ||
- run: pnpm test:ember | ||
working-directory: test-apps/ember-fetch-v8 | ||
|
||
floating-dependencies: | ||
timeout-minutes: 10 | ||
name: "Floating Dependencies: ${{ matrix.EMBROIDER && 'embroider' || 'classic' }}" | ||
name: "Floating Dependencies" | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
EMBROIDER: | ||
- '' # classic | ||
- 'true' | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: wyvox/action-setup-pnpm@v3 | ||
- run: pnpm test:ember | ||
working-directory: test-apps/base-tests | ||
env: | ||
EMBROIDER: ${{ matrix.EMBROIDER }} | ||
|
||
typecheck: | ||
name: '${{ matrix.typescript-scenario }}' | ||
|
@@ -107,17 +100,12 @@ jobs: | |
app: | ||
- test-apps/base-tests | ||
ember-try-scenario: | ||
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. to cut down on CI noise, this is now just testing the ranges of support,
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. @NullVoxPopuli looks like some kind of mistake as now it only has 4.0, 4.12 and 5.12, no more 3.16 and no 3.28? 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. this comment is out of date actually -- we cannot support ember < v4 |
||
- ember-lts-3.16 | ||
- ember-lts-3.20 | ||
- ember-lts-3.24 | ||
- ember-lts-3.28 | ||
- ember-4.0 | ||
- ember-lts-4.12 | ||
- ember-lts-5.4 | ||
- ember-lts-5.12 | ||
- ember-release | ||
- ember-beta | ||
- ember-canary | ||
- 3.x-embroider-safe | ||
- 3.x-embroider-optimized | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,5 @@ | ||
# See https://help.github.com/ignore-files/ for more about ignoring files. | ||
|
||
# compiled output | ||
/README.md | ||
/LICENSE.md | ||
/dist/ | ||
/tmp/ | ||
|
||
# dependencies | ||
/bower_components/ | ||
/node_modules/ | ||
|
||
# misc | ||
/.env* | ||
/.pnp* | ||
/.sass-cache | ||
/connect.lock | ||
/coverage/ | ||
/libpeerconnection.log | ||
/npm-debug.log* | ||
/testem.log | ||
/yarn-error.log | ||
|
||
# ember-try | ||
/.node_modules.ember-try/ | ||
/bower.json.ember-try | ||
/package.json.ember-try | ||
/addon/**/*.js | ||
|
||
types/*.d.ts | ||
*.d.ts | ||
!/types/**/*.d.ts | ||
declarations/ | ||
*.tgz |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,5 @@ | ||
# unconventional js | ||
/blueprints/*/files/ | ||
/vendor/ | ||
|
||
# compiled output | ||
/dist/ | ||
/tmp/ | ||
|
||
# dependencies | ||
/bower_components/ | ||
/node_modules/ | ||
|
||
# misc | ||
/coverage/ | ||
!.* | ||
.eslintcache | ||
|
||
# ember-try | ||
/.node_modules.ember-try/ | ||
/bower.json.ember-try | ||
/package.json.ember-try | ||
|
||
addon/**/*.js | ||
**/*.d.ts | ||
dist/ | ||
declarations/ | ||
node_modules/ | ||
*.md | ||
*.html | ||
.eslintcache |
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
'use strict'; | ||
|
||
const { addonV1Shim } = require('@embroider/addon-shim'); | ||
|
||
module.exports = addonV1Shim(__dirname); |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
'use strict'; | ||
|
||
module.exports = { | ||
plugins: [ | ||
['@babel/plugin-transform-typescript', { allowDeclareFields: true }], | ||
['module:decorator-transforms', { runtime: { import: 'decorator-transforms/runtime' } }], | ||
], | ||
}; |
This file was deleted.
This file was deleted.
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.
we're not releasing on tag-pushes as we have a mass migration to release-plan which tags as a part of releasing, rather than releasing because of a tag