Skip to content

Commit

Permalink
Update eslint config
Browse files Browse the repository at this point in the history
  • Loading branch information
HugoRCD committed Sep 19, 2024
1 parent 33330c7 commit 0bcafa9
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 29 deletions.
Binary file modified bun.lockb
Binary file not shown.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,8 @@
"typecheck": "turbo typecheck"
},
"devDependencies": {
"@hrcd/eslint-config": "^2.0.2",
"@hrcd/eslint-config": "^2.0.4",
"automd": "^0.3.8",
"changelogen": "^0.5.5",
"eslint": "^9.10.0",
"turbo": "^2.1.2",
"typescript": "5.6.2"
Expand Down
6 changes: 6 additions & 0 deletions packages/cli/eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,10 @@ export default createConfig({
typescript: {
strict: true,
},
features: {
packageJson: {
enabled: true,
strict: true,
},
}
})
53 changes: 26 additions & 27 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,31 +2,42 @@
"name": "@shelve/cli",
"version": "2.2.0",
"description": "The command-line interface for Shelve",
"homepage": "https://shelve.hrcd.fr",
"bugs": {
"url": "https://github.com/HugoRCD/shelve/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/HugoRCD/shelve.git",
"directory": "packages/cli"
},
"funding": "https://github.com/sponsors/HugoRCD",
"license": "Apache-2.0",
"author": "HugoRCD",
"type": "module",
"exports": {
".": "./dist/index.mjs"
},
"types": "./dist/index.d.ts",
"bin": {
"shelve": "dist/index.mjs",
"shelve-cli": "dist/index.mjs"
},
"files": [
"dist"
],
"scripts": {
"build": "unbuild",
"start": "node ./dist/index.mjs",
"dev": "bun src/index.ts",
"dev:prod": "NODE_ENV=production bun src/index.ts",
"typecheck": "tsc --noEmit",
"lint": "eslint .",
"lint:fix": "eslint --fix .",
"release": "bun run test && release-it",
"release:edge": "release-it --preRelease=edge --npm.tag=edge",
"test": "bun run build && bun run typecheck && bun run lint && vitest run"
},
"bin": {
"shelve": "dist/index.mjs",
"shelve-cli": "dist/index.mjs"
},
"exports": {
".": "./dist/index.mjs"
"start": "node ./dist/index.mjs",
"test": "bun run build && bun run typecheck && bun run lint && vitest run",
"typecheck": "tsc --noEmit"
},
"files": [
"dist"
],
"types": "./dist/index.d.ts",
"dependencies": {
"@clack/prompts": "^0.7.0",
"c12": "^1.11.2",
Expand All @@ -37,23 +48,11 @@
"unbuild": "^2.0.0"
},
"devDependencies": {
"@hrcd/eslint-config": "^2.0.2",
"@shelve/types": "workspace:*",
"@types/bun": "^1.1.9",
"@types/semver": "^7.5.8",
"eslint": "^9.10.0",
"release-it": "^17.6.0",
"vitest": "^2.1.1"
},
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "git+https://github.com/HugoRCD/shelve.git",
"directory": "packages/cli"
},
"funding": "https://github.com/sponsors/HugoRCD",
"bugs": {
"url": "https://github.com/HugoRCD/shelve/issues"
},
"homepage": "https://shelve.hrcd.fr"
}
}

0 comments on commit 0bcafa9

Please sign in to comment.