diff --git a/.npmrc b/.npmrc new file mode 100644 index 0000000..2ec2e8d --- /dev/null +++ b/.npmrc @@ -0,0 +1,9 @@ +# Docs: https://pnpm.io/npmrc +# https://github.com/emberjs/rfcs/pull/907 + +# we don't want addons to be bad citizens of the ecosystem +auto-install-peers=false + +# we want true isolation, +# if a dependency is not declared, we want an error +resolve-peers-from-workspace-root=false diff --git a/ember-fontawesome/package.json b/ember-fontawesome/package.json index eda453e..426bf73 100644 --- a/ember-fontawesome/package.json +++ b/ember-fontawesome/package.json @@ -83,6 +83,7 @@ "@babel/runtime": "^7.26.0", "@embroider/addon-dev": "^7.0.0", "@fortawesome/fontawesome-svg-core": "^6.7.1", + "@glimmer/component": "^2.0.0", "@glint/core": "^1.5.0", "@glint/environment-ember-loose": "^1.5.0", "@glint/environment-ember-template-imports": "^1.5.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 9515cad..d5de34b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1,7 +1,7 @@ lockfileVersion: '9.0' settings: - autoInstallPeers: true + autoInstallPeers: false excludeLinksFromLockfile: false overrides: @@ -29,15 +29,6 @@ importers: '@embroider/addon-shim': specifier: ^1.9.0 version: 1.9.0 - '@glimmer/component': - specifier: '>= 1.1.2' - version: 2.0.0 - '@glimmer/tracking': - specifier: ^1.1.2 - version: 1.1.2 - ember-source: - specifier: ^3.28.0 || ^4.0.0 || >=5.0.0 - version: 5.12.0(@glimmer/component@2.0.0)(@glint/template@1.5.0)(rsvp@4.8.5)(webpack@5.96.1) devDependencies: '@babel/core': specifier: ^7.26.0 @@ -54,6 +45,9 @@ importers: '@fortawesome/fontawesome-svg-core': specifier: ^6.7.1 version: 6.7.1 + '@glimmer/component': + specifier: ^2.0.0 + version: 2.0.0 '@glint/core': specifier: ^1.5.0 version: 1.5.0(typescript@5.7.2) @@ -1916,11 +1910,6 @@ packages: ajv-formats@2.1.1: resolution: {integrity: sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA==} - peerDependencies: - ajv: ^8.0.0 - peerDependenciesMeta: - ajv: - optional: true ajv-keywords@3.5.2: resolution: {integrity: sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==} @@ -8898,8 +8887,8 @@ snapshots: transitivePeerDependencies: - supports-color - ajv-formats@2.1.1(ajv@8.17.1): - optionalDependencies: + ajv-formats@2.1.1: + dependencies: ajv: 8.17.1 ajv-keywords@3.5.2(ajv@6.12.6): @@ -13966,7 +13955,7 @@ snapshots: dependencies: '@types/json-schema': 7.0.15 ajv: 8.17.1 - ajv-formats: 2.1.1(ajv@8.17.1) + ajv-formats: 2.1.1 ajv-keywords: 5.1.0(ajv@8.17.1) semver@5.7.2: {}