This repository has been archived by the owner on May 13, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #710 from adfinis/ember-octane
chore: ember octane upgrade
- Loading branch information
Showing
491 changed files
with
26,322 additions
and
27,329 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,6 @@ | |
|
||
root = true | ||
|
||
|
||
[*] | ||
end_of_line = lf | ||
charset = utf-8 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,17 @@ | ||
"use-strict"; | ||
|
||
module.exports = { | ||
extends: ["@adfinis-sygroup/eslint-config/ember-app"], | ||
rules: {} | ||
rules: { | ||
"ember/no-actions-hash": "warn", | ||
"ember/no-component-lifecycle-hooks": "warn", | ||
"ember/no-mixins": "warn", | ||
"ember/no-new-mixins": "warn", | ||
"ember/no-classic-classes": "warn", | ||
"ember/no-classic-components": "warn", | ||
"ember/no-get": "warn", | ||
"ember/no-observers": "warn", | ||
"qunit/no-assert-equal": "warn", | ||
"ember/require-tagless-components": "warn", | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,13 +11,22 @@ jobs: | |
with: | ||
fetch-depth: 0 | ||
persist-credentials: false | ||
|
||
- name: Install pnpm | ||
uses: pnpm/[email protected] | ||
with: | ||
version: 7.17.1 | ||
|
||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: "16" | ||
cache: "pnpm" | ||
|
||
- name: Install dependencies | ||
run: yarn install | ||
run: pnpm install | ||
|
||
- name: Release on NPM | ||
run: yarn semantic-release | ||
run: pnpm semantic-release | ||
env: | ||
GH_TOKEN: ${{ secrets.GH_TOKEN }} | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ on: | |
- ember-octane | ||
|
||
env: | ||
NODE_VERSION: 14 | ||
NODE_VERSION: 16 | ||
|
||
jobs: | ||
lint: | ||
|
@@ -26,23 +26,22 @@ jobs: | |
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v2 | ||
|
||
- name: Install pnpm | ||
uses: pnpm/[email protected] | ||
with: | ||
node-version: ${{ env.NODE_VERSION }} | ||
version: 7.17.1 | ||
|
||
- uses: actions/cache@v2 | ||
- uses: actions/setup-node@v2 | ||
with: | ||
path: node_modules | ||
key: node-modules-v2-${{ hashFiles('yarn.lock') }} | ||
restore-keys: | | ||
node-modules-v2-${{ hashFiles('yarn.lock') }} | ||
node-modules-v2- | ||
node-version: ${{ env.NODE_VERSION }} | ||
cache: "pnpm" | ||
|
||
- name: Install dependencies | ||
run: yarn install | ||
run: pnpm install | ||
|
||
- name: Lint ${{ matrix.target }} | ||
run: yarn lint:${{ matrix.target }} | ||
run: pnpm lint:${{ matrix.target }} | ||
|
||
test: | ||
name: Tests | ||
|
@@ -52,26 +51,25 @@ jobs: | |
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Install pnpm | ||
uses: pnpm/[email protected] | ||
with: | ||
version: 7.17.1 | ||
|
||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: ${{ env.NODE_VERSION }} | ||
cache: "pnpm" | ||
|
||
- uses: actions/cache@v2 | ||
with: | ||
path: node_modules | ||
key: node-modules-v2-${{ hashFiles('yarn.lock') }} | ||
restore-keys: | | ||
node-modules-v2-${{ hashFiles('yarn.lock') }} | ||
node-modules-v2- | ||
- name: Install dependencies | ||
run: yarn install | ||
run: pnpm install | ||
|
||
- name: Run tests | ||
run: yarn test | ||
run: pnpm test | ||
env: | ||
COVERAGE: true | ||
|
||
|
||
# TODO enable this again after flaky tests are added back | ||
# - name: Upload coverage report to Codecov | ||
# uses: codecov/codecov-action@v1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
# lint commit message | ||
pnpm commitlint --edit $1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
"use strict"; | ||
|
||
module.exports = { | ||
extends: "recommended", | ||
rules: { | ||
// following rules are for temporary use only, delete when ember 4.0 ready | ||
"no-action": "warn", | ||
"no-curly-component-invocation": "warn", | ||
"no-duplicate-id": "warn", | ||
"no-link-to-positional-params": "warn", | ||
"no-link-to-tagname": "warn", | ||
"no-invalid-interactive": "warn", | ||
"no-implicit-this": "warn", | ||
"no-passed-in-event-handlers": "warn", | ||
"no-positional-data-test-selectors": "warn", | ||
"no-unknown-arguments-for-builtin-components": "warn", | ||
"no-with": "warn", | ||
"no-yield-only": "warn", | ||
"require-input-label": "warn", | ||
"require-has-block-helper": "warn", | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ You will need the following things properly installed on your computer. | |
|
||
- [Git](https://git-scm.com/) | ||
- [Node.js](https://nodejs.org/) | ||
- [Yarn](https://yarnpkg.com/) | ||
- [pnpm](https://pnpm.io/) | ||
- [Ember CLI](https://ember-cli.com/) | ||
- [Chrome](https://www.google.com/chrome/) | ||
- [Firefox](https://www.mozilla.org/firefox/) | ||
|
@@ -24,7 +24,7 @@ Optional: | |
|
||
- `git clone [email protected]/adfinis-sygroup/timed-frontend` | ||
- `cd timed-frontend` | ||
- `yarn` | ||
- `pnpm i` | ||
|
||
## Running / Development | ||
|
||
|
@@ -35,7 +35,7 @@ If you have a running [backend](https://github.com/adfinis-sygroup/timed-backend | |
|
||
- `ember server --proxy=http://localhost:8000` | ||
or | ||
- `yarn start` | ||
- `pnpm start` | ||
|
||
If you are using docker-compose you can start a static frontend and the backend by following the instructions in the [backend](https://github.com/adfinis-sygroup/timed-backend) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.