@aspruyt/xfg 1.0.3 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +97 -53
- package/dist/config-normalizer.js +4 -1
- package/dist/config-validator.js +3 -3
- package/dist/diff-utils.d.ts +31 -0
- package/dist/diff-utils.js +223 -0
- package/dist/file-reference-resolver.js +6 -4
- package/dist/git-ops.d.ts +11 -0
- package/dist/git-ops.js +30 -0
- package/dist/logger.d.ts +12 -0
- package/dist/logger.js +30 -0
- package/dist/repo-detector.d.ts +9 -2
- package/dist/repo-detector.js +84 -2
- package/dist/repository-processor.js +35 -4
- package/dist/shell-utils.js +4 -0
- package/dist/strategies/azure-pr-strategy.js +1 -1
- package/dist/strategies/github-pr-strategy.js +7 -5
- package/dist/strategies/gitlab-pr-strategy.d.ts +27 -0
- package/dist/strategies/gitlab-pr-strategy.js +276 -0
- package/dist/strategies/index.d.ts +1 -0
- package/dist/strategies/index.js +6 -1
- package/package.json +6 -4
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aspruyt/xfg",
|
|
3
|
-
"version": "1.0
|
|
4
|
-
"description": "CLI tool to sync JSON or YAML configuration files across multiple GitHub
|
|
3
|
+
"version": "1.2.0",
|
|
4
|
+
"description": "CLI tool to sync JSON or YAML configuration files across multiple GitHub, Azure DevOps, and GitLab repositories",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"bin": {
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"build": "tsc",
|
|
27
27
|
"start": "node dist/index.js",
|
|
28
28
|
"dev": "ts-node src/index.ts",
|
|
29
|
-
"test": "node --import tsx --test src/config.test.ts src/merge.test.ts src/env.test.ts src/repo-detector.test.ts src/pr-creator.test.ts src/git-ops.test.ts src/logger.test.ts src/workspace-utils.test.ts src/strategies/pr-strategy.test.ts src/strategies/github-pr-strategy.test.ts src/strategies/azure-pr-strategy.test.ts src/repository-processor.test.ts src/retry-utils.test.ts src/command-executor.test.ts src/shell-utils.test.ts src/index.test.ts src/config-formatter.test.ts src/config-validator.test.ts src/config-normalizer.test.ts",
|
|
29
|
+
"test": "node --import tsx --test src/config.test.ts src/merge.test.ts src/env.test.ts src/repo-detector.test.ts src/pr-creator.test.ts src/git-ops.test.ts src/logger.test.ts src/workspace-utils.test.ts src/strategies/pr-strategy.test.ts src/strategies/github-pr-strategy.test.ts src/strategies/azure-pr-strategy.test.ts src/strategies/gitlab-pr-strategy.test.ts src/repository-processor.test.ts src/retry-utils.test.ts src/command-executor.test.ts src/shell-utils.test.ts src/index.test.ts src/config-formatter.test.ts src/config-validator.test.ts src/config-normalizer.test.ts src/diff-utils.test.ts",
|
|
30
30
|
"test:integration": "npm run build && node --import tsx --test src/integration.test.ts",
|
|
31
31
|
"prepublishOnly": "npm run build"
|
|
32
32
|
},
|
|
@@ -39,7 +39,9 @@
|
|
|
39
39
|
"cli",
|
|
40
40
|
"github",
|
|
41
41
|
"azure-devops",
|
|
42
|
-
"
|
|
42
|
+
"gitlab",
|
|
43
|
+
"pull-request",
|
|
44
|
+
"merge-request"
|
|
43
45
|
],
|
|
44
46
|
"author": "Anthony Spruyt",
|
|
45
47
|
"license": "MIT",
|