Skip to content

Commit 412ec5c

Browse files
authored
Merge pull request #372 from adopted-ember-addons/v2-addon-old-bp
Convert addon to v2 format
2 parents daf871b + 4a0d4d6 commit 412ec5c

File tree

92 files changed

+12402
-13512
lines changed

Some content is hidden

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

92 files changed

+12402
-13512
lines changed

.ember-cli

Lines changed: 0 additions & 7 deletions
This file was deleted.

.github/ISSUE_TEMPLATE.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,23 @@ Remove the template from below and provide thoughtful commentary *and code sampl
1818
-->
1919

2020
<!-- BUG TEMPLATE -->
21+
2122
## Version
23+
2224
<!-- Put the version you want to report a bug for here -->
2325

2426
## Test Case
27+
2528
<!-- Please provide a (link to) a reduced test case -->
2629

2730
## Steps to reproduce
31+
2832
<!-- With the reduced test case, how do you reproduce the error condition? -->
2933

3034
## Expected Behavior
35+
3136
<!-- Describe here what you expected to happen -->
3237

3338
## Actual Behavior
39+
3440
<!-- Describe here what actually happened -->

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ Here are a few things that will increase the chance that your pull request will
77
-->
88

99
<!-- If this pull request addresses an issue please provide the issue number here -->
10+
1011
Closes # .
1112

1213
## Changes proposed in this pull request
14+
1315
<!-- Please describe here what this pull request changes -->

.github/workflows/ci.yml

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ jobs:
1616
name: "Tests"
1717
runs-on: ubuntu-latest
1818
timeout-minutes: 10
19+
outputs:
20+
matrix: ${{ steps.set-matrix.outputs.matrix }}
1921

2022
steps:
2123
- uses: actions/checkout@v4
@@ -34,6 +36,9 @@ jobs:
3436
- name: Run Tests in rawOutput app
3537
run: pnpm test:ember
3638
working-directory: test-app-raw-output
39+
- id: set-matrix
40+
run: echo "::set-output name=matrix::$(pnpm --silent scenario-tester list --files ./scenarios.js --matrix 'pnpm qunit ./scenarios.js --filter %s:')"
41+
working-directory: test-app
3742

3843
floating:
3944
name: "Floating Dependencies"
@@ -70,25 +75,13 @@ jobs:
7075
run: pnpm node-test
7176

7277
try-scenarios:
73-
name: ${{ matrix.try-scenario }}
78+
name: "${{ matrix.name }}"
7479
runs-on: ubuntu-latest
7580
needs: "test"
7681
timeout-minutes: 10
77-
7882
strategy:
7983
fail-fast: false
80-
matrix:
81-
try-scenario:
82-
- ember-lts-4.8
83-
- ember-lts-4.12
84-
- ember-lts-5.4
85-
- ember-lts-5.8
86-
- ember-lts-5.12
87-
- ember-release
88-
- ember-beta
89-
- ember-canary
90-
- embroider-safe
91-
- embroider-optimized
84+
matrix: ${{fromJson(needs.test.outputs.matrix)}}
9285

9386
steps:
9487
- uses: actions/checkout@v4
@@ -101,4 +94,5 @@ jobs:
10194
- name: Install Dependencies
10295
run: pnpm install --frozen-lockfile
10396
- name: Run Tests
104-
run: ./node_modules/.bin/ember try:one ${{ matrix.try-scenario }}
97+
run: ${{ matrix.command }}
98+
working-directory: test-app

.github/workflows/plan-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- uses: actions/checkout@v4
2626
with:
2727
fetch-depth: 2
28-
ref: 'master'
28+
ref: "master"
2929
# This will only cause the `is-this-a-release` job to have a "command" of `release`
3030
# when the .release-plan.json file was changed on the last commit.
3131
- id: check-release
@@ -50,7 +50,7 @@ jobs:
5050
# github-changelog can discover what's changed since the last release
5151
with:
5252
fetch-depth: 0
53-
ref: 'master'
53+
ref: "master"
5454
- uses: pnpm/action-setup@v4
5555
- uses: actions/setup-node@v4
5656
with:

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
- main
1111
- master
1212
paths:
13-
- '.release-plan.json'
13+
- ".release-plan.json"
1414

1515
concurrency:
1616
group: publish-${{ github.head_ref || github.ref }}
@@ -33,7 +33,7 @@ jobs:
3333
with:
3434
node-version: 18
3535
# This creates an .npmrc that reads the NODE_AUTH_TOKEN environment variable
36-
registry-url: 'https://registry.npmjs.org'
36+
registry-url: "https://registry.npmjs.org"
3737
cache: pnpm
3838
- run: pnpm install --frozen-lockfile
3939
- name: Publish to NPM

.gitignore

Lines changed: 8 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,11 @@
11
# compiled output
2-
/dist/
3-
/declarations/
2+
dist/
3+
declarations/
44

5-
# dependencies
6-
node_modules/
7-
8-
# misc
9-
/.env*
10-
/.pnp*
11-
/.eslintcache
12-
/coverage/
13-
/npm-debug.log*
14-
/testem.log
15-
/yarn-error.log
5+
# npm/pnpm/yarn pack output
6+
*.tgz
167

17-
# ember-try
18-
/.node_modules.ember-try/
19-
/npm-shrinkwrap.json.ember-try
20-
/package.json.ember-try
21-
/package-lock.json.ember-try
22-
/yarn.lock.ember-try
23-
24-
# broccoli-debug
25-
/DEBUG/
8+
# deps & caches
9+
node_modules/
10+
.eslintcache
11+
.prettiercache

.npmignore

Lines changed: 0 additions & 39 deletions
This file was deleted.

.prettierignore

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,8 @@
33

44
# compiled output
55
/dist/
6+
/declarations/
67

78
# misc
89
/coverage/
9-
!.*
10-
.*/
11-
12-
# ember-try
13-
/.node_modules.ember-try/
10+
/pnpm-lock.yaml
File renamed without changes.

0 commit comments

Comments
 (0)