Skip to content

Commit

Permalink
Merge pull request #1818 from NullVoxPopuli/upgrade-some-things
Browse files Browse the repository at this point in the history
Upgrade some things
  • Loading branch information
NullVoxPopuli authored Sep 5, 2024
2 parents 2ba59fe + dfca113 commit 2e2a30d
Show file tree
Hide file tree
Showing 36 changed files with 2,214 additions and 2,953 deletions.
3 changes: 2 additions & 1 deletion apps/repl/app/components/limber/frame-output.gts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ export default class FrameOutput extends Component {
update: (format: Format, text: string) => void;
}>;

constructor(owner: unknown, args: {}) {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
constructor(owner: unknown, args: any) {
super(owner, args);

registerDestructor(this, () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import type RouterService from '@ember/routing/router-service';
import type { ComponentLike } from '@glint/template';
import type { Format } from 'limber/utils/messaging';

export const FormatButtons: TOC<{}> = <template>
export const FormatButtons: TOC<object> = <template>
{{! template-lint-disable no-forbidden-elements }}
<style>
.limber__toggle-group { button { box-shadow: 0 0px 1px rgba(255,255,255,0.5); } button:hover {
Expand Down
2 changes: 1 addition & 1 deletion apps/repl/app/components/limber/layout/state.ts
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ function getData(): SplitSizeData {

try {
return JSON.parse(json);
} catch (e) {
} catch {
return {};
}
}
Expand Down
3 changes: 2 additions & 1 deletion apps/repl/app/components/limber/save.gts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ export default class Save extends Component {

@tracked isShowing = false;

constructor(owner: unknown, args: {}) {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
constructor(owner: unknown, args: any) {
super(owner, args);

const handler = (e: KeyboardEvent) => {
Expand Down
22 changes: 11 additions & 11 deletions apps/repl/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@
"lint:prettier": "pnpm -w exec lint prettier"
},
"devDependencies": {
"@babel/core": "^7.24.5",
"@babel/eslint-parser": "^7.24.5",
"@babel/core": "^7.25.2",
"@babel/eslint-parser": "^7.25.1",
"@codemirror/view": "6.28.6",
"@ember/optional-features": "^2.0.0",
"@ember/string": "^3.1.1",
"@ember/test-helpers": "^4.0.2",
"@embroider/compat": "3.6.0",
"@embroider/core": "3.4.14",
"@embroider/webpack": "4.0.4",
"@ember/test-helpers": "^4.0.4",
"@embroider/compat": "3.6.1",
"@embroider/core": "3.4.15",
"@embroider/webpack": "4.0.5",
"@fortawesome/ember-fontawesome": "^2.0.0",
"@fortawesome/fontawesome-svg-core": "^6.5.1",
"@fortawesome/free-brands-svg-icons": "^6.5.1",
Expand All @@ -66,8 +66,8 @@
"@types/qunit": "^2.19.10",
"@types/rsvp": "^4.0.9",
"@types/unist": "^3.0.2",
"@typescript-eslint/eslint-plugin": "^7.9.0",
"@typescript-eslint/parser": "^7.9.0",
"@typescript-eslint/eslint-plugin": "^8.4.0",
"@typescript-eslint/parser": "^8.4.0",
"broccoli-asset-rev": "^3.0.0",
"broccoli-merge-trees": "^4.2.0",
"build-time-reporter-webpack-plugin": "^1.4.3",
Expand Down Expand Up @@ -96,13 +96,13 @@
"ember-template-lint-plugin-prettier": "^5.0.0",
"esbuild-loader": "^4.0.3",
"eslint": "^8.55.0",
"eslint-plugin-ember": "^12.1.0",
"eslint-plugin-ember": "^12.2.0",
"execa": "^8.0.1",
"file-loader": "^6.2.0",
"fractal-page-object": "^0.5.0",
"loader.js": "^4.7.0",
"onp": "^2.0.4",
"prettier": "^3.2.5",
"prettier": "^3.3.3",
"prettier-plugin-ember-template-tag": "2.0.2",
"process": "^0.11.10",
"qunit": "^2.20.0",
Expand All @@ -129,7 +129,7 @@
},
"dependencies": {
"@ember/test-waiters": "^3.1.0",
"@embroider/macros": "1.16.5",
"@embroider/macros": "1.16.6",
"@embroider/router": "2.1.8",
"@glimmer/component": "^1.1.2",
"@glimmer/tracking": "^1.1.2",
Expand Down
4 changes: 2 additions & 2 deletions apps/repl/tests/application/output-demos-test.gts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ module('Output > Demos', function (hooks) {
let makeComponent!: (format: Format, text: string) => void;
let setParentFrame!: (parentAPI: {
beginCompile: () => void;
error: () => void;
error: (e: unknown) => void;
success: () => void;
finishedRendering: () => void;
}) => void;
Expand Down Expand Up @@ -90,7 +90,7 @@ module('Output > Demos', function (hooks) {

setParentFrame({
beginCompile: () => assert.step('begin compile'),
error: () => assert.step('error'),
error: (e) => assert.step(e as string),
success: () => assert.step('success'),
finishedRendering: () => assert.step('finished rendering'),
});
Expand Down
1 change: 1 addition & 0 deletions apps/tutorial/app/components/prose/index.gts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import { NotFound } from './prose-not-found';
import type { TOC } from '@ember/component/template-only';

export const resetScroll = modifier((element, [prose]) => {
// eslint-disable-next-line @typescript-eslint/no-unused-expressions
prose;
element.scrollTo(0, 0);
});
Expand Down
24 changes: 12 additions & 12 deletions apps/tutorial/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,15 @@
"unified": "^10.1.2"
},
"devDependencies": {
"@babel/core": "^7.24.5",
"@babel/core": "^7.25.2",
"@babel/runtime": "^7.24.5",
"@ember/optional-features": "^2.0.0",
"@ember/string": "^3.1.1",
"@ember/test-helpers": "^4.0.2",
"@ember/test-helpers": "^4.0.4",
"@ember/test-waiters": "^3.1.0",
"@embroider/compat": "3.6.0",
"@embroider/core": "3.4.14",
"@embroider/webpack": "4.0.4",
"@embroider/compat": "3.6.1",
"@embroider/core": "3.4.15",
"@embroider/webpack": "4.0.5",
"@fortawesome/ember-fontawesome": "^2.0.0",
"@fortawesome/fontawesome-svg-core": "^6.5.1",
"@fortawesome/free-brands-svg-icons": "^6.5.1",
Expand All @@ -69,8 +69,8 @@
"@nullvoxpopuli/limber-untyped": "workspace:^0.0.1",
"@tsconfig/ember": "^3.0.7",
"@types/qunit": "^2.19.10",
"@typescript-eslint/eslint-plugin": "^7.9.0",
"@typescript-eslint/parser": "^7.9.0",
"@typescript-eslint/eslint-plugin": "^8.4.0",
"@typescript-eslint/parser": "^8.4.0",
"broccoli-asset-rev": "^3.0.0",
"broccoli-funnel": "^3.0.8",
"concurrently": "^8.2.2",
Expand All @@ -92,14 +92,14 @@
"ember-template-lint": "^6.0.0",
"eslint": "^8.55.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-ember": "^12.1.0",
"eslint-plugin-n": "^17.7.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-qunit": "^8.0.1",
"eslint-plugin-ember": "^12.2.0",
"eslint-plugin-n": "^17.10.2",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-qunit": "^8.1.2",
"fs-extra": "^11.2.0",
"globby": "^14.0.0",
"loader.js": "^4.7.0",
"prettier": "^3.2.5",
"prettier": "^3.3.3",
"prettier-plugin-ember-template-tag": "2.0.2",
"qunit": "^2.20.0",
"qunit-dom": "3.2.0",
Expand Down
8 changes: 4 additions & 4 deletions dev/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"name": "dev-tools",
"version": "0.0.0",
"private": true,
"type": "module",
"main": "index.js",
Expand All @@ -17,12 +18,12 @@
"yargs": "^17.7.2"
},
"devDependencies": {
"@babel/core": "^7.24.5",
"@babel/core": "^7.25.2",
"@nullvoxpopuli/eslint-configs": "^4.0.0",
"@types/node": "^20.12.12",
"@types/yargs": "^17.0.32",
"eslint": "^8.55.0",
"prettier": "^3.2.5",
"prettier": "^3.3.3",
"prettier-plugin-ember-template-tag": "2.0.2",
"typescript": "^5.4.5"
},
Expand All @@ -45,6 +46,5 @@
"directory": "dev"
},
"license": "MIT",
"author": "NullVoxPopuli",
"version": null
"author": "NullVoxPopuli"
}
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@
"start:tutorial": "pnpm --filter=tutorial start"
},
"devDependencies": {
"@babel/core": "^7.24.5",
"@babel/core": "^7.25.2",
"@nullvoxpopuli/eslint-configs": "^4.0.0",
"concurrently": "^8.2.2",
"dev-tools": "workspace:*",
"eslint": "^8.55.0",
"prettier": "^3.2.5",
"prettier": "^3.3.3",
"prettier-plugin-ember-template-tag": "2.0.2",
"release-plan": "^0.9.0",
"turbo": "^2.0.4"
"release-plan": "^0.9.2",
"turbo": "^2.1.1"
},
"packageManager": "pnpm@9.5.0",
"engines": {
Expand Down
8 changes: 4 additions & 4 deletions packages/app-support/codemirror/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,15 @@
"path-browserify": "^1.0.1"
},
"devDependencies": {
"@babel/core": "^7.24.5",
"@babel/core": "^7.25.2",
"@nullvoxpopuli/eslint-configs": "^4.0.0",
"@typescript-eslint/eslint-plugin": "^7.9.0",
"@typescript-eslint/parser": "^7.9.0",
"@typescript-eslint/eslint-plugin": "^8.4.0",
"@typescript-eslint/parser": "^8.4.0",
"concurrently": "^8.2.2",
"esbuild": "0.22.0",
"esbuild-plugin-alias": "^0.2.1",
"eslint": "^8.55.0",
"prettier": "^3.2.5",
"prettier": "^3.3.3",
"prettier-plugin-ember-template-tag": "2.0.2",
"recursive-copy": "^2.0.14",
"typescript": "^5.4.5"
Expand Down
20 changes: 10 additions & 10 deletions packages/app-support/limber-ui/addon/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"dependencies": {
"@babel/runtime": "^7.24.5",
"@embroider/addon-shim": "1.8.9",
"@embroider/macros": "1.16.5",
"@embroider/macros": "1.16.6",
"@fortawesome/ember-fontawesome": "^2.0.0",
"@fortawesome/fontawesome-svg-core": "^6.5.1",
"@fortawesome/free-brands-svg-icons": "^6.5.1",
Expand All @@ -55,12 +55,12 @@
"reactiveweb": "^1.2.0"
},
"devDependencies": {
"@babel/core": "^7.24.5",
"@babel/eslint-parser": "^7.24.5",
"@babel/core": "^7.25.2",
"@babel/eslint-parser": "^7.25.1",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-proposal-decorators": "^7.23.9",
"@babel/plugin-syntax-decorators": "^7.23.3",
"@babel/plugin-transform-typescript": "^7.24.5",
"@babel/plugin-transform-typescript": "^7.25.2",
"@babel/preset-typescript": "^7.23.3",
"@ember/test-waiters": "^3.1.0",
"@embroider/addon-dev": "5.0.0",
Expand All @@ -74,8 +74,8 @@
"@nullvoxpopuli/limber-untyped": "workspace:*",
"@rollup/plugin-babel": "^6.0.4",
"@tsconfig/ember": "^3.0.7",
"@typescript-eslint/eslint-plugin": "^7.9.0",
"@typescript-eslint/parser": "^7.9.0",
"@typescript-eslint/eslint-plugin": "^8.4.0",
"@typescript-eslint/parser": "^8.4.0",
"babel-plugin-ember-template-compilation": "^2.2.5",
"concurrently": "^8.2.2",
"ember-async-data": "1.0.3",
Expand All @@ -87,12 +87,12 @@
"ember-template-imports": "^4.1.1",
"ember-template-lint": "^6.0.0",
"eslint": "^8.55.0",
"eslint-plugin-ember": "^12.1.0",
"eslint-plugin-n": "^17.7.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-ember": "^12.2.0",
"eslint-plugin-n": "^17.10.2",
"eslint-plugin-prettier": "^5.2.1",
"execa": "^8.0.1",
"fix-bad-declaration-output": "^1.1.1",
"prettier": "^3.2.5",
"prettier": "^3.3.3",
"prettier-plugin-ember-template-tag": "2.0.2",
"rollup": "^4.17.2",
"rollup-plugin-copy": "^3.5.0",
Expand Down
18 changes: 9 additions & 9 deletions packages/app-support/limber-ui/test-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@
"limber-ui": "workspace:*"
},
"devDependencies": {
"@babel/core": "^7.24.5",
"@babel/eslint-parser": "^7.24.5",
"@babel/core": "^7.25.2",
"@babel/eslint-parser": "^7.25.1",
"@ember/optional-features": "^2.0.0",
"@ember/string": "^3.1.1",
"@ember/test-helpers": "^4.0.2",
"@ember/test-helpers": "^4.0.4",
"@embroider/test-setup": "4.0.0",
"@fortawesome/ember-fontawesome": "^2.0.0",
"@fortawesome/fontawesome-svg-core": "^6.5.1",
Expand All @@ -45,7 +45,7 @@
"@glimmer/component": "^1.1.2",
"@glimmer/tracking": "^1.1.2",
"@nullvoxpopuli/eslint-configs": "^4.0.0",
"@typescript-eslint/parser": "^7.9.0",
"@typescript-eslint/parser": "^8.4.0",
"broccoli-asset-rev": "^3.0.0",
"concurrently": "^8.2.2",
"ember-auto-import": "^2.7.2",
Expand All @@ -68,13 +68,13 @@
"ember-try": "^3.0.0",
"eslint": "^8.55.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-ember": "^12.1.0",
"eslint-plugin-n": "^17.7.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-qunit": "^8.0.1",
"eslint-plugin-ember": "^12.2.0",
"eslint-plugin-n": "^17.10.2",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-qunit": "^8.1.2",
"limber-ui": "^1.0.0",
"loader.js": "^4.7.0",
"prettier": "^3.2.5",
"prettier": "^3.3.3",
"prettier-plugin-ember-template-tag": "2.0.2",
"qunit": "^2.20.0",
"qunit-dom": "3.2.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/app-support/styles/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@
"lint:prettier": "pnpm -w exec lint prettier"
},
"devDependencies": {
"@babel/core": "^7.24.5",
"@babel/core": "^7.25.2",
"@nullvoxpopuli/eslint-configs": "^4.0.0",
"autoprefixer": "^10.4.17",
"concurrently": "^8.2.2",
"eslint": "^8.55.0",
"postcss": "^8.4.32",
"prettier": "^3.2.5",
"prettier": "^3.3.3",
"prettier-plugin-ember-template-tag": "2.0.2",
"tailwindcss": "^3.3.6"
},
Expand Down
10 changes: 5 additions & 5 deletions packages/app-support/transpilation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,24 +35,24 @@
"@glimmer/component": "^1.1.2"
},
"devDependencies": {
"@babel/core": "^7.24.5",
"@babel/core": "^7.25.2",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-proposal-decorators": "^7.23.9",
"@babel/plugin-transform-runtime": "^7.23.9",
"@babel/plugin-transform-typescript": "^7.24.5",
"@babel/plugin-transform-typescript": "^7.25.2",
"@babel/types": "^7.24.5",
"@glimmer/component": "^1.1.2",
"@nullvoxpopuli/eslint-configs": "^4.0.0",
"@types/babel__core": "^7.20.5",
"@types/babel__standalone": "^7.1.7",
"@types/htmlbars-inline-precompile": "^3.0.3",
"@typescript-eslint/eslint-plugin": "^7.9.0",
"@typescript-eslint/parser": "^7.9.0",
"@typescript-eslint/eslint-plugin": "^8.4.0",
"@typescript-eslint/parser": "^8.4.0",
"babel-loader": "^9.1.3",
"ember-source": ">= 5.10.2",
"esbuild": "0.22.0",
"eslint": "^8.55.0",
"prettier": "^3.2.5",
"prettier": "^3.3.3",
"prettier-plugin-ember-template-tag": "2.0.2",
"typescript": "^5.4.5",
"webpack": ">= 5.92.0",
Expand Down
Loading

0 comments on commit 2e2a30d

Please sign in to comment.