Skip to content

Commit

Permalink
ci: Setup pnpm catalog to centralize depedency versions (no-changelog) (
Browse files Browse the repository at this point in the history
  • Loading branch information
netroy authored and cstuncsik committed Aug 1, 2024
1 parent bdf0ec5 commit edeb633
Show file tree
Hide file tree
Showing 15 changed files with 446 additions and 370 deletions.
6 changes: 3 additions & 3 deletions cypress/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"start": "cd ..; pnpm start"
},
"devDependencies": {
"@types/lodash": "^4.14.195",
"@types/lodash": "catalog:",
"eslint-plugin-cypress": "^3.3.0",
"n8n-workflow": "workspace:*"
},
Expand All @@ -24,8 +24,8 @@
"cypress": "^13.11.0",
"cypress-otp": "^1.0.3",
"cypress-real-events": "^1.12.0",
"lodash": "4.17.21",
"nanoid": "3.3.6",
"lodash": "catalog:",
"nanoid": "catalog:",
"start-server-and-test": "^2.0.3"
}
}
13 changes: 4 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
"version": "1.52.0",
"private": true,
"engines": {
"node": ">=18.10",
"pnpm": ">=9.1"
"node": ">=20.15",
"pnpm": ">=9.5"
},
"packageManager": "pnpm@9.1.4",
"packageManager": "pnpm@9.6.0",
"scripts": {
"preinstall": "node scripts/block-npm-install.js",
"build": "turbo run build",
Expand Down Expand Up @@ -40,7 +40,6 @@
"@n8n_io/eslint-config": "workspace:*",
"@types/jest": "^29.5.3",
"@types/supertest": "^6.0.2",
"@vitest/coverage-v8": "^1.6.0",
"jest": "^29.6.2",
"jest-environment-jsdom": "^29.6.2",
"jest-expect-message": "^1.1.3",
Expand All @@ -56,11 +55,7 @@
"tsc-alias": "^1.8.7",
"tsc-watch": "^6.0.4",
"turbo": "2.0.6",
"typescript": "*",
"vite": "^5.2.12",
"vitest": "^1.6.0",
"vitest-mock-extended": "^1.3.1",
"vue-tsc": "^2.0.19"
"typescript": "*"
},
"pnpm": {
"onlyBuiltDependencies": [
Expand Down
10 changes: 7 additions & 3 deletions packages/@n8n/chat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,20 @@
"@vueuse/core": "^10.11.0",
"highlight.js": "^11.8.0",
"markdown-it-link-attributes": "^4.0.1",
"uuid": "^8.3.2",
"vue": "^3.4.21",
"uuid": "catalog:",
"vue": "catalog:frontend",
"vue-markdown-render": "^2.1.1"
},
"devDependencies": {
"@iconify-json/mdi": "^1.1.54",
"@n8n/storybook": "workspace:*",
"@types/markdown-it": "^12.2.3",
"@vitest/coverage-v8": "catalog:frontend",
"unplugin-icons": "^0.19.0",
"vite-plugin-dts": "^3.9.1"
"vite": "catalog:frontend",
"vitest": "catalog:frontend",
"vite-plugin-dts": "^3.9.1",
"vue-tsc": "catalog:frontend"
},
"files": [
"README.md",
Expand Down
2 changes: 1 addition & 1 deletion packages/@n8n/client-oauth2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@
"dist/**/*"
],
"dependencies": {
"axios": "1.6.7"
"axios": "catalog:"
}
}
2 changes: 1 addition & 1 deletion packages/@n8n/config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@
],
"dependencies": {
"reflect-metadata": "0.2.2",
"typedi": "0.10.0"
"typedi": "catalog:"
}
}
8 changes: 4 additions & 4 deletions packages/@n8n/nodes-langchain/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@
]
},
"devDependencies": {
"@types/basic-auth": "^1.1.3",
"@types/basic-auth": "catalog:",
"@types/cheerio": "^0.22.15",
"@types/html-to-text": "^9.0.1",
"@types/json-schema": "^7.0.15",
Expand Down Expand Up @@ -159,18 +159,18 @@
"@supabase/supabase-js": "2.43.4",
"@types/pg": "^8.11.3",
"@xata.io/client": "0.28.4",
"basic-auth": "2.0.1",
"basic-auth": "catalog:",
"cheerio": "1.0.0-rc.12",
"cohere-ai": "7.10.1",
"d3-dsv": "2.0.0",
"epub2": "3.0.2",
"form-data": "4.0.0",
"form-data": "catalog:",
"generate-schema": "2.6.0",
"html-to-text": "9.0.5",
"jsdom": "^23.0.1",
"json-schema-to-zod": "2.1.0",
"langchain": "0.2.11",
"lodash": "4.17.21",
"lodash": "catalog:",
"mammoth": "1.7.2",
"n8n-nodes-base": "workspace:*",
"n8n-workflow": "workspace:*",
Expand Down
24 changes: 12 additions & 12 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,23 +56,23 @@
"@types/compression": "1.0.1",
"@types/convict": "^6.1.1",
"@types/cookie-parser": "^1.4.2",
"@types/express": "^4.17.21",
"@types/express": "catalog:",
"@types/flat": "^5.0.5",
"@types/formidable": "^3.4.5",
"@types/json-diff": "^1.0.0",
"@types/jsonwebtoken": "^9.0.6",
"@types/lodash": "^4.14.195",
"@types/lodash": "catalog:",
"@types/psl": "^1.1.0",
"@types/replacestream": "^4.0.1",
"@types/shelljs": "^0.8.11",
"@types/sshpk": "^1.17.1",
"@types/superagent": "^8.1.7",
"@types/swagger-ui-express": "^4.1.6",
"@types/syslog-client": "^1.1.2",
"@types/uuid": "^8.3.2",
"@types/uuid": "catalog:",
"@types/validator": "^13.7.0",
"@types/ws": "^8.5.4",
"@types/xml2js": "^0.4.14",
"@types/xml2js": "catalog:",
"@types/yamljs": "^0.2.31",
"@vvo/tzdb": "^6.141.0",
"chokidar": "^3.5.2",
Expand All @@ -95,7 +95,7 @@
"@sentry/integrations": "7.87.0",
"@sentry/node": "7.87.0",
"aws4": "1.11.0",
"axios": "1.6.7",
"axios": "catalog:",
"bcryptjs": "2.4.3",
"bull": "4.12.1",
"cache-manager": "5.2.3",
Expand All @@ -115,7 +115,7 @@
"express-openapi-validator": "5.1.6",
"express-prom-bundle": "6.6.0",
"express-rate-limit": "7.2.0",
"fast-glob": "3.2.12",
"fast-glob": "catalog:",
"flat": "5.0.2",
"flatted": "3.2.7",
"formidable": "3.5.1",
Expand All @@ -128,14 +128,14 @@
"jsonschema": "1.4.1",
"jsonwebtoken": "9.0.2",
"ldapts": "4.2.6",
"lodash": "4.17.21",
"luxon": "3.3.0",
"lodash": "catalog:",
"luxon": "catalog:",
"mysql2": "3.10.0",
"n8n-core": "workspace:*",
"n8n-editor-ui": "workspace:*",
"n8n-nodes-base": "workspace:*",
"n8n-workflow": "workspace:*",
"nanoid": "3.3.6",
"nanoid": "catalog:",
"nodemailer": "6.9.9",
"oauth-1.0a": "2.2.6",
"open": "7.4.2",
Expand All @@ -162,12 +162,12 @@
"sshpk": "1.17.0",
"swagger-ui-express": "5.0.0",
"syslog-client": "1.1.1",
"typedi": "0.10.0",
"uuid": "8.3.2",
"typedi": "catalog:",
"uuid": "catalog:",
"validator": "13.7.0",
"winston": "3.8.2",
"ws": "8.17.1",
"xml2js": "0.6.2",
"xml2js": "catalog:",
"xmllint-wasm": "3.0.1",
"yamljs": "0.3.0",
"zod": "3.22.4"
Expand Down
24 changes: 12 additions & 12 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,32 +28,32 @@
"devDependencies": {
"@types/aws4": "^1.5.1",
"@types/concat-stream": "^2.0.0",
"@types/express": "^4.17.21",
"@types/lodash": "^4.14.195",
"@types/express": "catalog:",
"@types/lodash": "catalog:",
"@types/mime-types": "^2.1.0",
"@types/uuid": "^8.3.2",
"@types/xml2js": "^0.4.14"
"@types/uuid": "catalog:",
"@types/xml2js": "catalog:"
},
"dependencies": {
"@n8n/client-oauth2": "workspace:*",
"aws4": "1.11.0",
"axios": "1.6.7",
"axios": "catalog:",
"concat-stream": "2.0.0",
"cron": "3.1.7",
"fast-glob": "3.2.12",
"fast-glob": "catalog:",
"file-type": "16.5.4",
"form-data": "4.0.0",
"lodash": "4.17.21",
"luxon": "^3.4.4",
"form-data": "catalog:",
"lodash": "catalog:",
"luxon": "catalog:",
"mime-types": "2.1.35",
"n8n-workflow": "workspace:*",
"oauth-1.0a": "2.2.6",
"p-cancelable": "2.1.1",
"pretty-bytes": "5.6.0",
"qs": "6.11.0",
"ssh2": "1.15.0",
"typedi": "0.10.0",
"uuid": "8.3.2",
"xml2js": "0.6.2"
"typedi": "catalog:",
"uuid": "catalog:",
"xml2js": "catalog:"
}
}
9 changes: 7 additions & 2 deletions packages/design-system/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,18 @@
"@types/markdown-it-link-attributes": "^3.0.1",
"@types/sanitize-html": "^2.11.0",
"@vitejs/plugin-vue": "^5.0.4",
"@vitest/coverage-v8": "catalog:frontend",
"@vue/test-utils": "^2.4.3",
"autoprefixer": "^10.4.19",
"postcss": "^8.4.38",
"sass": "^1.64.1",
"tailwindcss": "^3.4.3",
"unplugin-icons": "^0.19.0",
"unplugin-vue-components": "^0.27.2"
"unplugin-vue-components": "^0.27.2",
"vite": "catalog:frontend",
"vitest": "catalog:frontend",
"vitest-mock-extended": "catalog:frontend",
"vue-tsc": "catalog:frontend"
},
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^1.2.36",
Expand All @@ -45,7 +50,7 @@
"markdown-it-link-attributes": "^4.0.1",
"markdown-it-task-lists": "^2.1.1",
"sanitize-html": "2.12.1",
"vue": "^3.4.21",
"vue": "catalog:frontend",
"vue-boring-avatars": "^1.3.0",
"vue-router": "^4.2.2",
"xss": "^1.0.14"
Expand Down
17 changes: 11 additions & 6 deletions packages/editor-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"@vue-flow/node-resizer": "^1.4.0",
"@vueuse/components": "^10.11.0",
"@vueuse/core": "^10.11.0",
"axios": "1.6.7",
"axios": "catalog:",
"chart.js": "^4.4.0",
"codemirror-lang-html-n8n": "^1.0.0",
"dateformat": "^3.0.3",
Expand All @@ -55,17 +55,17 @@
"humanize-duration": "^3.27.2",
"jsonpath": "^1.1.1",
"lodash-es": "^4.17.21",
"luxon": "^3.3.0",
"luxon": "catalog:",
"n8n-design-system": "workspace:*",
"n8n-workflow": "workspace:*",
"pinia": "^2.1.6",
"prettier": "^3.1.0",
"qrcode.vue": "^3.3.4",
"stream-browserify": "^3.0.0",
"timeago.js": "^4.0.2",
"uuid": "^8.3.2",
"uuid": "catalog:",
"v3-infinite-loading": "^1.2.2",
"vue": "^3.4.21",
"vue": "catalog:frontend",
"vue-agile": "^2.0.0",
"vue-chartjs": "^5.2.0",
"vue-i18n": "^9.2.2",
Expand All @@ -86,11 +86,16 @@
"@types/jsonpath": "^0.2.0",
"@types/lodash-es": "^4.17.6",
"@types/luxon": "^3.2.0",
"@types/uuid": "^8.3.2",
"@types/uuid": "catalog:",
"@vitest/coverage-v8": "catalog:frontend",
"cross-env": "^7.0.3",
"miragejs": "^0.1.48",
"unplugin-icons": "^0.19.0",
"unplugin-vue-components": "^0.27.2"
"unplugin-vue-components": "^0.27.2",
"vite": "catalog:frontend",
"vitest": "catalog:frontend",
"vitest-mock-extended": "catalog:frontend",
"vue-tsc": "catalog:frontend"
},
"peerDependencies": {
"@fortawesome/fontawesome-svg-core": "*",
Expand Down
4 changes: 2 additions & 2 deletions packages/node-dev/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@
"dependencies": {
"@oclif/core": "4.0.7",
"change-case": "^4.1.1",
"fast-glob": "^3.2.5",
"fast-glob": "catalog:",
"inquirer": "^7.0.1",
"n8n-core": "workspace:*",
"n8n-workflow": "workspace:*",
"replace-in-file": "^6.0.0",
"tmp-promise": "^3.0.3",
"typedi": "^0.10.0"
"typedi": "catalog:"
}
}
Loading

0 comments on commit edeb633

Please sign in to comment.