Skip to content

Commit b093875

Browse files
authored
chore: Normalize Applink CLI plugin dev dependencies and tooling (#160)
* chore: update project configuration and dependencies - Added new configuration files: .c8rc.json for coverage reporting and .lintstagedrc.json for linting staged files. - Added hustky pre-commit hook with lint-staged - Removed obsolete .eslintignore and .nycrc.json files. - Replaced .eslintrc.json with a new eslint.config.mjs file for improved ESLint configuration. - Updated package.json to reflect new dependencies and scripts for linting and testing. - Removed yarn and replaced scriptrunner commands with npm - Removes unused elsint test config - Adds prettier and npm run format command * chore: removes ignored tsbuildinfo file * chore: Commits eslint and prettier fixes * docs: Removes superfluous documentation
1 parent b966412 commit b093875

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

74 files changed

+15852
-9972
lines changed

.c8rc.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"all": true,
3+
"include": ["src/**/*.ts"],
4+
"exclude": [
5+
"dist/**/*",
6+
"**/*.test.ts",
7+
"test/**/*",
8+
"**/*types.ts",
9+
"node_modules/**/*"
10+
],
11+
"reporter": ["text", "html", "text-summary"],
12+
"clean": true,
13+
"temp-directory": "./coverage/tmp",
14+
"report-dir": "./coverage"
15+
}

.eslintignore

Lines changed: 0 additions & 2 deletions
This file was deleted.

.eslintrc.json

Lines changed: 0 additions & 45 deletions
This file was deleted.

.github/dependabot.yml

Lines changed: 27 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,29 @@
11
version: 2
22
updates:
3-
- package-ecosystem: "github-actions"
4-
directory: "/"
5-
open-pull-requests-limit: 5
6-
schedule:
7-
interval: "weekly"
8-
time: "12:00"
9-
day: "sunday"
10-
timezone: "America/Los_Angeles"
11-
- package-ecosystem: "npm"
12-
directory: "/"
13-
open-pull-requests-limit: 5
14-
schedule:
15-
interval: "weekly"
16-
time: "12:00"
17-
day: "sunday"
18-
timezone: "America/Los_Angeles"
19-
groups:
20-
dev-deps:
21-
dependency-type: "development"
22-
patch-dependencies:
23-
update-types:
24-
- "patch"
25-
ignore:
26-
- dependency-name: "@oclif/core"
27-
update-types: ["version-update:semver-major"]
28-
- dependency-name: "typescript"
29-
update-types: ["version-update:semver-major"]
30-
3+
- package-ecosystem: 'github-actions'
4+
directory: '/'
5+
open-pull-requests-limit: 5
6+
schedule:
7+
interval: 'weekly'
8+
time: '12:00'
9+
day: 'sunday'
10+
timezone: 'America/Los_Angeles'
11+
- package-ecosystem: 'npm'
12+
directory: '/'
13+
open-pull-requests-limit: 5
14+
schedule:
15+
interval: 'weekly'
16+
time: '12:00'
17+
day: 'sunday'
18+
timezone: 'America/Los_Angeles'
19+
groups:
20+
dev-deps:
21+
dependency-type: 'development'
22+
patch-dependencies:
23+
update-types:
24+
- 'patch'
25+
ignore:
26+
- dependency-name: '@oclif/core'
27+
update-types: ['version-update:semver-major']
28+
- dependency-name: 'typescript'
29+
update-types: ['version-update:semver-major']

.github/pull_request_template.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,16 @@ Learn more about [Conventional Commits](https://www.conventionalcommits.org/).
1616

1717
[WI](add work item link here)
1818

19-
Replace this text with a summary of the change(s) including relevant motivations, context, and or links.
19+
Replace this text with a summary of the change(s) including relevant
20+
motivations, context, and or links.
2021

2122
## Testing
2223

23-
**Notes**: Replace this text with any context/setup necessary for testing or type 'N/A'.
24+
**Notes**: Replace this text with any context/setup necessary for testing or
25+
type 'N/A'.
2426

25-
1. Replace this text with a list of steps used to validate changes or type 'Passing CI suffices'.
27+
1. Replace this text with a list of steps used to validate changes or type
28+
'Passing CI suffices'.
2629
2. ...
2730

2831
## Screenshots (if applicable)

.github/workflows/ci.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,7 @@ jobs:
1818
uses: actions/setup-node@v4
1919
with:
2020
node-version: ${{ matrix.node_version }}
21-
cache: yarn
22-
- run: yarn --immutable --network-timeout 1000000
23-
- name: Unit tests
24-
run: yarn test
25-
- name: Check linting
26-
run: yarn lint
21+
cache: npm
22+
- run: npm ci
23+
- name: Runs linting, type-checking, and tests
24+
run: npm run ci

.gitignore

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,18 @@
11
*-debug.log
22
*-error.log
3-
**/.DS_Store
4-
/.idea
3+
*.tgz
4+
.DS_Store
5+
*.tsbuildinfo
6+
/lib
57
/dist
68
/tmp
7-
/node_modules
8-
oclif.manifest.json
9+
/oclif.manifest.json
10+
/package
11+
node_modules
912

10-
package-lock.json
11-
pnpm-lock.yaml
12-
.pnp.*
13-
.yarn/*
14-
!.yarn/patches
15-
!.yarn/plugins
16-
!.yarn/releases
17-
!.yarn/sdks
18-
!.yarn/versions
13+
# Test coverage (c8)
14+
coverage/
1915

20-
.jshint*
21-
coverage
22-
.nyc_output
16+
# GUS local files
17+
.gus/sprints/*.json
18+
.gus/tasks/

.husky/pre-commit

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
2+
npm run lint-staged

.lintstagedrc.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"**/*.{ts,tsx,cjs,mjs,js}": ["npm run format"],
3+
"*.{json,md,yml,yaml}": ["npm run format"]
4+
}

.nycrc.json

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)