Skip to content

Commit

Permalink
pnpm build
Browse files Browse the repository at this point in the history
  • Loading branch information
softmarshmallow committed Feb 24, 2024
1 parent fb0794a commit f28e931
Show file tree
Hide file tree
Showing 34 changed files with 322 additions and 74 deletions.
5 changes: 4 additions & 1 deletion packages/builder-config-preset/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@
"scripts": {
"build": "tsc"
},
"dependencies": {},
"dependencies": {
"@grida/builder-config": "workspace:^",
"@grida/builder-platform-types": "workspace:^"
},
"files": [
"dist"
],
Expand Down
18 changes: 18 additions & 0 deletions packages/builder-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
45 changes: 26 additions & 19 deletions packages/builder-css-styles/package.json
Original file line number Diff line number Diff line change
@@ -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"
}
}
"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"
}
}
9 changes: 9 additions & 0 deletions packages/builder-module-es/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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:^"
}
}
12 changes: 11 additions & 1 deletion packages/builder-module-jsx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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:^"
}
}
}
5 changes: 4 additions & 1 deletion packages/builder-react-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
19 changes: 18 additions & 1 deletion packages/builder-react-native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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:^"
}
}
Original file line number Diff line number Diff line change
@@ -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,
Expand Down Expand Up @@ -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: {
Expand Down
2 changes: 1 addition & 1 deletion packages/builder-web-core/builders/build-jsx-tree.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
TextChildWidget,
JsxWidget,
StylableJsxWidget,
} from "@web-builder/core";
} from "..";
import {
NoStyleJSXElementConfig,
StyledComponentJSXElementConfig,
Expand Down
54 changes: 34 additions & 20 deletions packages/builder-web-core/package.json
Original file line number Diff line number Diff line change
@@ -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 <hello@grida.co>",
"softmarshmallow <universe@grida.co>"
],
"scripts": {
"build": "tsc"
},
"files": [
"dist"
],
"publishConfig": {
"access": "public"
}
}
"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 <hello@grida.co>",
"softmarshmallow <universe@grida.co>"
],
"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"
}
}
18 changes: 17 additions & 1 deletion packages/builder-web-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
16 changes: 15 additions & 1 deletion packages/builder-web-solid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
9 changes: 9 additions & 0 deletions packages/builder-web-styled-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
11 changes: 10 additions & 1 deletion packages/builder-web-vanilla/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};
4 changes: 2 additions & 2 deletions packages/designto-code-debugger/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@designto/debugger",
"version": "0.0.0",
"main": "index.js",
"main": "index.ts",
"private": false
}
}
17 changes: 13 additions & 4 deletions packages/designto-code/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand Down
Loading

0 comments on commit f28e931

Please sign in to comment.