Skip to content
This repository was archived by the owner on Dec 22, 2023. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
83 commits
Select commit Hold shift + click to select a range
95daa43
Copy .gitignore from eslint-config-oclif (#46)
PythonCoderAS Sep 26, 2022
19968a2
chore([no ci]): Synced file(s) with salesforcecli/leif (#49)
Sep 26, 2022
1d564b3
chore([no ci]): Synced local '.github/dependabot.yml' with remote 'te…
Sep 30, 2022
091d567
chore: delete circle
mshanemc Oct 3, 2022
6dd3654
chore: use squash
mshanemc Oct 3, 2022
8cbd446
chore([no ci]): Created local '.github/workflows/notify-slack-on-pr-o…
Oct 3, 2022
8cc478d
chore(dev-deps): bump typescript from 4.4.3 to 4.8.4 (#53)
dependabot[bot] Oct 4, 2022
accc613
chore([no ci]): Synced local '.github/workflows/manualRelease.yml' wi…
svc-cli-bot Oct 19, 2022
66e04ea
chore(dev-deps): bump typescript from 4.8.4 to 4.9.3 (#56)
dependabot[bot] Nov 20, 2022
01e0a3d
chore(dev-deps): bump typescript from 4.9.3 to 4.9.4 (#58)
dependabot[bot] Dec 11, 2022
d5da8bd
chore(dev-deps): bump typescript from 4.9.4 to 4.9.5 (#59)
dependabot[bot] Feb 5, 2023
4917231
feat!: update deps to new majors
mdonnalley Sep 18, 2023
a6104e6
chore(release): 2.0.0 [skip ci]
svc-cli-bot Sep 18, 2023
d1d350d
fix: esm imports
mdonnalley Sep 18, 2023
7dad82d
chore(release): 2.0.1 [skip ci]
svc-cli-bot Sep 18, 2023
04543dc
feat!: use perfectionist (#70)
mdonnalley Oct 9, 2023
f3a5ae2
fix: force 3.0.0 release
mdonnalley Oct 9, 2023
bac6461
chore: no readme generation
mdonnalley Oct 9, 2023
12b5e7b
chore(release): 3.0.1 [skip ci]
svc-cli-bot Oct 9, 2023
5110014
fix(deps): bump @typescript-eslint/eslint-plugin from 6.7.2 to 6.7.5 …
dependabot[bot] Oct 10, 2023
91f1c72
chore(release): 3.0.2 [skip ci]
svc-cli-bot Oct 10, 2023
ba271cd
fix(deps): bump @typescript-eslint/parser from 6.7.2 to 6.7.5 (#72)
dependabot[bot] Oct 10, 2023
40afba7
chore(release): 3.0.3 [skip ci]
svc-cli-bot Oct 10, 2023
0cb90f8
chore(dev-deps): bump eslint from 8.49.0 to 8.51.0 (#67)
dependabot[bot] Oct 10, 2023
ed4e2e1
fix(deps): bump eslint-plugin-mocha from 10.1.0 to 10.2.0 (#66)
dependabot[bot] Oct 10, 2023
1c9cd23
chore(release): 3.0.4 [skip ci]
svc-cli-bot Oct 10, 2023
cd5c57b
fix(deps): bump eslint-import-resolver-typescript from 3.6.0 to 3.6.1…
dependabot[bot] Oct 11, 2023
ad8f2cf
chore(release): 3.0.5 [skip ci]
svc-cli-bot Oct 11, 2023
4933643
fix(deps): bump eslint-plugin-perfectionist from 2.1.0 to 2.2.0 (#73)
dependabot[bot] Oct 15, 2023
fefd738
chore(release): 3.0.6 [skip ci]
svc-cli-bot Oct 15, 2023
d133a66
chore: update README.md
mdonnalley Oct 18, 2023
a98eb39
chore(dev-deps): bump eslint from 8.51.0 to 8.52.0 (#76)
dependabot[bot] Oct 22, 2023
094edbe
fix(deps): bump @typescript-eslint/eslint-plugin from 6.7.5 to 6.8.0 …
dependabot[bot] Oct 22, 2023
f5073f1
chore(release): 3.0.7 [skip ci]
svc-cli-bot Oct 22, 2023
96819d9
fix(deps): bump @typescript-eslint/parser from 6.7.5 to 6.8.0 (#74)
dependabot[bot] Oct 22, 2023
0469197
chore(release): 3.0.8 [skip ci]
svc-cli-bot Oct 22, 2023
678daa8
fix(deps): bump @typescript-eslint/parser from 6.8.0 to 6.9.0 (#79)
dependabot[bot] Oct 29, 2023
8c20ad6
chore(release): 3.0.9 [skip ci]
svc-cli-bot Oct 29, 2023
6e717b1
fix(deps): bump eslint-plugin-import from 2.28.1 to 2.29.0 (#78)
dependabot[bot] Oct 29, 2023
d23dea8
chore(release): 3.0.10 [skip ci]
svc-cli-bot Oct 29, 2023
de104da
fix(deps): bump @typescript-eslint/eslint-plugin from 6.8.0 to 6.9.0 …
dependabot[bot] Oct 29, 2023
d3d6b02
chore(release): 3.0.11 [skip ci]
svc-cli-bot Oct 29, 2023
b08722a
chore(dev-deps): bump eslint from 8.52.0 to 8.53.0 (#82)
dependabot[bot] Nov 5, 2023
744e61a
fix(deps): bump @typescript-eslint/eslint-plugin from 6.9.0 to 6.9.1 …
dependabot[bot] Nov 5, 2023
04e0715
chore(release): 3.0.12 [skip ci]
svc-cli-bot Nov 5, 2023
e689bdb
fix(deps): bump @typescript-eslint/parser from 6.9.0 to 6.9.1 (#80)
dependabot[bot] Nov 5, 2023
c8c7fc1
chore(release): 3.0.13 [skip ci]
svc-cli-bot Nov 5, 2023
5df1f56
fix(deps): bump @typescript-eslint/parser from 6.9.1 to 6.10.0 (#84)
dependabot[bot] Nov 12, 2023
2661813
chore(release): 3.0.14 [skip ci]
svc-cli-bot Nov 12, 2023
022de58
fix(deps): bump @typescript-eslint/eslint-plugin from 6.9.1 to 6.10.0…
dependabot[bot] Nov 12, 2023
e5e0e62
chore(release): 3.0.15 [skip ci]
svc-cli-bot Nov 12, 2023
dbbf531
chore: update github actions [no ci] (#85)
svc-cli-bot Nov 15, 2023
ce10129
fix(deps): bump @typescript-eslint/eslint-plugin from 6.10.0 to 6.11.…
dependabot[bot] Nov 19, 2023
e476b8b
chore(release): 3.0.16 [skip ci]
svc-cli-bot Nov 19, 2023
80142d4
chore(dev-deps): bump eslint from 8.53.0 to 8.54.0 (#88)
dependabot[bot] Nov 19, 2023
95160ee
fix(deps): bump @typescript-eslint/parser from 6.10.0 to 6.11.0 (#87)
dependabot[bot] Nov 19, 2023
fc53542
chore(release): 3.0.17 [skip ci]
svc-cli-bot Nov 19, 2023
b0e2512
fix(deps): bump eslint-plugin-perfectionist from 2.2.0 to 2.4.0 (#86)
dependabot[bot] Nov 19, 2023
597551a
chore(release): 3.0.18 [skip ci]
svc-cli-bot Nov 19, 2023
d409b81
fix(deps): bump @typescript-eslint/parser from 6.11.0 to 6.12.0 (#92)
dependabot[bot] Nov 26, 2023
774d0be
chore(release): 3.0.19 [skip ci]
svc-cli-bot Nov 26, 2023
502aec3
fix(deps): bump @typescript-eslint/eslint-plugin from 6.11.0 to 6.12.…
dependabot[bot] Nov 26, 2023
9075ad6
chore(release): 3.0.20 [skip ci]
svc-cli-bot Nov 26, 2023
8bd493d
fix(deps): bump eslint-plugin-perfectionist from 2.4.0 to 2.4.2 (#90)
dependabot[bot] Nov 26, 2023
d775c3f
chore(release): 3.0.21 [skip ci]
svc-cli-bot Nov 26, 2023
e636b11
chore(dev-deps): bump eslint from 8.54.0 to 8.55.0 (#96)
dependabot[bot] Dec 3, 2023
d7fba39
fix(deps): bump eslint-plugin-perfectionist from 2.4.2 to 2.5.0 (#95)
dependabot[bot] Dec 3, 2023
46a2956
chore(release): 3.0.22 [skip ci]
svc-cli-bot Dec 3, 2023
e56d58d
fix(deps): bump @typescript-eslint/eslint-plugin from 6.12.0 to 6.13.…
dependabot[bot] Dec 3, 2023
3b385f3
chore(release): 3.0.23 [skip ci]
svc-cli-bot Dec 3, 2023
87bc390
fix(deps): bump @typescript-eslint/parser from 6.12.0 to 6.13.1 (#93)
dependabot[bot] Dec 3, 2023
531ab84
chore(release): 3.0.24 [skip ci]
svc-cli-bot Dec 3, 2023
c61f66d
fix(deps): bump @typescript-eslint/parser from 6.13.1 to 6.13.2 (#98)
dependabot[bot] Dec 10, 2023
cf50d22
chore(release): 3.0.25 [skip ci]
svc-cli-bot Dec 10, 2023
71c5c2d
fix(deps): bump @typescript-eslint/eslint-plugin from 6.13.1 to 6.13.…
dependabot[bot] Dec 10, 2023
20d0274
chore(release): 3.0.26 [skip ci]
svc-cli-bot Dec 10, 2023
265a905
fix(deps): bump eslint-plugin-import from 2.29.0 to 2.29.1 (#102)
dependabot[bot] Dec 17, 2023
6809f14
chore(release): 3.0.27 [skip ci]
svc-cli-bot Dec 17, 2023
36a4804
fix(deps): bump @typescript-eslint/eslint-plugin from 6.13.2 to 6.14.…
dependabot[bot] Dec 17, 2023
b5585af
chore(release): 3.0.28 [skip ci]
svc-cli-bot Dec 17, 2023
faceab2
chore(dev-deps): bump eslint from 8.55.0 to 8.56.0 (#100)
dependabot[bot] Dec 17, 2023
98c487d
fix(deps): bump @typescript-eslint/parser from 6.13.2 to 6.14.0 (#99)
dependabot[bot] Dec 17, 2023
cf88c0f
chore(release): 3.0.29 [skip ci]
svc-cli-bot Dec 17, 2023
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
39 changes: 0 additions & 39 deletions .circleci/config.yml

This file was deleted.

7 changes: 7 additions & 0 deletions .git2gus/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"productTag": "a1aB0000000ce2IIAQ",
"defaultBuild": "offcore.tooling.59",
"issueTypeLabels": { "enhancement": "USER STORY", "bug": "BUG P3" },
"hideWorkItemUrl": true,
"statusWhenClosed": "CLOSED"
}
26 changes: 16 additions & 10 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,22 @@
version: 2
updates:
- package-ecosystem: "npm"
versioning-strategy: increase
directory: "/"
- package-ecosystem: 'npm'
directory: '/'
schedule:
interval: "monthly"
interval: 'weekly'
day: 'saturday'
versioning-strategy: 'increase'
labels:
- "dependencies"
open-pull-requests-limit: 100
- 'dependencies'
open-pull-requests-limit: 5
pull-request-branch-name:
separator: "-"
separator: '-'
commit-message:
# cause a release for non-dev-deps
prefix: fix(deps)
# no release for dev-deps
prefix-development: chore(dev-deps)
ignore:
- dependency-name: "fs-extra"
- dependency-name: "*"
update-types: ["version-update:semver-major"]
- dependency-name: '@salesforce/dev-scripts'
- dependency-name: '*'
update-types: ['version-update:semver-major']
13 changes: 13 additions & 0 deletions .github/workflows/automerge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: automerge
on:
workflow_dispatch:
schedule:
- cron: "42 2,5,8,11 * * *"

jobs:
automerge:
uses: salesforcecli/github-workflows/.github/workflows/automerge.yml@main
secrets:
SVC_CLI_BOT_GITHUB_TOKEN: ${{ secrets.SVC_CLI_BOT_GITHUB_TOKEN }}
with:
mergeMethod: squash
29 changes: 29 additions & 0 deletions .github/workflows/create-github-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: create-github-release

on:
push:
branches:
- main
# point at specific branches, or a naming convention via wildcard
- prerelease/**
tags-ignore:
- '*'
workflow_dispatch:
inputs:
prerelease:
type: string
description: 'Name to use for the prerelease: beta, dev, etc. NOTE: If this is already set in the package.json, it does not need to be passed in here.'

jobs:
release:
# this job will throw if prerelease is true but it doesn't have a prerelease-looking package.json version
uses: salesforcecli/github-workflows/.github/workflows/create-github-release.yml@main
secrets:
SVC_CLI_BOT_GITHUB_TOKEN: ${{ secrets.SVC_CLI_BOT_GITHUB_TOKEN }}
with:
prerelease: ${{ inputs.prerelease }}
# If this is a push event, we want to skip the release if there are no semantic commits
# However, if this is a manual release (workflow_dispatch), then we want to disable skip-on-empty
# This helps recover from forgetting to add semantic commits ('fix:', 'feat:', etc.)
skip-on-empty: ${{ github.event_name == 'push' }}
generate-readme: false
41 changes: 41 additions & 0 deletions .github/workflows/failureNotifications.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: failureNotifications
on:
workflow_run:
workflows:
- create-github-release
- publish
types:
- completed
jobs:
failure-notify:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'failure' }}
steps:
- name: Announce Failure
id: slack
uses: slackapi/slack-github-action@v1.24.0
env:
# for non-CLI-team-owned plugins, you can send this anywhere you like
SLACK_WEBHOOK_URL: ${{ secrets.CLI_ALERTS_SLACK_WEBHOOK }}
SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK
with:
payload: |
{
"text": "${{ github.event.workflow_run.name }} failed: ${{ github.event.workflow_run.repository.name }}",
"blocks": [
{
"type": "header",
"text": {
"type": "plain_text",
"text": ":bh-alert: ${{ github.event.workflow_run.name }} failed: ${{ github.event.workflow_run.repository.name }} :bh-alert:"
}
},
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "Repo: ${{ github.event.workflow_run.repository.html_url }}\nWorkflow name: `${{ github.event.workflow_run.name }}`\nJob url: ${{ github.event.workflow_run.html_url }}"
}
}
]
}
23 changes: 23 additions & 0 deletions .github/workflows/notify-slack-on-pr-open.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Pull Request Slack Notification

on:
pull_request:
types: [opened, reopened]

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Notify Slack on PR open
env:
WEBHOOK_URL : ${{ secrets.CLI_TEAM_SLACK_WEBHOOK_URL }}
PULL_REQUEST_AUTHOR_ICON_URL : ${{ github.event.pull_request.user.avatar_url }}
PULL_REQUEST_AUTHOR_NAME : ${{ github.event.pull_request.user.login }}
PULL_REQUEST_AUTHOR_PROFILE_URL: ${{ github.event.pull_request.user.html_url }}
PULL_REQUEST_BASE_BRANCH_NAME : ${{ github.event.pull_request.base.ref }}
PULL_REQUEST_COMPARE_BRANCH_NAME : ${{ github.event.pull_request.head.ref }}
PULL_REQUEST_NUMBER : ${{ github.event.pull_request.number }}
PULL_REQUEST_REPO: ${{ github.event.pull_request.head.repo.name }}
PULL_REQUEST_TITLE : ${{ github.event.pull_request.title }}
PULL_REQUEST_URL : ${{ github.event.pull_request.html_url }}
uses: salesforcecli/github-workflows/.github/actions/prNotification@main
33 changes: 33 additions & 0 deletions .github/workflows/onRelease.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: publish

on:
release:
types: [published]
# support manual release in case something goes wrong and needs to be repeated or tested
workflow_dispatch:
inputs:
tag:
description: tag that needs to publish
type: string
required: true
jobs:
# parses the package.json version and detects prerelease tag (ex: beta from 4.4.4-beta.0)
getDistTag:
outputs:
tag: ${{ steps.distTag.outputs.tag }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.release.tag_name || inputs.tag }}
- uses: salesforcecli/github-workflows/.github/actions/getPreReleaseTag@main
id: distTag

npm:
uses: salesforcecli/github-workflows/.github/workflows/npmPublish.yml@main
needs: [getDistTag]
with:
tag: ${{ needs.getDistTag.outputs.tag || 'latest' }}
githubTag: ${{ github.event.release.tag_name || inputs.tag }}
secrets:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
12 changes: 12 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: tests
on:
push:
branches-ignore: [main]
workflow_dispatch:

jobs:
yarn-lockfile-check:
uses: salesforcecli/github-workflows/.github/workflows/lockFileCheck.yml@main
linux-unit-tests:
needs: yarn-lockfile-check
uses: salesforcecli/github-workflows/.github/workflows/unitTestsLinux.yml@main
7 changes: 6 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
node_modules/
*-debug.log
*-error.log
/coverage
/coverage.lcov
/node_modules
/tmp
1 change: 1 addition & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"@oclif/prettier-config"
5 changes: 0 additions & 5 deletions .releaserc

This file was deleted.

Loading