@crossworks/content-core 0.712.46 → 0.712.57
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,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crossworks/content-core",
|
|
3
|
-
"version": "0.712.
|
|
3
|
+
"version": "0.712.57",
|
|
4
4
|
"description": "Browser-safe content logic — markdown, blocks, pages, tables, formulas — shared by the server and any client. Zero server deps by design: nothing here may reach @mantle/db, node-only APIs, or the network (the jackdaw-repo-split P0 boundary).",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"./tree": "./src/tree.ts"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@mantle/client-types": "npm:@crossworks/client-types@0.712.
|
|
41
|
+
"@mantle/client-types": "npm:@crossworks/client-types@0.712.57",
|
|
42
42
|
"marked": "^18.1.2",
|
|
43
43
|
"mathjs": "15.2.0"
|
|
44
44
|
},
|
|
@@ -48,7 +48,7 @@ describe('isPurposeArchetype', () => {
|
|
|
48
48
|
|
|
49
49
|
describe('purposeArchetypeLabel', () => {
|
|
50
50
|
it('maps a known key to its label', () => {
|
|
51
|
-
expect(purposeArchetypeLabel('personal')).toBe('Personal
|
|
51
|
+
expect(purposeArchetypeLabel('personal')).toBe('Personal memory core');
|
|
52
52
|
});
|
|
53
53
|
|
|
54
54
|
it('returns null for unknown / blank keys', () => {
|
|
@@ -36,7 +36,7 @@ export type PurposeArchetype = {
|
|
|
36
36
|
export const PURPOSE_ARCHETYPES: PurposeArchetype[] = [
|
|
37
37
|
{
|
|
38
38
|
key: 'personal',
|
|
39
|
-
label: 'Personal
|
|
39
|
+
label: 'Personal memory core',
|
|
40
40
|
blurb: 'A second brain for your life — notes, journal, tasks, people, and memory.',
|
|
41
41
|
},
|
|
42
42
|
{
|
|
@@ -64,7 +64,7 @@ describe('readAvatarStyle', () => {
|
|
|
64
64
|
});
|
|
65
65
|
|
|
66
66
|
describe('readNeatBackground', () => {
|
|
67
|
-
it('switches the background on for a
|
|
67
|
+
it('switches the background on for a memory core that never set it', () => {
|
|
68
68
|
expect(readNeatBackground(undefined)).toBe(FRESH_APPEARANCE.neatBackground);
|
|
69
69
|
expect(readNeatBackground(null)).toBe(FRESH_APPEARANCE.neatBackground);
|
|
70
70
|
});
|