@yext/visual-editor 0.0.58 → 0.0.60
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/dist/editor.css +1 -0
- package/dist/index.d.cts +271 -25
- package/dist/index.d.ts +271 -25
- package/dist/plugin/{debugger-BpM0pKDX-CP8kFF3p.js → debugger-DIK3Bqjc-CRRDfC2D.js} +1 -1
- package/dist/plugin/{debugger-BpM0pKDX-BLxITb1w.cjs → debugger-DIK3Bqjc-CqrT9Nr5.cjs} +1 -1
- package/dist/plugin/{index-rUHEkvwT.cjs → index-Bqx5h4GD.cjs} +813 -808
- package/dist/plugin/{index-DRXUqIgY.js → index-CxdUUMfh.js} +93034 -92482
- package/dist/plugin/plugin.cjs +1 -1
- package/dist/plugin/plugin.js +1 -1
- package/dist/style.css +1 -1
- package/dist/visual-editor.cjs +108 -71
- package/dist/visual-editor.js +19814 -18966
- package/package.json +32 -33
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yext/visual-editor",
|
|
3
3
|
"description": "Component library for Yext Pages Visual Editor",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.60",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"author": "sumo@yext.com",
|
|
7
7
|
"repository": {
|
|
@@ -29,35 +29,8 @@
|
|
|
29
29
|
"./plugin": {
|
|
30
30
|
"default": "./dist/plugin/plugin.js"
|
|
31
31
|
},
|
|
32
|
-
"./style.css": "./dist/style.css"
|
|
33
|
-
|
|
34
|
-
"scripts": {
|
|
35
|
-
"build:components": "tsc && vite build",
|
|
36
|
-
"build:plugin": "vite build --config vite.config.plugin.ts",
|
|
37
|
-
"build": "pnpm run build:components && pnpm run build:plugin",
|
|
38
|
-
"test": "pnpm run test:editor && pnpm run test:components",
|
|
39
|
-
"test:editor": "vitest run --exclude './src/components/**/*.test.tsx' --browser.enabled false",
|
|
40
|
-
"test:components": "vitest run ./src/components/**",
|
|
41
|
-
"test:components:local": "./scripts/localScreenshots.sh",
|
|
42
|
-
"prettier": "prettier --write --cache .",
|
|
43
|
-
"lint": "oxlint --fix --ignore-pattern 'src/vite-plugin/templates/*'",
|
|
44
|
-
"autofix": "pnpm run lint && pnpm run prettier",
|
|
45
|
-
"prepare": "pnpm build",
|
|
46
|
-
"generate-notices": "generate-license-file --input package.json --output ./THIRD-PARTY-NOTICES --overwrite",
|
|
47
|
-
"generate-component-docs": "api-extractor run --local ; node generate-docs.mjs",
|
|
48
|
-
"docs:dev": "vitepress dev .",
|
|
49
|
-
"docs:build": "vitepress build .",
|
|
50
|
-
"docs:preview": "vitepress preview .",
|
|
51
|
-
"generate-registry": "tsx src/components/registry/build-registry.cts",
|
|
52
|
-
"build-registry-docs": "pnpm run docs:build && pnpm run generate-registry",
|
|
53
|
-
"i18n:insert": "pnpm exec tsx scripts/insertI18n.ts",
|
|
54
|
-
"i18n:insert:dry": "pnpm exec tsx scripts/insertI18n.ts --dry-run",
|
|
55
|
-
"i18n:scan": "i18next-scanner --config i18next-scanner.config.cjs",
|
|
56
|
-
"i18n:translate": "pnpm exec tsx scripts/generateTranslations.ts",
|
|
57
|
-
"i18n:translate:dry": "pnpm exec tsx scripts/generateTranslations.ts --dry-run",
|
|
58
|
-
"i18n:sort": "pnpm exec tsx scripts/sortTranslations.ts",
|
|
59
|
-
"i18n:update": "pnpm run i18n:scan && pnpm run i18n:translate && pnpm run i18n:sort",
|
|
60
|
-
"i18n:check-empty": "pnpm exec tsx scripts/checkEmptyTranslations.ts"
|
|
32
|
+
"./style.css": "./dist/style.css",
|
|
33
|
+
"./editor.css": "./dist/editor.css"
|
|
61
34
|
},
|
|
62
35
|
"dependencies": {
|
|
63
36
|
"@measured/puck": "0.20.1",
|
|
@@ -102,7 +75,6 @@
|
|
|
102
75
|
"engines": {
|
|
103
76
|
"node": "^18 || ^20.2.0 || ^22"
|
|
104
77
|
},
|
|
105
|
-
"packageManager": "pnpm@9.12.3",
|
|
106
78
|
"lint-staged": {
|
|
107
79
|
"*": "prettier --write --cache --ignore-unknown",
|
|
108
80
|
"*.{ts,js,tsx,jsx}": "oxlint --fix --ignore-pattern 'src/vite-plugin/templates/*'"
|
|
@@ -156,11 +128,38 @@
|
|
|
156
128
|
"zod": "^3.23.8"
|
|
157
129
|
},
|
|
158
130
|
"peerDependencies": {
|
|
159
|
-
"@yext/pages-components": "^1.1.
|
|
131
|
+
"@yext/pages-components": "^1.1.13",
|
|
160
132
|
"@yext/search-headless-react": "^2.5.4",
|
|
161
133
|
"@yext/search-ui-react": "^1.9.3",
|
|
162
134
|
"mapbox-gl": "^2.9.2",
|
|
163
135
|
"react": "^17.0.2 || ^18.2.0",
|
|
164
136
|
"react-dom": "^17.0.2 || ^18.2.0"
|
|
137
|
+
},
|
|
138
|
+
"scripts": {
|
|
139
|
+
"build:components": "tsc && vite build",
|
|
140
|
+
"build:plugin": "vite build --config vite.config.plugin.ts",
|
|
141
|
+
"build": "pnpm run build:components && pnpm run build:plugin",
|
|
142
|
+
"test": "pnpm run test:editor && pnpm run test:components",
|
|
143
|
+
"test:editor": "vitest run --exclude './src/components/**/*.test.tsx' --browser.enabled false",
|
|
144
|
+
"test:components": "vitest run ./src/components/**",
|
|
145
|
+
"test:components:local": "./scripts/localScreenshots.sh",
|
|
146
|
+
"prettier": "prettier --write --cache .",
|
|
147
|
+
"lint": "oxlint --fix --ignore-pattern 'src/vite-plugin/templates/*'",
|
|
148
|
+
"autofix": "pnpm run lint && pnpm run prettier",
|
|
149
|
+
"generate-notices": "generate-license-file --input package.json --output ./THIRD-PARTY-NOTICES --overwrite",
|
|
150
|
+
"generate-component-docs": "api-extractor run --local ; node generate-docs.mjs ; tsx scripts/generateComponentTypeDefinitions.ts",
|
|
151
|
+
"docs:dev": "vitepress dev .",
|
|
152
|
+
"docs:build": "vitepress build .",
|
|
153
|
+
"docs:preview": "vitepress preview .",
|
|
154
|
+
"generate-registry": "tsx src/components/registry/build-registry.cts",
|
|
155
|
+
"build-registry-docs": "pnpm run docs:build && pnpm run generate-registry",
|
|
156
|
+
"i18n:insert": "pnpm exec tsx scripts/insertI18n.ts",
|
|
157
|
+
"i18n:insert:dry": "pnpm exec tsx scripts/insertI18n.ts --dry-run",
|
|
158
|
+
"i18n:scan": "i18next-scanner --config i18next-scanner.config.cjs",
|
|
159
|
+
"i18n:translate": "pnpm exec tsx scripts/generateTranslations.ts",
|
|
160
|
+
"i18n:translate:dry": "pnpm exec tsx scripts/generateTranslations.ts --dry-run",
|
|
161
|
+
"i18n:sort": "pnpm exec tsx scripts/sortTranslations.ts",
|
|
162
|
+
"i18n:update": "pnpm run i18n:scan && pnpm run i18n:translate && pnpm run i18n:sort",
|
|
163
|
+
"i18n:check-empty": "pnpm exec tsx scripts/checkEmptyTranslations.ts"
|
|
165
164
|
}
|
|
166
|
-
}
|
|
165
|
+
}
|