@daiyam/artifact-lang-js 0.12.5 → 0.13.0

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daiyam/artifact-lang-js",
3
- "version": "0.12.5",
3
+ "version": "0.13.0",
4
4
  "description": "The base configuration for my javascript projects",
5
5
  "author": {
6
6
  "name": "Baptiste Augrain",
@@ -31,5 +31,5 @@
31
31
  "project-template",
32
32
  "scaffold"
33
33
  ],
34
- "gitHead": "e51847abb818409ee0a0c1bab446e149886dd4ce"
34
+ "gitHead": "35d00c58535041af210075d57b2f6929bd22eec5"
35
35
  }
@@ -1,4 +1,4 @@
1
- $schema: https://raw.githubusercontent.com/zokugun/artifact/v0.9.0/schemas/v2/package.json
1
+ $schema: https://raw.githubusercontent.com/zokugun/artifact/v0.11.0/schemas/v3/package.json
2
2
 
3
3
  always:
4
4
  .czrc:
@@ -44,43 +44,25 @@ journeys:
44
44
  - path: .fixpackrc
45
45
  format: json
46
46
  route:
47
- mapSort:
48
- compose:
49
- sortToTop: listConcatAfter
50
- $$default:
51
- fork:
52
- array: listConcat
53
- object:
54
- - mapConcat
55
- - mapSort
56
- default: primitive
47
+ $$extend: default(sort)
48
+ patches:
49
+ patch:
50
+ - op: add
51
+ path: /map(sort)/map(compose)/sortToTop
52
+ value: list(dedup-first)
57
53
 
58
54
  - name: lintstaged
59
55
  travels:
60
56
  - path: .lintstagedrc.yml
61
- route:
62
- mapSort:
63
- compose:
64
- $$default:
65
- fork:
66
- array: listConcat
67
- object:
68
- - mapConcat
69
- - mapSort
70
- default: primitive
57
+ route: default(sort)
71
58
 
72
59
  - name: taze
73
60
  travels:
74
61
  - path: .tazerc.json
75
62
  route:
76
- mapSort:
77
- compose:
78
- $$default:
79
- fork:
80
- array: listConcat
81
- object:
82
- - mapConcat
83
- - mapSort
84
- default: primitive
85
- $$remove:
63
+ $$extend: default(sort)
64
+ patch:
65
+ - op: add
66
+ path: /map(sort)/map(compose)/$$remove
67
+ value:
86
68
  - write
@@ -48,7 +48,7 @@ jobs:
48
48
  - name: Lint commit
49
49
  run: |
50
50
  if [[ "${BASE_SHA}" = "0000000000000000000000000000000000000000" ]]; then
51
- npx commitlint --from HEAD^ --verbose
51
+ npx commitlint --to HEAD --verbose
52
52
  else
53
53
  npx commitlint --from "${BASE_SHA}" --to "${HEAD_SHA}" --verbose
54
54
  fi
@@ -48,7 +48,7 @@ jobs:
48
48
  - name: Lint commit
49
49
  run: |
50
50
  if [[ "${BASE_SHA}" = "0000000000000000000000000000000000000000" ]]; then
51
- npx commitlint --from HEAD^ --verbose
51
+ npx commitlint --to HEAD --verbose
52
52
  else
53
53
  npx commitlint --from "${BASE_SHA}" --to "${HEAD_SHA}" --verbose
54
54
  fi
@@ -1,4 +1,4 @@
1
- .github/workflows/*.yml: zizmor
2
- package.json:
1
+ ./package.json:
3
2
  - fixpack
4
3
  - npm audit
4
+ .github/workflows/*.yml: zizmor