
Also fix a few violations of the `export-with-import-assertions` rule, places where we import specific top-level keys from JSON files in violation of [the current spec](https://github.com/tc39/proposal-json-modules#why-dont-json-modules-support-named-exports).
27 lines
679 B
JavaScript
27 lines
679 B
JavaScript
import pkg from '../package.json' assert { type: 'json' }
|
|
import { config as brianConfig } from '@freesewing/brian'
|
|
|
|
export default {
|
|
name: '{{name}}',
|
|
version: pkg.version,
|
|
optionGroups: {
|
|
...brianConfig.optionGroups,
|
|
},
|
|
measurements: [...brianConfig.measurements],
|
|
dependencies: {
|
|
brianSleevecap: 'brianFront',
|
|
},
|
|
inject: {
|
|
brianBack: 'brianBase',
|
|
brianFront: 'brianBack',
|
|
brianSleeve: 'brianSleevecap',
|
|
back: 'brianBack',
|
|
front: 'brianFront',
|
|
sleeve: 'brianSleeve',
|
|
},
|
|
hide: ['brianBase', 'brianFront', 'brianBack', 'brianSleevecap', 'brianSleeve', 'sleevecap'],
|
|
parts: [],
|
|
options: {
|
|
...brianConfig.options,
|
|
},
|
|
}
|