Skip to content

Commit

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

* chore: Removed stylelint-no-unsupported-browser-features

* chore: Updated configurations

* chore: Replaced staticComponents, staticHelpers, and staticModifiers (deprecated) with staticInvokables

* chore: Replaced single quotes with double to support Windows

* chore: Fixed lint errors

* chore: Added lockfile

* chore: Updated copyright year

* chore: Added changeset

---------

Co-authored-by: ijlee2 <ijlee2@users.noreply.github.com>
  • Loading branch information
ijlee2 and ijlee2 authored Feb 5, 2025
1 parent 88f4e47 commit e086f60
Show file tree
Hide file tree
Showing 115 changed files with 2,271 additions and 2,386 deletions.
13 changes: 13 additions & 0 deletions .changeset/dry-eagles-cover.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
"ember-codemod-remove-ember-css-modules": patch
"my-app-with-ember-css-modules": patch
"embroider-css-modules": patch
"test-app-for-embroider-css-modules": patch
"type-css-modules": patch
"test-app-for-my-v2-addon": patch
"my-v1-addon": patch
"my-v2-addon": patch
"my-app": patch
---

Updated dependencies
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2024 Isaac J. Lee
Copyright (c) 2025 Isaac J. Lee

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

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 @@ -20,11 +20,11 @@
},
"devDependencies": {
"@shared-configs/prettier": "workspace:*",
"concurrently": "^9.1.0",
"concurrently": "^9.1.2",
"prettier": "^3.4.2"
},
"peerDependencies": {
"ember-template-lint": "^6.0.0"
"ember-template-lint": "^6.1.0"
},
"peerDependenciesMeta": {
"ember-template-lint": {
Expand Down
18 changes: 9 additions & 9 deletions configs/eslint/ember/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,30 +16,30 @@
"lint:js:fix": "prettier --write \"**/*.js\""
},
"dependencies": {
"@rushstack/eslint-patch": "^1.10.4",
"@typescript-eslint/eslint-plugin": "^8.18.0",
"@typescript-eslint/parser": "^8.18.0",
"eslint-config-prettier": "^9.1.0",
"@rushstack/eslint-patch": "^1.10.5",
"@typescript-eslint/eslint-plugin": "^8.23.0",
"@typescript-eslint/parser": "^8.23.0",
"eslint-config-prettier": "^10.0.1",
"eslint-import-resolver-typescript": "^3.7.0",
"eslint-plugin-ember": "^12.3.3",
"eslint-plugin-ember": "^12.5.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-n": "^17.15.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-n": "^17.15.1",
"eslint-plugin-prettier": "^5.2.3",
"eslint-plugin-qunit": "^8.1.2",
"eslint-plugin-simple-import-sort": "^12.1.1",
"eslint-plugin-typescript-sort-keys": "^3.3.0"
},
"devDependencies": {
"@shared-configs/eslint-config-node": "workspace:*",
"@shared-configs/prettier": "workspace:*",
"concurrently": "^9.1.0",
"concurrently": "^9.1.2",
"eslint": "^8.57.1",
"prettier": "^3.4.2"
},
"peerDependencies": {
"eslint": "^8.57.1",
"prettier": "^3.4.2",
"typescript": "^5.7.2"
"typescript": "^5.7.3"
},
"peerDependenciesMeta": {
"eslint": {
Expand Down
20 changes: 10 additions & 10 deletions configs/eslint/node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,29 +16,29 @@
"lint:js:fix": "prettier --write \"**/*.js\""
},
"dependencies": {
"@babel/core": "^7.26.0",
"@babel/eslint-parser": "7.25.9",
"@rushstack/eslint-patch": "^1.10.4",
"@typescript-eslint/eslint-plugin": "^8.18.0",
"@typescript-eslint/parser": "^8.18.0",
"eslint-config-prettier": "^9.1.0",
"@babel/core": "^7.26.7",
"@babel/eslint-parser": "7.26.5",
"@rushstack/eslint-patch": "^1.10.5",
"@typescript-eslint/eslint-plugin": "^8.23.0",
"@typescript-eslint/parser": "^8.23.0",
"eslint-config-prettier": "^10.0.1",
"eslint-import-resolver-typescript": "^3.7.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-n": "^17.15.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-n": "^17.15.1",
"eslint-plugin-prettier": "^5.2.3",
"eslint-plugin-simple-import-sort": "^12.1.1",
"eslint-plugin-typescript-sort-keys": "^3.3.0"
},
"devDependencies": {
"@shared-configs/prettier": "workspace:*",
"concurrently": "^9.1.0",
"concurrently": "^9.1.2",
"eslint": "^8.57.1",
"prettier": "^3.4.2"
},
"peerDependencies": {
"eslint": "^8.57.1",
"prettier": "^3.4.2",
"typescript": "^5.7.2"
"typescript": "^5.7.3"
},
"peerDependenciesMeta": {
"eslint": {
Expand Down
2 changes: 1 addition & 1 deletion configs/prettier/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"lint:js:fix": "prettier --write \"**/*.js\""
},
"devDependencies": {
"concurrently": "^9.1.0",
"concurrently": "^9.1.2",
"prettier": "^3.4.2"
},
"peerDependencies": {
Expand Down
8 changes: 4 additions & 4 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": "^36.0.1",
"stylelint-config-standard": "^37.0.0",
"stylelint-order": "^6.0.4",
"stylelint-prettier": "^5.0.2"
"stylelint-prettier": "^5.0.3"
},
"devDependencies": {
"@shared-configs/prettier": "workspace:*",
"concurrently": "^9.1.0",
"concurrently": "^9.1.2",
"prettier": "^3.4.2"
},
"peerDependencies": {
"prettier": "^3.4.2",
"stylelint": "^16.11.0"
"stylelint": "^16.14.1"
},
"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 @@ -17,7 +17,7 @@
},
"devDependencies": {
"@shared-configs/prettier": "workspace:*",
"concurrently": "^9.1.0",
"concurrently": "^9.1.2",
"prettier": "^3.4.2"
},
"peerDependenciesMeta": {},
Expand Down
6 changes: 3 additions & 3 deletions configs/typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,17 @@
"lint:js:fix": "prettier --write \"**/*.js\""
},
"dependencies": {
"@tsconfig/ember": "^3.0.8",
"@tsconfig/ember": "^3.0.9",
"@tsconfig/node18": "^18.2.4",
"@tsconfig/strictest": "^2.0.5"
},
"devDependencies": {
"@shared-configs/prettier": "workspace:*",
"concurrently": "^9.1.0",
"concurrently": "^9.1.2",
"prettier": "^3.4.2"
},
"peerDependencies": {
"typescript": "^5.7.2"
"typescript": "^5.7.3"
},
"peerDependenciesMeta": {
"typescript": {
Expand Down
15 changes: 0 additions & 15 deletions docs/my-app-with-ember-css-modules/.stylelintrc.js
Original file line number Diff line number Diff line change
@@ -1,20 +1,5 @@
'use strict';

const { browsers } = require('./config/targets');

module.exports = {
extends: ['@shared-configs/stylelint'],
plugins: ['stylelint-no-unsupported-browser-features'],
rules: {
'plugin/no-unsupported-browser-features': [
true,
{
browsers,
ignore: [
// grid-template-columns falsely identified as multicolumn
'multicolumn',
],
},
],
},
};
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"packages": [
{
"name": "ember-cli",
"version": "6.0.0",
"version": "6.1.0",
"blueprints": [
{
"name": "app",
Expand Down
4 changes: 1 addition & 3 deletions docs/my-app-with-ember-css-modules/ember-cli-build.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,8 @@ module.exports = function (defaults) {
splitAtRoutes: [],
staticAddonTestSupportTrees: true,
staticAddonTrees: false, // due to ember-css-modules
staticComponents: false, // due to ember-css-modules
staticEmberSource: true,
staticHelpers: false, // match the value of staticComponents
staticModifiers: true,
staticInvokables: false, // due to ember-css-modules
};

return require('@embroider/compat').compatBuild(app, Webpack, options);
Expand Down
47 changes: 23 additions & 24 deletions docs/my-app-with-ember-css-modules/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@
},
"scripts": {
"_build": "ember build --environment=production",
"lint": "concurrently 'pnpm:lint:*(!fix)' --names 'lint:'",
"lint:css": "stylelint 'app/**/*.css' --cache",
"lint:css:fix": "stylelint 'app/**/*.css' --fix",
"lint": "concurrently \"pnpm:lint:*(!fix)\" --names \"lint:\"",
"lint:css": "stylelint \"app/**/*.css\" --cache",
"lint:css:fix": "stylelint \"app/**/*.css\" --fix",
"lint:dependency": "ember dependency-lint",
"lint:fix": "concurrently 'pnpm:lint:*:fix' --names 'fix:'",
"lint:fix": "concurrently \"pnpm:lint:*:fix\" --names \"fix:\"",
"lint:hbs": "ember-template-lint .",
"lint:hbs:fix": "ember-template-lint . --fix",
"lint:js": "eslint . --cache",
Expand All @@ -38,22 +38,22 @@
"test": "ember test --test-port=0"
},
"devDependencies": {
"@babel/core": "^7.26.0",
"@babel/core": "^7.26.7",
"@ember/optional-features": "^2.2.0",
"@ember/string": "^4.0.0",
"@ember/test-helpers": "^4.0.4",
"@ember/test-helpers": "^4.0.5",
"@embroider/broccoli-side-watch": "^1.0.1",
"@embroider/compat": "^3.7.0",
"@embroider/core": "^3.4.19",
"@embroider/compat": "^3.8.0",
"@embroider/core": "^3.5.0",
"@embroider/router": "^2.1.8",
"@embroider/webpack": "^4.0.8",
"@embroider/webpack": "^4.0.9",
"@glimmer/component": "^2.0.0",
"@glimmer/tracking": "^1.1.2",
"@glint/core": "^1.5.0",
"@glint/environment-ember-loose": "^1.5.0",
"@glint/environment-ember-template-imports": "^1.5.0",
"@glint/template": "^1.5.0",
"@percy/cli": "^1.30.4",
"@glint/core": "^1.5.2",
"@glint/environment-ember-loose": "^1.5.2",
"@glint/environment-ember-template-imports": "^1.5.2",
"@glint/template": "^1.5.2",
"@percy/cli": "^1.30.7",
"@percy/ember": "^4.2.0",
"@shared-configs/ember-template-lint": "workspace:*",
"@shared-configs/eslint-config-ember": "workspace:*",
Expand All @@ -64,10 +64,10 @@
"@types/qunit": "^2.19.12",
"autoprefixer": "^10.4.20",
"broccoli-asset-rev": "^3.0.0",
"concurrently": "^9.1.0",
"concurrently": "^9.1.2",
"ember-a11y-testing": "^7.0.2",
"ember-auto-import": "^2.10.0",
"ember-cli": "~6.0.1",
"ember-cli": "~6.1.0",
"ember-cli-app-version": "^7.0.0",
"ember-cli-babel": "^8.2.0",
"ember-cli-clean-css": "^3.0.0",
Expand All @@ -78,23 +78,22 @@
"ember-css-modules": "^2.1.0",
"ember-load-initializers": "^3.0.1",
"ember-page-title": "^8.2.3",
"ember-qunit": "^8.1.1",
"ember-qunit": "^9.0.1",
"ember-resolver": "^13.1.0",
"ember-source": "~6.0.1",
"ember-template-imports": "^4.2.0",
"ember-template-lint": "^6.0.0",
"ember-source": "~6.1.0",
"ember-template-imports": "^4.3.0",
"ember-template-lint": "^6.1.0",
"ember-test-selectors": "^7.0.0",
"embroider-css-modules": "workspace:*",
"eslint": "^8.57.1",
"loader.js": "^4.7.0",
"my-v2-addon": "workspace:*",
"prettier": "^3.4.2",
"qunit": "^2.23.1",
"qunit": "^2.24.1",
"qunit-dom": "^3.4.0",
"stylelint": "^16.11.0",
"stylelint-no-unsupported-browser-features": "^8.0.2",
"stylelint": "^16.14.1",
"type-css-modules": "workspace:*",
"typescript": "^5.7.2",
"typescript": "^5.7.3",
"webpack": "^5.97.1"
},
"engines": {
Expand Down
10 changes: 5 additions & 5 deletions docs/my-app-with-ember-css-modules/tests/test-helper.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { setApplication } from '@ember/test-helpers';
import { start } from 'ember-qunit';
import { setupEmberOnerrorValidation, start } from 'ember-qunit';
import { loadTests } from 'ember-qunit/test-loader';
import Application from 'my-app-with-ember-css-modules/app';
import config from 'my-app-with-ember-css-modules/config/environment';
import * as QUnit from 'qunit';
Expand All @@ -8,7 +9,6 @@ import { setup } from 'qunit-dom';
setApplication(Application.create(config.APP));

setup(QUnit.assert);

start({
setupTestIsolationValidation: true,
});
setupEmberOnerrorValidation();
loadTests();
start();
5 changes: 4 additions & 1 deletion docs/my-app-with-ember-css-modules/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@
"types/*"
]
},
"skipLibCheck": true
"skipLibCheck": true,
"types": [
"ember-source/types"
]
},
"glint": {
"environment": [
Expand Down
31 changes: 26 additions & 5 deletions docs/my-app-with-ember-css-modules/types/global.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,28 @@
// Types for compiled templates
declare module 'my-app-with-ember-css-modules/templates/*' {
import type { TemplateFactory } from 'ember-cli-htmlbars';
import '@glint/environment-ember-loose';
import '@glint/environment-ember-template-imports';

const tmpl: TemplateFactory;
export default tmpl;
import type { HelperLike } from '@glint/template';
import type EmberPageTitleRegistry from 'ember-page-title/template-registry';
import type EmbroiderCssModulesRegistry from 'embroider-css-modules/template-registry';
import type MyV2AddonRegistry from 'my-v2-addon/template-registry';

type LocalClassHelper = HelperLike<{
Args: {
Named: {
from?: string;
};
Positional: [localClassNames: string];
};
Return: string;
}>;

declare module '@glint/environment-ember-loose/registry' {
export default interface Registry
extends EmberPageTitleRegistry,
EmbroiderCssModulesRegistry,
MyV2AddonRegistry {
// Add any registry entries from other addons here that your addon itself uses (in non-strict mode templates)
// See https://typed-ember.gitbook.io/glint/using-glint/ember/using-addons
'local-class': LocalClassHelper;
}
}
Loading

0 comments on commit e086f60

Please sign in to comment.