Skip to content

Commit

Permalink
Updated dependencies (#216)
Browse files Browse the repository at this point in the history
* chore: Updated dependencies

* chore: Added lockfile

* chore: Renamed publish script

* chore: Ran ember-cli-update to update ember-source to v5.5.0

* chore: Updated lockfile

* chore: Reconfigured eslint

---------

Co-authored-by: ijlee2 <[email protected]>
  • Loading branch information
ijlee2 and ijlee2 authored Dec 18, 2023
1 parent a5dbfac commit cc18715
Show file tree
Hide file tree
Showing 22 changed files with 1,848 additions and 2,198 deletions.
1 change: 1 addition & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ Here are some guidelines to help you and everyone else.


<details>

<summary>Run the demo app</summary>

1. Once dependencies have been installed, you can run the demo app (also called `docs-app`).
Expand Down
4 changes: 2 additions & 2 deletions configs/ember-template-lint/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
"devDependencies": {
"@shared-configs/prettier": "workspace:*",
"concurrently": "^8.2.2",
"prettier": "^3.0.3"
"prettier": "^3.1.1"
},
"peerDependencies": {
"ember-template-lint": "^5.12.0"
"ember-template-lint": "^5.13.0"
},
"peerDependenciesMeta": {
"ember-template-lint": {
Expand Down
7 changes: 4 additions & 3 deletions configs/eslint/ember/addon/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,17 +49,18 @@ module.exports = {
'@typescript-eslint/array-type': 'error',
'@typescript-eslint/consistent-type-imports': 'error',
'@typescript-eslint/no-empty-interface': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-import-type-side-effects': 'error',
'@typescript-eslint/no-non-null-assertion': 'off',
},
},
// TypeScript and JavaScript files
{
files: ['**/*.{gjs,gts,js,ts}'],
rules: {
'import/no-duplicates': 'error',
'import/no-unresolved': 'off',
'import/no-unresolved': [
'error',
{ ignore: ['^@ember', '^dummy/', '^ember', 'fetch'] },
],
},
},
// Node files (v1 addon)
Expand Down
7 changes: 4 additions & 3 deletions configs/eslint/ember/app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,17 +49,18 @@ module.exports = {
'@typescript-eslint/array-type': 'error',
'@typescript-eslint/consistent-type-imports': 'error',
'@typescript-eslint/no-empty-interface': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-import-type-side-effects': 'error',
'@typescript-eslint/no-non-null-assertion': 'off',
},
},
// TypeScript and JavaScript files
{
files: ['**/*.{gjs,gts,js,ts}'],
rules: {
'import/no-duplicates': 'error',
'import/no-unresolved': 'off',
'import/no-unresolved': [
'error',
{ ignore: ['^@ember', '^dummy/', '^ember', 'fetch'] },
],
},
},
// Node files
Expand Down
22 changes: 11 additions & 11 deletions configs/eslint/ember/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@
"lint:js:fix": "prettier --write \"**/*.js\""
},
"dependencies": {
"@rushstack/eslint-patch": "^1.5.1",
"@typescript-eslint/eslint-plugin": "^6.10.0",
"@typescript-eslint/parser": "^6.10.0",
"eslint-config-prettier": "^9.0.0",
"@rushstack/eslint-patch": "^1.6.1",
"@typescript-eslint/eslint-plugin": "^6.15.0",
"@typescript-eslint/parser": "^6.15.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-ember": "^11.11.1",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-n": "^16.3.0",
"eslint-plugin-ember": "^11.12.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-n": "^16.4.0",
"eslint-plugin-prettier": "^5.0.1",
"eslint-plugin-qunit": "^8.0.1",
"eslint-plugin-simple-import-sort": "^10.0.0",
Expand All @@ -33,12 +33,12 @@
"@shared-configs/eslint-config-node": "workspace:*",
"@shared-configs/prettier": "workspace:*",
"concurrently": "^8.2.2",
"eslint": "^8.53.0",
"prettier": "^3.0.3"
"eslint": "^8.56.0",
"prettier": "^3.1.1"
},
"peerDependencies": {
"eslint": "^8.53.0",
"prettier": "^3.0.3"
"eslint": "^8.56.0",
"prettier": "^3.1.1"
},
"peerDependenciesMeta": {
"eslint": {
Expand Down
24 changes: 12 additions & 12 deletions configs/eslint/node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,28 +16,28 @@
"lint:js:fix": "prettier --write \"**/*.js\""
},
"dependencies": {
"@babel/core": "^7.23.2",
"@babel/eslint-parser": "7.22.15",
"@rushstack/eslint-patch": "^1.5.1",
"@typescript-eslint/eslint-plugin": "^6.10.0",
"@typescript-eslint/parser": "^6.10.0",
"eslint-config-prettier": "^9.0.0",
"@babel/core": "^7.23.6",
"@babel/eslint-parser": "7.23.3",
"@rushstack/eslint-patch": "^1.6.1",
"@typescript-eslint/eslint-plugin": "^6.15.0",
"@typescript-eslint/parser": "^6.15.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-n": "^16.3.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-n": "^16.4.0",
"eslint-plugin-prettier": "^5.0.1",
"eslint-plugin-simple-import-sort": "^10.0.0",
"eslint-plugin-typescript-sort-keys": "^3.1.0"
},
"devDependencies": {
"@shared-configs/prettier": "workspace:*",
"concurrently": "^8.2.2",
"eslint": "^8.53.0",
"prettier": "^3.0.3"
"eslint": "^8.56.0",
"prettier": "^3.1.1"
},
"peerDependencies": {
"eslint": "^8.53.0",
"prettier": "^3.0.3"
"eslint": "^8.56.0",
"prettier": "^3.1.1"
},
"peerDependenciesMeta": {
"eslint": {
Expand Down
4 changes: 2 additions & 2 deletions configs/prettier/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
},
"devDependencies": {
"concurrently": "^8.2.2",
"prettier": "^3.0.3"
"prettier": "^3.1.1"
},
"peerDependencies": {
"prettier": "^3.0.3"
"prettier": "^3.1.1"
},
"peerDependenciesMeta": {
"prettier": {
Expand Down
12 changes: 6 additions & 6 deletions configs/stylelint/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,18 @@
"lint:js:fix": "prettier --write \"**/*.js\""
},
"dependencies": {
"stylelint-config-standard": "^34.0.0",
"stylelint-order": "^6.0.3",
"stylelint-prettier": "^4.0.2"
"stylelint-config-standard": "^35.0.0",
"stylelint-order": "^6.0.4",
"stylelint-prettier": "^5.0.0"
},
"devDependencies": {
"@shared-configs/prettier": "workspace:*",
"concurrently": "^8.2.2",
"prettier": "^3.0.3"
"prettier": "^3.1.1"
},
"peerDependencies": {
"prettier": "^3.0.3",
"stylelint": "^15.11.0"
"prettier": "^3.1.1",
"stylelint": "^16.0.2"
},
"peerDependenciesMeta": {
"prettier": {
Expand Down
2 changes: 1 addition & 1 deletion configs/testem/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"devDependencies": {
"@shared-configs/prettier": "workspace:*",
"concurrently": "^8.2.2",
"prettier": "^3.0.3"
"prettier": "^3.1.1"
},
"peerDependenciesMeta": {},
"engines": {
Expand Down
4 changes: 2 additions & 2 deletions configs/typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@
"devDependencies": {
"@shared-configs/prettier": "workspace:*",
"concurrently": "^8.2.2",
"prettier": "^3.0.3"
"prettier": "^3.1.1"
},
"peerDependencies": {
"typescript": "^5.2.2"
"typescript": "^5.3.3"
},
"peerDependenciesMeta": {
"typescript": {
Expand Down
9 changes: 9 additions & 0 deletions docs-app/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,13 @@ require('@shared-configs/eslint-config-ember/patch');

module.exports = {
extends: ['@shared-configs/eslint-config-ember/app'],
overrides: [
// TypeScript files
{
files: ['**/*.{gts,ts}'],
rules: {
'@typescript-eslint/no-explicit-any': 'off',
},
},
],
};
6 changes: 3 additions & 3 deletions docs-app/config/ember-cli-update.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@
"packages": [
{
"name": "ember-cli",
"version": "5.3.0",
"version": "5.5.0",
"blueprints": [
{
"name": "app",
"outputRepo": "https://github.com/ember-cli/ember-new-output",
"codemodsSource": "ember-app-codemods-manifest@1",
"isBaseBlueprint": true,
"options": [
"--no-welcome",
"--ci-provider=github"
"--embroider",
"--typescript"
]
}
]
Expand Down
1 change: 1 addition & 0 deletions docs-app/ember-cli-build.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ module.exports = function (defaults) {
staticAddonTestSupportTrees: true,
staticAddonTrees: true,
staticComponents: true,
staticEmberSource: true,
staticHelpers: true,
staticModifiers: true,
};
Expand Down
38 changes: 19 additions & 19 deletions docs-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,15 @@
"test:device": "ember test"
},
"devDependencies": {
"@babel/core": "^7.23.2",
"@babel/core": "^7.23.6",
"@ember/optional-features": "^2.0.0",
"@ember/string": "^3.1.1",
"@ember/test-helpers": "^3.2.0",
"@embroider/compat": "^3.2.3",
"@embroider/core": "^3.3.0",
"@embroider/macros": "^1.13.2",
"@embroider/router": "^2.1.4",
"@embroider/webpack": "^3.2.0",
"@ember/test-helpers": "^3.2.1",
"@embroider/compat": "^3.4.2",
"@embroider/core": "^3.4.3",
"@embroider/macros": "^1.13.4",
"@embroider/router": "^2.1.6",
"@embroider/webpack": "^3.2.1",
"@gavant/glint-template-types": "^0.3.6",
"@glimmer/component": "^1.1.2",
"@glimmer/tracking": "^1.1.2",
Expand All @@ -66,7 +66,7 @@
"@shared-configs/stylelint": "workspace:*",
"@shared-configs/testem": "workspace:*",
"@shared-configs/typescript": "workspace:*",
"@types/qunit": "^2.19.7",
"@types/qunit": "^2.19.9",
"autoprefixer": "^10.4.16",
"broccoli-asset-rev": "^3.0.0",
"concurrently": "^8.2.2",
Expand All @@ -77,8 +77,8 @@
"d3-shape": "^3.2.0",
"ember-a11y-refocus": "^3.0.2",
"ember-a11y-testing": "^6.1.1",
"ember-auto-import": "^2.6.3",
"ember-cli": "~5.3.0",
"ember-auto-import": "^2.7.1",
"ember-cli": "~5.5.0",
"ember-cli-app-version": "^6.0.1",
"ember-cli-babel": "^8.2.0",
"ember-cli-clean-css": "^3.0.0",
Expand All @@ -93,23 +93,23 @@
"ember-page-title": "^8.1.0",
"ember-qunit": "^8.0.2",
"ember-resolver": "^11.0.1",
"ember-source": "~5.3.0",
"ember-source": "~5.5.0",
"ember-svg-jar": "^2.4.7",
"ember-template-imports": "^3.4.2",
"ember-template-lint": "^5.12.0",
"ember-template-lint": "^5.13.0",
"ember-test-selectors": "^6.0.0",
"ember-truth-helpers": "^4.0.3",
"embroider-css-modules": "^1.1.1",
"eslint": "^8.53.0",
"embroider-css-modules": "^2.0.1",
"eslint": "^8.56.0",
"loader.js": "^4.7.0",
"postcss": "^8.4.31",
"postcss": "^8.4.32",
"postcss-loader": "^7.3.3",
"prettier": "^3.0.3",
"prettier": "^3.1.1",
"qunit": "^2.20.0",
"qunit-dom": "^3.0.0",
"stylelint": "^15.11.0",
"type-css-modules": "^1.0.3",
"typescript": "^5.2.2",
"stylelint": "^16.0.2",
"type-css-modules": "^1.0.4",
"typescript": "^5.3.3",
"webpack": "^5.89.0"
},
"engines": {
Expand Down
6 changes: 1 addition & 5 deletions docs-app/tests/helpers/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,11 @@ import {
setupApplicationTest as upstreamSetupApplicationTest,
setupRenderingTest as upstreamSetupRenderingTest,
setupTest as upstreamSetupTest,
type SetupTestOptions,
} from 'ember-qunit';
import type Resolver from 'ember-resolver';

import { resetViewport } from './reset-viewport';

interface SetupTestOptions {
resolver?: Resolver | undefined;
}

// This file exists to provide wrappers around ember-qunit's
// test setup functions. This way, you can easily extend the setup that is
// needed per test type.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { array, hash } from '@ember/helper';
import { findAll, render } from '@ember/test-helpers';
// eslint-disable-next-line import/no-unresolved
import NavigationMenu from 'docs-app/components/navigation-menu';
import { setupRenderingTest } from 'docs-app/tests/helpers';
import { a11yAudit } from 'ember-a11y-testing/test-support';
Expand Down
Loading

0 comments on commit cc18715

Please sign in to comment.