Skip to content

Commit

Permalink
Use npm ci for plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
repalash committed Feb 3, 2024
1 parent 872e3c5 commit c392e29
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions plugins/geometry-generator/src/AGeometryGenerator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ export abstract class AGeometryGenerator<Tp=any> implements GeometryGenerator<Tp
if (!geometry.userData.generationParams) return []
const ui = generateUiConfig(geometry.userData.generationParams)
// @ts-expect-error we assume only functions will be generated since its an object
?.map(v=>v())
.filter(v=>getOrCall(v.property)?.[1] !== 'type')
.map(v=>v())
.filter(v=>getOrCall(v.property)?.[1] !== 'type') as UiObjectConfig[]
ui.forEach(u=> {
u.onChange = () => this.generate(geometry)
})
Expand Down
2 changes: 1 addition & 1 deletion scripts/build-plugins.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {execEachPlugin} from "./utils.mjs";

// Each plugin should have "prepare" that will also build the plugin
execEachPlugin('npm install') // install dependencies
execEachPlugin('npm ci') // install dependencies
execEachPlugin('npm run docs')

0 comments on commit c392e29

Please sign in to comment.