denoland / denoland/examples

duplicates in deno.lock

Open
#6 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
114
Forks
37
PR merge metrics
No merged PRs in 30d

Description

Every time I specify the version, change it, a new module gets added in deno.lock. Example when I change in the `vite.config.mjs` file the import `import 'npm:preact` to `npm:preact@^10.11`, then in the deno.lock file I have the following:
`"npm": {
"specifiers": {
"preact": "preact@10.11.2",
"preac": "preact@10.11.3"
}
}`
and same under npm packages:
`
"preact@10.11.2": {
"integrity": "sha512-skAwGDFmgxhq1DCBHke/9e12ewkhc7WYwjuhHB8HHS8zkdtITXLRmUMTeol2ldxvLwYtwbFeifZ9uDDWuyL4Iw==",
"dependencies": {}
},
"preact@10.11.3": {
"integrity": "sha512-eY93IVpod/zG3uMF22Unl8h9KkrcKIRs2EGar8hwLZZDU1lkjph303V9HZBwufh2s736U6VXuhD109LYqPoffg==",
"dependencies": {}
},
`

Is this a bug or am I doing something wrong?
And why is there also react package when I created a preact project?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.