Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# EditorConfig helps developers define and maintain consistent
# coding styles between different editors and IDEs
# editorconfig.org
# https://editorconfig.org/

root = true

Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

# compiled output
/dist/
/declarations/
/tmp/

# dependencies
Expand Down
4 changes: 1 addition & 3 deletions .stylelintrc.cjs → .stylelintrc.mjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
'use strict';

module.exports = {
export default {
extends: ['stylelint-config-standard'],
rules: {
'at-rule-no-deprecated': [true, { ignoreAtRules: ['/^view/', 'apply'] }],
Expand Down
Empty file removed app/services/.gitkeep
Empty file.
14 changes: 8 additions & 6 deletions babel.config.cjs → babel.config.mjs
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
const {
import { dirname } from 'node:path';
import { fileURLToPath } from 'node:url';

import {
babelCompatSupport,
templateCompatSupport,
} = require('@embroider/compat/babel');
} from '@embroider/compat/babel';

module.exports = {
export default {
plugins: [
[
'@babel/plugin-transform-typescript',
Expand All @@ -16,7 +19,6 @@ module.exports = {
[
'babel-plugin-ember-template-compilation',
{
compilerPath: 'ember-source/dist/ember-template-compiler.js',
enableLegacyModules: [
'ember-cli-htmlbars',
'ember-cli-htmlbars-inline-precompile',
Expand All @@ -29,14 +31,14 @@ module.exports = {
'module:decorator-transforms',
{
runtime: {
import: require.resolve('decorator-transforms/runtime-esm'),
import: import.meta.resolve('decorator-transforms/runtime-esm'),
},
},
],
[
'@babel/plugin-transform-runtime',
{
absoluteRuntime: __dirname,
absoluteRuntime: dirname(fileURLToPath(import.meta.url)),
useESModules: true,
regenerator: false,
},
Expand Down
2 changes: 1 addition & 1 deletion config/ember-cli-update.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"packages": [
{
"name": "@ember/app-blueprint",
"version": "6.8.3",
"version": "6.11.0",
"blueprints": [
{
"name": "@ember/app-blueprint",
Expand Down
36 changes: 16 additions & 20 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,13 @@
* npx eslint --inspect-config
*
*/
import babelParser from '@babel/eslint-parser';
import babelParser from '@babel/eslint-parser/experimental-worker';
import js from '@eslint/js';
import eslintConfigPrettier from 'eslint-config-prettier';
import ember from 'eslint-plugin-ember/recommended';
import n from 'eslint-plugin-n';
import qunit from 'eslint-plugin-qunit';
import { defineConfig, globalIgnores } from 'eslint/config';
import globals from 'globals';
import ts from 'typescript-eslint';

Expand All @@ -34,29 +35,20 @@ const parserOptions = {
},
};

export default ts.config(
export default defineConfig([
globalIgnores([
'.vite/**/*',
'dist/',
'coverage/',
'electron-app/dist/**/*',
'out/**/*',
'!**/.*',
]),
js.configs.recommended,
ember.configs.base,
ember.configs.gjs,
ember.configs.gts,
eslintConfigPrettier,
/**
* Ignores must be in their own object
* https://eslint.org/docs/latest/use/configure/ignore
*/
{
ignores: [
'.vite/**/*',
'coverage/**/*',
'declarations/**/*',
'dist/**/*',
'electron-app/dist/**/*',
'node_modules/**/*',
'out/**/*',
'types/**/*',
'!**/.*',
],
},
/**
* https://eslint.org/docs/latest/use/configure/configuration-files#configuring-linter-options
*/
Expand Down Expand Up @@ -85,6 +77,10 @@ export default ts.config(
languageOptions: {
parser: ember.parser,
parserOptions: parserOptions.esm.ts,
globals: {
Buffer: 'readonly',
...globals.browser,
},
},
extends: [...ts.configs.recommendedTypeChecked, ember.configs.gts],
rules: {
Expand Down Expand Up @@ -147,4 +143,4 @@ export default ts.config(
},
},
},
);
]);
15 changes: 6 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"lint:hbs:fix": "ember-template-lint . --fix",
"lint:js": "eslint . --cache",
"lint:js:fix": "eslint . --fix",
"lint:types": "glint --build",
"lint:types": "ember-tsc --noEmit",
"make": "cross-env EMBER_CLI_ELECTRON=true electron-forge make",
"package": "cross-env EMBER_CLI_ELECTRON=true electron-forge package",
"publish": "electron-forge publish",
Expand Down Expand Up @@ -88,8 +88,7 @@
"hue-hunter": "^0.4.1",
"indexeddb-export-import": "^2.1.5",
"menubar": "^9.5.2",
"throttle-debounce": "^5.0.2",
"tracked-built-ins": "^4.1.0"
"throttle-debounce": "^5.0.2"
},
"devDependencies": {
"@babel/core": "^7.29.0",
Expand Down Expand Up @@ -119,10 +118,9 @@
"@embroider/router": "^3.0.6",
"@embroider/vite": "^1.6.0",
"@eslint/js": "^9.39.3",
"@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",
"@glint/ember-tsc": "^1.1.1",
"@glint/template": "~1.7.4",
"@glint/tsserver-plugin": "^2.1.0",
"@ianvs/prettier-plugin-sort-imports": "^4.7.1",
"@release-it-plugins/lerna-changelog": "^8.0.1",
"@rollup/plugin-babel": "^6.1.0",
Expand All @@ -135,13 +133,12 @@
"@types/qunit": "^2.19.13",
"@types/sinon": "^21.0.0",
"@vitest/ui": "^4.0.18",
"babel-plugin-ember-template-compilation": "^2.4.1",
"babel-plugin-ember-template-compilation": "^3.1.0",
"babel-preset-env": "^1.7.0",
"broccoli-asset-rev": "^3.0.0",
"concurrently": "^9.2.1",
"cross-env": "^10.1.0",
"electron": "^40.6.1",
"ember-auto-import": "^2.12.1",
"ember-cli": "^6.11.0",
"ember-cli-babel": "^8.3.1",
"ember-cli-clean-css": "^3.0.0",
Expand Down
Loading
Loading