Skip to content

Commit

Permalink
Merge pull request #1619 from mkszepp/addon-to-v2
Browse files Browse the repository at this point in the history
Addon to v2
  • Loading branch information
mkszepp authored Jan 2, 2024
2 parents 88b5366 + d1915fb commit a45863c
Show file tree
Hide file tree
Showing 506 changed files with 23,589 additions and 46,147 deletions.
4 changes: 0 additions & 4 deletions .bowerrc

This file was deleted.

11 changes: 0 additions & 11 deletions .dependabot/config.yml

This file was deleted.

210 changes: 124 additions & 86 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,86 +1,124 @@
name: CI

on:
push:
branches:
- main
- master
pull_request: {}
schedule:
- cron: "0 3 * * 0" # every Sunday at 3am


concurrency:
group: ci-${{ github.head_ref || github.ref }}
cancel-in-progress: true

jobs:
test:
if: "! contains(toJSON(github.event.commits.*.message), '[skip ci]')"
name: "Tests"
runs-on: ubuntu-latest
timeout-minutes: 10

steps:
- uses: actions/checkout@v3
- name: Install Node
uses: actions/setup-node@v3
with:
node-version: 18
cache: npm
- name: Install Dependencies
run: npm ci
- name: Lint
run: npm run lint
- name: Run Tests
run: npm run test:ember

floating:
name: "Floating Dependencies"
runs-on: ubuntu-latest
timeout-minutes: 10

steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
cache: npm
- name: Install Dependencies
run: npm install --no-shrinkwrap
- name: Run Tests
run: npm run test:ember

try-scenarios:
name: ${{ matrix.try-scenario }}
runs-on: ubuntu-latest
needs: "test"
timeout-minutes: 10

strategy:
fail-fast: false
matrix:
try-scenario:
- ember-lts-3.28
- ember-lts-4.4
- ember-lts-4.8
- ember-lts-4.12
- ember-5.4
- ember-release
- ember-beta
- ember-canary
- ember-classic
- embroider-safe
- embroider-optimized

steps:
- uses: actions/checkout@v3
- name: Install Node
uses: actions/setup-node@v3
with:
node-version: 18
cache: npm
- name: Install Dependencies
run: npm ci
- name: Run Tests
run: ./node_modules/.bin/ember try:one ${{ matrix.try-scenario }} --skip-cleanup
name: CI

on:
push:
branches:
- main
- master
pull_request: {}

concurrency:
group: ci-${{ github.head_ref || github.ref }}
cancel-in-progress: true

jobs:
lint:
name: Lint
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- uses: pnpm/[email protected]
with:
version: 8

- uses: actions/setup-node@v3
with:
node-version: 18.x
cache: pnpm

- name: 'Install dependencies'
run: pnpm install --frozen-lockfile

- name: Lint
run: pnpm --filter ember-power-select lint

test:
name: "Tests"
runs-on: ubuntu-latest
needs: lint

steps:
- uses: actions/checkout@v3

- uses: pnpm/[email protected]
with:
version: 8

- name: Install Node
uses: actions/setup-node@v3
with:
node-version: 18.x
cache: pnpm

- name: Install Dependencies
run: pnpm install --frozen-lockfile

- name: Run Tests
run: pnpm --filter test-app test:ember

floating:
name: "Floating Dependencies"
runs-on: ubuntu-latest
needs: lint

steps:
- uses: actions/checkout@v3

- uses: pnpm/[email protected]
with:
version: 8

- uses: actions/setup-node@v3
with:
node-version: 18.x
cache: pnpm

- name: Install Dependencies
run: pnpm install --frozen-lockfile

- name: Run Tests
run: pnpm --filter test-app test:ember

try-scenarios:
name: ${{ matrix.try-scenario }}
runs-on: ubuntu-latest
continue-on-error: true
needs: test

strategy:
fail-fast: false
matrix:
try-scenario:
- ember-lts-3.28
- ember-lts-4.4
- ember-lts-4.8
- ember-lts-4.12
- ember-5.4
- ember-release
- ember-beta
- ember-canary
- embroider-safe
- embroider-optimized

steps:
- uses: actions/checkout@v3

- uses: pnpm/[email protected]
with:
version: 8

- name: Install Node
uses: actions/setup-node@v3
with:
node-version: 18.x
cache: pnpm

- name: Install Dependencies
run: pnpm install --frozen-lockfile

- name: Run Tests
env:
EMBER_TRY_SCENARIO: ${{ matrix.try-scenario }}
run: pnpm --filter test-app test:ember-try $EMBER_TRY_SCENARIO
54 changes: 54 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: Docs CI

on:
push:
branches:
- main
- master
pull_request:

jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- uses: pnpm/[email protected]
with:
version: 8

- uses: actions/setup-node@v3
with:
node-version: 18.x
cache: 'pnpm'

- name: 'Install dependencies'
run: pnpm install --frozen-lockfile

- name: Lint
run: pnpm --filter docs lint

test:
name: "Tests"
runs-on: ubuntu-latest
needs: lint

steps:
- uses: actions/checkout@v3

- uses: pnpm/[email protected]
with:
version: 8

- name: Install Node
uses: actions/setup-node@v3
with:
node-version: 18.x
cache: pnpm

- name: Install Dependencies
run: pnpm install --frozen-lockfile

- name: Run Tests
run: pnpm --filter docs test:ember
28 changes: 11 additions & 17 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,28 +1,22 @@
# compiled output
/dist/
/declarations/
# See https://help.github.com/ignore-files/ for more about ignoring files.

# dependencies
/node_modules/
node_modules/

# misc
/.env*
/.pnp*
/.eslintcache
/coverage/
/npm-debug.log*
/testem.log
/yarn-error.log
.env*
.pnp*
.pnpm-debug.log
.sass-cache
.eslintcache
coverage/
npm-debug.log*
yarn-error.log

# ember-try
/.node_modules.ember-try/
/npm-shrinkwrap.json.ember-try
/package.json.ember-try
/package-lock.json.ember-try
/yarn.lock.ember-try
/pnpm-lock.ember-try.yaml

# broccoli-debug
/DEBUG/

# custom
/fastboot-dist
1 change: 0 additions & 1 deletion .netlify

This file was deleted.

35 changes: 0 additions & 35 deletions .npmignore

This file was deleted.

1 change: 0 additions & 1 deletion .nvmrc

This file was deleted.

6 changes: 6 additions & 0 deletions .prettierrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
'use strict';

module.exports = {
plugins: ['prettier-plugin-ember-template-tag'],
singleQuote: true,
};
1 change: 0 additions & 1 deletion .tern-port

This file was deleted.

6 changes: 6 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"eslint.validate": [
"glimmer-ts",
"glimmer-js"
]
}
Loading

0 comments on commit a45863c

Please sign in to comment.