-
-
Notifications
You must be signed in to change notification settings - Fork 4k
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
51 changed files
with
1,250 additions
and
1,640 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
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
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,20 @@ | ||
export const devServerMatrix = { | ||
angular: { | ||
'ng-default': { | ||
sample: 'samples/ng-default', | ||
args: '--sample-yorc-folder --entities-sample sqllight', | ||
}, | ||
}, | ||
react: { | ||
'react-default': { | ||
sample: 'samples/react-default', | ||
args: '--sample-yorc-folder --entities-sample sqllight', | ||
}, | ||
}, | ||
vue: { | ||
'vue-default': { | ||
sample: 'samples/vue-default', | ||
args: '--sample-yorc-folder --entities-sample sqllight', | ||
}, | ||
}, | ||
}; |
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,26 @@ | ||
import { fileURLToPath } from 'url'; | ||
import { minimatch } from 'minimatch'; | ||
import { simpleGit } from 'simple-git'; | ||
|
||
export const getGitChanges = async () => { | ||
const git = simpleGit({ baseDir: fileURLToPath(new URL('../../', import.meta.url).href) }); | ||
const summary = await git.diffSummary({ '@~1': null }); | ||
const files = summary.files.map(({ file }) => file); | ||
const hasPatternChanges = (pattern: string) => files.some(file => minimatch(file, pattern, { dot: true })); | ||
return { | ||
files, | ||
base: | ||
hasPatternChanges('lib/**') || | ||
hasPatternChanges('generators/*') || | ||
hasPatternChanges('generators/{base*,bootstrap*,git,jdl,project-name}/**'), | ||
devBlueprint: hasPatternChanges('.blueprint/**'), | ||
ci: hasPatternChanges('.github/{actions,workflows}/**') || hasPatternChanges('generators/{docker-compose,kubernetes*,workspaces}/**'), | ||
devserverCi: hasPatternChanges('.github/workflows/devserver.yml'), | ||
common: hasPatternChanges('generators/{app,common,cypress,docker,languages}/**'), | ||
client: hasPatternChanges('generators/{client,init,javascript}/**'), | ||
angular: hasPatternChanges('generators/angular/**'), | ||
react: hasPatternChanges('generators/react/**'), | ||
vue: hasPatternChanges('generators/vue/**'), | ||
java: hasPatternChanges('generators/{cucumber,feign-client,gatling,gradle,java,liquibase,maven,server,spring*}/**'), | ||
}; | ||
}; |
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
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 was deleted.
Oops, something went wrong.
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
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
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
Oops, something went wrong.