@open-xchange/app-suite-ui-sdk 0.1.4 → 0.1.6

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.
package/README.md CHANGED
@@ -98,7 +98,7 @@ extends:
98
98
 
99
99
  - `packageManager` and `engines.node` match the SDK.
100
100
  - `devDependencies` lists no tooling that the SDK or `@open-xchange/lint` provides, and none of the tools the SDK replaced (release-it, lint-staged, simple-git-hooks, husky, eslint-config-standard). The same packages in `dependencies` only get a warning, because the project may need them at runtime.
101
- - Workspace packages from the `packages` list in `pnpm-workspace.yaml` get the same dependency check. Their scripts only get warnings, because the SDK is a dependency of the workspace root.
101
+ - Workspace packages from the `packages` list in `pnpm-workspace.yaml` get the same dependency check. Their scripts only get warnings, because the SDK is a dependency of the workspace root. A package without `"private": true` is published and builds on its own, so it keeps its tooling and only gets warnings.
102
102
  - Scripts call `ui-sdk` instead of the tools. `--fix` rewrites single commands like `vite build` or `eslint src` and keeps their arguments. Scripts that chain commands, pipe or redirect get a warning and need a manual change.
103
103
  - `pnpm-workspace.yaml` has `publicHoistPattern` (so editors and test files find eslint, stylelint, typescript, vite and vitest, and the project's own configs still find every SDK package doctor removed from `package.json`), `allowBuilds`, `minimumReleaseAgeExclude` for `@open-xchange/*` (pnpm otherwise refuses a freshly released SDK version, which blocks the renovate bump), and the SDK security overrides.
104
104
  - `lefthook.yml` (or `.lefthook.yml`) extends the SDK config.
package/lib/doctor.js CHANGED
@@ -90,8 +90,13 @@ export function checkPackageJson (pkg, { provided = providedPackages(), installe
90
90
  fixed.engines = { ...pkg.engines, node: toolchain.node }
91
91
  }
92
92
 
93
+ const published = !root && pkg.private !== true
93
94
  for (const name of Object.keys(pkg.devDependencies || {})) {
94
95
  if (!provided.has(name)) continue
96
+ if (published) {
97
+ findings.push({ level: 'warn', fixable: false, message: `devDependencies lists ${name}, which the SDK provides; kept, because the package is published and builds on its own` })
98
+ continue
99
+ }
95
100
  findings.push({ level: 'error', fixable: true, message: `devDependencies lists ${name}, which the SDK provides` })
96
101
  delete fixed.devDependencies[name]
97
102
  if (installed.has(name)) hoist.add(name)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-xchange/app-suite-ui-sdk",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
4
4
  "description": "Shared build, lint and test tooling for OX App Suite UI projects",
5
5
  "type": "module",
6
6
  "bin": {
@@ -35,12 +35,12 @@
35
35
  },
36
36
  "dependencies": {
37
37
  "@open-xchange/lint": "0.4.0",
38
- "@open-xchange/vite-plugin-ox-bundle": "1.0.1",
38
+ "@open-xchange/vite-plugin-ox-bundle": "1.0.2",
39
39
  "@open-xchange/vite-plugin-ox-css": "1.0.2",
40
40
  "@open-xchange/vite-plugin-ox-externals": "1.0.1",
41
- "@open-xchange/vite-plugin-ox-manifests": "1.0.7",
41
+ "@open-xchange/vite-plugin-ox-manifests": "1.1.0",
42
42
  "@open-xchange/vite-plugin-po2json": "1.1.7",
43
- "@open-xchange/vite-plugin-proxy": "1.0.5",
43
+ "@open-xchange/vite-plugin-proxy": "1.1.0",
44
44
  "@tailwindcss/vite": "4.3.3",
45
45
  "@vitejs/plugin-vue": "6.0.10",
46
46
  "@vitest/coverage-v8": "5.0.5",
@@ -1,4 +1,3 @@
1
1
  {
2
- "glob@>=9.0.0 <14.0.2": "^14.0.2",
3
2
  "minimatch@<11.0.1": "^11.0.1"
4
3
  }