add dist to custom-elements.json; fixes #1166

pull/1186/head
Cory LaViska 2023-02-03 14:27:17 -05:00
rodzic 20903bb638
commit 3596c8144d
2 zmienionych plików z 4 dodań i 3 usunięć

Wyświetl plik

@ -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
];

Wyświetl plik

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