@objectstack/core 1.0.6 → 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.6 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
- CJS dist/index.cjs 130.54 KB
14
- CJS dist/index.cjs.map 269.68 KB
15
- CJS ⚡️ Build success in 84ms
16
- ESM dist/index.js 127.92 KB
17
- ESM dist/index.js.map 268.43 KB
18
- ESM ⚡️ Build success in 86ms
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 3937ms
21
- DTS dist/index.d.ts 52.30 KB
22
- DTS dist/index.d.cts 52.30 KB
20
+ DTS ⚡️ Build success in 4155ms
21
+ DTS dist/index.d.ts 52.43 KB
22
+ DTS dist/index.d.cts 52.43 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @objectstack/core
2
2
 
3
+ ## 1.0.8
4
+
5
+ ### Patch Changes
6
+
7
+ - @objectstack/spec@1.0.8
8
+
9
+ ## 1.0.7
10
+
11
+ ### Patch Changes
12
+
13
+ - @objectstack/spec@1.0.7
14
+
3
15
  ## 1.0.6
4
16
 
5
17
  ### 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) {
@@ -2021,6 +2022,7 @@ function createApiRegistryPlugin(config = {}) {
2021
2022
  } = config;
2022
2023
  return {
2023
2024
  name: "com.objectstack.core.api-registry",
2025
+ type: "standard",
2024
2026
  version: "1.0.0",
2025
2027
  init: async (ctx) => {
2026
2028
  const registry = new ApiRegistry(