Skip to content

Commit

Permalink
Bump
Browse files Browse the repository at this point in the history
  • Loading branch information
lucemans committed Feb 22, 2024
1 parent 13ab8e6 commit c2f300d
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 31 deletions.
2 changes: 1 addition & 1 deletion create/index.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/usr/bin/env node
require('./lib/index.js');
require('./lib/index.js');
3 changes: 2 additions & 1 deletion create/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable sonarjs/cognitive-complexity */
import { detect, getCommand, getDefaultAgent } from '@antfu/ni';
import { createLogger } from '@lvksh/logger';
import chalk from 'chalk';
Expand Down Expand Up @@ -256,7 +257,7 @@ const setupPackageJSON = async (path: string) => {
log.empty('Installing ' + chalk.gray(packageToInstall));
await new Promise<boolean>((accept) => {
const cmd =
getCommand(global as typeof Agents[number], 'add') +
getCommand(global as (typeof Agents)[number], 'add') +
' -D ' +
packageToInstall;

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
"author": "Lucemans <[email protected]>",
"license": "MIT",
"devDependencies": {
"@types/node": "^17.0.45",
"@types/node": "^20.11.20",
"eslint": "^8.56.0",
"eslint-plugin-v3xlabs": "^1.6.2",
"typescript": "^4.9.5"
"typescript": "^5.3.3"
},
"dependencies": {
"@typescript-eslint/parser": "^5.62.0",
Expand Down
60 changes: 33 additions & 27 deletions pnpm-lock.yaml

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

0 comments on commit c2f300d

Please sign in to comment.