Skip to content

Commit

Permalink
Merge pull request #13 from AndreaPontrandolfo/AndreaPontrandolfo/issue1
Browse files Browse the repository at this point in the history
Convert the codebase to Typescript and ESM
  • Loading branch information
AndreaPontrandolfo authored Sep 1, 2024
2 parents 3a08b02 + f786e17 commit 9fd560a
Show file tree
Hide file tree
Showing 51 changed files with 964 additions and 1,313 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ on:
push:
branches:
- main
workflow_dispatch:

permissions:
contents: read # for checkout
Expand All @@ -18,14 +19,14 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Pnpm Setup
uses: pnpm/action-setup@v4
with:
version: 8
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "lts/*"
node-version-file: package.json
cache: "pnpm"
- name: Install dependencies
run: pnpm install
Expand Down
38 changes: 30 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,49 +4,71 @@
"author": "Andrea Pontrandolfo <[email protected]>",
"description": "ESLint plugin for Remeda library.",
"type": "module",
"main": "src/index.js",
"main": "dist/index.js",
"scripts": {
"build": "tsup",
"typecheck": "tsc",
"knip": "knip",
"publint": "publint",
"test": "vitest --ui",
"semantic-release": "semantic-release"
"test:watch": "vitest --ui",
"test": "vitest run",
"attw": "attw --pack .",
"qa": "pnpm typecheck && pnpm test && pnpm knip && pnpm publint && attw",
"semantic-release": "pnpm build && semantic-release"
},
"files": [
"README.md",
"src",
"dist",
"docs"
],
"exports": {
"./package.json": "./package.json",
".": {
"import": "./dist/index.js",
"default": "./dist/index.cjs"
}
},
"repository": {
"type": "git",
"url": "https://github.com/AndreaPontrandolfo/eslint-plugin-remeda"
"url": "git+https://github.com/AndreaPontrandolfo/eslint-plugin-remeda.git"
},
"homepage": "https://github.com/AndreaPontrandolfo/eslint-plugin-remeda",
"bugs": "https://github.com/AndreaPontrandolfo/eslint-plugin-remeda/issues",
"peerDependencies": {
"eslint": ">=9"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.15.4",
"@types/lodash": "^4.17.7",
"@types/node": "^20.14.9",
"@vitest/coverage-v8": "^2.0.3",
"@vitest/ui": "^2.0.3",
"eslint": "^9.7.0",
"eslint-plugin-eslint-plugin": "^4.2.0",
"eslint-vitest-rule-tester": "^0.3.3",
"knip": "^5.23.2",
"knip": "^5.29.1",
"prettier": "^3.3.2",
"publint": "^0.2.8",
"publint": "^0.2.10",
"semantic-release": "^24.0.0",
"tsup": "^8.2.4",
"typescript": "^5.5.2",
"vitest": "^2.0.3"
},
"engines": {
"node": ">=20"
},
"packageManager": "[email protected]",
"publishConfig": {
"access": "public"
},
"keywords": [
"eslint",
"eslint-plugin",
"eslint plugin",
"eslintplugin",
"remeda"
"remeda",
"functional",
"fp"
],
"license": "MIT",
"dependencies": {
Expand Down
Loading

0 comments on commit 9fd560a

Please sign in to comment.