Skip to content

Commit 85cb9e3

Browse files
committed
fix(canvas): missing d.ts
1 parent 1c71e10 commit 85cb9e3

File tree

1 file changed

+76
-8
lines changed

1 file changed

+76
-8
lines changed

workspace.json

Lines changed: 76 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -105,14 +105,7 @@
105105
"builder": "@nrwl/workspace:run-commands",
106106
"outputs": ["dist/packages"],
107107
"options": {
108-
"commands": [
109-
"nx run canvas:build.all",
110-
"nx run canvas-polyfill:build.all",
111-
"nx run canvas-babylon:build.all",
112-
"nx run canvas-phaser:build.all",
113-
"nx run canvas-phaser-ce:build.all",
114-
"nx run canvas-pixi:build.all",
115-
"nx run canvas-three:build.all"],
108+
"commands": ["nx run canvas:build.all", "nx run canvas-polyfill:build.all", "nx run canvas-babylon:build.all", "nx run canvas-phaser:build.all", "nx run canvas-phaser-ce:build.all", "nx run canvas-pixi:build.all", "nx run canvas-three:build.all"],
116109
"parallel": false
117110
}
118111
},
@@ -147,6 +140,81 @@
147140
"glob": "**/*",
148141
"input": "packages/canvas/platforms/",
149142
"output": "./platforms/"
143+
},
144+
{
145+
"glob": "**/*.d.ts",
146+
"input": "packages/canvas/Canvas/",
147+
"output": "./Canvas/"
148+
},
149+
{
150+
"glob": "**/*.d.ts",
151+
"input": "packages/canvas/Canvas2D/CanvasGradient",
152+
"output": "./Canvas2D/CanvasGradient"
153+
},
154+
{
155+
"glob": "**/*.d.ts",
156+
"input": "packages/canvas/Canvas2D/CanvasPattern",
157+
"output": "./Canvas2D/CanvasPattern"
158+
},
159+
{
160+
"glob": "**/*.d.ts",
161+
"input": "packages/canvas/Canvas2D/CanvasRenderingContext2D",
162+
"output": "./Canvas2D/CanvasRenderingContext2D"
163+
},
164+
{
165+
"glob": "**/*.d.ts",
166+
"input": "packages/canvas/Canvas2D/DOMMatrix",
167+
"output": "./Canvas2D/DOMMatrix"
168+
},
169+
{
170+
"glob": "**/*.d.ts",
171+
"input": "packages/canvas/Canvas2D/ImageData",
172+
"output": "./Canvas2D/ImageData"
173+
},
174+
{
175+
"glob": "**/*.d.ts",
176+
"input": "packages/canvas/Canvas2D/Path2D",
177+
"output": "./Canvas2D/Path2D"
178+
},
179+
{
180+
"glob": "**/*.d.ts",
181+
"input": "packages/canvas/Canvas2D/Path2D",
182+
"output": "./Canvas2D/Path2D"
183+
},
184+
{
185+
"glob": "**/*.d.ts",
186+
"input": "packages/canvas/Canvas2D/TextMetrics",
187+
"output": "./Canvas2D/TextMetrics"
188+
},
189+
{
190+
"glob": "**/*.d.ts",
191+
"input": "packages/canvas/ImageAsset",
192+
"output": "./ImageAsset"
193+
},
194+
{
195+
"glob": "**/*.d.ts",
196+
"input": "packages/canvas/TextDecoder",
197+
"output": "./TextDecoder"
198+
},
199+
{
200+
"glob": "**/*.d.ts",
201+
"input": "packages/canvas/TextEncoder",
202+
"output": "./TextEncoder"
203+
},
204+
{
205+
"glob": "**/*.d.ts",
206+
"input": "packages/canvas/WebGL/WebGLExtensions",
207+
"output": "./WebGL/WebGLExtensions"
208+
},
209+
{
210+
"glob": "**/*.d.ts",
211+
"input": "packages/canvas/WebGL/WebGLRenderingContext",
212+
"output": "./WebGL/WebGLRenderingContext"
213+
},
214+
{
215+
"glob": "**/*.d.ts",
216+
"input": "packages/canvas/WebGL2/WebGL2RenderingContext",
217+
"output": "./WebGL2/WebGL2RenderingContext"
150218
}
151219
]
152220
}

0 commit comments

Comments
 (0)