From 149fd18ff6d91f444c57a202f4606e799ba93de1 Mon Sep 17 00:00:00 2001 From: NullVoxPopuli <199018+NullVoxPopuli@users.noreply.github.com> Date: Tue, 1 Oct 2024 17:54:15 -0400 Subject: [PATCH] Re-add @glimmer/debug, but as a devDep --- packages/@glimmer-workspace/eslint-plugin/index.js | 1 - packages/@glimmer/manager/package.json | 1 + packages/@glimmer/opcode-compiler/package.json | 1 + packages/@glimmer/runtime/package.json | 1 + packages/@glimmer/tsconfig.json | 3 --- pnpm-lock.yaml | 13 +++++++++++-- 6 files changed, 14 insertions(+), 6 deletions(-) diff --git a/packages/@glimmer-workspace/eslint-plugin/index.js b/packages/@glimmer-workspace/eslint-plugin/index.js index b5c280d3e..261d098c5 100644 --- a/packages/@glimmer-workspace/eslint-plugin/index.js +++ b/packages/@glimmer-workspace/eslint-plugin/index.js @@ -1,5 +1,4 @@ // @ts-check -const path = require('path'); /** @type {import("eslint").ESLint.Plugin} */ module.exports = { diff --git a/packages/@glimmer/manager/package.json b/packages/@glimmer/manager/package.json index 6c2bd3ff3..d5b1bee0b 100644 --- a/packages/@glimmer/manager/package.json +++ b/packages/@glimmer/manager/package.json @@ -44,6 +44,7 @@ }, "devDependencies": { "@glimmer-workspace/build-support": "workspace:*", + "@glimmer/debug": "workspace:*", "@glimmer/local-debug-flags": "workspace:*", "eslint": "^8.52.0", "publint": "^0.2.5", diff --git a/packages/@glimmer/opcode-compiler/package.json b/packages/@glimmer/opcode-compiler/package.json index 355b004a1..039212e2b 100644 --- a/packages/@glimmer/opcode-compiler/package.json +++ b/packages/@glimmer/opcode-compiler/package.json @@ -45,6 +45,7 @@ }, "devDependencies": { "@glimmer-workspace/build-support": "workspace:*", + "@glimmer/debug": "workspace:*", "@glimmer/local-debug-flags": "workspace:*", "eslint": "^8.52.0", "publint": "^0.2.5", diff --git a/packages/@glimmer/runtime/package.json b/packages/@glimmer/runtime/package.json index 5a0cb8531..29e1356e0 100644 --- a/packages/@glimmer/runtime/package.json +++ b/packages/@glimmer/runtime/package.json @@ -47,6 +47,7 @@ }, "devDependencies": { "@glimmer-workspace/build-support": "workspace:*", + "@glimmer/debug": "workspace:*", "@glimmer/local-debug-flags": "workspace:*", "@glimmer/opcode-compiler": "workspace:*", "@types/qunit": "^2.19.9", diff --git a/packages/@glimmer/tsconfig.json b/packages/@glimmer/tsconfig.json index ad7e80199..e0860c456 100644 --- a/packages/@glimmer/tsconfig.json +++ b/packages/@glimmer/tsconfig.json @@ -29,9 +29,6 @@ "noUncheckedIndexedAccess": true, "types": ["qunit", "node", "vite/client"], - "paths": { - "@glimmer/debug": ["./debug/index.ts"] - } }, "include": ["./**/*", "./**/*.d.ts"], "exclude": ["*/dist", "*/node_modules", "**/fixtures", "*/test"] diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 65f533764..8ec1a0a34 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -801,6 +801,9 @@ importers: '@glimmer-workspace/build-support': specifier: workspace:* version: link:../../@glimmer-workspace/build + '@glimmer/debug': + specifier: workspace:* + version: link:../debug '@glimmer/local-debug-flags': specifier: workspace:* version: link:../local-debug-flags @@ -905,6 +908,9 @@ importers: '@glimmer-workspace/build-support': specifier: workspace:* version: link:../../@glimmer-workspace/build + '@glimmer/debug': + specifier: workspace:* + version: link:../debug '@glimmer/local-debug-flags': specifier: workspace:* version: link:../local-debug-flags @@ -1098,6 +1104,9 @@ importers: '@glimmer-workspace/build-support': specifier: workspace:* version: link:../../@glimmer-workspace/build + '@glimmer/debug': + specifier: workspace:* + version: link:../debug '@glimmer/local-debug-flags': specifier: workspace:* version: link:../local-debug-flags @@ -3182,7 +3191,7 @@ packages: engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dependencies: ajv: 6.12.6 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.7(supports-color@8.1.1) espree: 9.6.1 globals: 13.23.0 ignore: 5.3.0 @@ -3213,7 +3222,7 @@ packages: engines: {node: '>=10.10.0'} dependencies: '@humanwhocodes/object-schema': 2.0.1 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.7(supports-color@8.1.1) minimatch: 3.1.2 transitivePeerDependencies: - supports-color