about summary refs log tree commit diff
path: root/.gitignore
diff options
context:
space:
mode:
authorbinarycat <binarycat@envs.net>2025-06-27 14:29:39 -0500
committerbinarycat <binarycat@envs.net>2025-07-19 14:44:15 -0500
commitc8e2a65ed16b948819cee23d883d8e598665318b (patch)
tree888ffd5808554c06ad65e5a66d147c1256b7ba25 /.gitignore
parent4bd3b74aa9ec4a21507d73f712186619baf93ba0 (diff)
downloadrust-c8e2a65ed16b948819cee23d883d8e598665318b.tar.gz
rust-c8e2a65ed16b948819cee23d883d8e598665318b.zip
tidy: use a lockfile for js tools instead of npx
this makes us less vulnerable to MITM and supply chain attacks.

it also means that the CI scripts are no longer responsible for
tracking the versions of these tools.

it should also avoid the situation where local tsc and CI
disagree on the presense of errors due to them being different versions.
Diffstat (limited to '.gitignore')
-rw-r--r--.gitignore2
1 files changed, 0 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore
index a549b6e6e56..5988a64916a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -85,8 +85,6 @@ __pycache__/
 
 ## Node
 node_modules
-package-lock.json
-package.json
 /src/doc/rustc-dev-guide/mermaid.min.js
 
 ## Rustdoc GUI tests