Skip to content

Commit

Permalink
fix: revert to v0.22.1
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Aug 14, 2024
1 parent cf8d35a commit 69f959f
Show file tree
Hide file tree
Showing 15 changed files with 686 additions and 384 deletions.
12 changes: 7 additions & 5 deletions build.config.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
import { basename } from 'node:path'
import { defineBuildConfig } from 'unbuild'
import { globSync } from 'tinyglobby'
import fg from 'fast-glob'

export default defineBuildConfig({
entries: globSync(['src/commands/*.ts'], { expandDirectories: false }).map(i => ({
input: i.slice(0, -3),
name: basename(i).slice(0, -3),
})),
entries: [
...fg.sync('src/commands/*.ts').map(i => ({
input: i.slice(0, -3),
name: basename(i).slice(0, -3),
})),
],
clean: true,
declaration: true,
rollup: {
Expand Down
20 changes: 9 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@antfu/ni",
"type": "module",
"version": "0.22.3",
"version": "0.22.1",
"packageManager": "pnpm@9.7.0",
"description": "Use the right package manager",
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
Expand Down Expand Up @@ -47,26 +47,24 @@
"lint": "eslint .",
"test": "vitest"
},
"dependencies": {
"package-manager-detector": "^0.1.1"
},
"devDependencies": {
"@antfu/eslint-config": "^2.25.1",
"@antfu/eslint-config": "^2.25.0",
"@jsdevtools/ez-spawn": "^3.0.4",
"@posva/prompts": "^2.4.4",
"@types/fs-extra": "^11.0.4",
"@types/ini": "^4.1.1",
"@types/node": "^22.3.0",
"@types/node": "^22.1.0",
"@types/which": "^3.0.4",
"bumpp": "^9.5.1",
"eslint": "^9.9.0",
"bumpp": "^9.4.2",
"eslint": "^9.8.0",
"fast-glob": "^3.3.2",
"find-up": "^6.3.0",
"fs-extra": "^11.2.0",
"fzf": "^0.5.2",
"ini": "^4.1.3",
"picocolors": "^1.0.1",
"taze": "^0.16.5",
"kleur": "^4.1.5",
"taze": "^0.16.3",
"terminal-link": "^3.0.0",
"tinyglobby": "^0.2.2",
"tsx": "^4.17.0",
"typescript": "^5.5.4",
"unbuild": "^2.0.0",
Expand Down
Loading

0 comments on commit 69f959f

Please sign in to comment.