diff --git a/.npmrc b/.npmrc index bc74982..ef3245b 100644 --- a/.npmrc +++ b/.npmrc @@ -7,3 +7,6 @@ auto-install-peers=false # we want true isolation, # if a dependency is not declared, we want an error resolve-peers-from-workspace-root=false + +# Fail if there is a missing or invalid peer dependency in the tree. +strict-peer-dependencies=true diff --git a/ember-lazy-mount/package.json b/ember-lazy-mount/package.json index 69fdbb6..13f3f59 100644 --- a/ember-lazy-mount/package.json +++ b/ember-lazy-mount/package.json @@ -31,8 +31,7 @@ }, "dependencies": { "@ember/test-waiters": "^3.1.0", - "@embroider/addon-shim": "^1.8.7", - "@embroider/macros": "^1.16.5", + "@embroider/addon-shim": "^1.8.9", "decorator-transforms": "^2.0.0" }, "devDependencies": { @@ -55,7 +54,7 @@ "rollup": "^4.18.1" }, "peerDependencies": { - "ember-source": ">= 4.0.0" + "ember-source": "^4.12.0 || >= 5" }, "publishConfig": { "registry": "https://registry.npmjs.org" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c47318d..d652c3c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -14,11 +14,8 @@ importers: specifier: ^3.1.0 version: 3.1.0 '@embroider/addon-shim': - specifier: ^1.8.7 + specifier: ^1.8.9 version: 1.8.9 - '@embroider/macros': - specifier: ^1.16.5 - version: 1.16.5 decorator-transforms: specifier: ^2.0.0 version: 2.0.0(@babel/core@7.24.7) @@ -1990,6 +1987,7 @@ packages: semver: 7.6.2 transitivePeerDependencies: - supports-color + dev: true /@embroider/shared-internals@2.6.2: resolution: {integrity: sha512-jL3Bjn8C73AUBlTex+VixP7YmqvPNN/BZFB85odTstzLFOuR8y2mmGiuWbq17qNuFyoxc6xtndMnAeqwCXBNkA==} @@ -3346,6 +3344,7 @@ packages: /assert-never@1.3.0: resolution: {integrity: sha512-9Z3vxQ+berkL/JJo0dK+EY3Lp0s3NtSnP3VCLsh5HDcZPrh0M+KQRK5sWhUeyPPH+/RCxZqOxLMR+YC6vlviEQ==} + dev: true /assign-symbols@1.0.0: resolution: {integrity: sha512-Q+JC7Whu8HhmTdBph/Tq59IoRtoy6KAm5zzPv00WdujX82lbAL8K7WVjne7vdCsAmbF4AYaDOPyO3k0kl8qIrw==} @@ -7219,6 +7218,7 @@ packages: dependencies: locate-path: 6.0.0 path-exists: 4.0.0 + dev: true /find-up@7.0.0: resolution: {integrity: sha512-YyZM99iHrqLKjmt4LJDj58KI+fYyufRLBSYcqycxf//KpBk9FoewoGX0450m9nB44qrZnovzC2oeP5hUibxc/g==} @@ -8853,6 +8853,7 @@ packages: engines: {node: '>=10'} dependencies: p-locate: 5.0.0 + dev: true /locate-path@7.2.0: resolution: {integrity: sha512-gvVijfZvn7R+2qyPX8mAuKcFGDf6Nc61GdvGafQsHL0sBIxfKzA+usWn4GFC/bk+QdwPUD4kWFJLhElipq+0VA==} @@ -9785,6 +9786,7 @@ packages: engines: {node: '>=10'} dependencies: yocto-queue: 0.1.0 + dev: true /p-limit@4.0.0: resolution: {integrity: sha512-5b0R4txpzjPWVw/cXXUResoD4hb6U/x9BH08L7nw+GN1sezDzPdxeRvpc9c433fZhBan/wusjbCsqwqm4EIBIQ==} @@ -9817,6 +9819,7 @@ packages: engines: {node: '>=10'} dependencies: p-limit: 3.1.0 + dev: true /p-locate@6.0.0: resolution: {integrity: sha512-wPrq66Llhl7/4AGC6I+cqxT07LhXvWL08LNXz1fENOw0Ap4sRZZ/gZpTTJ5jpurzzzfS2W/Ge9BY3LgLjCShcw==} @@ -12579,6 +12582,7 @@ packages: /yocto-queue@0.1.0: resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==} engines: {node: '>=10'} + dev: true /yocto-queue@1.1.1: resolution: {integrity: sha512-b4JR1PFR10y1mKjhHY9LaGo6tmrgjit7hxVIeAmyMw3jegXR4dhYqLaQF5zMXZxY7tLpMyJeLjr1C4rLmkVe8g==}