Skip to content

Commit f28e931

Browse files
pnpm build
1 parent fb0794a commit f28e931

File tree

34 files changed

+322
-74
lines changed

34 files changed

+322
-74
lines changed

packages/builder-config-preset/package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@
66
"scripts": {
77
"build": "tsc"
88
},
9-
"dependencies": {},
9+
"dependencies": {
10+
"@grida/builder-config": "workspace:^",
11+
"@grida/builder-platform-types": "workspace:^"
12+
},
1013
"files": [
1114
"dist"
1215
],

packages/builder-config/package.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,23 @@
1717
],
1818
"publishConfig": {
1919
"access": "public"
20+
},
21+
"dependencies": {
22+
"@code-plugin/core": "workspace:^",
23+
"@grida/builder-platform-types": "workspace:^"
24+
},
25+
"devDependencies": {
26+
"@design-sdk/figma": "^0.0.53",
27+
"@design-sdk/figma-node": "0.0.25",
28+
"@design-sdk/figma-node-repository": "^0.0.53",
29+
"@design-sdk/figma-remote": "^0.0.53",
30+
"@design-sdk/figma-utils": "^0.0.53"
31+
},
32+
"peerDependencies": {
33+
"@design-sdk/figma": "^0.0.53",
34+
"@design-sdk/figma-node": "0.0.25",
35+
"@design-sdk/figma-node-repository": "^0.0.53",
36+
"@design-sdk/figma-remote": "^0.0.53",
37+
"@design-sdk/figma-utils": "^0.0.53"
2038
}
2139
}
Lines changed: 26 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,27 @@
11
{
2-
"name": "@web-builder/styles",
3-
"version": "0.0.0",
4-
"private": false,
5-
"scripts": {
6-
"build": "tsc"
7-
},
8-
"dependencies": {
9-
"camelcase-css": "^2.0.1"
10-
},
11-
"devDependencies": {
12-
"@types/camelcase-css": "^2.0.0"
13-
},
14-
"files": [
15-
"dist"
16-
],
17-
"publishConfig": {
18-
"access": "public"
19-
}
20-
}
2+
"name": "@web-builder/styles",
3+
"version": "0.0.0",
4+
"private": false,
5+
"scripts": {
6+
"build": "tsc"
7+
},
8+
"dependencies": {
9+
"@coli.codes/css": "^0.0.34",
10+
"@design-sdk/figma-types": "^0.0.53",
11+
"@engine/core": "workspace:^",
12+
"@reflect-ui/core": "^0.0.12",
13+
"@reflect-ui/uiutils": "0.1.2-2",
14+
"@web-builder/core": "workspace:^",
15+
"@web-builder/styles": "workspace:^",
16+
"camelcase-css": "^2.0.1"
17+
},
18+
"devDependencies": {
19+
"@types/camelcase-css": "^2.0.0"
20+
},
21+
"files": [
22+
"dist"
23+
],
24+
"publishConfig": {
25+
"access": "public"
26+
}
27+
}

packages/builder-module-es/package.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,14 @@
1010
],
1111
"publishConfig": {
1212
"access": "public"
13+
},
14+
"dependencies": {
15+
"@coli.codes/export-string": "^0.0.34",
16+
"@grida/builder-config": "workspace:^",
17+
"@web-builder/module-es": "workspace:^",
18+
"coli": "^0.0.34"
19+
},
20+
"devDependencies": {
21+
"@code-features/documentation": "workspace:^"
1322
}
1423
}

packages/builder-module-jsx/package.json

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,15 @@
1010
],
1111
"publishConfig": {
1212
"access": "public"
13+
},
14+
"dependencies": {
15+
"@designto/token": "workspace:^",
16+
"@grida/builder-platform-types": "workspace:^",
17+
"@web-builder/core": "workspace:^",
18+
"@web-builder/module-es": "workspace:^",
19+
"coli": "^0.0.34"
20+
},
21+
"devDependencies": {
22+
"@code-features/documentation": "workspace:^"
1323
}
14-
}
24+
}

packages/builder-react-core/package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,10 @@
1313
"build": "tsc"
1414
},
1515
"dependencies": {
16-
"@web-builder/styled": "0.0.0"
16+
"@web-builder/module-es": "workspace:^",
17+
"@web-builder/nodejs": "workspace:^",
18+
"@web-builder/styled": "0.0.0",
19+
"coli": "^0.0.34"
1720
},
1821
"files": [
1922
"dist"

packages/builder-react-native/package.json

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,26 @@
99
"build": "tsc"
1010
},
1111
"dependencies": {
12-
"@web-builder/react-core": "18.2.0"
12+
"@coli.codes/css": "^0.0.34",
13+
"@coli.codes/naming": "^0.0.34",
14+
"@designto/token": "workspace:^",
15+
"@grida/builder-config": "workspace:^",
16+
"@grida/builder-platform-types": "workspace:^",
17+
"@reflect-ui/core": "0.0.12",
18+
"@web-builder/core": "workspace:^",
19+
"@web-builder/module-es": "workspace:^",
20+
"@web-builder/module-jsx": "workspace:^",
21+
"@web-builder/nodejs": "workspace:^",
22+
"@web-builder/react-core": "18.2.0",
23+
"@web-builder/styled": "workspace:0.0.0",
24+
"@web-builder/styles": "workspace:^",
25+
"coli": "^0.0.34"
1326
},
1427
"devDependencies": {
28+
"@code-features/documentation": "workspace:^",
1529
"@types/react-native": "^0.66.16"
30+
},
31+
"peerDependencies": {
32+
"@code-features/documentation": "workspace:^"
1633
}
1734
}

packages/builder-react-native/rn-build-styled-component-widget/rn-styled-components-module-builder.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { ScopedVariableNamer } from "@coli.codes/naming";
22
import { ReservedKeywordPlatformPresets } from "@coli.codes/naming";
3-
import { BlockStatement, ImportDeclaration, Return } from "coli";
3+
import { BlockStatement, Declaration, ImportDeclaration, Return } from "coli";
44
import {
55
react_imports,
66
ReactWidgetModuleExportable,
@@ -198,7 +198,7 @@ export class ReactNativeStyledComponentWidgetModuleExportable extends ReactWidge
198198
name: this.name,
199199
path: "src/components",
200200
imports: this.imports,
201-
declarations: this.declarations,
201+
declarations: this.declarations as Declaration[],
202202
body: this.body,
203203
documentation: this.documentation,
204204
config: {

packages/builder-web-core/builders/build-jsx-tree.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import {
55
TextChildWidget,
66
JsxWidget,
77
StylableJsxWidget,
8-
} from "@web-builder/core";
8+
} from "..";
99
import {
1010
NoStyleJSXElementConfig,
1111
StyledComponentJSXElementConfig,
Lines changed: 34 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,35 @@
11
{
2-
"name": "@web-builder/core",
3-
"version": "0.0.0",
4-
"private": false,
5-
"license": "Apache-2.0",
6-
"repository": "https://github.com/gridaco/designto-code",
7-
"homepage": "https://grida.co",
8-
"authors": [
9-
"grida.co <hello@grida.co>",
10-
"softmarshmallow <universe@grida.co>"
11-
],
12-
"scripts": {
13-
"build": "tsc"
14-
},
15-
"files": [
16-
"dist"
17-
],
18-
"publishConfig": {
19-
"access": "public"
20-
}
21-
}
2+
"name": "@web-builder/core",
3+
"version": "0.0.0",
4+
"private": false,
5+
"license": "Apache-2.0",
6+
"repository": "https://github.com/gridaco/designto-code",
7+
"homepage": "https://grida.co",
8+
"authors": [
9+
"grida.co <hello@grida.co>",
10+
"softmarshmallow <universe@grida.co>"
11+
],
12+
"scripts": {
13+
"build": "tsc"
14+
},
15+
"files": [
16+
"dist"
17+
],
18+
"publishConfig": {
19+
"access": "public"
20+
},
21+
"dependencies": {
22+
"@coli.codes/css": "^0.0.34",
23+
"@coli.codes/naming": "^0.0.34",
24+
"@engine/core": "workspace:^",
25+
"@grida/builder-platform-types": "workspace:^",
26+
"@reflect-ui/core": "0.0.12",
27+
"@web-builder/core": "workspace:^",
28+
"@web-builder/styled": "workspace:^",
29+
"@web-builder/styles": "workspace:^",
30+
"coli": "^0.0.34"
31+
},
32+
"devDependencies": {
33+
"@coli.codes/builder": "^0.0.34"
34+
}
35+
}

packages/builder-web-react/package.json

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,23 @@
1414
"build": "tsc"
1515
},
1616
"dependencies": {
17-
"@web-builder/react-core": "18.2.0"
17+
"@code-features/component": "workspace:^",
18+
"@code-features/documentation": "workspace:^",
19+
"@coli.codes/builder": "^0.0.34",
20+
"@coli.codes/css": "^0.0.34",
21+
"@coli.codes/naming": "^0.0.34",
22+
"@designto/token": "workspace:^",
23+
"@designto/web": "workspace:0.0.0",
24+
"@grida/builder-config": "workspace:^",
25+
"@grida/builder-platform-types": "workspace:^",
26+
"@web-builder/core": "workspace:^",
27+
"@web-builder/module-es": "workspace:^",
28+
"@web-builder/module-jsx": "workspace:^",
29+
"@web-builder/react-core": "18.2.0",
30+
"@web-builder/reflect-ui": "workspace:^",
31+
"@web-builder/styled": "workspace:^",
32+
"@web-builder/styles": "workspace:^",
33+
"coli": "^0.0.34"
1834
},
1935
"files": [
2036
"dist"

packages/builder-web-solid/package.json

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,21 @@
1414
"build": "tsc"
1515
},
1616
"dependencies": {
17-
"@web-builder/react-core": "18.2.0"
17+
"@code-features/documentation": "workspace:^",
18+
"@coli.codes/css": "^0.0.34",
19+
"@coli.codes/naming": "^0.0.34",
20+
"@designto/token": "workspace:^",
21+
"@grida/builder-config": "workspace:^",
22+
"@grida/builder-platform-types": "workspace:^",
23+
"@web-builder/core": "workspace:^",
24+
"@web-builder/module-es": "workspace:^",
25+
"@web-builder/module-jsx": "workspace:^",
26+
"@web-builder/nodejs": "workspace:^",
27+
"@web-builder/react-core": "18.2.0",
28+
"@web-builder/solid-js": "workspace:^",
29+
"@web-builder/styled": "workspace:^",
30+
"@web-builder/styles": "workspace:^",
31+
"coli": "^0.0.34"
1832
},
1933
"files": [
2034
"dist"

packages/builder-web-styled-components/package.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,14 @@
1717
],
1818
"publishConfig": {
1919
"access": "public"
20+
},
21+
"dependencies": {
22+
"@coli.codes/builder": "^0.0.34",
23+
"@coli.codes/css": "^0.0.34",
24+
"@coli.codes/jsx-core": "^0.0.34",
25+
"@coli.codes/naming": "^0.0.34",
26+
"@grida/builder-platform-types": "workspace:^",
27+
"@web-builder/core": "workspace:^",
28+
"coli": "^0.0.34"
2029
}
2130
}

packages/builder-web-vanilla/package.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,16 @@
1212
"scripts": {
1313
"build": "tsc"
1414
},
15-
"dependencies": {},
15+
"dependencies": {
16+
"@code-features/fonts": "workspace:^",
17+
"@code-plugin/core": "workspace:^",
18+
"@coli.codes/css": "^0.0.34",
19+
"@coli.codes/naming": "^0.0.34",
20+
"@grida/builder-platform-types": "workspace:^",
21+
"@web-builder/core": "workspace:^",
22+
"@web-builder/styled": "workspace:^",
23+
"coli": "^0.0.34"
24+
},
1625
"files": [
1726
"dist"
1827
],

packages/designto-code-debugger/index.js renamed to packages/designto-code-debugger/index.ts

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,20 +21,15 @@ if (typeof window !== "undefined") {
2121
});
2222
}
2323

24-
function debug(...messages) {
24+
export function debug(...messages) {
2525
if (!MUTED && IS_DEV) {
2626
console.log(...messages);
2727
}
2828
}
2929

30-
function debugIf(condition, ...messages) {
30+
export function debugIf(condition, ...messages) {
3131
const _continue = typeof condition === "function" ? condition() : condition;
3232
if (_continue) {
3333
debug(...messages);
3434
}
3535
}
36-
37-
module.exports = {
38-
debug,
39-
debugIf,
40-
};
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@designto/debugger",
33
"version": "0.0.0",
4-
"main": "index.js",
4+
"main": "index.ts",
55
"private": false
6-
}
6+
}

packages/designto-code/package.json

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,12 @@
66
"homepage": "https://designto.codes",
77
"scripts": {},
88
"dependencies": {
9+
"@code-features/assets": "workspace:^",
10+
"@code-plugin/core": "workspace:^",
11+
"@code-plugin/text-fit": "workspace:^",
912
"@coli.codes/escape-string": "^0.0.24",
1013
"@design-sdk/asset-repository": "^0.0.53",
1114
"@design-sdk/core": "^0.0.53",
12-
"@design-sdk/query": "^0.0.53",
1315
"@design-sdk/diff": "^0.0.53",
1416
"@design-sdk/figma": "^0.0.53",
1517
"@design-sdk/figma-auth-store": "^0.0.53",
@@ -20,14 +22,21 @@
2022
"@design-sdk/figma-remote-types": "^0.0.53",
2123
"@design-sdk/figma-url": "^0.0.53",
2224
"@design-sdk/flags": "^0.0.53",
25+
"@design-sdk/query": "^0.0.53",
2326
"@design-sdk/url-analysis": "^0.0.53",
24-
"@designto/flutter": "0.0.1",
27+
"@designto/debugger": "workspace:^",
28+
"@designto/flutter": "workspace:*",
2529
"@designto/react": "0.0.0",
2630
"@designto/react-native": "0.0.0",
31+
"@designto/solid-js": "workspace:^",
2732
"@designto/token": "0.0.0",
33+
"@designto/vanilla": "workspace:^",
2834
"@designto/web": "0.0.0",
29-
"@flutter-builder/flutter": "^3.0.6",
30-
"coli": "^0.0.31"
35+
"@flutter-builder/flutter": "^3.0.7",
36+
"@grida/builder-config": "workspace:^",
37+
"@reflect-ui/core": "0.0.12",
38+
"@web-builder/core": "workspace:^",
39+
"coli": "^0.0.34"
3140
},
3241
"files": [
3342
"README.md",

0 commit comments

Comments
 (0)