Skip to content

Commit

Permalink
update config, rm npm packs
Browse files Browse the repository at this point in the history
  • Loading branch information
softmarshmallow committed Mar 11, 2023
1 parent 0d4de3f commit 3c751b7
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 42 deletions.
28 changes: 13 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,10 @@
"webdev",
"xd",
"packages/*",
"packages/design-sdk/*",
"packages/base-sdk/*",
"packages/base-sdk/_firstparty/*",
"packages/reflect-core/packages/*",
"packages/design-to-code/packages/designto-*",
"packages/design-to-code/packages/builder-*",
"packages/design-to-code/packages/support-*",
"packages/design-to-code/packages/reflect-detection",
"packages/design-to-code/externals/coli/packages/*",
"packages/design-to-code/editor-packages/editor-services-esbuild",
"packages/design-to-code/editor-packages/editor-services-estypes-resolver",
"packages/design-to-code/editor-packages/editor-services-prettier",
"packages/design-to-code/editor-packages/editor-services-jsx-syntax-highlight",
"packages/design-to-code/editor-packages/editor-services-webworker-core"
"packages/design-to-code/packages/*",
"packages/design-to-code/editor-packages/*"
]
},
"repository": "https://github.com/gridaco/assistant",
Expand Down Expand Up @@ -57,9 +47,17 @@
"node": ">=12.0.0"
},
"resolutions": {
"react": "18.2.0",
"@types/react": "^18.0.28",
"@figma/plugin-typings": "^1.58.0"
"react": "^18.2.0",
"react-dom": "^18.2.0",
"@types/react": "18.0.24",
"@types/react-dom": "^18.0.8",
"@figma/plugin-typings": "^1.58.0",
"ts-loader": "8.4.0",
"typescript": "4.9.5",
"coli": "0.0.32",
"@design-sdk/figma-node": "0.0.43",
"@design-sdk/core": "0.0.43",
"@reflect-ui/core": "0.0.10"
},
"devDependencies": {
"@babel/core": "^7.15.5",
Expand Down
24 changes: 1 addition & 23 deletions web/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const transpile_packages = [

// -----------------------------
// region @designto-code
"@designto/config",
"@grida/builder-config",
"@grida/builder-config-preset",
"@grida/builder-platform-types",
"@designto/code",
Expand All @@ -77,22 +77,8 @@ const transpile_packages = [
"@code-editor/webworker-services-core",
// -----------------------------

// -----------------------------
// design-sdk
"@design-sdk/flags",
"@design-sdk/core",
"@design-sdk/core-types",
"@design-sdk/universal",
"@design-sdk/figma",
"@design-sdk/figma-url",
"@design-sdk/figma-xpath",
"@design-sdk/url-analysis",
"@design-sdk/sketch",
// -----------------------------

// -----------------------------
// region @reflect-ui types & utils
"@reflect-ui/core",
"@reflect-ui/detection",
// -----------------------------

Expand All @@ -110,14 +96,6 @@ const transpile_packages = [
"@base-sdk-fp/auth",
"@base-sdk-fp/accounts",

// -----------------------------
// region coli
"coli",
"@coli.codes/escape-string",
"@coli.codes/core-syntax-kind",
// endregion coli
// -----------------------------

// -----------------------------
// region builders - part of designto-code / coli

Expand Down
19 changes: 15 additions & 4 deletions web/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
{
"compilerOptions": {
"target": "es6",
"lib": ["dom", "dom.iterable", "esnext"],
"lib": [
"dom",
"dom.iterable",
"esnext"
],
"allowJs": true,
"skipLibCheck": true,
"strict": false,
Expand All @@ -14,8 +18,15 @@
"resolveJsonModule": true,
"baseUrl": ".",
"isolatedModules": true,
"jsx": "preserve"
"jsx": "preserve",
"incremental": true
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
"exclude": ["node_modules"]
"include": [
"next-env.d.ts",
"**/*.ts",
"**/*.tsx"
],
"exclude": [
"node_modules"
]
}

0 comments on commit 3c751b7

Please sign in to comment.