diff --git a/.github/linters/.cspell.json b/.github/linters/.cspell.json index 79a1f022..91d9784b 100644 --- a/.github/linters/.cspell.json +++ b/.github/linters/.cspell.json @@ -6,7 +6,8 @@ "**/megalinter.yml", "**/yarn.lock", "**/.yarnrc.yml", - "**/src/metadata/**" + "**/src/metadata/**", + "**/src/service/typeHandlerFactory.ts" ], "language": "en", "noConfigSearch": true, diff --git a/.github/workflows/manual-deprecate-versions.yml b/.github/workflows/manual-deprecate-versions.yml index 4c27368d..cb59fce9 100644 --- a/.github/workflows/manual-deprecate-versions.yml +++ b/.github/workflows/manual-deprecate-versions.yml @@ -18,10 +18,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout sources - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 18 registry-url: 'https://registry.npmjs.org' diff --git a/.github/workflows/manual-manage-versions.yml b/.github/workflows/manual-manage-versions.yml index a80a5c0d..0660fb08 100644 --- a/.github/workflows/manual-manage-versions.yml +++ b/.github/workflows/manual-manage-versions.yml @@ -23,10 +23,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout sources - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 18 registry-url: 'https://registry.npmjs.org' diff --git a/.github/workflows/on-main-push.yml b/.github/workflows/on-main-push.yml index 0791255d..f76c6f74 100644 --- a/.github/workflows/on-main-push.yml +++ b/.github/workflows/on-main-push.yml @@ -21,11 +21,9 @@ jobs: release_created: ${{ steps.release.outputs.release_created }} version: ${{ steps.release.outputs.version }} steps: - - uses: google-github-actions/release-please-action@v3 + - uses: google-github-actions/release-please-action@v4 id: release with: - release-type: node - package-name: sfdx-git-delta token: ${{ secrets.RELEASE_PAT }} release: @@ -34,10 +32,10 @@ jobs: if: needs.prepare-release.outputs.release_created == 'true' steps: - name: Checkout sources - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 18 registry-url: 'https://registry.npmjs.org' @@ -61,13 +59,13 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Checkout sources - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: 'e2e/head' fetch-depth: 0 - name: Setup node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node }} @@ -91,10 +89,10 @@ jobs: if: needs.prepare-release.outputs.release_created != 'true' steps: - name: Checkout sources - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 18 @@ -124,7 +122,7 @@ jobs: sfdx plugins - name: Checkout e2e test subject - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: 'e2e/head' fetch-depth: 0 diff --git a/.github/workflows/on-pull-request.yml b/.github/workflows/on-pull-request.yml index 78e36fd0..f3db4008 100644 --- a/.github/workflows/on-pull-request.yml +++ b/.github/workflows/on-pull-request.yml @@ -20,12 +20,12 @@ jobs: if: ${{ github.event.pull_request.head.repo.full_name == github.repository }} steps: - name: Checkout sources - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Setup node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 18 @@ -50,10 +50,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout sources - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 18 @@ -74,16 +74,16 @@ jobs: steps: # Git Checkout - name: Checkout Code - uses: actions/checkout@v3 + uses: actions/checkout@v4 # MegaLinter - name: MegaLinter # You can override MegaLinter flavor used to have faster performances - # More info at https://megalinter.io/flavors/ - uses: oxsecurity/megalinter/flavors/javascript@v6 + # More info at https://megalinter.io/latest/flavors/ + uses: oxsecurity/megalinter/flavors/javascript@v7 env: # All available variables are described in documentation - # https://megalinter.io/configuration/ + # https://megalinter.io/latest/config-file/ APPLY_FIXES: all VALIDATE_ALL_CODEBASE: true # ADD CUSTOM ENV VARIABLES HERE TO OVERRIDE VALUES OF .mega-linter.yml AT THE ROOT OF YOUR REPOSITORY @@ -100,10 +100,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout sources - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 18 @@ -137,10 +137,10 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Checkout sources - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node }} @@ -170,7 +170,7 @@ jobs: sfdx plugins - name: Checkout e2e test subject - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: 'e2e/head' fetch-depth: 0 diff --git a/.github/workflows/reusable-build.yml b/.github/workflows/reusable-build.yml index 6bcc38d2..48d5c9eb 100644 --- a/.github/workflows/reusable-build.yml +++ b/.github/workflows/reusable-build.yml @@ -8,10 +8,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout sources - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 18 @@ -32,7 +32,7 @@ jobs: continue-on-error: true - name: Checkout e2e sources - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: 'e2e/head' fetch-depth: 0 diff --git a/.mega-linter.yml b/.mega-linter.yml index 537b99aa..1ec99fa1 100644 --- a/.mega-linter.yml +++ b/.mega-linter.yml @@ -1,6 +1,6 @@ --- # Configuration file for MegaLinter -# See all available variables at https://megalinter.io/configuration/ and in linters documentation +# See all available variables at https://megalinter.io/latest/config-file/ and in linters documentation APPLY_FIXES: all # all, none, or list of linter keys # ENABLE: # If you use ENABLE variable, all other languages/formats/tooling-formats will be disabled by default @@ -10,7 +10,8 @@ APPLY_FIXES: all # all, none, or list of linter keys # - SPELL # Uncomment to disable checks of spelling mistakes DISABLE_LINTERS: - SPELL_MISSPELL + - TYPESCRIPT_STANDARD + - TYPESCRIPT_PRETTIER SHOW_ELAPSED_TIME: true FILEIO_REPORTER: false -JAVASCRIPT_DEFAULT_STYLE: prettier # DISABLE_ERRORS: true # Uncomment if you want MegaLinter to detect errors but not block CI to pass diff --git a/.release-please-manifest.json b/.release-please-manifest.json new file mode 100644 index 00000000..9e26dfee --- /dev/null +++ b/.release-please-manifest.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/README.md b/README.md index 4e5fd350..99392c02 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@
- + SGD logo

SFDX-Git-Delta

diff --git a/lychee.toml b/lychee.toml new file mode 100644 index 00000000..c53e126c --- /dev/null +++ b/lychee.toml @@ -0,0 +1,2 @@ +exclude_mail = true +exclude_path = ["CHANGELOG.md"] \ No newline at end of file diff --git a/release-please-config.json b/release-please-config.json new file mode 100644 index 00000000..7a4374ec --- /dev/null +++ b/release-please-config.json @@ -0,0 +1,5 @@ +{ + "packages": { + ".": {} + } +} \ No newline at end of file