Przeglądaj źródła

Use npm ci for plugins

master
Palash Bansal 2 lat temu
rodzic
commit
c392e29159
No account linked to committer's email address

+ 2
- 2
plugins/geometry-generator/src/AGeometryGenerator.ts Wyświetl plik

@@ -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)
})

+ 1
- 1
scripts/build-plugins.mjs Wyświetl plik

@@ -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')

Ładowanie…
Anuluj
Zapisz