backfill-utils-test
Advanced tools
Comparing version 4.1.2-alpha.0 to 5.0.0-alpha.0
@@ -10,2 +10,3 @@ "use strict"; | ||
const tempy_1 = __importDefault(require("tempy")); | ||
const execa_1 = __importDefault(require("execa")); | ||
async function findFixturePath(cwd, fixtureName) { | ||
@@ -25,7 +26,11 @@ return await find_up_1.default(path_1.default.join("__fixtures__", fixtureName), { | ||
fs_extra_1.default.mkdirpSync(cwd); | ||
process.chdir(cwd); | ||
fs_extra_1.default.copySync(fixturePath, cwd); | ||
execa_1.default.sync("git", ["init"], { cwd }); | ||
execa_1.default.sync("git", ["config", "user.email", "test@testme.com"], { cwd }); | ||
execa_1.default.sync("git", ["config", "user.name", "test fixture"], { cwd }); | ||
execa_1.default.sync("git", ["add", "."], { cwd }); | ||
execa_1.default.sync("git", ["commit", "-m", "test"], { cwd }); | ||
return cwd; | ||
} | ||
exports.setupFixture = setupFixture; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2V0dXBGaXh0dXJlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vc3JjL3NldHVwRml4dHVyZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLGdEQUF3QjtBQUN4QixzREFBNkI7QUFDN0Isd0RBQTBCO0FBQzFCLGtEQUEwQjtBQUUxQixLQUFLLFVBQVUsZUFBZSxDQUFDLEdBQVcsRUFBRSxXQUFtQjtJQUM3RCxPQUFPLE1BQU0saUJBQU0sQ0FBQyxjQUFJLENBQUMsSUFBSSxDQUFDLGNBQWMsRUFBRSxXQUFXLENBQUMsRUFBRTtRQUMxRCxHQUFHO1FBQ0gsSUFBSSxFQUFFLFdBQVc7S0FDbEIsQ0FBQyxDQUFDO0FBQ0wsQ0FBQztBQUVNLEtBQUssVUFBVSxZQUFZLENBQUMsV0FBbUI7SUFDcEQsTUFBTSxXQUFXLEdBQUcsTUFBTSxlQUFlLENBQUMsU0FBUy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BQUMsS0FBSyxFQUFFLEdBQUcsQ0FBQyxFQUFFLEVBQUUsR0FBRyxFQUFFLENBQUMsQ0FBQztJQUN6QyxlQUFLLENBQUMsSUFBSSxDQUFDLEtBQUssRUFBRSxDQUFDLFFBQVEsRUFBRSxJQUFJLEVBQUUsTUFBTSxDQUFDLEVBQUUsRUFBRSxHQUFHLEVBQUUsQ0FBQyxDQUFDO0lBRXJELE9BQU8sR0FBRyxDQUFDO0FBQ2IsQ0FBQztBQXpCRCxvQ0F5QkMifQ== |
@@ -10,3 +10,3 @@ { | ||
}, | ||
"version": "4.1.2-alpha.0", | ||
"version": "5.0.0-alpha.0", | ||
"main": "lib/index.js", | ||
@@ -19,12 +19,13 @@ "scripts": { | ||
"dependencies": { | ||
"execa": "^4.0.0", | ||
"find-up": "^4.0.0", | ||
"fs-extra": "^8.1.0", | ||
"tempy": "^0.3.0" | ||
"tempy": "^0.5.0" | ||
}, | ||
"devDependencies": { | ||
"@types/fs-extra": "^8.0.0", | ||
"backfill-utils-tsconfig": "^4.1.2-alpha.0", | ||
"backfill-utils-tsconfig": "^5.0.0-alpha.0", | ||
"typescript": "3.7.4" | ||
}, | ||
"gitHead": "85df2d4058011cfdc5a1e46a656f432ac887a226" | ||
"gitHead": "03dace2c81101cd159f9596035b78d20c790bcdd" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7844
67
4
+ Addedexeca@^4.0.0
+ Addedcross-spawn@7.0.6(transitive)
+ Addedcrypto-random-string@2.0.0(transitive)
+ Addedend-of-stream@1.4.4(transitive)
+ Addedexeca@4.1.0(transitive)
+ Addedget-stream@5.2.0(transitive)
+ Addedhuman-signals@1.1.1(transitive)
+ Addedis-stream@2.0.1(transitive)
+ Addedisexe@2.0.0(transitive)
+ Addedmerge-stream@2.0.0(transitive)
+ Addedmimic-fn@2.1.0(transitive)
+ Addednpm-run-path@4.0.1(transitive)
+ Addedonce@1.4.0(transitive)
+ Addedonetime@5.1.2(transitive)
+ Addedpath-key@3.1.1(transitive)
+ Addedpump@3.0.2(transitive)
+ Addedshebang-command@2.0.0(transitive)
+ Addedshebang-regex@3.0.0(transitive)
+ Addedsignal-exit@3.0.7(transitive)
+ Addedstrip-final-newline@2.0.0(transitive)
+ Addedtemp-dir@2.0.0(transitive)
+ Addedtempy@0.5.0(transitive)
+ Addedtype-fest@0.12.0(transitive)
+ Addedunique-string@2.0.0(transitive)
+ Addedwhich@2.0.2(transitive)
+ Addedwrappy@1.0.2(transitive)
- Removedcrypto-random-string@1.0.0(transitive)
- Removedtemp-dir@1.0.0(transitive)
- Removedtempy@0.3.0(transitive)
- Removedtype-fest@0.3.1(transitive)
- Removedunique-string@1.0.0(transitive)
Updatedtempy@^0.5.0