github / dependency-submission-toolkit

A TypeScript library for creating dependency snapshots.
MIT License
46 stars 10 forks source link

Update npm deps #64

Closed smorimoto closed 10 months ago

smorimoto commented 10 months ago

Correct unused or unlisted dependencies.

Although it was not intended, this reduces the size of the package 🤷‍♂️

Before

CJS dist/index.cjs     7.53 KB
ESM dist/index.js     6.82 KB

After

CJS dist/index.cjs     4.94 KB
ESM dist/index.js     4.21 KB
smorimoto commented 10 months ago

You can confirm this with Knip:

npx knip

knip.json

{
  "$schema": "https://unpkg.com/knip/schema.json",
  "workspaces": {
    ".": {
      "entry": ["src/index.ts", "src/*.test.ts"],
      "project": "src/*.ts"
    },
    "example": {
      "entry": ["index.ts", "*.test.ts"],
      "project": "*.ts"
    }
  }
}
smorimoto commented 10 months ago

This change is not included in the latest point release, but are you planning to release this?

febuiles commented 10 months ago

@smorimoto it will go out with the next release release.

smorimoto commented 10 months ago

@febuiles Could you publish a new point release for this?

febuiles commented 10 months ago

@smorimoto If I push the PR I'll need to get someone's approval, can you update the version and push a PR? I can then be the approver and do the release.

smorimoto commented 10 months ago

@febuiles Sure!