@sankhyalabs/ez-design 5.6.0 → 5.7.1

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.
@@ -0,0 +1,4 @@
1
+ #!/usr/bin/env sh
2
+ . "$(dirname -- "$0")/_/husky.sh"
3
+
4
+ npx --no -- commitlint --edit "${1}"
package/.releaserc CHANGED
@@ -1,36 +1,58 @@
1
1
  {
2
- "plugins": [
3
- [
4
- "@semantic-release/commit-analyzer",
5
- {
6
- "preset": "angular",
7
- "releaseRules": [
8
- {
9
- "type": "breaking",
10
- "scope": "API",
11
- "release": "major"
12
- }
13
- ]
14
- }
15
- ],
2
+ "tagFormat": "v${version}",
3
+ "branches": [
4
+ "master",
5
+ { "name": "develop", "channel": "dev", "prerelease": "dev" },
6
+ { "name": "release", "channel": "rc", "prerelease": "rc" }
7
+ ],
8
+ "plugins": [
9
+ [
10
+ "@semantic-release/commit-analyzer",
11
+ {
12
+ "preset": "conventionalcommits",
13
+ "releaseRules": [
14
+ { "breaking": true, "release": "major" } ,
15
+ { "revert": true, "release": "patch" } ,
16
+ { "type": "feat", "release": "minor" } ,
17
+ { "type": "fix", "release": "patch" } ,
18
+ { "type": "perf", "release": "patch" } ,
19
+ { "type": "refactor", "release": "patch" } ,
20
+ { "type": "build", "release": "patch" } ,
21
+ { "type": "ci", "release": "patch" } ,
22
+ { "scope": "no-release", "release": false }
23
+ ]
24
+ }
25
+ ],
26
+ [
16
27
  "@semantic-release/release-notes-generator",
17
- [
18
- "@semantic-release/npm",
19
- {
20
- "npmPublish": true
21
- }
22
- ],
23
- [
24
- "@semantic-release/gitlab",
25
- {
26
- "gitlabUrl": "https://git.sankhya.com.br",
27
- "gitlabApiPathPrefix": "/api/v4"
28
+ {
29
+ "preset": "conventionalcommits",
30
+ "presetConfig": {
31
+ "types": [
32
+ { "type": "feat" , "section": "Features" },
33
+ { "type": "fix" , "section": "Bug Fixes" },
34
+ { "type": "refactor", "section": "Refactor" , "hidden": false },
35
+ { "type": "ci" , "section": "Build projects", "hidden": false },
36
+ { "type": "build" , "section": "Build projects", "hidden": false }
37
+ ]
28
38
  }
29
- ]
39
+ }
40
+ ],
41
+ [
42
+ "@semantic-release/exec",
43
+ { "verifyReleaseCmd": "echo ${nextRelease.version} > .VERSION" }
30
44
  ],
31
- "branches": [
32
- {"name": "master"},
33
- {"name": "beta", "channel": "beta", "prerelease": true},
34
- "+([0-9])?(.{+([0-9]),x}).x"
45
+ "@semantic-release/changelog",
46
+ "@semantic-release/gitlab",
47
+ [
48
+ "@sankhyalabs/semantic-release-backmerge",
49
+ {
50
+ "branches": [
51
+ { "from": "master" , "to": "develop" },
52
+ { "from": "master" , "to": "release" },
53
+ { "from": "release", "to": "develop" }
54
+ ]
55
+ }
35
56
  ]
36
- }
57
+ ]
58
+ }
@@ -0,0 +1,14 @@
1
+ module.exports = {
2
+ extends: ['@commitlint/config-conventional'],
3
+ rules: {
4
+ 'type-enum': [2, 'always', ['feat', 'fix', 'docs', 'ci']],
5
+ 'references-empty': [2, 'never'],
6
+ 'subject-case': [0, 'never']
7
+ },
8
+ parserPreset: {
9
+ parserOpts: {
10
+ issuePrefixes: ['(KB|kb|SKA|ska|OS|os)[-:][0-9]+'],
11
+ issuePrefixesCaseSensitive: true
12
+ }
13
+ }
14
+ };
@@ -840,6 +840,8 @@ body {
840
840
  white-space: nowrap;
841
841
  overflow: hidden;
842
842
  text-overflow: ellipsis; }
843
+ .ez-text--break-line {
844
+ white-space: pre-line; }
843
845
 
844
846
  .ez-title {
845
847
  display: flex;