@p8ec/shared 2.2.1 → 2.2.2

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.
@@ -117,11 +117,11 @@ const init = (option) => __awaiter(void 0, void 0, void 0, function* () {
117
117
  writeLn('Creating lefthook.yml...');
118
118
  copyAsset('lefthook.yml');
119
119
  writeLn('Adding lefthook install to postinstall...');
120
- packageJson.scripts.postinstall = 'lefthook install';
120
+ const lefthookInstall = 'lefthook install';
121
+ packageJson.scripts.postinstall = lefthookInstall;
121
122
  const npmInstall = 'npm install --save-dev @commitlint/{config-conventional,cli} commitlint lefthook';
122
123
  writeLn(`Executing ${npmInstall}...`);
123
124
  execShell(npmInstall);
124
- const lefthookInstall = 'lefthook install';
125
125
  writeLn(`Executing ${lefthookInstall}...`);
126
126
  execShell(lefthookInstall);
127
127
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@p8ec/shared",
3
- "version": "2.2.1",
3
+ "version": "2.2.2",
4
4
  "description": "P(8) Global Shared Library for Javascript",
5
5
  "repository": {
6
6
  "type": "git",