backport 10.0.2 → 10.0.3
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/dist/package.json +3 -3
- package/dist/src/scripts/binary.integration.test.d.ts +1 -0
- package/dist/src/scripts/binary.integration.test.js +87 -0
- package/dist/src/scripts/binary.integration.test.js.map +1 -0
- package/dist/src/scripts/postinstall.integration.test.d.ts +1 -0
- package/dist/src/scripts/postinstall.integration.test.js +92 -0
- package/dist/src/scripts/postinstall.integration.test.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
package/dist/package.json
CHANGED
|
@@ -14,15 +14,15 @@
|
|
|
14
14
|
"branches",
|
|
15
15
|
"branching"
|
|
16
16
|
],
|
|
17
|
-
"version": "10.0.
|
|
17
|
+
"version": "10.0.3",
|
|
18
18
|
"main": "./dist/src/entrypoint.api.js",
|
|
19
19
|
"types": "dist/src/entrypoint.api.d.ts",
|
|
20
20
|
"bin": {
|
|
21
|
-
"backport": "
|
|
21
|
+
"backport": "bin/backport"
|
|
22
22
|
},
|
|
23
23
|
"license": "Apache-2.0",
|
|
24
24
|
"scripts": {
|
|
25
|
-
"postinstall": "test -f ./dist/src/scripts/
|
|
25
|
+
"postinstall": "test -f ./dist/src/scripts/run-postinstall.js && node ./dist/src/scripts/run-postinstall.js || echo 'Dist folder missing'",
|
|
26
26
|
"prepare": "husky",
|
|
27
27
|
"prepublishOnly": "rm -rf ./dist/ && yarn && yarn lint && yarn build",
|
|
28
28
|
"lint-and-test": "yarn lint && yarn test-all",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const child_process_1 = require("child_process");
|
|
7
|
+
const fs_1 = __importDefault(require("fs"));
|
|
8
|
+
const os_1 = __importDefault(require("os"));
|
|
9
|
+
const path_1 = __importDefault(require("path"));
|
|
10
|
+
// Integration test to verify that the `bin` field in package.json exposes a working `backport` CLI.
|
|
11
|
+
// Strategy:
|
|
12
|
+
// 1. Pack the current project into a tarball (yarn pack) (assumes build already done by prepublish scripts or tests environment)
|
|
13
|
+
// 2. Create a fresh temp project and install the tarball with yarn add file:<tarball>
|
|
14
|
+
// 3. Assert that node_modules/.bin/backport exists and is executable
|
|
15
|
+
// 4. Run `backport --version` and compare output with package.json version
|
|
16
|
+
// 5. (Smoke) Run `backport --help` to ensure it exits 0 (no interactive prompt)
|
|
17
|
+
describe('binary backport file', () => {
|
|
18
|
+
let workDir; // consumer project
|
|
19
|
+
let packDir; // directory holding tarball
|
|
20
|
+
let tarballPath;
|
|
21
|
+
let version;
|
|
22
|
+
let repoRoot;
|
|
23
|
+
let binPath;
|
|
24
|
+
jest.setTimeout(120_000);
|
|
25
|
+
beforeAll(() => {
|
|
26
|
+
repoRoot = path_1.default.resolve(__dirname, '../..');
|
|
27
|
+
// read version early
|
|
28
|
+
const pkgJson = JSON.parse(fs_1.default.readFileSync(path_1.default.join(repoRoot, 'package.json'), 'utf8'));
|
|
29
|
+
version = pkgJson.version;
|
|
30
|
+
workDir = fs_1.default.mkdtempSync(path_1.default.join(os_1.default.tmpdir(), 'backport-bin-consumer-'));
|
|
31
|
+
packDir = fs_1.default.mkdtempSync(path_1.default.join(os_1.default.tmpdir(), 'backport-bin-pack-'));
|
|
32
|
+
tarballPath = path_1.default.join(packDir, 'backport.tgz');
|
|
33
|
+
// pack project; rely on repo having been built as with other integration tests
|
|
34
|
+
(0, child_process_1.execSync)(`yarn pack --filename ${tarballPath}`, {
|
|
35
|
+
cwd: repoRoot,
|
|
36
|
+
stdio: 'ignore',
|
|
37
|
+
});
|
|
38
|
+
// create consumer package.json
|
|
39
|
+
fs_1.default.writeFileSync(path_1.default.join(workDir, 'package.json'), JSON.stringify({ name: 'consumer-project', private: true }, null, 2));
|
|
40
|
+
// install tarball (this creates node_modules/.bin/backport symlink / shim)
|
|
41
|
+
(0, child_process_1.execSync)(`yarn add file:${tarballPath}`, { cwd: workDir, stdio: 'ignore' });
|
|
42
|
+
binPath = path_1.default.join(workDir, 'node_modules', '.bin', 'backport');
|
|
43
|
+
});
|
|
44
|
+
afterAll(() => {
|
|
45
|
+
try {
|
|
46
|
+
fs_1.default.rmSync(workDir, { recursive: true, force: true });
|
|
47
|
+
fs_1.default.rmSync(packDir, { recursive: true, force: true });
|
|
48
|
+
}
|
|
49
|
+
catch {
|
|
50
|
+
// ignore cleanup errors
|
|
51
|
+
}
|
|
52
|
+
});
|
|
53
|
+
it('creates the CLI binary in node_modules/.bin', () => {
|
|
54
|
+
expect(fs_1.default.existsSync(binPath)).toBe(true);
|
|
55
|
+
const stat = fs_1.default.statSync(binPath);
|
|
56
|
+
// at least one execute bit set (symlink or wrapper script)
|
|
57
|
+
expect((stat.mode & 0o111) !== 0).toBe(true);
|
|
58
|
+
});
|
|
59
|
+
it('reports correct version with --version', () => {
|
|
60
|
+
const res = (0, child_process_1.spawnSync)(binPath, ['--version'], {
|
|
61
|
+
cwd: workDir,
|
|
62
|
+
encoding: 'utf8',
|
|
63
|
+
env: { ...process.env, CI: 'true' },
|
|
64
|
+
shell: false,
|
|
65
|
+
timeout: 15_000,
|
|
66
|
+
});
|
|
67
|
+
if (res.error)
|
|
68
|
+
throw res.error;
|
|
69
|
+
expect(res.status).toBe(0);
|
|
70
|
+
expect(res.stdout.trim()).toBe(version);
|
|
71
|
+
});
|
|
72
|
+
it('shows help with --help (smoke test)', () => {
|
|
73
|
+
const res = (0, child_process_1.spawnSync)(binPath, ['--help'], {
|
|
74
|
+
cwd: workDir,
|
|
75
|
+
encoding: 'utf8',
|
|
76
|
+
env: { ...process.env, CI: 'true' },
|
|
77
|
+
shell: false,
|
|
78
|
+
timeout: 15_000,
|
|
79
|
+
});
|
|
80
|
+
if (res.error)
|
|
81
|
+
throw res.error;
|
|
82
|
+
expect(res.status).toBe(0);
|
|
83
|
+
// Basic sanity: Should mention backport or usage
|
|
84
|
+
expect(res.stdout.toLowerCase()).toContain('backport');
|
|
85
|
+
});
|
|
86
|
+
});
|
|
87
|
+
//# sourceMappingURL=binary.integration.test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"binary.integration.test.js","sourceRoot":"","sources":["../../../src/scripts/binary.integration.test.ts"],"names":[],"mappings":";;;;;AAAA,iDAAoD;AACpD,4CAAoB;AACpB,4CAAoB;AACpB,gDAAwB;AAExB,oGAAoG;AACpG,YAAY;AACZ,iIAAiI;AACjI,sFAAsF;AACtF,qEAAqE;AACrE,2EAA2E;AAC3E,gFAAgF;AAEhF,QAAQ,CAAC,sBAAsB,EAAE,GAAG,EAAE;IACpC,IAAI,OAAe,CAAC,CAAC,mBAAmB;IACxC,IAAI,OAAe,CAAC,CAAC,4BAA4B;IACjD,IAAI,WAAmB,CAAC;IACxB,IAAI,OAAe,CAAC;IACpB,IAAI,QAAgB,CAAC;IACrB,IAAI,OAAe,CAAC;IAEpB,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;IAEzB,SAAS,CAAC,GAAG,EAAE;QACb,QAAQ,GAAG,cAAI,CAAC,OAAO,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;QAE5C,qBAAqB;QACrB,MAAM,OAAO,GAAG,IAAI,CAAC,KAAK,CACxB,YAAE,CAAC,YAAY,CAAC,cAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,cAAc,CAAC,EAAE,MAAM,CAAC,CAC7D,CAAC;QACF,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC;QAE1B,OAAO,GAAG,YAAE,CAAC,WAAW,CAAC,cAAI,CAAC,IAAI,CAAC,YAAE,CAAC,MAAM,EAAE,EAAE,wBAAwB,CAAC,CAAC,CAAC;QAC3E,OAAO,GAAG,YAAE,CAAC,W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/B,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;QAC3B,iDAAiD;QACjD,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,WAAW,EAAE,CAAC,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC;IACzD,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const child_process_1 = require("child_process");
|
|
7
|
+
const fs_1 = __importDefault(require("fs"));
|
|
8
|
+
const os_1 = __importDefault(require("os"));
|
|
9
|
+
const path_1 = __importDefault(require("path"));
|
|
10
|
+
const read_config_file_1 = require("../options/config/read-config-file");
|
|
11
|
+
// This test performs an end-to-end verification that the published package's
|
|
12
|
+
// postinstall script executes and creates the expected ~/.backport/config.json
|
|
13
|
+
// file with the correct permissions and template content.
|
|
14
|
+
//
|
|
15
|
+
// It does so by:
|
|
16
|
+
// 1. Building the project (so dist/ exists)
|
|
17
|
+
// 2. Packing the project into a tarball with `yarn pack`
|
|
18
|
+
// 3. Creating a temporary consumer project
|
|
19
|
+
// 4. Overriding HOME for the install so the script writes into an isolated dir
|
|
20
|
+
// 5. Installing the packed tarball via `yarn add file:<tarball>`
|
|
21
|
+
// 6. Asserting that ~/.backport/config.json now exists with mode 600
|
|
22
|
+
describe('postinstall (integration)', () => {
|
|
23
|
+
let fakeHomeDir;
|
|
24
|
+
let workDir;
|
|
25
|
+
let tarballPath;
|
|
26
|
+
// Building & packing can be slow
|
|
27
|
+
jest.setTimeout(120_000);
|
|
28
|
+
beforeAll(() => {
|
|
29
|
+
const repoRoot = path_1.default.resolve(__dirname, '../..');
|
|
30
|
+
workDir = fs_1.default.mkdtempSync(path_1.default.join(os_1.default.tmpdir(), 'backport-consumer-'));
|
|
31
|
+
const packDir = fs_1.default.mkdtempSync(path_1.default.join(os_1.default.tmpdir(), 'backport-pack-'));
|
|
32
|
+
tarballPath = path_1.default.join(packDir, 'backport.tgz');
|
|
33
|
+
// 2. Pack the project to a predictable filename inside a temp directory
|
|
34
|
+
(0, child_process_1.execSync)(`yarn pack --filename ${tarballPath}`, {
|
|
35
|
+
cwd: repoRoot,
|
|
36
|
+
stdio: 'ignore',
|
|
37
|
+
});
|
|
38
|
+
// 3. Create consumer project working directory
|
|
39
|
+
fs_1.default.writeFileSync(path_1.default.join(workDir, 'package.json'), JSON.stringify({ name: 'consumer-project', private: true }, null, 2));
|
|
40
|
+
// 4. Prepare fake HOME directory
|
|
41
|
+
fakeHomeDir = path_1.default.join(workDir, 'fake-home');
|
|
42
|
+
fs_1.default.mkdirSync(fakeHomeDir, { recursive: true });
|
|
43
|
+
// 5. Install the packed tarball (this should trigger postinstall)
|
|
44
|
+
(0, child_process_1.execSync)(`yarn add file:${tarballPath}`, {
|
|
45
|
+
cwd: workDir,
|
|
46
|
+
env: {
|
|
47
|
+
...process.env,
|
|
48
|
+
// Override HOME so os.homedir() inside the installed package resolves here
|
|
49
|
+
HOME: fakeHomeDir,
|
|
50
|
+
},
|
|
51
|
+
stdio: 'ignore',
|
|
52
|
+
});
|
|
53
|
+
});
|
|
54
|
+
it('creates ~/.backport/config.json', () => {
|
|
55
|
+
const configPath = path_1.default.join(fakeHomeDir, '.backport', 'config.json');
|
|
56
|
+
expect(fs_1.default.existsSync(configPath)).toBe(true);
|
|
57
|
+
const content = fs_1.default.readFileSync(configPath, 'utf8');
|
|
58
|
+
// Basic shape: contains the accessToken field (empty string template)
|
|
59
|
+
expect(content).toContain('"accessToken"');
|
|
60
|
+
const stat = fs_1.default.statSync(configPath);
|
|
61
|
+
// Mask to permission bits and ensure 0600 (owner read/write only)
|
|
62
|
+
const mode = stat.mode & 0o777;
|
|
63
|
+
expect(mode).toBe(0o600);
|
|
64
|
+
});
|
|
65
|
+
it('does not overwrite existing config file', () => {
|
|
66
|
+
// Create a new home directory with an existing config
|
|
67
|
+
const newFakeHomeDir = path_1.default.join(workDir, 'fake-home-existing-config');
|
|
68
|
+
fs_1.default.mkdirSync(path_1.default.join(newFakeHomeDir, '.backport'), { recursive: true });
|
|
69
|
+
const configPath = path_1.default.join(newFakeHomeDir, '.backport', 'config.json');
|
|
70
|
+
const customContent = '{"accessToken": "test-token", "customSetting": true}';
|
|
71
|
+
fs_1.default.writeFileSync(configPath, customContent);
|
|
72
|
+
// Install again with the new HOME
|
|
73
|
+
(0, child_process_1.execSync)(`yarn add file:${tarballPath}`, {
|
|
74
|
+
cwd: workDir,
|
|
75
|
+
env: {
|
|
76
|
+
...process.env,
|
|
77
|
+
HOME: newFakeHomeDir,
|
|
78
|
+
},
|
|
79
|
+
stdio: 'ignore',
|
|
80
|
+
});
|
|
81
|
+
// Config file should still have our custom content
|
|
82
|
+
const content = fs_1.default.readFileSync(configPath, 'utf8');
|
|
83
|
+
expect(content).toBe(customContent);
|
|
84
|
+
});
|
|
85
|
+
it('creates config with the expected template content', async () => {
|
|
86
|
+
const configPath = path_1.default.join(fakeHomeDir, '.backport', 'config.json');
|
|
87
|
+
const content = fs_1.default.readFileSync(configPath, 'utf8');
|
|
88
|
+
const config = (0, read_config_file_1.parseConfigFile)(content);
|
|
89
|
+
expect(config).toEqual({ accessToken: '' });
|
|
90
|
+
});
|
|
91
|
+
});
|
|
92
|
+
//# sourceMappingURL=postinstall.integration.test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"postinstall.integration.test.js","sourceRoot":"","sources":["../../../src/scripts/postinstall.integration.test.ts"],"names":[],"mappings":";;;;;AAAA,iDAAyC;AACzC,4CAAoB;AACpB,4CAAoB;AACpB,gDAAwB;AACxB,yEAAqE;AAErE,6EAA6E;AAC7E,+EAA+E;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