-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Description
The deps are still old-fashioned and stored in a deps.js and pulling from deno.land/x
Background
In older versions of deno you would just add a deps.ts file and import directly from deno.land.
In more recent versions of deno you should add your dependencies to the deno.json file and have them map to packages either in jsr or npm.
Update Dependencies
Please update all dependencies currently in the deps/ folder into package dependencies in the deno.json file.
- deps/json5.ts ->
npm:json5 - deps/jsonc.ts ->
npm:jsonc - deps/semver.ts ->
jsr:@std/semver - deps/std.ts
- path ->
jsr:@std/path - asserts ->
jsr:@std/assert - testing ->
jsr:@std/testing
- path ->
- deps/xml.ts
- xml2js ->
npm:xml2js - js2xml ->
npm:js2xml
- xml2js ->
- deps/yaml.ts ->
jsr:@std/yaml - deps/yargs.ts ->
npm:yargs
Update Code
Please update all code to reference dependencies by dependency alias rather than from the deps/ folder.
Please delete the deps/ folder and all files under it.
Please update and fix any code that is affected by changes to libraries being imported from the new location.
Copilot
Metadata
Metadata
Assignees
Labels
No labels