@mouse_484/eslint-config 5.8.4 → 5.8.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/bin/cli.js +5 -1
  2. package/package.json +2 -2
package/bin/cli.js CHANGED
@@ -64,10 +64,14 @@ async function main() {
64
64
  logger(`Detected package manager: ${packageManager.name}`)
65
65
 
66
66
  logger(`Setting up base package ${PACKAGE_NAME.BASE}`)
67
+
67
68
  await runAgentCommand(
68
69
  packageManager.agent,
69
70
  'execute',
70
- ['-y', `${PACKAGE_NAME.BASE}@latest`],
71
+ [
72
+ ...(packageManager.agent === 'npm' ? ['-y'] : []),
73
+ `${PACKAGE_NAME.BASE}@latest`,
74
+ ],
71
75
  )
72
76
  logger('Modifying base config to custom config')
73
77
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mouse_484/eslint-config",
3
3
  "type": "module",
4
- "version": "5.8.4",
4
+ "version": "5.8.6",
5
5
  "author": "mouse_484",
6
6
  "license": "MIT",
7
7
  "homepage": "https://github.com/mouse484/config/tree/main/packages/eslint",
@@ -24,7 +24,7 @@
24
24
  "typegen": "node scripts/typegen.js"
25
25
  },
26
26
  "dependencies": {
27
- "@antfu/eslint-config": "^6.2.0",
27
+ "@antfu/eslint-config": "^6.3.0",
28
28
  "eslint-plugin-better-tailwindcss": "^3.7.11",
29
29
  "package-manager-detector": "^1.6.0"
30
30
  },