@baseplate-dev/project-builder-common 0.1.3 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +5 -2
  2. package/package.json +14 -7
package/index.js CHANGED
@@ -1,6 +1,9 @@
1
- import { discoverPlugins } from '@baseplate-dev/project-builder-server';
2
1
  import { fileURLToPath } from 'node:url';
3
2
 
4
- export function getDefaultPlugins(logger) {
3
+ export async function getDefaultPlugins(logger) {
4
+ // dynamically import to avoid loading the server package unnecessarily
5
+ const { discoverPlugins } = await import(
6
+ '@baseplate-dev/project-builder-server/plugins'
7
+ );
5
8
  return discoverPlugins(fileURLToPath(import.meta.url), logger);
6
9
  }
package/package.json CHANGED
@@ -1,7 +1,14 @@
1
1
  {
2
2
  "name": "@baseplate-dev/project-builder-common",
3
- "version": "0.1.3",
3
+ "version": "0.2.0",
4
4
  "description": "Holds common packages for plugins and generators",
5
+ "keywords": [
6
+ "common",
7
+ "baseplate",
8
+ "full-stack",
9
+ "typescript",
10
+ "code-generation"
11
+ ],
5
12
  "homepage": "https://www.baseplate.dev",
6
13
  "repository": {
7
14
  "type": "git",
@@ -22,14 +29,14 @@
22
29
  "dependencies": {
23
30
  "eslint": "9.26.0",
24
31
  "prettier": "3.5.3",
25
- "@baseplate-dev/plugin-auth": "0.1.3",
26
- "@baseplate-dev/plugin-storage": "0.1.3",
27
- "@baseplate-dev/project-builder-lib": "0.1.3",
28
- "@baseplate-dev/project-builder-server": "0.1.3",
29
- "@baseplate-dev/sync": "0.1.3"
32
+ "@baseplate-dev/plugin-auth": "1.0.0",
33
+ "@baseplate-dev/plugin-storage": "1.0.0",
34
+ "@baseplate-dev/project-builder-lib": "0.2.0",
35
+ "@baseplate-dev/project-builder-server": "0.2.0",
36
+ "@baseplate-dev/sync": "0.2.0"
30
37
  },
31
38
  "devDependencies": {
32
- "@baseplate-dev/tools": "0.1.3"
39
+ "@baseplate-dev/tools": "0.2.0"
33
40
  },
34
41
  "engines": {
35
42
  "node": "^22.0.0"