@firecms/schema_inference 3.0.0-alpha.5 → 3.0.0-alpha.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.
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "3.0.0-alpha.5",
2
+ "version": "3.0.0-alpha.8",
3
3
  "name": "@firecms/schema_inference",
4
4
  "access": "public",
5
5
  "packageManager": "yarn@3.2.3",
@@ -15,13 +15,13 @@
15
15
  }
16
16
  },
17
17
  "dependencies": {
18
+ "@firecms/core": "^3.0.0-alpha.8",
18
19
  "@types/node": "^20.5.9",
19
- "firecms": "^3.0.0-alpha.5",
20
20
  "typescript": "^5.2.2"
21
21
  },
22
22
  "scripts": {
23
23
  "dev": "vite",
24
24
  "build": "vite build && tsc --emitDeclarationOnly"
25
25
  },
26
- "gitHead": "f73e3367dc97cbea9c98408b3aafaa48454d440b"
26
+ "gitHead": "85611c918afa8321f1710b05ddc15f7a5354d077"
27
27
  }
@@ -1,6 +1,6 @@
1
1
  import { InferencePropertyBuilderProps } from "../types";
2
2
  import { findCommonInitialStringInPath } from "../strings";
3
- import { Property } from "firecms";
3
+ import { Property } from "@firecms/core";
4
4
 
5
5
  export function buildReferenceProperty({
6
6
  totalDocsCount,
@@ -1,4 +1,4 @@
1
- import { FileType, Property, StringProperty, unslugify } from "firecms";
1
+ import { FileType, Property, StringProperty, unslugify } from "@firecms/core";
2
2
  import { InferencePropertyBuilderProps, ValuesCountEntry } from "../types";
3
3
  import { findCommonInitialStringInPath } from "../strings";
4
4
  import { extractEnumFromValues } from "../util";
@@ -1,4 +1,4 @@
1
- import { PropertyValidationSchema } from "firecms";
1
+ import { PropertyValidationSchema } from "@firecms/core";
2
2
  import { InferencePropertyBuilderProps } from "../types";
3
3
 
4
4
  export function buildValidation({
@@ -7,7 +7,7 @@ import {
7
7
  resolveEnumValues,
8
8
  StringProperty,
9
9
  unslugify
10
- } from "firecms";
10
+ } from "@firecms/core";
11
11
  import {
12
12
  InferencePropertyBuilderProps,
13
13
  TypesCount,
@@ -1,5 +1,5 @@
1
1
  import { buildEntityPropertiesFromData } from "../collection_builder";
2
- import { DataType } from "firecms";
2
+ import { DataType } from "@firecms/core";
3
3
 
4
4
  import usage from "./usage.json" assert {
5
5
  type: 'json',
package/src/types.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { DataType } from "firecms";
1
+ import { DataType } from "@firecms/core";
2
2
 
3
3
  export type TypesCount = {
4
4
  number?: number,
package/src/util.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { unslugify } from "firecms";
1
+ import { unslugify } from "@firecms/core";
2
2
 
3
3
  export function extractEnumFromValues(values: string[]) {
4
4
  const enumValues = values
package/tsconfig.json CHANGED
@@ -32,8 +32,8 @@
32
32
  ],
33
33
  "baseUrl": ".",
34
34
  "paths": {
35
- "firecms": [
36
- "../firecms/src/index.ts"
35
+ "@firecms/core": [
36
+ "../firecms_core/src/index.ts"
37
37
  ]
38
38
  }
39
39
  },
package/vite.config.ts CHANGED
@@ -24,7 +24,7 @@ export default defineConfig(() => ({
24
24
  },
25
25
  resolve: {
26
26
  alias: {
27
- firecms: path.resolve(__dirname, "../firecms/src"),
27
+ "@firecms/core": path.resolve(__dirname, "../firecms_core/src"),
28
28
  "@firecms/schema_inference": path.resolve(__dirname, "../schema_inference/src"),
29
29
  }
30
30
  },