Skip to content

Commit

Permalink
fix(deps): update dependencies
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Drop support for Ember LTS < 4.12.
  • Loading branch information
anehx committed Jul 30, 2024
1 parent 7f3d018 commit 6fb0db8
Show file tree
Hide file tree
Showing 50 changed files with 4,027 additions and 4,366 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: wyvox/action-setup-pnpm@v3
- uses: pnpm/action-setup@v4
- name: Install Node
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
cache: pnpm
- name: Install Dependencies
run: pnpm install --frozen-lockfile
- name: Deploy to Github Pages
run: pnpm --filter ember-caluma exec ember deploy production
env:
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,14 @@ jobs:
with:
fetch-depth: 0
persist-credentials: false
- uses: wyvox/action-setup-pnpm@v3
- uses: pnpm/action-setup@v4
- name: Install Node
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
cache: pnpm
- name: Install Dependencies
run: pnpm install --frozen-lockfile
- name: Configure pnpm
run: |
pnpm config set registry https://registry.npmjs.org
Expand Down
39 changes: 31 additions & 8 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,14 @@ jobs:

steps:
- uses: actions/checkout@v4
- uses: wyvox/action-setup-pnpm@v3
- uses: pnpm/action-setup@v4
- name: Install Node
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
cache: pnpm
- name: Install Dependencies
run: pnpm install --frozen-lockfile
- name: Lint
run: pnpm lint

Expand All @@ -49,9 +54,14 @@ jobs:

steps:
- uses: actions/checkout@v4
- uses: wyvox/action-setup-pnpm@v3
- uses: pnpm/action-setup@v4
- name: Install Node
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
cache: pnpm
- name: Install Dependencies
run: pnpm install --frozen-lockfile
- name: Run tests
run: pnpm --filter ${{ matrix.workspace }} test:ember
env:
Expand Down Expand Up @@ -81,10 +91,14 @@ jobs:

steps:
- uses: actions/checkout@v4
- uses: wyvox/action-setup-pnpm@v3
- uses: pnpm/action-setup@v4
- name: Install Node
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
args: "--no-lockfile"
cache: pnpm
- name: Install Dependencies
run: pnpm install --no-lockfile
- name: Run tests
run: pnpm --filter ${{ matrix.workspace }} test:ember

Expand All @@ -102,9 +116,14 @@ jobs:

# steps:
# - uses: actions/checkout@v4
# - uses: wyvox/action-setup-pnpm@v3
# - uses: pnpm/action-setup@v4
# - name: Install Node
# uses: actions/setup-node@v4
# with:
# node-version: ${{ env.NODE_VERSION }}
# cache: pnpm
# - name: Install Dependencies
# run: pnpm install --frozen-lockfile
# - name: Connect to Browserstack
# run: pnpm ember browserstack:connect
# - name: Run tests
Expand All @@ -127,9 +146,8 @@ jobs:
fail-fast: false
matrix:
scenario:
- ember-lts-5.4
- ember-lts-4.12
- ember-lts-4.8
- ember-lts-4.4
- ember-release
- embroider-safe
- embroider-optimized
Expand All @@ -144,8 +162,13 @@ jobs:

steps:
- uses: actions/checkout@v4
- uses: wyvox/action-setup-pnpm@v3
- uses: pnpm/action-setup@v4
- name: Install Node
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
cache: pnpm
- name: Install Dependencies
run: pnpm install --frozen-lockfile
- name: Run tests
run: pnpm --filter ${{ matrix.workspace }} exec ember try:one ${{ matrix.scenario }} --skip-cleanup
3 changes: 0 additions & 3 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

# skip in CI
[ -n "$CI" ] && exit 0

Expand Down
3 changes: 0 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

# skip in CI
[ -n "$CI" ] && exit 0

Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,8 @@ The Ember.js addons for [Caluma](https://caluma.io) - a collaborative form editi

`@projectcaluma/ember-*` packages are guaranteed to work with the following LTS versions of Ember.js:

- 5.4
- 4.12
- 4.8
- 4.4

## Documentation

Expand Down
16 changes: 4 additions & 12 deletions config/ember-try.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,26 +9,18 @@ module.exports = async function () {
usePnpm: true,
scenarios: [
{
name: "ember-lts-4.4",
npm: {
devDependencies: {
"ember-source": "~4.4.0",
},
},
},
{
name: "ember-lts-4.8",
name: "ember-lts-4.12",
npm: {
devDependencies: {
"ember-source": "~4.8.0",
"ember-source": "~4.12.0",
},
},
},
{
name: "ember-lts-4.12",
name: "ember-lts-5.4",
npm: {
devDependencies: {
"ember-source": "~4.12.0",
"ember-source": "~5.4.0",
},
},
},
Expand Down
34 changes: 17 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"update-possible-types": "node bin/fetch-possible-types.mjs && prettier --write packages/core/addon/-private/possible-types.js",
"update-schema": "get-graphql-schema http://localhost:8000/graphql > packages/testing/addon/mirage-graphql/schema.graphql && prettier --write packages/testing/addon/mirage-graphql/schema.graphql",
"update-caluma": "concurrently \"npm:update-possible-types\" \"npm:update-schema\"",
"prepare": "husky install",
"prepare": "husky",
"preinstall": "npx only-allow pnpm",
"bump-version": "node bin/bump-version.mjs"
},
Expand All @@ -37,39 +37,39 @@
},
"devDependencies": {
"@adfinis/eslint-config": "2.1.1",
"@babel/core": "7.24.7",
"@babel/eslint-parser": "7.24.1",
"@babel/plugin-proposal-decorators": "7.24.1",
"@babel/core": "7.25.2",
"@babel/eslint-parser": "7.25.1",
"@babel/plugin-proposal-decorators": "7.24.7",
"@commitlint/cli": "19.3.0",
"@commitlint/config-conventional": "19.2.2",
"@graphql-eslint/eslint-plugin": "3.20.1",
"@semantic-release/commit-analyzer": "12.0.0",
"@semantic-release/commit-analyzer": "13.0.0",
"@semantic-release/exec": "6.0.3",
"@semantic-release/git": "10.0.1",
"@semantic-release/github": "10.0.3",
"@semantic-release/release-notes-generator": "13.0.0",
"@semantic-release/github": "10.1.3",
"@semantic-release/release-notes-generator": "14.0.1",
"concurrently": "8.2.2",
"ember-template-lint": "6.0.0",
"ember-template-lint-plugin-prettier": "5.0.0",
"eslint": "8.57.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-ember": "12.0.2",
"eslint-plugin-ember": "12.1.1",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-n": "16.6.2",
"eslint-plugin-prettier": "5.1.3",
"eslint-plugin-n": "17.10.1",
"eslint-plugin-prettier": "5.2.1",
"eslint-plugin-qunit": "8.1.1",
"get-graphql-schema": "2.1.2",
"glob": "10.3.12",
"glob": "11.0.0",
"graphql": "15.8.0",
"husky": "9.0.11",
"lint-staged": "15.2.2",
"husky": "9.1.4",
"lint-staged": "15.2.7",
"node-fetch": "3.3.2",
"prettier": "3.2.5",
"semantic-release": "23.0.8",
"prettier": "3.3.3",
"semantic-release": "24.0.0",
"stylelint": "^16.5.0",
"stylelint-config-standard-scss": "13.1.0",
"stylelint-prettier": "^5.0.0",
"stylelint-scss": "6.2.1"
"stylelint-prettier": "^5.0.2",
"stylelint-scss": "6.4.1"
},
"packageManager": "pnpm@9.6.0",
"pnpm": {
Expand Down
2 changes: 1 addition & 1 deletion packages/-ember-caluma/config/ember-cli-update.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"packages": [
{
"name": "ember-cli",
"version": "5.7.0",
"version": "5.10.0",
"blueprints": [
{
"name": "app",
Expand Down
30 changes: 15 additions & 15 deletions packages/-ember-caluma/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@
"start-proxy": "ember serve --proxy http://localhost:8000"
},
"devDependencies": {
"@babel/core": "^7.24.7",
"@babel/core": "^7.25.2",
"@ember/legacy-built-in-components": "0.5.0",
"@ember/optional-features": "2.1.0",
"@ember/string": "3.1.1",
"@ember/test-helpers": "3.3.0",
"@ember/string": "4.0.0",
"@ember/test-helpers": "3.3.1",
"@ember/test-waiters": "3.1.0",
"@embroider/macros": "1.15.0",
"@embroider/macros": "1.16.5",
"@faker-js/faker": "8.4.1",
"@glimmer/component": "1.1.2",
"@glimmer/tracking": "1.1.2",
Expand All @@ -31,10 +31,10 @@
"@projectcaluma/ember-workflow": "workspace:*",
"broccoli-asset-rev": "3.0.0",
"ember-apollo-client": "4.0.2",
"ember-auto-import": "2.7.2",
"ember-auto-import": "2.7.4",
"ember-changeset": "4.1.2",
"ember-changeset-validations": "4.1.1",
"ember-cli": "5.7.0",
"ember-cli": "5.10.0",
"ember-cli-addon-docs": "7.0.1",
"ember-cli-babel": "8.2.0",
"ember-cli-clean-css": "3.0.0",
Expand All @@ -54,28 +54,28 @@
"ember-data": "5.3.3",
"ember-disable-prototype-extensions": "1.1.3",
"ember-engines": "0.9.0",
"ember-engines-router-service": "0.5.1",
"ember-engines-router-service": "0.6.0",
"ember-fetch": "8.1.2",
"ember-flatpickr": "8.0.0",
"ember-intl": "6.5.3",
"ember-load-initializers": "2.1.2",
"ember-math-helpers": "4.0.0",
"ember-modifier": "4.1.0",
"ember-modifier": "4.2.0",
"ember-power-select": "7.2.0",
"ember-resolver": "11.0.1",
"ember-sortable": "5.0.1",
"ember-source": "5.7.0",
"ember-resolver": "12.0.1",
"ember-sortable": "5.1.1",
"ember-source": "5.10.1",
"ember-truth-helpers": "4.0.3",
"ember-uikit": "9.1.1",
"ember-uikit": "9.1.2",
"ember-validated-form": "7.0.1",
"flatpickr": "4.6.13",
"graphql": "15.8.0",
"loader.js": "4.7.0",
"miragejs": "0.1.48",
"sass": "1.75.0",
"sass": "1.77.8",
"tracked-built-ins": "3.3.0",
"uikit": "3.21.5",
"webpack": "5.91.0"
"uikit": "3.21.8",
"webpack": "5.93.0"
},
"ember": {
"edition": "octane"
Expand Down
2 changes: 1 addition & 1 deletion packages/-ember-caluma/tests/helpers/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function setupApplicationTest(hooks, options) {
// This is also a good place to call test setup functions coming
// from other addons:
//
// setupIntl(hooks); // ember-intl
// setupIntl(hooks, 'en-us'); // ember-intl
// setupMirage(hooks); // ember-cli-mirage
}

Expand Down
2 changes: 2 additions & 0 deletions packages/analytics/.npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
/ember-cli-build.js
/testem.js
/tests/
/tsconfig.declarations.json
/tsconfig.json
/yarn-error.log
/yarn.lock
.gitkeep
Expand Down
Loading

0 comments on commit 6fb0db8

Please sign in to comment.