@koober/mrm-preset
Advanced tools
Comparing version 1.26.0 to 1.26.1
@@ -6,2 +6,15 @@ # Change Log | ||
## [1.26.1](https://gitlab.com/koober-sas/project-config/compare/@koober/mrm-preset@1.26.0...@koober/mrm-preset@1.26.1) (2021-07-22) | ||
### Bug Fixes | ||
* correct CODEOWNERS generation ([37e846b](https://gitlab.com/koober-sas/project-config/commit/37e846b965f39911bdceacb83dc161c1e60b5bbb)) | ||
* correct file() call ([20a1f27](https://gitlab.com/koober-sas/project-config/commit/20a1f27e3e61a21e4202278de51f519b34d4591f)) | ||
* **mrm-preset:** correct deploy step ([f7b06da](https://gitlab.com/koober-sas/project-config/commit/f7b06da2e3a001fe26aa53a11c6dbd716adb87d2)) | ||
# [1.26.0](https://gitlab.com/koober-sas/project-config/compare/@koober/mrm-preset@1.25.0...@koober/mrm-preset@1.26.0) (2021-07-20) | ||
@@ -8,0 +21,0 @@ |
@@ -1,2 +0,3 @@ | ||
const { packageJson } = require('mrm-core'); | ||
const { packageJson, template } = require('mrm-core'); | ||
const path = require('path'); | ||
const project = require('../core/project'); | ||
@@ -6,3 +7,3 @@ const { hasGit } = require('../core/git'); | ||
const { lintStaged } = require('../core/lintStaged'); | ||
const block = require('../core/block'); | ||
const { file } = require('../core/file'); | ||
@@ -48,10 +49,7 @@ function createGitHooks() { | ||
block({ | ||
block: `# https://docs.gitlab.com/ee/user/project/code_owners.html | ||
# Default owners | ||
# * @someone | ||
`, | ||
file({ | ||
path: 'CODEOWNERS', | ||
insertBefore: 'begin', | ||
state: gitSupported ? 'file' : 'absent', | ||
update: (content) => | ||
content.length === 0 ? template('', path.join(__dirname, 'templates', 'CODEOWNERS')).apply().get() : undefined, | ||
}); | ||
@@ -58,0 +56,0 @@ } |
{ | ||
"name": "@koober/mrm-preset", | ||
"version": "1.26.0", | ||
"version": "1.26.1", | ||
"description": "Mrm configuration presets", | ||
@@ -50,3 +50,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "3e156064135626970623cd529b1f90d9c814c44d" | ||
"gitHead": "f16a971fd9096796c1d7fb15e26c5b6d7535fadf" | ||
} |
Sorry, the diff of this file is not supported yet
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
100817
61
2465