@objectstack/core 1.0.7 → 1.0.8

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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @objectstack/core@1.0.7 build /home/runner/work/spec/spec/packages/core
2
+ > @objectstack/core@1.0.8 build /home/runner/work/spec/spec/packages/core
3
3
  > tsup --config ../../tsup.config.ts
4
4
 
5
5
  CLI Building entry: src/index.ts
@@ -10,13 +10,13 @@
10
10
  CLI Cleaning output folder
11
11
  ESM Build start
12
12
  CJS Build start
13
- ESM dist/index.js 127.94 KB
14
- ESM dist/index.js.map 268.47 KB
15
- ESM ⚡️ Build success in 90ms
16
- CJS dist/index.cjs 130.56 KB
17
- CJS dist/index.cjs.map 269.71 KB
18
- CJS ⚡️ Build success in 90ms
13
+ ESM dist/index.js 127.98 KB
14
+ ESM dist/index.js.map 268.74 KB
15
+ ESM ⚡️ Build success in 121ms
16
+ CJS dist/index.cjs 130.60 KB
17
+ CJS dist/index.cjs.map 269.99 KB
18
+ CJS ⚡️ Build success in 121ms
19
19
  DTS Build start
20
- DTS ⚡️ Build success in 3611ms
20
+ DTS ⚡️ Build success in 4155ms
21
21
  DTS dist/index.d.ts 52.43 KB
22
22
  DTS dist/index.d.cts 52.43 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @objectstack/core
2
2
 
3
+ ## 1.0.8
4
+
5
+ ### Patch Changes
6
+
7
+ - @objectstack/spec@1.0.8
8
+
3
9
  ## 1.0.7
4
10
 
5
11
  ### Patch Changes
package/dist/index.cjs CHANGED
@@ -879,10 +879,11 @@ var PluginLoader = class {
879
879
  }
880
880
  // Private helper methods
881
881
  toPluginMetadata(plugin) {
882
- return {
883
- ...plugin,
884
- version: plugin.version || "0.0.0"
885
- };
882
+ const metadata = plugin;
883
+ if (!metadata.version) {
884
+ metadata.version = "0.0.0";
885
+ }
886
+ return metadata;
886
887
  }
887
888
  validatePluginStructure(plugin) {
888
889
  if (!plugin.name) {