feat: add syncpack semver ranges

This commit is contained in:
2024-01-12 11:05:54 +01:00
committed by Rainer Killinger
parent 912ae42270
commit 65bc9a76b6
3 changed files with 89 additions and 57 deletions

View File

@@ -2,7 +2,7 @@
/** @type {import('syncpack').RcFile} */
const config = {
semverRange: '',
semverGroups: [{range: ''}],
source: ['package.json', '**/package.json'],
indent: ' ',
sortFirst: [
@@ -49,7 +49,7 @@ const config = {
{
label: 'Packages should use workspace version',
dependencies: ['@openstapps/**'],
dependencyTypes: ['prod', 'dev'],
dependencyTypes: ['prod', 'dev', 'peer'],
packages: ['**'],
pinVersion: 'workspace:*',
},

View File

@@ -30,13 +30,13 @@
"devDependencies": {
"@changesets/changelog-git": "0.1.14",
"@changesets/cli": "2.26.1",
"prettier": "3.1.1",
"cobertura-merge": "1.0.4",
"deepmerge": "4.3.1",
"dotenv-cli": "7.2.1",
"glob": "10.2.7",
"junit-report-merger": "6.0.2",
"syncpack": "10.5.1",
"prettier": "3.1.1",
"syncpack": "12.3.0",
"turbo": "1.10.16",
"turbo-ignore": "1.10.16",
"typedoc": "0.24.8",

138
pnpm-lock.yaml generated
View File

@@ -33,8 +33,8 @@ importers:
specifier: 3.1.1
version: 3.1.1
syncpack:
specifier: 10.5.1
version: 10.5.1
specifier: 12.3.0
version: 12.3.0(typescript@5.1.6)
turbo:
specifier: 1.10.16
version: 1.10.16
@@ -2219,7 +2219,7 @@ packages:
picomatch: 2.3.1
piscina: 3.2.0
postcss: 8.4.24
postcss-loader: 7.3.2(postcss@8.4.24)(typescript@5.1.6)(webpack@5.86.0)
postcss-loader: 7.3.2(postcss@8.4.24)(webpack@5.86.0)
resolve-url-loader: 5.0.0
rxjs: 7.8.1
sass: 1.63.2
@@ -5506,6 +5506,16 @@ packages:
engines: {node: '>=10.0.0'}
dev: true
/@effect/schema@0.56.1(effect@2.0.0-next.62)(fast-check@3.15.0):
resolution: {integrity: sha512-cfEyHLXPdzSKzJU/yYrPjFd0iVHPydh+NT0sgTe4bzXbcvOsKZuvQ86cAAwXN7lxY0N5cPes9ACxUxTdkEaNlw==}
peerDependencies:
effect: 2.0.0-next.62
fast-check: ^3.13.2
dependencies:
effect: 2.0.0-next.62
fast-check: 3.15.0
dev: true
/@elastic/elasticsearch@8.4.0:
resolution: {integrity: sha512-0QZDBePnb5a+d76zjlMYq96IDf0AOuGP7JHugFUYlYwTC7rZvROuZSpoUsvpUjNH2CzMqWgNLIekIR6EHRMIQA==}
engines: {node: '>=14'}
@@ -9265,6 +9275,11 @@ packages:
engines: {node: '>=14'}
dev: true
/commander@11.1.0:
resolution: {integrity: sha512-yPVavfyCcRhmorC7rWlkHn15b4wDVgVmBA7kV4QVBsF7kv/9TKJAbAXVTxvTnwP8HHKjRCJDClKbciiYS7p0DQ==}
engines: {node: '>=16'}
dev: true
/commander@2.20.3:
resolution: {integrity: sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==}
dev: true
@@ -9693,6 +9708,22 @@ packages:
typescript: 5.1.6
dev: true
/cosmiconfig@9.0.0(typescript@5.1.6):
resolution: {integrity: sha512-itvL5h8RETACmOTFc4UfIyB2RfEHi71Ax6E/PivVxq9NseKbOWpeyHEOIbmAw1rs8Ak0VursQNww7lf7YtUwzg==}
engines: {node: '>=14'}
peerDependencies:
typescript: '>=4.9.5'
peerDependenciesMeta:
typescript:
optional: true
dependencies:
env-paths: 2.2.1
import-fresh: 3.3.0
js-yaml: 4.1.0
parse-json: 5.2.0
typescript: 5.1.6
dev: true
/cpu-features@0.0.9:
resolution: {integrity: sha512-AKjgn2rP2yJyfbepsmLfiYcmtNn/2eUvocUyM/09yB0YDiz39HteK/5/T4Onf0pmdYDMgkBoGvRLvEguzyL7wQ==}
engines: {node: '>=10.0.0'}
@@ -10801,6 +10832,10 @@ packages:
/ee-first@1.1.1:
resolution: {integrity: sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==}
/effect@2.0.0-next.62:
resolution: {integrity: sha512-fJhLzf5oouL4WZP314ZJgZz5Bel7OHTY+YFxO06sW1mSvqJz0s28y7jDHr5zhtTNM1YRvzbeLYUYfNaJYKqx1A==}
dev: true
/ejs@3.1.9:
resolution: {integrity: sha512-rC+QVNMJWv+MtPgkt0y+0rVEIdbtxVADApW9JXrUVlzHetgcyczP/E7DJmWJ4fJCZF2cPcBk0laWO9ZHMG3DmQ==}
engines: {node: '>=0.10.0'}
@@ -11550,6 +11585,13 @@ packages:
color-support: 1.1.3
dev: true
/fast-check@3.15.0:
resolution: {integrity: sha512-iBz6c+EXL6+nI931x/sbZs1JYTZtLG6Cko0ouS8LRTikhDR7+wZk4TYzdRavlnByBs2G6+nuuJ7NYL9QplNt8Q==}
engines: {node: '>=8.0.0'}
dependencies:
pure-rand: 6.0.4
dev: true
/fast-deep-equal@3.1.3:
resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==}
@@ -12150,18 +12192,6 @@ packages:
resolution: {integrity: sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==}
dev: true
/glob@10.2.6:
resolution: {integrity: sha512-U/rnDpXJGF414QQQZv5uVsabTVxMSwzS5CH0p3DRCIV6ownl4f7PzGnkGmvlum2wB+9RlJWJZ6ACU1INnBqiPA==}
engines: {node: '>=16 || 14 >=14.17'}
hasBin: true
dependencies:
foreground-child: 3.1.1
jackspeak: 2.3.6
minimatch: 9.0.3
minipass: 6.0.2
path-scurry: 1.10.1
dev: true
/glob@10.2.7:
resolution: {integrity: sha512-jTKehsravOJo8IJxUGfZILnkvVJM/MOfHRs8QcXolVef2zNI9Tqyy5+SeuOAZd3upViEZQLyFpQhYiHLrMUNmA==}
engines: {node: '>=16 || 14 >=14.17'}
@@ -12523,6 +12553,13 @@ packages:
lru-cache: 7.18.3
dev: true
/hosted-git-info@7.0.1:
resolution: {integrity: sha512-+K84LB1DYwMHoHSgaOY/Jfhw3ucPmSET5v98Ke/HdNSw4a0UktWzyW1mjhjpuxxTqOOsfWT/7iVshHmVZ4IpOA==}
engines: {node: ^16.14.0 || >=18.0.0}
dependencies:
lru-cache: 10.0.1
dev: true
/hpack.js@2.1.6:
resolution: {integrity: sha512-zJxVehUdMGIKsRaNt7apO2Gqp0BdqW5yaiGHXXmbpvxgBYVZnAql+BJb4RO5ad2MgpbZKn5G6nMnegrH1FcNYQ==}
dependencies:
@@ -13436,15 +13473,6 @@ packages:
optionalDependencies:
'@pkgjs/parseargs': 0.11.0
/jackspeak@2.3.6:
resolution: {integrity: sha512-N3yCS/NegsOBokc8GAdM8UcmfsKiSS8cipheD/nivzr700H+nsMOxJjQnvwOcRYVuFkdH0wGUvW2WbXGmrZGbQ==}
engines: {node: '>=14'}
dependencies:
'@isaacs/cliui': 8.0.2
optionalDependencies:
'@pkgjs/parseargs': 0.11.0
dev: true
/jake@10.8.7:
resolution: {integrity: sha512-ZDi3aP+fG/LchyBzUM804VjddnwfSfsdeYkwt8NcbKRvo4rFkjhs456iLFn3k2ZUWvNe4i48WACDbza8fhq2+w==}
engines: {node: '>=10'}
@@ -14586,13 +14614,6 @@ packages:
brace-expansion: 2.0.1
dev: true
/minimatch@9.0.1:
resolution: {integrity: sha512-0jWhJpD/MdhPXwPuiRkCbfYfSKp2qnn2eOc279qI7f+osl/l+prKSrvhg157zSYvx/1nmgn2NqdT6k2Z7zSH9w==}
engines: {node: '>=16 || 14 >=14.17'}
dependencies:
brace-expansion: 2.0.1
dev: true
/minimatch@9.0.3:
resolution: {integrity: sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==}
engines: {node: '>=16 || 14 >=14.17'}
@@ -15233,6 +15254,16 @@ packages:
validate-npm-package-name: 5.0.0
dev: true
/npm-package-arg@11.0.1:
resolution: {integrity: sha512-M7s1BD4NxdAvBKUPqqRW957Xwcl/4Zvo8Aj+ANrzvIPzGJZElrH7Z//rSaec2ORcND6FHHLnZeY8qgTpXDMFQQ==}
engines: {node: ^16.14.0 || >=18.0.0}
dependencies:
hosted-git-info: 7.0.1
proc-log: 3.0.0
semver: 7.5.4
validate-npm-package-name: 5.0.0
dev: true
/npm-packlist@7.0.4:
resolution: {integrity: sha512-d6RGEuRrNS5/N84iglPivjaJPxhDbZmlbTwTDX2IbcRHG5bZCdtysYMhwiPvcF4GisXHGn7xsxv+GQ7T/02M5Q==}
engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0}
@@ -15955,21 +15986,19 @@ packages:
yaml: 1.10.2
dev: true
/postcss-loader@7.3.2(postcss@8.4.24)(typescript@5.1.6)(webpack@5.86.0):
/postcss-loader@7.3.2(postcss@8.4.24)(webpack@5.86.0):
resolution: {integrity: sha512-c7qDlXErX6n0VT+LUsW+nwefVtTu3ORtVvK8EXuUIDcxo+b/euYqpuHlJAvePb0Af5e8uMjR/13e0lTuYifaig==}
engines: {node: '>= 14.15.0'}
peerDependencies:
postcss: ^7.0.0 || ^8.0.1
webpack: ^5.0.0
dependencies:
cosmiconfig: 8.3.6(typescript@5.1.6)
cosmiconfig: 8.1.3
jiti: 1.20.0
klona: 2.0.6
postcss: 8.4.24
semver: 7.5.4
webpack: 5.86.0(esbuild@0.17.19)
transitivePeerDependencies:
- typescript
dev: true
/postcss-media-query-parser@0.2.3:
@@ -16272,6 +16301,10 @@ packages:
resolution: {integrity: sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA==}
engines: {node: '>=6'}
/pure-rand@6.0.4:
resolution: {integrity: sha512-LA0Y9kxMYv47GIPJy6MI84fqTd2HmYZI83W/kM/SkKfDlajnZYfmXFTxkbY+xSBPkLJxltMa9hIkmdc29eguMA==}
dev: true
/q@1.5.1:
resolution: {integrity: sha512-kV/CThkXo6xyFEZUugw/+pIOywXcDbFYgSct5cT3gqlbkBE1SJdwy6UQoZvodiWF/ckQLZyDE/Bu1M6gVu5lVw==}
engines: {node: '>=0.6.0', teleport: '>=0.2.0'}
@@ -17029,14 +17062,6 @@ packages:
hasBin: true
dev: true
/semver@7.5.1:
resolution: {integrity: sha512-Wvss5ivl8TMRZXXESstBA4uR5iXgEN/VC5/sOcuXdVLzcdkz4HWetIoRfG5gb5X+ij/G9rw9YoGn3QoQ8OCSpw==}
engines: {node: '>=10'}
hasBin: true
dependencies:
lru-cache: 6.0.0
dev: true
/semver@7.5.3:
resolution: {integrity: sha512-QBlUtyVk/5EeHbi7X0fw6liDZc7BBmEaSYn01fMU1OUYbf6GPsbTtd8WmnqbI20SeycoHSeiybkE/q1Q+qlThQ==}
engines: {node: '>=10'}
@@ -18179,22 +18204,29 @@ packages:
engines: {node: '>=0.10'}
dev: true
/syncpack@10.5.1:
resolution: {integrity: sha512-YGKX0x7I4LxP62gJZnjMiv9eROQnbymeVU1heLdOhuiGNDuIcT/fk1M2kh1VYSBuuFIaGTP30LNEbPx4zy5MQg==}
engines: {node: '>=14'}
/syncpack@12.3.0(typescript@5.1.6):
resolution: {integrity: sha512-Gz2uGn96OmGfVVlKztvFac1EJYjP+WptQ2ohA6Uf48C6qLkhSayhkdujKQ6q7bGOTy8HSGI0iDfwfCJu6wvRig==}
engines: {node: '>=16'}
hasBin: true
dependencies:
'@effect/schema': 0.56.1(effect@2.0.0-next.62)(fast-check@3.15.0)
chalk: 4.1.2
commander: 10.0.1
cosmiconfig: 8.1.3
enquirer: 2.3.6
fs-extra: 11.1.1
glob: 10.2.6
minimatch: 9.0.1
commander: 11.1.0
cosmiconfig: 9.0.0(typescript@5.1.6)
effect: 2.0.0-next.62
enquirer: 2.4.1
fast-check: 3.15.0
globby: 11.1.0
minimatch: 9.0.3
npm-package-arg: 11.0.1
ora: 5.4.1
prompts: 2.4.2
read-yaml-file: 2.1.0
semver: 7.5.1
semver: 7.5.4
tightrope: 0.1.0
ts-toolbelt: 9.6.0
transitivePeerDependencies:
- typescript
dev: true
/table@6.8.1: