From 9e28af615362d5367d345c281cd9274f57164891 Mon Sep 17 00:00:00 2001 From: Bartek Wrona <wrona@syncad.com> Date: Tue, 18 Feb 2025 00:56:39 +0100 Subject: [PATCH] Initial definition of common pnpm config using pnpm catalogs feature --- pnpm-config/.npmrc | 2 ++ pnpm-config/pnpm-workspace.yaml | 24 ++++++++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 pnpm-config/.npmrc create mode 100644 pnpm-config/pnpm-workspace.yaml diff --git a/pnpm-config/.npmrc b/pnpm-config/.npmrc new file mode 100644 index 0000000..c09005d --- /dev/null +++ b/pnpm-config/.npmrc @@ -0,0 +1,2 @@ +# https://gitlab.syncad.com/hive group specification, offering aggregated package view: https://gitlab.syncad.com/groups/hive/-/packages +@hiveio:registry=https://gitlab.syncad.com/api/v4/groups/136/-/packages/npm/ diff --git a/pnpm-config/pnpm-workspace.yaml b/pnpm-config/pnpm-workspace.yaml new file mode 100644 index 0000000..a6e4b6c --- /dev/null +++ b/pnpm-config/pnpm-workspace.yaml @@ -0,0 +1,24 @@ +packages: + - ./* # maybe we can constrain it to some common subdirs + +catalogs: + # Can be referenced through "catalog:rollup-toolset" + rollup-toolset: + rollup: ^4.22.4 + rollup-plugin-copy: ^3.5.0 + rollup-plugin-dts: ^6.1.1 + "@rollup/plugin-commonjs": ^27.0.0 + "@rollup/plugin-node-resolve": ^15.3.0 + "@rollup/plugin-replace": ^6.0.1 + + typedoc-toolset: + "typedoc": "0.27.3" + "typedoc-gitlab-wiki-theme": "^2.1.0" + "typedoc-plugin-markdown": "4.3.1" + + typescript: + typescript: 5.7.3 + + # We can make also separate entries to allow choosing just a part of toolset defined above + rollup: + rollup: ^4.22.4 -- GitLab