Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .eslintignore

This file was deleted.

32 changes: 0 additions & 32 deletions .eslintrc.js

This file was deleted.

8 changes: 4 additions & 4 deletions .github/workflows/Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,22 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: git
run: |
git config --global user.name "GitHub Actions Bot"
git config --global user.email "<>"

- name: Set up Node LTS
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 'lts/*'

- name: Set up package manager
run: corepack enable pnpm
run: corepack enable

- name: Build & Test
run: |
pnpm install
pnpm install --no-frozen-lockfile
pnpm build
pnpm test
8 changes: 4 additions & 4 deletions .github/workflows/Publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,23 @@ jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: git
run: |
git config --global user.name "GitHub Actions Bot"
git config --global user.email "<>"

- name: Set up Node LTS
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 'lts/*'
registry-url: 'https://registry.npmjs.org'

- name: Set up package manager
run: corepack enable pnpm
run: corepack enable

- run: |
pnpm install
pnpm install --no-frozen-lockfile
pnpm build
pnpm test
pnpm publish --access public --no-git-checks
Expand Down
5 changes: 1 addition & 4 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx lint-staged
npx lint-staged
3 changes: 0 additions & 3 deletions .husky/pre-commit-msg
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

exec </dev/tty && node_modules/.bin/cz --hook || true
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# git-ops - Changelog

## 1.4.2 - 2026-06-14

- Refresh TypeScript, lint, package manager, and GitHub Actions tooling.

## 1.4.1 - 2024-11-22

- Fix missing deploy error reporting
Expand Down
28 changes: 28 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
import js from '@eslint/js';
import prettier from 'eslint-config-prettier';
import tseslint from 'typescript-eslint';

export default tseslint.config(
{
ignores: ['lib/**', 'coverage/**', 'test/repos/**', 'jest.config.js'],
},
js.configs.recommended,
...tseslint.configs.recommendedTypeChecked,
prettier,
{
files: ['src/**/*.ts', 'test/**/*.ts'],
languageOptions: {
parserOptions: {
project: ['./tsconfig.eslint.json'],
tsconfigRootDir: import.meta.dirname,
},
},
rules: {
'@typescript-eslint/ban-ts-comment': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-unsafe-assignment': 'off',
'@typescript-eslint/no-use-before-define': 'off',
quotes: ['warn', 'single', { avoidEscape: true }],
},
}
);
37 changes: 19 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@apexdevtools/git-ops",
"version": "1.4.1",
"version": "1.4.2",
"description": "Library to do git operations to find changed files in a given git repository",
"author": {
"name": "Apex Dev Tools Team",
Expand All @@ -17,8 +17,8 @@
"build": "tsc",
"clean": "rm -rf ./lib/",
"commit": "cz",
"lint": "eslint ./src/ --fix",
"prepare": "husky install",
"lint": "eslint --cache --cache-location .eslintcache ./src --fix",
"prepare": "husky",
"test": "jest --coverage --runInBand",
"test:watch": "jest --watch"
},
Expand All @@ -34,30 +34,31 @@
"url": "https://github.com/apex-dev-tools/git-ops/issues"
},
"homepage": "https://github.com/apex-dev-tools/git-ops#readme",
"packageManager": "pnpm@8.9.2",
"packageManager": "pnpm@10.23.0",
"engines": {
"node": "^20.19.0 || ^22.13.0 || >=24"
},
"dependencies": {
"@salesforce/core": "^4.3.11",
"@salesforce/source-deploy-retrieve": "^9.2.8",
"@salesforce/source-tracking": "^4.2.2",
"simple-git": "^3.16.0"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@ryansonshine/commitizen": "^4.2.8",
"@ryansonshine/cz-conventional-changelog": "^3.3.4",
"@types/jest": "^29.5.0",
"@types/node": "^18.15.11",
"@typescript-eslint/eslint-plugin": "^5.59.8",
"@typescript-eslint/parser": "^5.59.8",
"eslint": "^8.41.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^8.0.3",
"jest": "^29.5.0",
"lint-staged": "^13.2.2",
"prettier": "^2.8.8",
"ts-jest": "^29.1.0",
"typescript": "^4.9.5"
"@types/jest": "^30.0.0",
"@types/node": "^22.19.17",
"eslint": "^10.2.1",
"eslint-config-prettier": "^10.1.8",
"husky": "^9.1.7",
"jest": "^30.3.0",
"lint-staged": "^17.0.2",
"prettier": "^3.8.3",
"ts-jest": "^29.4.5",
"typescript": "^6.0.3",
"typescript-eslint": "^8.59.0"
},
"config": {
"commitizen": {
Expand Down
Loading
Loading