@lowdefy/blocks-diff 0.0.0-experimental-20260420110710
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/LICENSE +201 -0
- package/README.md +45 -0
- package/dist/blocks/DiffGit/DiffGit.js +39 -0
- package/dist/blocks/DiffGit/e2e.js +25 -0
- package/dist/blocks/DiffGit/meta.js +95 -0
- package/dist/blocks/DiffList/DiffList.js +63 -0
- package/dist/blocks/DiffList/e2e.js +25 -0
- package/dist/blocks/DiffList/meta.js +225 -0
- package/dist/blocks/DiffSideBySide/DiffSideBySide.js +65 -0
- package/dist/blocks/DiffSideBySide/e2e.js +25 -0
- package/dist/blocks/DiffSideBySide/meta.js +225 -0
- package/dist/blocks/DiffTimeline/DiffTimeline.js +62 -0
- package/dist/blocks/DiffTimeline/e2e.js +25 -0
- package/dist/blocks/DiffTimeline/meta.js +211 -0
- package/dist/blocks.js +18 -0
- package/dist/e2e.js +18 -0
- package/dist/metas.js +18 -0
- package/dist/shared/ChangeTypeTag.js +44 -0
- package/dist/shared/DiffShell.js +50 -0
- package/dist/shared/ValueCell.js +126 -0
- package/dist/shared/breadcrumbLabel.js +44 -0
- package/dist/shared/buildDiffModel.js +231 -0
- package/dist/shared/constants.js +36 -0
- package/dist/shared/formatValue.js +111 -0
- package/dist/shared/pathUtils.js +99 -0
- package/dist/shared/renderers/GitDiffRenderer.js +87 -0
- package/dist/shared/renderers/ListRenderer.js +314 -0
- package/dist/shared/renderers/SideBySideRenderer.js +193 -0
- package/dist/shared/renderers/TimelineRenderer.js +57 -0
- package/dist/shared/serializeYaml.js +74 -0
- package/dist/shared/withTheme.js +40 -0
- package/dist/types.js +17 -0
- package/package.json +74 -0
package/package.json
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@lowdefy/blocks-diff",
|
|
3
|
+
"version": "0.0.0-experimental-20260420110710",
|
|
4
|
+
"license": "Apache-2.0",
|
|
5
|
+
"description": "Lowdefy diff blocks — list, side-by-side, timeline, and git-diff views for before/after object comparisons.",
|
|
6
|
+
"homepage": "https://lowdefy.com",
|
|
7
|
+
"keywords": [
|
|
8
|
+
"lowdefy",
|
|
9
|
+
"lowdefy blocks",
|
|
10
|
+
"diff",
|
|
11
|
+
"lowdefy plugin"
|
|
12
|
+
],
|
|
13
|
+
"bugs": {
|
|
14
|
+
"url": "https://github.com/lowdefy/lowdefy/issues"
|
|
15
|
+
},
|
|
16
|
+
"contributors": [
|
|
17
|
+
{
|
|
18
|
+
"name": "Sam Tolmay",
|
|
19
|
+
"url": "https://github.com/SamTolmay"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"name": "Gerrie van Wyk",
|
|
23
|
+
"url": "https://github.com/Gervwyk"
|
|
24
|
+
}
|
|
25
|
+
],
|
|
26
|
+
"repository": {
|
|
27
|
+
"type": "git",
|
|
28
|
+
"url": "https://github.com/lowdefy/lowdefy.git"
|
|
29
|
+
},
|
|
30
|
+
"type": "module",
|
|
31
|
+
"exports": {
|
|
32
|
+
"./*": "./dist/*",
|
|
33
|
+
"./blocks": "./dist/blocks.js",
|
|
34
|
+
"./e2e": "./dist/e2e.js",
|
|
35
|
+
"./metas": "./dist/metas.js",
|
|
36
|
+
"./types": "./dist/types.js"
|
|
37
|
+
},
|
|
38
|
+
"files": [
|
|
39
|
+
"dist/*"
|
|
40
|
+
],
|
|
41
|
+
"dependencies": {
|
|
42
|
+
"@ant-design/icons": "6.1.0",
|
|
43
|
+
"@lowdefy/block-utils": "0.0.0-experimental-20260420110710",
|
|
44
|
+
"@lowdefy/helpers": "0.0.0-experimental-20260420110710",
|
|
45
|
+
"dayjs": "1.11.19",
|
|
46
|
+
"diff": "5.2.2",
|
|
47
|
+
"microdiff": "1.4.0",
|
|
48
|
+
"pluralize": "8.0.0",
|
|
49
|
+
"yaml": "2.3.4"
|
|
50
|
+
},
|
|
51
|
+
"peerDependencies": {
|
|
52
|
+
"antd": ">=6",
|
|
53
|
+
"react": ">=18",
|
|
54
|
+
"react-dom": ">=18"
|
|
55
|
+
},
|
|
56
|
+
"devDependencies": {
|
|
57
|
+
"@lowdefy/block-dev-e2e": "0.0.0-experimental-20260420110710",
|
|
58
|
+
"@lowdefy/e2e-utils": "0.0.0-experimental-20260420110710",
|
|
59
|
+
"@playwright/test": "1.50.1",
|
|
60
|
+
"@swc/cli": "0.8.0",
|
|
61
|
+
"@swc/core": "1.15.18",
|
|
62
|
+
"copyfiles": "2.4.1"
|
|
63
|
+
},
|
|
64
|
+
"publishConfig": {
|
|
65
|
+
"access": "public"
|
|
66
|
+
},
|
|
67
|
+
"scripts": {
|
|
68
|
+
"build": "swc src --out-dir dist --config-file ../../../../.swcrc --cli-config-file ../../../../.swc-cli.json && pnpm copyfiles",
|
|
69
|
+
"clean": "rm -rf dist",
|
|
70
|
+
"copyfiles": "copyfiles -u 1 \"./src/**/*\" dist -e \"./src/**/*.js\" -e \"./src/**/*.yaml\" -e \"./src/**/*.snap\"",
|
|
71
|
+
"e2e": "playwright test --config e2e/playwright.config.js",
|
|
72
|
+
"e2e:ui": "playwright test --config e2e/playwright.config.js --ui"
|
|
73
|
+
}
|
|
74
|
+
}
|