Skip to content

Commit

Permalink
fix(dependencies): updated to the latest alpha of the commit conventi…
Browse files Browse the repository at this point in the history
…on plugin
  • Loading branch information
travi committed Jun 11, 2022
1 parent 07f343f commit 6146e61
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 86 deletions.
82 changes: 7 additions & 75 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
},
"dependencies": {
"@form8ion/codecov": "^3.0.0",
"@form8ion/commit-convention": "^3.0.0-alpha.2",
"@form8ion/commit-convention": "^3.0.0-alpha.3",
"@form8ion/config-file": "^1.0.0-alpha.1",
"@form8ion/core": "^1.8.0",
"@form8ion/eslint": "^2.0.1",
Expand Down
14 changes: 4 additions & 10 deletions test/integration/features/step_definitions/common-steps.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ import {
} from './vcs-steps';
import {assertThatProperDirectoriesAreIgnoredFromEslint} from './eslint-steps';

const packagePreviewDirectory = '../__package_previews__/javascript';
const pathToProjectRoot = [__dirname, '..', '..', '..', '..'];
const pathToNodeModules = [...pathToProjectRoot, 'node_modules'];
const stubbedNodeModules = stubbedFs.load(resolve(...pathToNodeModules));
Expand Down Expand Up @@ -58,15 +57,8 @@ Before(async function () {

stubbedFs({
node_modules: stubbedNodeModules,
[packagePreviewDirectory]: {
'@form8ion': {
javascript: {
templates: {
'example.mustache': await fs.readFile(resolve(...pathToProjectRoot, 'templates', 'example.mustache'))
}
}
},
node_modules: stubbedNodeModules
templates: {
'example.mustache': await fs.readFile(resolve(...pathToProjectRoot, 'templates', 'example.mustache'))
}
});

Expand All @@ -86,6 +78,8 @@ After(function () {
clearModule('@form8ion/eslint');
clearModule('@form8ion/javascript-core');
clearModule('@form8ion/javascript');
clearModule('@form8ion/commit-convention');
clearModule('@form8ion/execa-wrapper');
clearModule('execa');
});

Expand Down

0 comments on commit 6146e61

Please sign in to comment.