Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: antfu-collective/ni
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v24.0.0
Choose a base ref
...
head repository: antfu-collective/ni
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v24.1.0
Choose a head ref
  • 2 commits
  • 3 files changed
  • 1 contributor

Commits on Mar 10, 2025

  1. build: inline less dependencies

    antfu committed Mar 10, 2025
    Copy the full SHA
    1be1211 View commit details
  2. chore: release v24.1.0

    antfu committed Mar 10, 2025
    Copy the full SHA
    418c4f1 View commit details
Showing with 34 additions and 18 deletions.
  1. +14 −1 build.config.ts
  2. +7 −5 package.json
  3. +13 −12 pnpm-lock.yaml
15 changes: 14 additions & 1 deletion build.config.ts
Original file line number Diff line number Diff line change
@@ -13,6 +13,19 @@ export default defineBuildConfig({
clean: true,
declaration: 'node16',
rollup: {
inlineDependencies: true,
inlineDependencies: [
'which',
'ini',
'@posva/prompts',

'terminal-link',
'ansi-escapes',
'supports-hyperlinks',
'isexe',
'supports-color',
'has-flag',
'kleur',
'sisteransi',
],
},
})
12 changes: 7 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@antfu/ni",
"type": "module",
"version": "24.0.0",
"version": "24.1.0",
"packageManager": "pnpm@10.6.2",
"description": "Use the right package manager",
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
@@ -45,23 +45,25 @@
"lint": "eslint .",
"test": "vitest"
},
"dependencies": {
"ansis": "^3.17.0",
"fzf": "^0.5.2",
"package-manager-detector": "^1.0.0",
"tinyexec": "^0.3.2"
},
"devDependencies": {
"@antfu/eslint-config": "^4.8.1",
"@posva/prompts": "^2.4.4",
"@types/ini": "^4.1.1",
"@types/node": "^22.13.10",
"@types/which": "^3.0.4",
"ansis": "^3.17.0",
"bumpp": "^10.0.3",
"eslint": "^9.22.0",
"fzf": "^0.5.2",
"ini": "^5.0.0",
"lint-staged": "^15.4.3",
"package-manager-detector": "^1.0.0",
"simple-git-hooks": "^2.11.1",
"taze": "^18.7.1",
"terminal-link": "^3.0.0",
"tinyexec": "^0.3.2",
"tinyglobby": "^0.2.12",
"tsx": "^4.19.3",
"typescript": "^5.8.2",
25 changes: 13 additions & 12 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.