Comments (3)
As part of this, fix (or remove?) the incorrect path to the schema file in the build tools package.json:
https://github.com/bolt-design-system/bolt/blob/master/packages/build-tools/utils/package.json#L43
from bolt.
Best fix from my perspective would be to have a way for a package (in package.json) to declare that it has a component in it. Or better yet, to have an entry in the schema that says "this is schema for twig, this is schema for a web component, this is schema for javascript config, etc.".
from bolt.
I think we may have smushed two separate issues together in this one:
-
There's no easy way to tell whether a package is a component or something else by looking at its
package.json
file (our current workaround is to check whether thename
starts with@bolt/components
). This is a use case for work @christophersmith262 is doing on the base theme. -
You get this error if you list build utils in your boltrc file
node_modules/@bolt/build-utils/utils/config.schema.yml Error: This file ^^^ does not exist and it was referenced in package.json for that component, please make sure the file path is correct.
This can be fixed by any of
a) don't list build utils in boltrc (it's unnecessary)
b) fix the path to the schema file in build tools package.json in Bolt
c) "don't parse non-component packages".
Did I get that right?
from bolt.
Related Issues (20)
- Prevent non-deterministic package resolution in yarn HOT 1
- Consider using sassdoc to generate sass mixin, function, global variable documentation HOT 4
- Upgrade to the released lit-element package HOT 2
- npm start resulting in PHP TwigRenderer Error HOT 12
- Error: no such file or directory ./bolt/packages/build-tools/node_modules/find-up HOT 8
- Disabling JS affects the HTML syntax display on code-snippet syntax demo page HOT 2
- boltdesignsystem.com components page looks weird after hitting `back` HOT 3
- Simplify GH Issue Template
- Dropdown with shadow DOM disabled causes recursive loop
- Use of ` background-color: bolt-theme(primary)` delivers same color in IE 11 HOT 4
- `bolt-theme` uses final item in the map, irrespective of theme. HOT 3
- validateProps returns string `undefined` from destructured assignment HOT 2
- Support Multistep Build Process
- Support Mmultiple Data Directories
- Support PHP 7.4 HOT 1
- Support node 13 HOT 3
- Register namespace "bolt" HOT 1
- Can Bolt Design System be used in combination with Gatsby? HOT 1
- Feature Request: CDN
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bolt.