diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index 38198f76e4..4181b76f6e 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -13,14 +13,14 @@ importers: ../../packages/measurements: devDependencies: '@hcengineering/platform-rig': - specifier: workspace:^0.7.13 + specifier: workspace:^0.7.14 version: link:../platform-rig '@types/jest': specifier: ^29.5.5 version: 29.5.14 '@typescript-eslint/eslint-plugin': - specifier: ^8.46.0 - version: 8.46.0(@typescript-eslint/parser@8.46.0(eslint@8.57.1)(typescript@5.9.3))(eslint@8.57.1)(typescript@5.9.3) + specifier: ^6.11.0 + version: 6.21.0(@typescript-eslint/parser@8.46.0(eslint@8.57.1)(typescript@5.9.3))(eslint@8.57.1)(typescript@5.9.3) '@typescript-eslint/parser': specifier: ^8.46.0 version: 8.46.0(eslint@8.57.1)(typescript@5.9.3) @@ -29,7 +29,7 @@ importers: version: 8.57.1 eslint-config-standard-with-typescript: specifier: ^40.0.0 - version: 40.0.0(@typescript-eslint/eslint-plugin@8.46.0(@typescript-eslint/parser@8.46.0(eslint@8.57.1)(typescript@5.9.3))(eslint@8.57.1)(typescript@5.9.3))(eslint-plugin-import@2.32.0(eslint@8.57.1))(eslint-plugin-n@15.7.0(eslint@8.57.1))(eslint-plugin-promise@6.6.0(eslint@8.57.1))(eslint@8.57.1)(typescript@5.9.3) + version: 40.0.0(@typescript-eslint/eslint-plugin@6.21.0(@typescript-eslint/parser@8.46.0(eslint@8.57.1)(typescript@5.9.3))(eslint@8.57.1)(typescript@5.9.3))(eslint-plugin-import@2.32.0(eslint@8.57.1))(eslint-plugin-n@15.7.0(eslint@8.57.1))(eslint-plugin-promise@6.6.0(eslint@8.57.1))(eslint@8.57.1)(typescript@5.9.3) eslint-plugin-import: specifier: ^2.26.0 version: 2.32.0(eslint@8.57.1) @@ -98,14 +98,14 @@ importers: version: 2.1.0(@opentelemetry/api@1.9.0) devDependencies: '@hcengineering/platform-rig': - specifier: workspace:^0.7.13 + specifier: workspace:^0.7.14 version: link:../platform-rig '@types/jest': specifier: ^29.5.5 version: 29.5.14 '@typescript-eslint/eslint-plugin': - specifier: ^8.46.0 - version: 8.46.0(@typescript-eslint/parser@8.46.0(eslint@8.57.1)(typescript@5.9.3))(eslint@8.57.1)(typescript@5.9.3) + specifier: ^6.11.0 + version: 6.21.0(@typescript-eslint/parser@8.46.0(eslint@8.57.1)(typescript@5.9.3))(eslint@8.57.1)(typescript@5.9.3) '@typescript-eslint/parser': specifier: ^8.46.0 version: 8.46.0(eslint@8.57.1)(typescript@5.9.3) @@ -114,7 +114,7 @@ importers: version: 8.57.1 eslint-config-standard-with-typescript: specifier: ^40.0.0 - version: 40.0.0(@typescript-eslint/eslint-plugin@8.46.0(@typescript-eslint/parser@8.46.0(eslint@8.57.1)(typescript@5.9.3))(eslint@8.57.1)(typescript@5.9.3))(eslint-plugin-import@2.32.0(eslint@8.57.1))(eslint-plugin-n@15.7.0(eslint@8.57.1))(eslint-plugin-promise@6.6.0(eslint@8.57.1))(eslint@8.57.1)(typescript@5.9.3) + version: 40.0.0(@typescript-eslint/eslint-plugin@6.21.0(@typescript-eslint/parser@8.46.0(eslint@8.57.1)(typescript@5.9.3))(eslint@8.57.1)(typescript@5.9.3))(eslint-plugin-import@2.32.0(eslint@8.57.1))(eslint-plugin-n@15.7.0(eslint@8.57.1))(eslint-plugin-promise@6.6.0(eslint@8.57.1))(eslint@8.57.1)(typescript@5.9.3) eslint-plugin-import: specifier: ^2.26.0 version: 2.32.0(eslint@8.57.1) @@ -137,8 +137,8 @@ importers: ../../packages/platform-rig: dependencies: '@typescript-eslint/eslint-plugin': - specifier: ^8.46.0 - version: 8.46.0(@typescript-eslint/parser@8.46.0(eslint@8.57.1)(typescript@5.9.3))(eslint@8.57.1)(typescript@5.9.3) + specifier: ^6.11.0 + version: 6.21.0(@typescript-eslint/parser@8.46.0(eslint@8.57.1)(typescript@5.9.3))(eslint@8.57.1)(typescript@5.9.3) '@typescript-eslint/parser': specifier: ^8.46.0 version: 8.46.0(eslint@8.57.1)(typescript@5.9.3) @@ -153,7 +153,7 @@ importers: version: 8.57.1 eslint-config-standard-with-typescript: specifier: ^40.0.0 - version: 40.0.0(@typescript-eslint/eslint-plugin@8.46.0(@typescript-eslint/parser@8.46.0(eslint@8.57.1)(typescript@5.9.3))(eslint@8.57.1)(typescript@5.9.3))(eslint-plugin-import@2.32.0(eslint@8.57.1))(eslint-plugin-n@15.7.0(eslint@8.57.1))(eslint-plugin-promise@6.6.0(eslint@8.57.1))(eslint@8.57.1)(typescript@5.9.3) + version: 40.0.0(@typescript-eslint/eslint-plugin@6.21.0(@typescript-eslint/parser@8.46.0(eslint@8.57.1)(typescript@5.9.3))(eslint@8.57.1)(typescript@5.9.3))(eslint-plugin-import@2.32.0(eslint@8.57.1))(eslint-plugin-n@15.7.0(eslint@8.57.1))(eslint-plugin-promise@6.6.0(eslint@8.57.1))(eslint@8.57.1)(typescript@5.9.3) eslint-plugin-import: specifier: ^2.26.0 version: 2.32.0(eslint@8.57.1) @@ -183,7 +183,7 @@ importers: version: 3.4.7 devDependencies: '@hcengineering/platform-rig': - specifier: workspace:^0.7.13 + specifier: workspace:^0.7.14 version: link:../platform-rig '@types/jest': specifier: ^29.5.5 @@ -192,8 +192,8 @@ importers: specifier: ^22.15.29 version: 22.18.1 '@typescript-eslint/eslint-plugin': - specifier: ^8.46.0 - version: 8.46.0(@typescript-eslint/parser@8.46.0(eslint@8.57.1)(typescript@5.9.3))(eslint@8.57.1)(typescript@5.9.3) + specifier: ^6.11.0 + version: 6.21.0(@typescript-eslint/parser@8.46.0(eslint@8.57.1)(typescript@5.9.3))(eslint@8.57.1)(typescript@5.9.3) '@typescript-eslint/parser': specifier: ^8.46.0 version: 8.46.0(eslint@8.57.1)(typescript@5.9.3) @@ -202,7 +202,7 @@ importers: version: 8.57.1 eslint-config-standard-with-typescript: specifier: ^40.0.0 - version: 40.0.0(@typescript-eslint/eslint-plugin@8.46.0(@typescript-eslint/parser@8.46.0(eslint@8.57.1)(typescript@5.9.3))(eslint@8.57.1)(typescript@5.9.3))(eslint-plugin-import@2.32.0(eslint@8.57.1))(eslint-plugin-n@15.7.0(eslint@8.57.1))(eslint-plugin-promise@6.6.0(eslint@8.57.1))(eslint@8.57.1)(typescript@5.9.3) + version: 40.0.0(@typescript-eslint/eslint-plugin@6.21.0(@typescript-eslint/parser@8.46.0(eslint@8.57.1)(typescript@5.9.3))(eslint@8.57.1)(typescript@5.9.3))(eslint-plugin-import@2.32.0(eslint@8.57.1))(eslint-plugin-n@15.7.0(eslint@8.57.1))(eslint-plugin-promise@6.6.0(eslint@8.57.1))(eslint@8.57.1)(typescript@5.9.3) eslint-plugin-import: specifier: ^2.26.0 version: 2.32.0(eslint@8.57.1) @@ -225,11 +225,11 @@ importers: ../scripts: devDependencies: '@hcengineering/platform-rig': - specifier: workspace:^0.7.13 + specifier: workspace:^0.7.14 version: link:../../packages/platform-rig '@typescript-eslint/eslint-plugin': - specifier: ^8.46.0 - version: 8.46.0(@typescript-eslint/parser@8.46.0(eslint@8.57.1)(typescript@5.9.3))(eslint@8.57.1)(typescript@5.9.3) + specifier: ^6.11.0 + version: 6.21.0(@typescript-eslint/parser@8.46.0(eslint@8.57.1)(typescript@5.9.3))(eslint@8.57.1)(typescript@5.9.3) '@typescript-eslint/parser': specifier: ^8.46.0 version: 8.46.0(eslint@8.57.1)(typescript@5.9.3) @@ -238,7 +238,7 @@ importers: version: 8.57.1 eslint-config-standard-with-typescript: specifier: ^40.0.0 - version: 40.0.0(@typescript-eslint/eslint-plugin@8.46.0(@typescript-eslint/parser@8.46.0(eslint@8.57.1)(typescript@5.9.3))(eslint@8.57.1)(typescript@5.9.3))(eslint-plugin-import@2.32.0(eslint@8.57.1))(eslint-plugin-n@15.7.0(eslint@8.57.1))(eslint-plugin-promise@6.6.0(eslint@8.57.1))(eslint@8.57.1)(typescript@5.9.3) + version: 40.0.0(@typescript-eslint/eslint-plugin@6.21.0(@typescript-eslint/parser@8.46.0(eslint@8.57.1)(typescript@5.9.3))(eslint@8.57.1)(typescript@5.9.3))(eslint-plugin-import@2.32.0(eslint@8.57.1))(eslint-plugin-n@15.7.0(eslint@8.57.1))(eslint-plugin-promise@6.6.0(eslint@8.57.1))(eslint@8.57.1)(typescript@5.9.3) eslint-plugin-import: specifier: ^2.26.0 version: 2.32.0(eslint@8.57.1) @@ -1293,6 +1293,9 @@ packages: '@types/jest@29.5.14': resolution: {integrity: sha512-ZN+4sdnLUbo8EVvVc2ao0GFW6oVrQRPn4K2lglySj7APvSrgzxHiNNK99us4WDMi57xxA2yggblIAMNhXOotLQ==} + '@types/json-schema@7.0.15': + resolution: {integrity: sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==} + '@types/json5@0.0.29': resolution: {integrity: sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==} @@ -1314,6 +1317,9 @@ packages: '@types/pg@8.15.5': resolution: {integrity: sha512-LF7lF6zWEKxuT3/OR8wAZGzkg4ENGXFNyiV/JeOt9z5B+0ZVwbql9McqX5c/WStFq1GaGso7H1AzP/qSzmlCKQ==} + '@types/semver@7.7.1': + resolution: {integrity: sha512-FmgJfu+MOcQ370SD0ev7EI8TlCAfKYU+B4m5T3yXc1CiRN94g/SZPtsCkk506aUDtlMnFZvasDwHHUcZUEaYuA==} + '@types/stack-utils@2.0.3': resolution: {integrity: sha512-9aEbYZ3TbYMznPdcdr3SmIrLXwC/AKZXQeCf9Pgao5CKb8CyHuEX5jzWPTkvregvhRJHcpRO6BFoGW9ycaOkYw==} @@ -1326,13 +1332,16 @@ packages: '@types/yargs@17.0.33': resolution: {integrity: sha512-WpxBCKWPLr4xSsHgz511rFJAM+wS28w2zEO1QDNY5zM/S8ok70NNfztH0xwhqKyaK0OHCbN98LDAZuy1ctxDkA==} - '@typescript-eslint/eslint-plugin@8.46.0': - resolution: {integrity: sha512-hA8gxBq4ukonVXPy0OKhiaUh/68D0E88GSmtC1iAEnGaieuDi38LhS7jdCHRLi6ErJBNDGCzvh5EnzdPwUc0DA==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + '@typescript-eslint/eslint-plugin@6.21.0': + resolution: {integrity: sha512-oy9+hTPCUFpngkEZUSzbf9MxI65wbKFoQYsgPdILTfbUldp5ovUuphZVe4i30emU9M/kP+T64Di0mxl7dSw3MA==} + engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: - '@typescript-eslint/parser': ^8.46.0 - eslint: ^8.57.0 || ^9.0.0 - typescript: '>=4.8.4 <6.0.0' + '@typescript-eslint/parser': ^6.0.0 || ^6.0.0-alpha + eslint: ^7.0.0 || ^8.0.0 + typescript: '*' + peerDependenciesMeta: + typescript: + optional: true '@typescript-eslint/parser@6.21.0': resolution: {integrity: sha512-tbsV1jPne5CkFQCgPBcDOt30ItF7aJoZL997JSF7MhGQqOeT3svWRYxiqlfA5RUdlHN6Fi+EI9bxqbdyAUZjYQ==} @@ -1371,12 +1380,15 @@ packages: peerDependencies: typescript: '>=4.8.4 <6.0.0' - '@typescript-eslint/type-utils@8.46.0': - resolution: {integrity: sha512-hy+lvYV1lZpVs2jRaEYvgCblZxUoJiPyCemwbQZ+NGulWkQRy0HRPYAoef/CNSzaLt+MLvMptZsHXHlkEilaeg==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + '@typescript-eslint/type-utils@6.21.0': + resolution: {integrity: sha512-rZQI7wHfao8qMX3Rd3xqeYSMCL3SoiSQLBATSiVKARdFGCYSRvmViieZjqc58jKgs8Y8i9YvVVhRbHSTA4VBag==} + engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: - eslint: ^8.57.0 || ^9.0.0 - typescript: '>=4.8.4 <6.0.0' + eslint: ^7.0.0 || ^8.0.0 + typescript: '*' + peerDependenciesMeta: + typescript: + optional: true '@typescript-eslint/types@6.21.0': resolution: {integrity: sha512-1kFmZ1rOm5epu9NZEZm1kckCDGj5UJEf7P1kliH4LKu/RkwpsfqqGmY2OOcUs18lSlQBKLDYBOGxRVtrMN5lpg==} @@ -1401,12 +1413,11 @@ packages: peerDependencies: typescript: '>=4.8.4 <6.0.0' - '@typescript-eslint/utils@8.46.0': - resolution: {integrity: sha512-nD6yGWPj1xiOm4Gk0k6hLSZz2XkNXhuYmyIrOWcHoPuAhjT9i5bAG+xbWPgFeNR8HPHHtpNKdYUXJl/D3x7f5g==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + '@typescript-eslint/utils@6.21.0': + resolution: {integrity: sha512-NfWVaC8HP9T8cbKQxHcsJBY5YE1O33+jpMwN45qzWWaPDZgLIbo12toGMWnmhvCpd3sIxkpDw3Wv1B3dYrbDQQ==} + engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: - eslint: ^8.57.0 || ^9.0.0 - typescript: '>=4.8.4 <6.0.0' + eslint: ^7.0.0 || ^8.0.0 '@typescript-eslint/visitor-keys@6.21.0': resolution: {integrity: sha512-JJtkDduxLi9bivAB+cYOVMtbkqdPOhZ+ZI5LC47MIRrDV4Yn2o+ZnW10Nkmr28xRpSpdJ6Sm42Hjf2+REYXm0A==} @@ -2137,10 +2148,6 @@ packages: resolution: {integrity: sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==} engines: {node: '>= 4'} - ignore@7.0.5: - resolution: {integrity: sha512-Hs59xBNfUIunMFgWAbGX5cq6893IbWg4KnrjbYwX3tx0ztorVgTDA6B2sxf8ejHJ4wz8BqGUMYlnzNBer5NvGg==} - engines: {node: '>= 4'} - import-fresh@3.3.1: resolution: {integrity: sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ==} engines: {node: '>=6'} @@ -4531,6 +4538,8 @@ snapshots: expect: 29.7.0 pretty-format: 29.7.0 + '@types/json-schema@7.0.15': {} + '@types/json5@0.0.29': {} '@types/memcached@2.2.10': @@ -4559,6 +4568,8 @@ snapshots: pg-protocol: 1.10.3 pg-types: 2.2.0 + '@types/semver@7.7.1': {} + '@types/stack-utils@2.0.3': {} '@types/tedious@4.0.14': @@ -4571,19 +4582,22 @@ snapshots: dependencies: '@types/yargs-parser': 21.0.3 - '@typescript-eslint/eslint-plugin@8.46.0(@typescript-eslint/parser@8.46.0(eslint@8.57.1)(typescript@5.9.3))(eslint@8.57.1)(typescript@5.9.3)': + '@typescript-eslint/eslint-plugin@6.21.0(@typescript-eslint/parser@8.46.0(eslint@8.57.1)(typescript@5.9.3))(eslint@8.57.1)(typescript@5.9.3)': dependencies: '@eslint-community/regexpp': 4.12.1 '@typescript-eslint/parser': 8.46.0(eslint@8.57.1)(typescript@5.9.3) - '@typescript-eslint/scope-manager': 8.46.0 - '@typescript-eslint/type-utils': 8.46.0(eslint@8.57.1)(typescript@5.9.3) - '@typescript-eslint/utils': 8.46.0(eslint@8.57.1)(typescript@5.9.3) - '@typescript-eslint/visitor-keys': 8.46.0 + '@typescript-eslint/scope-manager': 6.21.0 + '@typescript-eslint/type-utils': 6.21.0(eslint@8.57.1)(typescript@5.9.3) + '@typescript-eslint/utils': 6.21.0(eslint@8.57.1)(typescript@5.9.3) + '@typescript-eslint/visitor-keys': 6.21.0 + debug: 4.4.1 eslint: 8.57.1 graphemer: 1.4.0 - ignore: 7.0.5 + ignore: 5.3.2 natural-compare: 1.4.0 - ts-api-utils: 2.1.0(typescript@5.9.3) + semver: 7.7.2 + ts-api-utils: 1.4.3(typescript@5.9.3) + optionalDependencies: typescript: 5.9.3 transitivePeerDependencies: - supports-color @@ -4636,14 +4650,14 @@ snapshots: dependencies: typescript: 5.9.3 - '@typescript-eslint/type-utils@8.46.0(eslint@8.57.1)(typescript@5.9.3)': + '@typescript-eslint/type-utils@6.21.0(eslint@8.57.1)(typescript@5.9.3)': dependencies: - '@typescript-eslint/types': 8.46.0 - '@typescript-eslint/typescript-estree': 8.46.0(typescript@5.9.3) - '@typescript-eslint/utils': 8.46.0(eslint@8.57.1)(typescript@5.9.3) + '@typescript-eslint/typescript-estree': 6.21.0(typescript@5.9.3) + '@typescript-eslint/utils': 6.21.0(eslint@8.57.1)(typescript@5.9.3) debug: 4.4.1 eslint: 8.57.1 - ts-api-utils: 2.1.0(typescript@5.9.3) + ts-api-utils: 1.4.3(typescript@5.9.3) + optionalDependencies: typescript: 5.9.3 transitivePeerDependencies: - supports-color @@ -4683,16 +4697,19 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/utils@8.46.0(eslint@8.57.1)(typescript@5.9.3)': + '@typescript-eslint/utils@6.21.0(eslint@8.57.1)(typescript@5.9.3)': dependencies: '@eslint-community/eslint-utils': 4.9.0(eslint@8.57.1) - '@typescript-eslint/scope-manager': 8.46.0 - '@typescript-eslint/types': 8.46.0 - '@typescript-eslint/typescript-estree': 8.46.0(typescript@5.9.3) + '@types/json-schema': 7.0.15 + '@types/semver': 7.7.1 + '@typescript-eslint/scope-manager': 6.21.0 + '@typescript-eslint/types': 6.21.0 + '@typescript-eslint/typescript-estree': 6.21.0(typescript@5.9.3) eslint: 8.57.1 - typescript: 5.9.3 + semver: 7.7.2 transitivePeerDependencies: - supports-color + - typescript '@typescript-eslint/visitor-keys@6.21.0': dependencies: @@ -5208,9 +5225,9 @@ snapshots: escape-string-regexp@4.0.0: {} - eslint-config-standard-with-typescript@40.0.0(@typescript-eslint/eslint-plugin@8.46.0(@typescript-eslint/parser@8.46.0(eslint@8.57.1)(typescript@5.9.3))(eslint@8.57.1)(typescript@5.9.3))(eslint-plugin-import@2.32.0(eslint@8.57.1))(eslint-plugin-n@15.7.0(eslint@8.57.1))(eslint-plugin-promise@6.6.0(eslint@8.57.1))(eslint@8.57.1)(typescript@5.9.3): + eslint-config-standard-with-typescript@40.0.0(@typescript-eslint/eslint-plugin@6.21.0(@typescript-eslint/parser@8.46.0(eslint@8.57.1)(typescript@5.9.3))(eslint@8.57.1)(typescript@5.9.3))(eslint-plugin-import@2.32.0(eslint@8.57.1))(eslint-plugin-n@15.7.0(eslint@8.57.1))(eslint-plugin-promise@6.6.0(eslint@8.57.1))(eslint@8.57.1)(typescript@5.9.3): dependencies: - '@typescript-eslint/eslint-plugin': 8.46.0(@typescript-eslint/parser@8.46.0(eslint@8.57.1)(typescript@5.9.3))(eslint@8.57.1)(typescript@5.9.3) + '@typescript-eslint/eslint-plugin': 6.21.0(@typescript-eslint/parser@8.46.0(eslint@8.57.1)(typescript@5.9.3))(eslint@8.57.1)(typescript@5.9.3) '@typescript-eslint/parser': 6.21.0(eslint@8.57.1)(typescript@5.9.3) eslint: 8.57.1 eslint-config-standard: 17.1.0(eslint-plugin-import@2.32.0(eslint@8.57.1))(eslint-plugin-n@15.7.0(eslint@8.57.1))(eslint-plugin-promise@6.6.0(eslint@8.57.1))(eslint@8.57.1) @@ -5633,8 +5650,6 @@ snapshots: ignore@5.3.2: {} - ignore@7.0.5: {} - import-fresh@3.3.1: dependencies: parent-module: 1.0.1 diff --git a/common/scripts/package.json b/common/scripts/package.json index d394890641..b43f158e23 100644 --- a/common/scripts/package.json +++ b/common/scripts/package.json @@ -5,8 +5,8 @@ "format": "echo \"No format specified\"" }, "devDependencies": { - "@hcengineering/platform-rig": "workspace:^0.7.13", - "@typescript-eslint/eslint-plugin": "^8.46.0", + "@hcengineering/platform-rig": "workspace:^0.7.14", + "@typescript-eslint/eslint-plugin": "^6.11.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-promise": "^6.1.1", "eslint-plugin-n": "^15.4.0", diff --git a/packages/measurements-otlp/package.json b/packages/measurements-otlp/package.json index ef09da693e..8704e060b9 100644 --- a/packages/measurements-otlp/package.json +++ b/packages/measurements-otlp/package.json @@ -27,11 +27,11 @@ "_phase:validate": "compile validate" }, "devDependencies": { - "@hcengineering/platform-rig": "workspace:^0.7.13", + "@hcengineering/platform-rig": "workspace:^0.7.14", "jest": "^29.7.0", "ts-jest": "^29.1.1", "@types/jest": "^29.5.5", - "@typescript-eslint/eslint-plugin": "^8.46.0", + "@typescript-eslint/eslint-plugin": "^6.11.0", "@typescript-eslint/parser": "^8.46.0", "eslint": "^8.54.0", "eslint-config-standard-with-typescript": "^40.0.0", diff --git a/packages/measurements/package.json b/packages/measurements/package.json index 58b92c3489..ef59ea1492 100644 --- a/packages/measurements/package.json +++ b/packages/measurements/package.json @@ -27,11 +27,11 @@ "_phase:validate": "compile validate" }, "devDependencies": { - "@hcengineering/platform-rig": "workspace:^0.7.13", + "@hcengineering/platform-rig": "workspace:^0.7.14", "jest": "^29.7.0", "ts-jest": "^29.1.1", "@types/jest": "^29.5.5", - "@typescript-eslint/eslint-plugin": "^8.46.0", + "@typescript-eslint/eslint-plugin": "^6.11.0", "@typescript-eslint/parser": "^8.46.0", "eslint": "^8.54.0", "eslint-config-standard-with-typescript": "^40.0.0", diff --git a/packages/platform-rig/CHANGELOG.json b/packages/platform-rig/CHANGELOG.json index 0384274795..cf1e9b9528 100644 --- a/packages/platform-rig/CHANGELOG.json +++ b/packages/platform-rig/CHANGELOG.json @@ -1,6 +1,18 @@ { "name": "@hcengineering/platform-rig", "entries": [ + { + "version": "0.7.14", + "tag": "@hcengineering/platform-rig_v0.7.14", + "date": "Sat, 11 Oct 2025 18:10:18 GMT", + "comments": { + "patch": [ + { + "comment": "Fix eslint script" + } + ] + } + }, { "version": "0.7.13", "tag": "@hcengineering/platform-rig_v0.7.13", diff --git a/packages/platform-rig/CHANGELOG.md b/packages/platform-rig/CHANGELOG.md index f53aa2f328..be51dcba1d 100644 --- a/packages/platform-rig/CHANGELOG.md +++ b/packages/platform-rig/CHANGELOG.md @@ -1,6 +1,13 @@ # Change Log - @hcengineering/platform-rig -This log was last generated on Sat, 11 Oct 2025 17:58:53 GMT and should not be manually modified. +This log was last generated on Sat, 11 Oct 2025 18:10:18 GMT and should not be manually modified. + +## 0.7.14 +Sat, 11 Oct 2025 18:10:18 GMT + +### Patches + +- Fix eslint script ## 0.7.13 Sat, 11 Oct 2025 17:58:53 GMT diff --git a/packages/platform-rig/bin/sync-eslint-deps.js b/packages/platform-rig/bin/sync-eslint-deps.js index e76f47cd59..de8c77277e 100755 --- a/packages/platform-rig/bin/sync-eslint-deps.js +++ b/packages/platform-rig/bin/sync-eslint-deps.js @@ -45,6 +45,24 @@ function isEslintDependency(depName) { return ESLINT_PATTERNS.some((pattern) => depName.startsWith(pattern)) } +/** + * Find platform-rig in node_modules + */ +function findPlatformRigPath() { + // Try to find platform-rig in node_modules + const cwd = process.cwd() + const possiblePaths = [path.join(cwd, 'common', 'scripts', 'node_modules', '@hcengineering', 'platform-rig')] + + for (const platformRigPath of possiblePaths) { + const packageJsonPath = path.join(platformRigPath, 'package.json') + if (fs.existsSync(packageJsonPath)) { + return platformRigPath + } + } + + return null +} + /** * Get ESLint dev dependencies from platform-rig package.json */ @@ -128,18 +146,18 @@ function main() { console.log('🔍 Syncing ESLint dependencies from platform-rig to all packages...\n') try { - // Get all Rush projects - const projects = getRushProjects() - console.log(`Found ${projects.length} projects in Rush workspace\n`) - - // Find platform-rig project - const platformRigProject = projects.find((p) => p.name === '@hcengineering/platform-rig') - if (!platformRigProject) { - throw new Error('platform-rig package not found in Rush workspace') + // Find platform-rig in node_modules + const platformRigPath = findPlatformRigPath() + if (!platformRigPath) { + console.log('⚠️ platform-rig package not found in node_modules. Skipping sync.') + console.log(' Make sure @hcengineering/platform-rig is installed as a dependency.') + return } + console.log(`📍 Found platform-rig at: ${platformRigPath}\n`) + // Get ESLint dependencies from platform-rig - const eslintDeps = getEslintDepsFromPlatformRig(platformRigProject.fullPath) + const eslintDeps = getEslintDepsFromPlatformRig(platformRigPath) if (Object.keys(eslintDeps).length === 0) { console.log('⚠️ No ESLint dependencies found in platform-rig') @@ -152,6 +170,10 @@ function main() { } console.log() + // Get all Rush projects + const projects = getRushProjects() + console.log(`Found ${projects.length} projects in Rush workspace\n`) + // Update all packages let updatedCount = 0 let skippedCount = 0 diff --git a/packages/platform-rig/package.json b/packages/platform-rig/package.json index 84a0f54026..321a60ed2f 100644 --- a/packages/platform-rig/package.json +++ b/packages/platform-rig/package.json @@ -1,6 +1,6 @@ { "name": "@hcengineering/platform-rig", - "version": "0.7.13", + "version": "0.7.14", "scripts": { "build": "echo 'Not required'", "format": "echo 'Not required'" @@ -13,7 +13,7 @@ "typescript": "^5.9.3", "esbuild": "^0.25.10", "esbuild-plugin-copy": "^2.1.1", - "@typescript-eslint/eslint-plugin": "^8.46.0", + "@typescript-eslint/eslint-plugin": "^6.11.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-promise": "^6.1.1", "eslint-plugin-n": "^15.4.0", diff --git a/packages/postgres-base/package.json b/packages/postgres-base/package.json index c778b01999..07f2b667d7 100644 --- a/packages/postgres-base/package.json +++ b/packages/postgres-base/package.json @@ -28,12 +28,12 @@ "_phase:validate": "compile validate" }, "devDependencies": { - "@hcengineering/platform-rig": "workspace:^0.7.13", + "@hcengineering/platform-rig": "workspace:^0.7.14", "jest": "^29.7.0", "ts-jest": "^29.1.1", "@types/jest": "^29.5.5", "@types/node": "^22.15.29", - "@typescript-eslint/eslint-plugin": "^8.46.0", + "@typescript-eslint/eslint-plugin": "^6.11.0", "@typescript-eslint/parser": "^8.46.0", "eslint": "^8.54.0", "eslint-config-standard-with-typescript": "^40.0.0",