Skip to content

Commit

Permalink
chore: update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Aug 23, 2023
1 parent 63b6a88 commit 4e97fdf
Show file tree
Hide file tree
Showing 3 changed files with 970 additions and 556 deletions.
6 changes: 5 additions & 1 deletion build.config.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
import { basename } from 'node:path'
import { defineBuildConfig } from 'unbuild'
import fg from 'fast-glob'

export default defineBuildConfig({
entries: [
...fg.sync('src/commands/*.ts').map(i => i.slice(0, -3)),
...fg.sync('src/commands/*.ts').map(i => ({
input: i.slice(0, -3),
name: basename(i).slice(0, -3),
})),
],
clean: true,
declaration: true,
Expand Down
26 changes: 13 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@antfu/ni",
"type": "module",
"version": "0.21.5",
"packageManager": "[email protected].8",
"packageManager": "[email protected].12",
"description": "Use the right package manager",
"author": "Anthony Fu <[email protected]>",
"license": "MIT",
Expand All @@ -17,13 +17,13 @@
"exports": {
".": {
"types": "./dist/index.d.ts",
"require": "./dist/index.cjs",
"import": "./dist/index.mjs"
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
}
},
"main": "dist/index.cjs",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"bin": {
"ni": "bin/ni.mjs",
"nci": "bin/nci.mjs",
Expand All @@ -48,17 +48,17 @@
"test": "vitest"
},
"devDependencies": {
"@antfu/eslint-config": "^0.39.8",
"@antfu/eslint-config": "^0.40.2",
"@posva/prompts": "^2.4.4",
"@types/fs-extra": "^11.0.1",
"@types/ini": "^1.3.31",
"@types/node": "^20.4.2",
"@types/node": "^20.5.3",
"@types/which": "^3.0.0",
"bumpp": "^9.1.1",
"eslint": "^8.45.0",
"bumpp": "^9.2.0",
"eslint": "^8.47.0",
"esno": "^0.17.0",
"execa": "^7.1.1",
"fast-glob": "^3.3.0",
"fast-glob": "^3.3.1",
"find-up": "^6.3.0",
"fs-extra": "^11.1.1",
"fzf": "^0.5.2",
Expand All @@ -67,8 +67,8 @@
"rimraf": "^5.0.1",
"terminal-link": "^3.0.0",
"typescript": "^5.1.6",
"unbuild": "^1.2.1",
"vitest": "^0.33.0",
"unbuild": "^2.0.0",
"vitest": "^0.34.2",
"which": "^3.0.1"
},
"eslintConfig": {
Expand Down
Loading

0 comments on commit 4e97fdf

Please sign in to comment.