diff --git a/apps/cms/turbo.json b/apps/cms/turbo.json index d13417569..9a8723c9b 100644 --- a/apps/cms/turbo.json +++ b/apps/cms/turbo.json @@ -1,25 +1,44 @@ { - "extends": ["//"], + "extends": [ + "//" + ], "pipeline": { "dev": { "persistent": true, - "dependsOn": ["build", "^build"] + "dependsOn": [ + "build", + "^build" + ] }, "dev:light": { "notes": "Same as dev, but does not build the CMS, just clears caches", "persistent": true, - "dependsOn": ["^build"] + "dependsOn": [ + "^build" + ] }, "build": { - "dependsOn": ["prep"], - "inputs": ["config/**", "web/modules/custom/**", "web/themes/custom/**"], - "outputs": ["web/sites/default/files/**"] + "dependsOn": [ + "prep" + ], + "inputs": [ + "config/**", + "web/modules/custom/**", + "web/themes/custom/**" + ], + "outputs": [ + "web/sites/default/files/**" + ] }, "prep": { - "inputs": ["composer.json", "composer.lock", "scaffold/**"], + "inputs": [ + "composer.json", + "composer.lock", + "scaffold/**" + ], "outputs": [ "vendor/**", - "!**/.git/**", + "!*/**/.git/**", "web/**", "!web/modules/custom/**", "!web/themes/custom/**", diff --git a/package.json b/package.json index 9a7dc7edb..2e1d637ab 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "eslint-plugin-simple-import-sort": "^10.0.0", "husky": "^8.0.3", "prettier": "^2.8.8", - "turbo": "^1.10.7", + "turbo": "^1.11.3", "typescript": "^5.1.6", "vitest": "^0.32.2" }, diff --git a/packages/schema/turbo.json b/packages/schema/turbo.json index aae012b6b..8193d8a57 100644 --- a/packages/schema/turbo.json +++ b/packages/schema/turbo.json @@ -1,11 +1,20 @@ { "$schema": "https://turborepo.org/schema.json", - "extends": ["//"], + "extends": [ + "//" + ], "pipeline": { "prep": { - // Dedicated inputs for this package. - "inputs": ["src/**", "codegen.ts", ".graphqlconfig", "tsconfig.json"], - "outputs": ["build/**", "src/generated/index.ts"] + "inputs": [ + "src/**", + "codegen.ts", + ".graphqlconfig", + "tsconfig.json" + ], + "outputs": [ + "build/**", + "src/generated/index.ts" + ] } } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 4a1ef6839..c430f5f95 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -54,8 +54,8 @@ importers: specifier: ^2.8.8 version: 2.8.8 turbo: - specifier: ^1.10.7 - version: 1.10.7 + specifier: ^1.11.3 + version: 1.11.3 typescript: specifier: ^5.1.6 version: 5.1.6 @@ -4359,7 +4359,7 @@ packages: resolution: {integrity: sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: - eslint: ^6.0.0 || ^7.0.0 || >=8.0.0 + eslint: '7' dependencies: eslint: 7.32.0 eslint-visitor-keys: 3.4.1 @@ -10343,7 +10343,7 @@ packages: engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: '@typescript-eslint/parser': ^5.0.0 - eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 + eslint: '7' typescript: '*' peerDependenciesMeta: typescript: @@ -10420,7 +10420,7 @@ packages: resolution: {integrity: sha512-pHWlc3alg2oSMGwsU/Is8hbm3XFbcrb6P5wIxcQW9NsYBfnrubl/GhVVD/Jm/t8HXhA2WncoIRfBtnCgRGV96Q==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: - eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 + eslint: '7' typescript: '*' peerDependenciesMeta: typescript: @@ -10495,7 +10495,7 @@ packages: resolution: {integrity: sha512-vN6UztYqIu05nu7JqwQGzQKUJctzs3/Hg7E2Yx8rz9J+4LgtIDFWjjl1gm3pycH0P3mHAcEUBd23LVgfrsTR8A==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: - eslint: '*' + eslint: '7' typescript: '*' peerDependenciesMeta: typescript: @@ -10672,7 +10672,7 @@ packages: resolution: {integrity: sha512-tiJ7FFdFQOWssFa3gqb94Ilexyw0JVxj6vBzaSpfN/8IhoKkDuSAenUKvsSHw2A/TMpJb26izIszTXaqygkvpQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: - eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 + eslint: '7' dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@7.32.0) '@types/json-schema': 7.0.12 @@ -15827,7 +15827,7 @@ packages: resolution: {integrity: sha512-wLbQiFre3tdGgpDv67NQKnJuTlcUVYHas3k+DZCc2U2BadthoEY4B7hLPvAxaqdyOGCzuLfii2fqGph10va7oA==} hasBin: true peerDependencies: - eslint: '>=7.0.0' + eslint: '7' dependencies: eslint: 7.32.0 @@ -15943,7 +15943,7 @@ packages: engines: {node: '>=4'} peerDependencies: '@typescript-eslint/parser': '*' - eslint: ^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8 + eslint: '7' peerDependenciesMeta: '@typescript-eslint/parser': optional: true @@ -16004,7 +16004,7 @@ packages: resolution: {integrity: sha512-tjqWDwVZQo7UIPMeDReOpUgHCmCiH+ePnVT+5zVapL0uuHnegBUs2smM13CzOs2Xb5+MHMRFTs9v24yjba4Oig==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: - eslint: ^7.0.0 || ^8.0.0 + eslint: '7' dependencies: eslint: 7.32.0 @@ -16012,7 +16012,7 @@ packages: resolution: {integrity: sha512-oFc7Itz9Qxh2x4gNHStv3BqJq54ExXmfC+a1NjAta66IAN87Wu0R/QArgIS9qKzX3dXKPI9H5crl9QchNMY9+g==} engines: {node: '>=10'} peerDependencies: - eslint: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 + eslint: '7' dependencies: eslint: 7.32.0 @@ -16020,7 +16020,7 @@ packages: resolution: {integrity: sha512-t2fBMa+XzonrrNkyVirzKlvn5RXzzPwRHtMvLAtVZrt8oxgnTQaYbU6SXTOO1mwQgp1y5+toMSKInnzGr0Knqg==} engines: {node: '>=4'} peerDependencies: - eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8 + eslint: '7' dependencies: array-includes: 3.1.6 array.prototype.flatmap: 1.3.1 @@ -16042,7 +16042,7 @@ packages: /eslint-plugin-simple-import-sort@10.0.0(eslint@7.32.0): resolution: {integrity: sha512-AeTvO9UCMSNzIHRkg8S6c3RPy5YEwKWSQPx3DYghLedo2ZQxowPFLGDN1AZ2evfg6r6mjBSZSLxLFsWSu3acsw==} peerDependencies: - eslint: '>=5.0.0' + eslint: '7' dependencies: eslint: 7.32.0 @@ -29855,65 +29855,64 @@ packages: resolution: {integrity: sha512-gHbdMZlA6Ym6Ur5pSH/UWrNQMIM9IqTH6SoL1DbHpqEdQ8i+cFunSmSlFykPt0eGQwZ4d/XTHOl74H0/kFBVWw==} dev: true - /turbo-darwin-64@1.10.7: - resolution: {integrity: sha512-N2MNuhwrl6g7vGuz4y3fFG2aR1oCs0UZ5HKl8KSTn/VC2y2YIuLGedQ3OVbo0TfEvygAlF3QGAAKKtOCmGPNKA==} + /turbo-darwin-64@1.11.3: + resolution: {integrity: sha512-IsOOg2bVbIt3o/X8Ew9fbQp5t1hTHN3fGNQYrPQwMR2W1kIAC6RfbVD4A9OeibPGyEPUpwOH79hZ9ydFH5kifw==} cpu: [x64] os: [darwin] requiresBuild: true dev: true optional: true - /turbo-darwin-arm64@1.10.7: - resolution: {integrity: sha512-WbJkvjU+6qkngp7K4EsswOriO3xrNQag7YEGRtfLoDdMTk4O4QTeU6sfg2dKfDsBpTidTvEDwgIYJhYVGzrz9Q==} + /turbo-darwin-arm64@1.11.3: + resolution: {integrity: sha512-FsJL7k0SaPbJzI/KCnrf/fi3PgCDCjTliMc/kEFkuWVA6Httc3Q4lxyLIIinz69q6JTx8wzh6yznUMzJRI3+dg==} cpu: [arm64] os: [darwin] requiresBuild: true dev: true optional: true - /turbo-linux-64@1.10.7: - resolution: {integrity: sha512-x1CF2CDP1pDz/J8/B2T0hnmmOQI2+y11JGIzNP0KtwxDM7rmeg3DDTtDM/9PwGqfPotN9iVGgMiMvBuMFbsLhg==} + /turbo-linux-64@1.11.3: + resolution: {integrity: sha512-SvW7pvTVRGsqtSkII5w+wriZXvxqkluw5FO/MNAdFw0qmoov+PZ237+37/NgArqE3zVn1GX9P6nUx9VO+xcQAg==} cpu: [x64] os: [linux] requiresBuild: true dev: true optional: true - /turbo-linux-arm64@1.10.7: - resolution: {integrity: sha512-JtnBmaBSYbs7peJPkXzXxsRGSGBmBEIb6/kC8RRmyvPAMyqF8wIex0pttsI+9plghREiGPtRWv/lfQEPRlXnNQ==} + /turbo-linux-arm64@1.11.3: + resolution: {integrity: sha512-YhUfBi1deB3m+3M55X458J6B7RsIS7UtM3P1z13cUIhF+pOt65BgnaSnkHLwETidmhRh8Dl3GelaQGrB3RdCDw==} cpu: [arm64] os: [linux] requiresBuild: true dev: true optional: true - /turbo-windows-64@1.10.7: - resolution: {integrity: sha512-7A/4CByoHdolWS8dg3DPm99owfu1aY/W0V0+KxFd0o2JQMTQtoBgIMSvZesXaWM57z3OLsietFivDLQPuzE75w==} + /turbo-windows-64@1.11.3: + resolution: {integrity: sha512-s+vEnuM2TiZuAUUUpmBHDr6vnNbJgj+5JYfnYmVklYs16kXh+EppafYQOAkcRIMAh7GjV3pLq5/uGqc7seZeHA==} cpu: [x64] os: [win32] requiresBuild: true dev: true optional: true - /turbo-windows-arm64@1.10.7: - resolution: {integrity: sha512-D36K/3b6+hqm9IBAymnuVgyePktwQ+F0lSXr2B9JfAdFPBktSqGmp50JNC7pahxhnuCLj0Vdpe9RqfnJw5zATA==} + /turbo-windows-arm64@1.11.3: + resolution: {integrity: sha512-ZR5z5Zpc7cASwfdRAV5yNScCZBsgGSbcwiA/u3farCacbPiXsfoWUkz28iyrx21/TRW0bi6dbsB2v17swa8bjw==} cpu: [arm64] os: [win32] requiresBuild: true dev: true optional: true - /turbo@1.10.7: - resolution: {integrity: sha512-xm0MPM28TWx1e6TNC3wokfE5eaDqlfi0G24kmeHupDUZt5Wd0OzHFENEHMPqEaNKJ0I+AMObL6nbSZonZBV2HA==} + /turbo@1.11.3: + resolution: {integrity: sha512-RCJOUFcFMQNIGKSjC9YmA5yVP1qtDiBA0Lv9VIgrXraI5Da1liVvl3VJPsoDNIR9eFMyA/aagx1iyj6UWem5hA==} hasBin: true - requiresBuild: true optionalDependencies: - turbo-darwin-64: 1.10.7 - turbo-darwin-arm64: 1.10.7 - turbo-linux-64: 1.10.7 - turbo-linux-arm64: 1.10.7 - turbo-windows-64: 1.10.7 - turbo-windows-arm64: 1.10.7 + turbo-darwin-64: 1.11.3 + turbo-darwin-arm64: 1.11.3 + turbo-linux-64: 1.11.3 + turbo-linux-arm64: 1.11.3 + turbo-windows-64: 1.11.3 + turbo-windows-arm64: 1.11.3 dev: true /type-check@0.3.2: @@ -30958,6 +30957,7 @@ packages: - sugarss - supports-color - terser + dev: false optional: true /vitest@0.32.2(happy-dom@9.20.3): diff --git a/turbo.json b/turbo.json index 88c6f5a73..110b9a580 100644 --- a/turbo.json +++ b/turbo.json @@ -8,21 +8,12 @@ "dependsOn": ["test:static"] }, "test:static": { - // Static tests don't require a build of the package, but they - // require dependencies to be built, since these might contain - // type definitions. "dependsOn": ["^prep"] }, "test:unit": { - // Unit tests also don't require the package to be built since test - // tools build packages on the fly. Dependencies need to be built though. - // Also unit tests should not even run without static tests passing or - // dependencies unit tests failing. "dependsOn": ["^prep", "test:static", "^test:unit"] }, "test:integration": { - // Integration tests run the full system and require the package to be - // built and unit tested. "dependsOn": ["build", "test:unit"] } }