@walkeros/config 3.0.2 → 4.0.0-next-1773967844643

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/package.json +1 -1
  2. package/tsup/index.mjs +5 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@walkeros/config",
3
- "version": "3.0.2",
3
+ "version": "4.0.0-next-1773967844643",
4
4
  "type": "module",
5
5
  "description": "Shared development configuration for walkerOS packages (TypeScript, ESLint, Jest, tsup)",
6
6
  "license": "MIT",
package/tsup/index.mjs CHANGED
@@ -157,7 +157,11 @@ const buildDev = (customConfig = {}) => {
157
157
  const walkerOS = pkg.walkerOS || {};
158
158
  const meta = { package: pkg.name, version: pkg.version };
159
159
  if (walkerOS.type) meta.type = walkerOS.type;
160
- if (walkerOS.platform) meta.platform = walkerOS.platform;
160
+ if (walkerOS.platform) {
161
+ meta.platform = Array.isArray(walkerOS.platform)
162
+ ? walkerOS.platform
163
+ : [walkerOS.platform];
164
+ }
161
165
  if (walkerOS.renderer) meta.renderer = walkerOS.renderer;
162
166
  if (walkerOS.exports) meta.exports = walkerOS.exports;
163
167