From f28e931d0f7899df048ec7ee5d0b414affe0c0d8 Mon Sep 17 00:00:00 2001 From: Universe Date: Sat, 24 Feb 2024 19:04:42 +0900 Subject: [PATCH] pnpm build --- packages/builder-config-preset/package.json | 5 +- packages/builder-config/package.json | 18 +++++++ packages/builder-css-styles/package.json | 45 +++++++++------- packages/builder-module-es/package.json | 9 ++++ packages/builder-module-jsx/package.json | 12 ++++- packages/builder-react-core/package.json | 5 +- packages/builder-react-native/package.json | 19 ++++++- .../rn-styled-components-module-builder.ts | 4 +- .../builders/build-jsx-tree.ts | 2 +- packages/builder-web-core/package.json | 54 ++++++++++++------- packages/builder-web-react/package.json | 18 ++++++- packages/builder-web-solid/package.json | 16 +++++- .../package.json | 9 ++++ packages/builder-web-vanilla/package.json | 11 +++- .../{index.js => index.ts} | 9 +--- packages/designto-code-debugger/package.json | 4 +- packages/designto-code/package.json | 17 ++++-- packages/designto-flutter/package.json | 17 +++++- packages/designto-react-native/package.json | 18 ++++++- .../compose-wrapped-with-sized-box.ts | 7 +-- packages/designto-react/package.json | 3 ++ packages/designto-solid-js/package.json | 7 ++- .../designto-token-sanitized/package.json | 5 +- packages/designto-token/package.json | 16 +++++- packages/designto-vanilla/package.json | 8 +++ packages/designto-web/package.json | 11 ++++ packages/plugin-core/package.json | 5 +- packages/plugin-core/plugin.ts | 2 +- .../package.json | 5 ++ packages/support-assets/package.json | 3 ++ packages/support-components/package.json | 12 +++++ packages/support-documentation/package.json | 13 ++++- packages/support-flags/package.json | 4 ++ packages/support-module/package.json | 3 ++ 34 files changed, 322 insertions(+), 74 deletions(-) rename packages/designto-code-debugger/{index.js => index.ts} (85%) diff --git a/packages/builder-config-preset/package.json b/packages/builder-config-preset/package.json index b446d87e0..dd91b507b 100644 --- a/packages/builder-config-preset/package.json +++ b/packages/builder-config-preset/package.json @@ -6,7 +6,10 @@ "scripts": { "build": "tsc" }, - "dependencies": {}, + "dependencies": { + "@grida/builder-config": "workspace:^", + "@grida/builder-platform-types": "workspace:^" + }, "files": [ "dist" ], diff --git a/packages/builder-config/package.json b/packages/builder-config/package.json index 6b8031b9a..95ad8617a 100644 --- a/packages/builder-config/package.json +++ b/packages/builder-config/package.json @@ -17,5 +17,23 @@ ], "publishConfig": { "access": "public" + }, + "dependencies": { + "@code-plugin/core": "workspace:^", + "@grida/builder-platform-types": "workspace:^" + }, + "devDependencies": { + "@design-sdk/figma": "^0.0.53", + "@design-sdk/figma-node": "0.0.25", + "@design-sdk/figma-node-repository": "^0.0.53", + "@design-sdk/figma-remote": "^0.0.53", + "@design-sdk/figma-utils": "^0.0.53" + }, + "peerDependencies": { + "@design-sdk/figma": "^0.0.53", + "@design-sdk/figma-node": "0.0.25", + "@design-sdk/figma-node-repository": "^0.0.53", + "@design-sdk/figma-remote": "^0.0.53", + "@design-sdk/figma-utils": "^0.0.53" } } \ No newline at end of file diff --git a/packages/builder-css-styles/package.json b/packages/builder-css-styles/package.json index 0e41409cd..8836c020d 100644 --- a/packages/builder-css-styles/package.json +++ b/packages/builder-css-styles/package.json @@ -1,20 +1,27 @@ { - "name": "@web-builder/styles", - "version": "0.0.0", - "private": false, - "scripts": { - "build": "tsc" - }, - "dependencies": { - "camelcase-css": "^2.0.1" - }, - "devDependencies": { - "@types/camelcase-css": "^2.0.0" - }, - "files": [ - "dist" - ], - "publishConfig": { - "access": "public" - } -} \ No newline at end of file + "name": "@web-builder/styles", + "version": "0.0.0", + "private": false, + "scripts": { + "build": "tsc" + }, + "dependencies": { + "@coli.codes/css": "^0.0.34", + "@design-sdk/figma-types": "^0.0.53", + "@engine/core": "workspace:^", + "@reflect-ui/core": "^0.0.12", + "@reflect-ui/uiutils": "0.1.2-2", + "@web-builder/core": "workspace:^", + "@web-builder/styles": "workspace:^", + "camelcase-css": "^2.0.1" + }, + "devDependencies": { + "@types/camelcase-css": "^2.0.0" + }, + "files": [ + "dist" + ], + "publishConfig": { + "access": "public" + } +} diff --git a/packages/builder-module-es/package.json b/packages/builder-module-es/package.json index 2eac0ec8f..54a9ae793 100644 --- a/packages/builder-module-es/package.json +++ b/packages/builder-module-es/package.json @@ -10,5 +10,14 @@ ], "publishConfig": { "access": "public" + }, + "dependencies": { + "@coli.codes/export-string": "^0.0.34", + "@grida/builder-config": "workspace:^", + "@web-builder/module-es": "workspace:^", + "coli": "^0.0.34" + }, + "devDependencies": { + "@code-features/documentation": "workspace:^" } } \ No newline at end of file diff --git a/packages/builder-module-jsx/package.json b/packages/builder-module-jsx/package.json index 176e25130..82afe05e2 100644 --- a/packages/builder-module-jsx/package.json +++ b/packages/builder-module-jsx/package.json @@ -10,5 +10,15 @@ ], "publishConfig": { "access": "public" + }, + "dependencies": { + "@designto/token": "workspace:^", + "@grida/builder-platform-types": "workspace:^", + "@web-builder/core": "workspace:^", + "@web-builder/module-es": "workspace:^", + "coli": "^0.0.34" + }, + "devDependencies": { + "@code-features/documentation": "workspace:^" } -} \ No newline at end of file +} diff --git a/packages/builder-react-core/package.json b/packages/builder-react-core/package.json index a83a7626b..6f8bed334 100644 --- a/packages/builder-react-core/package.json +++ b/packages/builder-react-core/package.json @@ -13,7 +13,10 @@ "build": "tsc" }, "dependencies": { - "@web-builder/styled": "0.0.0" + "@web-builder/module-es": "workspace:^", + "@web-builder/nodejs": "workspace:^", + "@web-builder/styled": "0.0.0", + "coli": "^0.0.34" }, "files": [ "dist" diff --git a/packages/builder-react-native/package.json b/packages/builder-react-native/package.json index 265f9112d..4a2f442f2 100644 --- a/packages/builder-react-native/package.json +++ b/packages/builder-react-native/package.json @@ -9,9 +9,26 @@ "build": "tsc" }, "dependencies": { - "@web-builder/react-core": "18.2.0" + "@coli.codes/css": "^0.0.34", + "@coli.codes/naming": "^0.0.34", + "@designto/token": "workspace:^", + "@grida/builder-config": "workspace:^", + "@grida/builder-platform-types": "workspace:^", + "@reflect-ui/core": "0.0.12", + "@web-builder/core": "workspace:^", + "@web-builder/module-es": "workspace:^", + "@web-builder/module-jsx": "workspace:^", + "@web-builder/nodejs": "workspace:^", + "@web-builder/react-core": "18.2.0", + "@web-builder/styled": "workspace:0.0.0", + "@web-builder/styles": "workspace:^", + "coli": "^0.0.34" }, "devDependencies": { + "@code-features/documentation": "workspace:^", "@types/react-native": "^0.66.16" + }, + "peerDependencies": { + "@code-features/documentation": "workspace:^" } } \ No newline at end of file diff --git a/packages/builder-react-native/rn-build-styled-component-widget/rn-styled-components-module-builder.ts b/packages/builder-react-native/rn-build-styled-component-widget/rn-styled-components-module-builder.ts index dfb8f23de..6b918a676 100644 --- a/packages/builder-react-native/rn-build-styled-component-widget/rn-styled-components-module-builder.ts +++ b/packages/builder-react-native/rn-build-styled-component-widget/rn-styled-components-module-builder.ts @@ -1,6 +1,6 @@ import { ScopedVariableNamer } from "@coli.codes/naming"; import { ReservedKeywordPlatformPresets } from "@coli.codes/naming"; -import { BlockStatement, ImportDeclaration, Return } from "coli"; +import { BlockStatement, Declaration, ImportDeclaration, Return } from "coli"; import { react_imports, ReactWidgetModuleExportable, @@ -198,7 +198,7 @@ export class ReactNativeStyledComponentWidgetModuleExportable extends ReactWidge name: this.name, path: "src/components", imports: this.imports, - declarations: this.declarations, + declarations: this.declarations as Declaration[], body: this.body, documentation: this.documentation, config: { diff --git a/packages/builder-web-core/builders/build-jsx-tree.ts b/packages/builder-web-core/builders/build-jsx-tree.ts index aeee1f795..b64f44676 100644 --- a/packages/builder-web-core/builders/build-jsx-tree.ts +++ b/packages/builder-web-core/builders/build-jsx-tree.ts @@ -5,7 +5,7 @@ import { TextChildWidget, JsxWidget, StylableJsxWidget, -} from "@web-builder/core"; +} from ".."; import { NoStyleJSXElementConfig, StyledComponentJSXElementConfig, diff --git a/packages/builder-web-core/package.json b/packages/builder-web-core/package.json index bbd456f6b..1fce52c29 100644 --- a/packages/builder-web-core/package.json +++ b/packages/builder-web-core/package.json @@ -1,21 +1,35 @@ { - "name": "@web-builder/core", - "version": "0.0.0", - "private": false, - "license": "Apache-2.0", - "repository": "https://github.com/gridaco/designto-code", - "homepage": "https://grida.co", - "authors": [ - "grida.co ", - "softmarshmallow " - ], - "scripts": { - "build": "tsc" - }, - "files": [ - "dist" - ], - "publishConfig": { - "access": "public" - } -} \ No newline at end of file + "name": "@web-builder/core", + "version": "0.0.0", + "private": false, + "license": "Apache-2.0", + "repository": "https://github.com/gridaco/designto-code", + "homepage": "https://grida.co", + "authors": [ + "grida.co ", + "softmarshmallow " + ], + "scripts": { + "build": "tsc" + }, + "files": [ + "dist" + ], + "publishConfig": { + "access": "public" + }, + "dependencies": { + "@coli.codes/css": "^0.0.34", + "@coli.codes/naming": "^0.0.34", + "@engine/core": "workspace:^", + "@grida/builder-platform-types": "workspace:^", + "@reflect-ui/core": "0.0.12", + "@web-builder/core": "workspace:^", + "@web-builder/styled": "workspace:^", + "@web-builder/styles": "workspace:^", + "coli": "^0.0.34" + }, + "devDependencies": { + "@coli.codes/builder": "^0.0.34" + } +} diff --git a/packages/builder-web-react/package.json b/packages/builder-web-react/package.json index 69a34062b..7d17ad3d2 100644 --- a/packages/builder-web-react/package.json +++ b/packages/builder-web-react/package.json @@ -14,7 +14,23 @@ "build": "tsc" }, "dependencies": { - "@web-builder/react-core": "18.2.0" + "@code-features/component": "workspace:^", + "@code-features/documentation": "workspace:^", + "@coli.codes/builder": "^0.0.34", + "@coli.codes/css": "^0.0.34", + "@coli.codes/naming": "^0.0.34", + "@designto/token": "workspace:^", + "@designto/web": "workspace:0.0.0", + "@grida/builder-config": "workspace:^", + "@grida/builder-platform-types": "workspace:^", + "@web-builder/core": "workspace:^", + "@web-builder/module-es": "workspace:^", + "@web-builder/module-jsx": "workspace:^", + "@web-builder/react-core": "18.2.0", + "@web-builder/reflect-ui": "workspace:^", + "@web-builder/styled": "workspace:^", + "@web-builder/styles": "workspace:^", + "coli": "^0.0.34" }, "files": [ "dist" diff --git a/packages/builder-web-solid/package.json b/packages/builder-web-solid/package.json index b61929e2e..19adf0d34 100644 --- a/packages/builder-web-solid/package.json +++ b/packages/builder-web-solid/package.json @@ -14,7 +14,21 @@ "build": "tsc" }, "dependencies": { - "@web-builder/react-core": "18.2.0" + "@code-features/documentation": "workspace:^", + "@coli.codes/css": "^0.0.34", + "@coli.codes/naming": "^0.0.34", + "@designto/token": "workspace:^", + "@grida/builder-config": "workspace:^", + "@grida/builder-platform-types": "workspace:^", + "@web-builder/core": "workspace:^", + "@web-builder/module-es": "workspace:^", + "@web-builder/module-jsx": "workspace:^", + "@web-builder/nodejs": "workspace:^", + "@web-builder/react-core": "18.2.0", + "@web-builder/solid-js": "workspace:^", + "@web-builder/styled": "workspace:^", + "@web-builder/styles": "workspace:^", + "coli": "^0.0.34" }, "files": [ "dist" diff --git a/packages/builder-web-styled-components/package.json b/packages/builder-web-styled-components/package.json index f5dce5b32..08708afc3 100644 --- a/packages/builder-web-styled-components/package.json +++ b/packages/builder-web-styled-components/package.json @@ -17,5 +17,14 @@ ], "publishConfig": { "access": "public" + }, + "dependencies": { + "@coli.codes/builder": "^0.0.34", + "@coli.codes/css": "^0.0.34", + "@coli.codes/jsx-core": "^0.0.34", + "@coli.codes/naming": "^0.0.34", + "@grida/builder-platform-types": "workspace:^", + "@web-builder/core": "workspace:^", + "coli": "^0.0.34" } } \ No newline at end of file diff --git a/packages/builder-web-vanilla/package.json b/packages/builder-web-vanilla/package.json index f860e82ca..a70fb1fd2 100644 --- a/packages/builder-web-vanilla/package.json +++ b/packages/builder-web-vanilla/package.json @@ -12,7 +12,16 @@ "scripts": { "build": "tsc" }, - "dependencies": {}, + "dependencies": { + "@code-features/fonts": "workspace:^", + "@code-plugin/core": "workspace:^", + "@coli.codes/css": "^0.0.34", + "@coli.codes/naming": "^0.0.34", + "@grida/builder-platform-types": "workspace:^", + "@web-builder/core": "workspace:^", + "@web-builder/styled": "workspace:^", + "coli": "^0.0.34" + }, "files": [ "dist" ], diff --git a/packages/designto-code-debugger/index.js b/packages/designto-code-debugger/index.ts similarity index 85% rename from packages/designto-code-debugger/index.js rename to packages/designto-code-debugger/index.ts index 503a2d43c..bb7663e45 100644 --- a/packages/designto-code-debugger/index.js +++ b/packages/designto-code-debugger/index.ts @@ -21,20 +21,15 @@ if (typeof window !== "undefined") { }); } -function debug(...messages) { +export function debug(...messages) { if (!MUTED && IS_DEV) { console.log(...messages); } } -function debugIf(condition, ...messages) { +export function debugIf(condition, ...messages) { const _continue = typeof condition === "function" ? condition() : condition; if (_continue) { debug(...messages); } } - -module.exports = { - debug, - debugIf, -}; diff --git a/packages/designto-code-debugger/package.json b/packages/designto-code-debugger/package.json index fba4ee340..1b189fd43 100644 --- a/packages/designto-code-debugger/package.json +++ b/packages/designto-code-debugger/package.json @@ -1,6 +1,6 @@ { "name": "@designto/debugger", "version": "0.0.0", - "main": "index.js", + "main": "index.ts", "private": false -} \ No newline at end of file +} diff --git a/packages/designto-code/package.json b/packages/designto-code/package.json index b8469aab4..d0d9eb3c4 100644 --- a/packages/designto-code/package.json +++ b/packages/designto-code/package.json @@ -6,10 +6,12 @@ "homepage": "https://designto.codes", "scripts": {}, "dependencies": { + "@code-features/assets": "workspace:^", + "@code-plugin/core": "workspace:^", + "@code-plugin/text-fit": "workspace:^", "@coli.codes/escape-string": "^0.0.24", "@design-sdk/asset-repository": "^0.0.53", "@design-sdk/core": "^0.0.53", - "@design-sdk/query": "^0.0.53", "@design-sdk/diff": "^0.0.53", "@design-sdk/figma": "^0.0.53", "@design-sdk/figma-auth-store": "^0.0.53", @@ -20,14 +22,21 @@ "@design-sdk/figma-remote-types": "^0.0.53", "@design-sdk/figma-url": "^0.0.53", "@design-sdk/flags": "^0.0.53", + "@design-sdk/query": "^0.0.53", "@design-sdk/url-analysis": "^0.0.53", - "@designto/flutter": "0.0.1", + "@designto/debugger": "workspace:^", + "@designto/flutter": "workspace:*", "@designto/react": "0.0.0", "@designto/react-native": "0.0.0", + "@designto/solid-js": "workspace:^", "@designto/token": "0.0.0", + "@designto/vanilla": "workspace:^", "@designto/web": "0.0.0", - "@flutter-builder/flutter": "^3.0.6", - "coli": "^0.0.31" + "@flutter-builder/flutter": "^3.0.7", + "@grida/builder-config": "workspace:^", + "@reflect-ui/core": "0.0.12", + "@web-builder/core": "workspace:^", + "coli": "^0.0.34" }, "files": [ "README.md", diff --git a/packages/designto-flutter/package.json b/packages/designto-flutter/package.json index 9cc291c76..915f4c1af 100644 --- a/packages/designto-flutter/package.json +++ b/packages/designto-flutter/package.json @@ -19,5 +19,20 @@ ], "publishConfig": { "access": "public" + }, + "dependencies": { + "@coli.codes/escape-string": "^0.0.24", + "@coli.codes/naming": "^0.0.34", + "@design-sdk/asset-repository": "^0.0.53", + "@design-sdk/core": "^0.0.53", + "@design-sdk/figma": "^0.0.53", + "@design-sdk/figma-node": "0.0.25", + "@design-sdk/figma-types": "^0.0.53", + "@designto/token": "workspace:^", + "@engine/core": "workspace:^", + "@flutter-builder/flutter": "^3.0.7", + "@grida/builder-config": "workspace:^", + "@reflect-ui/core": "0.0.12", + "@reflect-ui/uiutils": "0.1.2-2" } -} \ No newline at end of file +} diff --git a/packages/designto-react-native/package.json b/packages/designto-react-native/package.json index c4572198c..a68930695 100644 --- a/packages/designto-react-native/package.json +++ b/packages/designto-react-native/package.json @@ -15,13 +15,27 @@ "build": "tsc" }, "dependencies": { - "@web-builder/react": "18.2.0", - "@web-builder/react-native": "0.67.0" + "@code-features/component": "workspace:^", + "@design-sdk/asset-repository": "^0.0.53", + "@designto/token": "workspace:^", + "@grida/builder-config": "workspace:^", + "@reflect-ui/core": "0.0.12", + "@web-builder/core": "workspace:^", + "@web-builder/react": "workspace:*", + "@web-builder/react-native": "0.67.0", + "@web-builder/styles": "workspace:^", + "coli": "^0.0.34" }, "files": [ "dist" ], "publishConfig": { "access": "public" + }, + "devDependencies": { + "react-native": "^0.73.4" + }, + "peerDependencies": { + "react-native": "^0.73.4" } } \ No newline at end of file diff --git a/packages/designto-react-native/tokens-to-rn-widget/compose-wrapped-with-sized-box.ts b/packages/designto-react-native/tokens-to-rn-widget/compose-wrapped-with-sized-box.ts index 28244639d..6d7c1fbd7 100644 --- a/packages/designto-react-native/tokens-to-rn-widget/compose-wrapped-with-sized-box.ts +++ b/packages/designto-react-native/tokens-to-rn-widget/compose-wrapped-with-sized-box.ts @@ -2,15 +2,16 @@ import * as core from "@reflect-ui/core"; import { Composer } from "."; import * as css from "@web-builder/styles"; import type { ViewStyle } from "react-native"; +import { JsxWidget } from "@web-builder/core"; export function compose_wrapped_with_sized_box( widget: core.SizedBox, child_composer: Composer -) { +): JsxWidget { const child = child_composer(widget.child); child.extendStyle({ - width: css.px(widget.width), - height: css.px(widget.height), + width: css.px(widget.width) as any, + height: css.px(widget.height) as any, }); return child; } diff --git a/packages/designto-react/package.json b/packages/designto-react/package.json index 4a19d9c39..4c72ca71a 100644 --- a/packages/designto-react/package.json +++ b/packages/designto-react/package.json @@ -15,6 +15,9 @@ "build": "tsc" }, "dependencies": { + "@designto/web": "workspace:^", + "@grida/builder-config": "workspace:^", + "@reflect-ui/core": "0.0.12", "@web-builder/react": "18.2.0" }, "files": [ diff --git a/packages/designto-solid-js/package.json b/packages/designto-solid-js/package.json index df092377f..d4b75d4d6 100644 --- a/packages/designto-solid-js/package.json +++ b/packages/designto-solid-js/package.json @@ -15,7 +15,12 @@ "build": "tsc" }, "dependencies": { - "@web-builder/react": "18.2.0" + "@designto/web": "workspace:^", + "@grida/builder-config": "workspace:^", + "@reflect-ui/core": "0.0.12", + "@web-builder/core": "workspace:^", + "@web-builder/react": "18.2.0", + "@web-builder/solid-js": "workspace:^" }, "files": [ "dist" diff --git a/packages/designto-token-sanitized/package.json b/packages/designto-token-sanitized/package.json index 46e445830..6fd455acb 100644 --- a/packages/designto-token-sanitized/package.json +++ b/packages/designto-token-sanitized/package.json @@ -2,5 +2,8 @@ "name": "@designto/sanitized", "version": "0.0.0", "private": false, - "author": "Grida.co" + "author": "Grida.co", + "dependencies": { + "@design-sdk/figma-node": "0.0.25" + } } \ No newline at end of file diff --git a/packages/designto-token/package.json b/packages/designto-token/package.json index 23a2bc325..9397b77c7 100644 --- a/packages/designto-token/package.json +++ b/packages/designto-token/package.json @@ -16,13 +16,27 @@ "clean": "rimraf dist" }, "dependencies": { + "@code-features/flags": "workspace:^", + "@code-features/module": "workspace:^", + "@design-sdk/asset-repository": "^0.0.53", + "@design-sdk/core": "^0.0.53", + "@design-sdk/figma-core": "^0.0.53", + "@design-sdk/figma-node": "0.0.25", + "@design-sdk/figma-node-conversion": "^0.0.53", + "@design-sdk/figma-types": "^0.0.53", + "@design-sdk/figma-utils": "^0.0.53", + "@designto/sanitized": "workspace:^", "@reflect-ui/core": "^0.0.9", - "@reflect-ui/detection": "0.1.6" + "@reflect-ui/detection": "0.1.6", + "@reflect-ui/uiutils": "0.1.2-2" }, "files": [ "dist" ], "publishConfig": { "access": "public" + }, + "devDependencies": { + "@types/node": "^20.11.20" } } diff --git a/packages/designto-vanilla/package.json b/packages/designto-vanilla/package.json index f7321731c..dd6639b7c 100644 --- a/packages/designto-vanilla/package.json +++ b/packages/designto-vanilla/package.json @@ -18,5 +18,13 @@ ], "publishConfig": { "access": "public" + }, + "dependencies": { + "@code-plugin/core": "workspace:^", + "@designto/web": "workspace:^", + "@grida/builder-config": "workspace:^", + "@reflect-ui/core": "0.0.12", + "@web-builder/core": "workspace:^", + "@web-builder/vanilla": "workspace:^" } } \ No newline at end of file diff --git a/packages/designto-web/package.json b/packages/designto-web/package.json index 022d0c617..8af5171ac 100644 --- a/packages/designto-web/package.json +++ b/packages/designto-web/package.json @@ -19,5 +19,16 @@ ], "publishConfig": { "access": "public" + }, + "dependencies": { + "@code-features/component": "workspace:^", + "@code-features/module": "workspace:^", + "@coli.codes/css": "^0.0.34", + "@design-sdk/asset-repository": "^0.0.53", + "@designto/token": "workspace:^", + "@reflect-ui/core": "0.0.12", + "@web-builder/core": "workspace:^", + "@web-builder/styles": "workspace:^", + "coli": "^0.0.34" } } \ No newline at end of file diff --git a/packages/plugin-core/package.json b/packages/plugin-core/package.json index 69b91f584..bafa44651 100644 --- a/packages/plugin-core/package.json +++ b/packages/plugin-core/package.json @@ -1,4 +1,7 @@ { "name": "@code-plugin/core", - "version": "0.0.0" + "version": "0.0.0", + "devDependencies": { + "@grida/builder-platform-types": "workspace:^" + } } diff --git a/packages/plugin-core/plugin.ts b/packages/plugin-core/plugin.ts index eff6f5d58..0120c3464 100644 --- a/packages/plugin-core/plugin.ts +++ b/packages/plugin-core/plugin.ts @@ -1,4 +1,4 @@ -import { Framework } from "@grida/builder-platform-types"; +import type { Framework } from "@grida/builder-platform-types"; import type { CodeLifeCycleContext } from "./types"; export interface IPlugin { diff --git a/packages/plugin-text-auto-resize-vanilla-textfit/package.json b/packages/plugin-text-auto-resize-vanilla-textfit/package.json index e0d7c5e38..9df206fb7 100644 --- a/packages/plugin-text-auto-resize-vanilla-textfit/package.json +++ b/packages/plugin-text-auto-resize-vanilla-textfit/package.json @@ -7,5 +7,10 @@ "devDependencies": { "@types/css-tree": "^2.3.1", "css-tree": "^2.3.1" + }, + "dependencies": { + "@code-plugin/core": "workspace:^", + "@grida/builder-platform-types": "workspace:^", + "@web-builder/vanilla": "workspace:^" } } diff --git a/packages/support-assets/package.json b/packages/support-assets/package.json index ec05d6bef..81da39a40 100644 --- a/packages/support-assets/package.json +++ b/packages/support-assets/package.json @@ -17,5 +17,8 @@ ], "publishConfig": { "access": "public" + }, + "dependencies": { + "@design-sdk/asset-repository": "^0.0.53" } } \ No newline at end of file diff --git a/packages/support-components/package.json b/packages/support-components/package.json index 9cf5c3f9b..fa0fd748d 100644 --- a/packages/support-components/package.json +++ b/packages/support-components/package.json @@ -13,6 +13,15 @@ "build": "tsc" }, "dependencies": { + "@coli.codes/naming": "^0.0.34", + "@design-sdk/diff": "^0.0.53", + "@design-sdk/figma": "^0.0.53", + "@design-sdk/figma-node": "0.0.25", + "@design-sdk/figma-node-conversion": "^0.0.53", + "@design-sdk/figma-node-repository": "^0.0.53", + "@designto/token": "workspace:^", + "@reflect-ui/core": "0.0.12", + "coli": "^0.0.34", "tree-visit": "^0.1.0" }, "files": [ @@ -20,5 +29,8 @@ ], "publishConfig": { "access": "public" + }, + "devDependencies": { + "@design-sdk/figma-types": "^0.0.53" } } \ No newline at end of file diff --git a/packages/support-documentation/package.json b/packages/support-documentation/package.json index 622a79fd5..87d0688ea 100644 --- a/packages/support-documentation/package.json +++ b/packages/support-documentation/package.json @@ -17,5 +17,16 @@ ], "publishConfig": { "access": "public" + }, + "dependencies": { + "@coli.codes/export-string": "^0.0.34", + "@design-sdk/asset-repository": "^0.0.53", + "@designto/code": "workspace:^", + "@grida/builder-config": "workspace:^", + "@web-builder/module-es": "workspace:^", + "@web-builder/react-core": "workspace:18.2.0", + "@web-builder/react-native": "workspace:0.67.0", + "@web-builder/solid-js": "workspace:^", + "coli": "^0.0.34" } -} \ No newline at end of file +} diff --git a/packages/support-flags/package.json b/packages/support-flags/package.json index a839749e3..6671cc266 100644 --- a/packages/support-flags/package.json +++ b/packages/support-flags/package.json @@ -17,5 +17,9 @@ ], "publishConfig": { "access": "public" + }, + "dependencies": { + "@design-sdk/flags": "^0.0.53", + "@reflect-ui/core": "0.0.12" } } \ No newline at end of file diff --git a/packages/support-module/package.json b/packages/support-module/package.json index 42285ab14..61b1ad7e1 100644 --- a/packages/support-module/package.json +++ b/packages/support-module/package.json @@ -17,5 +17,8 @@ ], "publishConfig": { "access": "public" + }, + "dependencies": { + "@reflect-ui/core": "0.0.12" } } \ No newline at end of file