Skip to content

Commit

Permalink
support custom folder structures (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcus Riquier authored Feb 28, 2020
1 parent 73a7466 commit 740a15e
Show file tree
Hide file tree
Showing 4 changed files with 1,886 additions and 1,892 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Versions

## 0.3.0

February 2020

- relaxed redux for finding metadata files to include all paths instead of only force-app/main/default
- updated dependencies

## 0.2.0

December 2019
Expand Down
22 changes: 13 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sfms",
"version": "0.2.0",
"version": "0.3.0",
"description": "a tool for Salesforce SFDX projects to evaluate manual step creation",
"keywords": [
"sfdx",
Expand Down Expand Up @@ -39,9 +39,9 @@
}
},
"dependencies": {
"@types/jest": "^24.0.23",
"@types/jest": "^25.1.3",
"@types/node": "^13.1.2",
"@types/yargs": "^13.0.3",
"@types/yargs": "^15.0.4",
"yargs": "^15.0.2"
},
"devDependencies": {
Expand All @@ -57,23 +57,27 @@
"@typescript-eslint/eslint-plugin": "^2.11.0",
"@typescript-eslint/parser": "^2.11.0",
"audit-ci": "^2.4.2",
"babel-jest": "^24.9.0",
"babel-jest": "25.1.0",
"eslint": "^6.7.2",
"eslint-config-airbnb-base": "^14.0.0",
"eslint-config-prettier": "^6.7.0",
"eslint-plugin-import": "^2.19.1",
"eslint-plugin-jest": "^23.1.1",
"eslint-plugin-prettier": "^3.1.2",
"husky": "^3.1.0",
"jest": "^24.9.0",
"markdownlint": "^0.18.0",
"markdownlint-cli": "^0.20.0",
"husky": "^4.2.3",
"jest": "25.1.0",
"markdownlint": "^0.19.0",
"markdownlint-cli": "^0.22.0",
"prettier": "^1.19.1",
"prettier-eslint": "^9.0.1",
"prettier-plugin-packagejson": "^2.0.6",
"pretty-quick": "^2.0.1",
"rimraf": "^3.0.0",
"ts-jest": "^24.2.0",
"ts-jest": "25.2.1",
"typescript": "^3.3.3"
},
"engines": {
"node": ">=10",
"yarn": "^1.0.0"
}
}
4 changes: 2 additions & 2 deletions src/git/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const newLineRegex = /\r?\n/;
* Group3: "flow"
* Group4: "DEX_Circumstances_SCORE_Assessment.flow-meta.xml"
* */
const sfdxChangeRegex = /^([a-z]+)[ \t]+(force-app\/main\/[^/]+)\/([^/]+)\/(.+)$/i;
const sfdxChangeRegex = /^([a-z]+)[ \t]+(.+\/[^/]+)\/([^/]+)\/(.+)$/i;

/**
* Splits into 1 group
Expand All @@ -23,7 +23,7 @@ const sfdxChangeRegex = /^([a-z]+)[ \t]+(force-app\/main\/[^/]+)\/([^/]+)\/(.+)$
*
* Group1: "force-app/main/default/flows/DEX_Circumstances_SCORE_Assessment.flow-meta.xml"
*/
const pathRegex = /^[a-z]+[ \t]+(force-app\/.+)$/i;
const pathRegex = /^[a-z]+[ \t]+(.+\/.+)$/i;

/**
* Checks if line matches sfdxChangeRegex
Expand Down
Loading

0 comments on commit 740a15e

Please sign in to comment.