kopia lustrzana https://github.com/shoelace-style/shoelace
add dist to custom-elements.json; fixes #1166
rodzic
20903bb638
commit
3596c8144d
|
@ -1,8 +1,8 @@
|
|||
import fs from 'fs';
|
||||
import { generateCustomData } from 'cem-plugin-vs-code-custom-data-generator';
|
||||
import commandLineArgs from 'command-line-args';
|
||||
import { parse } from 'comment-parser';
|
||||
import { pascalCase } from 'pascal-case';
|
||||
import commandLineArgs from 'command-line-args';
|
||||
import fs from 'fs';
|
||||
|
||||
const packageData = JSON.parse(fs.readFileSync('./package.json', 'utf8'));
|
||||
const { name, description, version, author, homepage, license } = packageData;
|
||||
|
@ -136,7 +136,7 @@ export default {
|
|||
// components/button/button.js
|
||||
//
|
||||
const terms = [
|
||||
{ from: /^src\//, to: '' }, // Strip the src/ prefix
|
||||
{ from: /^src\//, to: 'dist/' }, // Strip the src/ prefix
|
||||
{ from: /\.(t|j)sx?$/, to: '.js' } // Convert .ts to .js
|
||||
];
|
||||
|
||||
|
|
|
@ -12,6 +12,7 @@ New versions of Shoelace are released as-needed and generally occur when a criti
|
|||
- Fixed a bug that prevented `web-types.json` from being generated [#1154](https://github.com/shoelace-style/shoelace/discussions/1154)
|
||||
- Fixed a bug in `<sl-color-picker>` that prevented `sl-change` and `sl-input` from emitting when using the eye dropper [#1157](https://github.com/shoelace-style/shoelace/issues/1157)
|
||||
- Fixed a bug in `<sl-dropdown>` that prevented keyboard users from selecting menu items when using the keyboard [#1165](https://github.com/shoelace-style/shoelace/issues/1165)
|
||||
- Fixed a bug in Shoelace's CEM Analyzer plugin that caused it to generate the wrong path for component modules [#1166](https://github.com/shoelace-style/shoelace/issues/1166)
|
||||
|
||||
## 2.0.0
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue