-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
29 changed files
with
1,417 additions
and
751 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,23 +16,23 @@ jobs: | |
- 'windows-latest' | ||
- 'macos-latest' | ||
node_version: | ||
- '>=18.0.0' | ||
- 'lts/*' | ||
fail-fast: false | ||
max-parallel: 1 | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- uses: pnpm/action-setup@v4 | ||
with: | ||
version: 9.5.0 | ||
run_install: true | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: ${{ matrix.node_version }} | ||
cache: 'pnpm' | ||
- run: pnpm run test:coverage | ||
- run: pnpm install -D tap-junit | ||
- run: pnpm run test:coverage | pnpm exec tap-junit > junit.xml | ||
- name: SonarQube Scan | ||
if: matrix.os == 'ubuntu-latest' | ||
uses: SonarSource/[email protected] | ||
|
@@ -48,5 +48,5 @@ jobs: | |
uses: codecov/[email protected] | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
files: coverage/junit.xml,!./cache | ||
files: junit.xml,!./cache | ||
fail_ci_if_error: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
pnpm exec lint-staged |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
pnpm run test:coverage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,8 +2,8 @@ | |
"name": "ovm", | ||
"description": "Obsidian Vaults Manager", | ||
"type": "commonjs", | ||
"version": "0.4.6", | ||
"license": "MIT", | ||
"version": "0.5.0", | ||
"license": "GPL-3.0-only", | ||
"author": "Masoud Ghorbani", | ||
"homepage": "https://github.com/msudgh/ovm", | ||
"bugs": "https://github.com/msudgh/ovm/issues", | ||
|
@@ -21,8 +21,9 @@ | |
"postpack": "shx rm -f oclif.manifest.json", | ||
"posttest": "pnpm run lint", | ||
"prepack": "oclif manifest && pnpm run build:release && pnpm run test:unit", | ||
"test:unit": "mocha -R=spec", | ||
"test:coverage": "nyc mocha" | ||
"test:unit": "mocha", | ||
"test:coverage": "nyc mocha", | ||
"prepare": "husky" | ||
}, | ||
"keywords": [ | ||
"obsidian", | ||
|
@@ -85,7 +86,7 @@ | |
"@types/async": "3.2.24", | ||
"@types/cacache": "17.0.2", | ||
"@types/chai": "4.3.17", | ||
"@types/fs-extra": "^11.0.4", | ||
"@types/fs-extra": "11.0.4", | ||
"@types/inquirer": "9.0.7", | ||
"@types/mocha": "10.0.7", | ||
"@types/mock-fs": "4.13.4", | ||
|
@@ -95,10 +96,12 @@ | |
"chai": "5.1.1", | ||
"eslint": "9.8.0", | ||
"eslint-config-prettier": "9.1.0", | ||
"fs-extra": "^11.2.0", | ||
"fs-extra": "11.2.0", | ||
"globals": "15.9.0", | ||
"husky": "9.1.7", | ||
"lint-staged": "15.2.10", | ||
"mocha": "10.7.3", | ||
"mocha-junit-reporter": "^2.2.1", | ||
"mocha-junit-reporter": "2.2.1", | ||
"mock-fs": "5.2.0", | ||
"nyc": "17.0.0", | ||
"obsidian": "1.6.6", | ||
|
@@ -115,7 +118,19 @@ | |
"overrides": { | ||
"fast-xml-parser@<4.4.1": ">=4.4.1", | ||
"eslint>ajv": "6", | ||
"whatwg-url@<6.0.0": ">=14.0.0" | ||
"whatwg-url@<6.0.0": ">=14.0.0", | ||
"micromatch@<4.0.8": ">=4.0.8", | ||
"cross-spawn@>=7.0.0 <7.0.5": ">=7.0.5" | ||
} | ||
} | ||
}, | ||
"lint-staged": { | ||
"*.{ts,tsx,json,js}": [ | ||
"pnpm run lint", | ||
"pnpm run format:write" | ||
], | ||
"*.md": [ | ||
"pnpm run format:write" | ||
] | ||
}, | ||
"packageManager": "[email protected]+sha1.33f415ae4331f9b29a92dd9bbef959b916d65535" | ||
} |
Oops, something went wrong.