diff --git a/.npmrc b/.npmrc new file mode 100644 index 000000000000..3b3769eaaf8e --- /dev/null +++ b/.npmrc @@ -0,0 +1,8 @@ +# If set to false, then ignore package-lock.json files when installing. This will also prevent writing package-lock.json if save is true. source: https://docs.npmjs.com/cli/v11/using-npm/config +package-lock=true +# If true, npm does not run scripts specified in package.json files. source: https://docs.npmjs.com/cli/v11/using-npm/config#ignore-scripts +# ignore-scripts=true +# Dependencies saved to package.json will be configured with an exact version rather than using npm's default semver range operator. source: https://docs.npmjs.com/cli/v11/using-npm/config#save-exact +save-exact=true +# If set to true, then npm will stubbornly refuse to install (or even consider installing) any package that claims to not be compatible with the current Node.js version. source: https://docs.npmjs.com/cli/v11/using-npm/config#engine-strict +engine-strict=true diff --git a/package.json b/package.json index c10e396a9ee3..4805b6a46cb4 100644 --- a/package.json +++ b/package.json @@ -15,6 +15,9 @@ "license": "Apache-2.0", "private": true, "packageManager": "pnpm@10.14.0+sha512.ad27a79641b49c3e481a16a805baa71817a04bbe06a38d17e60e2eaee83f6a146c6a688125f5792e48dd5ba30e7da52a5cda4c3992b9ccf333f9ce223af84748", + "engines": { + "node": ">= 24" + }, "keywords": [ "design-system", "ui-library",