@backstage/plugin-scaffolder-node
Advanced tools
Comparing version
# @backstage/plugin-scaffolder-node | ||
## 0.8.3-next.0 | ||
### Patch Changes | ||
- 9c8ff0c: Update pull request creation filter to include .gitignore files in the created pull request | ||
- Updated dependencies | ||
- @backstage/backend-plugin-api@1.4.0-next.0 | ||
## 0.8.2 | ||
@@ -4,0 +12,0 @@ |
@@ -130,6 +130,10 @@ 'use strict'; | ||
}; | ||
function isNotGitDirectoryOrContents(path) { | ||
return !(path.endsWith(".git") || path.includes(".git/")); | ||
} | ||
exports.getRepoSourceDirectory = getRepoSourceDirectory; | ||
exports.isNotGitDirectoryOrContents = isNotGitDirectoryOrContents; | ||
exports.parseRepoUrl = parseRepoUrl; | ||
exports.parseSchemas = parseSchemas; | ||
//# sourceMappingURL=util.cjs.js.map |
@@ -24,2 +24,3 @@ 'use strict'; | ||
exports.getRepoSourceDirectory = util.getRepoSourceDirectory; | ||
exports.isNotGitDirectoryOrContents = util.isNotGitDirectoryOrContents; | ||
exports.parseRepoUrl = util.parseRepoUrl; | ||
@@ -26,0 +27,0 @@ exports.serializeDirectoryContents = serializeDirectoryContents.serializeDirectoryContents; |
@@ -549,2 +549,8 @@ import { Logger } from 'winston'; | ||
}; | ||
/** | ||
* Filter function to exclude the .git directory and its contents | ||
* while keeping other files like .gitignore | ||
* @public | ||
*/ | ||
declare function isNotGitDirectoryOrContents(path: string): boolean; | ||
@@ -579,2 +585,2 @@ /** | ||
export { type ActionContext, type ExecuteShellCommandOptions, type SerializedFile, type SerializedTask, type SerializedTaskEvent, type TaskBroker, type TaskBrokerDispatchOptions, type TaskBrokerDispatchResult, type TaskCompletionState, type TaskContext, type TaskEventType, type TaskSecrets, type TaskStatus, type TemplateAction, type TemplateActionOptions, type TemplateExample, addFiles, cloneRepo, commitAndPushBranch, commitAndPushRepo, createBranch, createTemplateAction, deserializeDirectoryContents, executeShellCommand, fetchContents, fetchFile, getRepoSourceDirectory, initRepoAndPush, parseRepoUrl, serializeDirectoryContents }; | ||
export { type ActionContext, type ExecuteShellCommandOptions, type SerializedFile, type SerializedTask, type SerializedTaskEvent, type TaskBroker, type TaskBrokerDispatchOptions, type TaskBrokerDispatchResult, type TaskCompletionState, type TaskContext, type TaskEventType, type TaskSecrets, type TaskStatus, type TemplateAction, type TemplateActionOptions, type TemplateExample, addFiles, cloneRepo, commitAndPushBranch, commitAndPushRepo, createBranch, createTemplateAction, deserializeDirectoryContents, executeShellCommand, fetchContents, fetchFile, getRepoSourceDirectory, initRepoAndPush, isNotGitDirectoryOrContents, parseRepoUrl, serializeDirectoryContents }; |
{ | ||
"name": "@backstage/plugin-scaffolder-node", | ||
"version": "0.8.2", | ||
"version": "0.8.3-next.0", | ||
"description": "The plugin-scaffolder-node module for @backstage/plugin-scaffolder-backend", | ||
@@ -65,8 +65,8 @@ "backstage": { | ||
"dependencies": { | ||
"@backstage/backend-plugin-api": "^1.3.1", | ||
"@backstage/catalog-model": "^1.7.4", | ||
"@backstage/errors": "^1.2.7", | ||
"@backstage/integration": "^1.17.0", | ||
"@backstage/plugin-scaffolder-common": "^1.5.11", | ||
"@backstage/types": "^1.2.1", | ||
"@backstage/backend-plugin-api": "1.4.0-next.0", | ||
"@backstage/catalog-model": "1.7.4", | ||
"@backstage/errors": "1.2.7", | ||
"@backstage/integration": "1.17.0", | ||
"@backstage/plugin-scaffolder-common": "1.5.11", | ||
"@backstage/types": "1.2.1", | ||
"@isomorphic-git/pgp-plugin": "^0.0.7", | ||
@@ -87,7 +87,7 @@ "concat-stream": "^2.0.0", | ||
"devDependencies": { | ||
"@backstage/backend-test-utils": "^1.5.0", | ||
"@backstage/cli": "^0.32.1", | ||
"@backstage/config": "^1.3.2", | ||
"@backstage/backend-test-utils": "1.6.0-next.0", | ||
"@backstage/cli": "0.32.1", | ||
"@backstage/config": "1.3.2", | ||
"@types/lodash": "^4.14.151" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
171551
0.64%1602
0.69%+ Added
+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
Updated
Updated