Skip to content

Commit 57f816a

Browse files
committed
chore: bundle @npmcli/move-file and stringify-package
Note: `@npmcli/move-file` is a dependency of `pacote` which is already at the latest version. Once they get rid of it, we can safely remove it from our deps as well.
1 parent e7bc5e4 commit 57f816a

File tree

2 files changed

+35
-7
lines changed

2 files changed

+35
-7
lines changed

package-lock.json

Lines changed: 26 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@
5757
"dependencies": {
5858
"@nativescript/doctor": "2.0.9",
5959
"@nativescript/schematics-executor": "0.0.2",
60+
"@npmcli/move-file": "^2.0.0",
6061
"@rigor789/resolve-package-path": "1.0.5",
6162
"archiver": "^5.3.1",
6263
"axios": "1.3.4",
@@ -173,5 +174,12 @@
173174
},
174175
"lint-staged": {
175176
"*.ts": "prettier --write"
176-
}
177+
},
178+
"bundleDependencies_comment1": "These dependencies are bundled in the CLI and are not installed from npm to avoid deprecation warnings.",
179+
"bundleDependencies_comment2": "Eventually we'll remove them as we replaced their functionality.",
180+
"bundleDependencies_comment3": "note: @npmcli/move-file is a transient dep of pacote - we dont use it directly.",
181+
"bundleDependencies": [
182+
"@npmcli/move-file",
183+
"stringify-package"
184+
]
177185
}

0 commit comments

Comments
 (0)