diff --git a/docs/pages/getting-started/usage.md b/docs/pages/getting-started/usage.md index 4032588e..9aabfc24 100644 --- a/docs/pages/getting-started/usage.md +++ b/docs/pages/getting-started/usage.md @@ -210,7 +210,7 @@ Shoelace ships with a file called `vscode.html-custom-data.json` that can be use If `settings.json` already exists, simply add the above line to the root of the object. Note that you may need to restart VS Code for the changes to take affect. -## JetBrains IDEs +### JetBrains IDEs If you are using a [JetBrains IDE](https://www.jetbrains.com/) and you are installing Shoelace from NPM, the editor will automatically detect the `web-types.json` file from the package and you should immediately see component information in your editor. diff --git a/package.json b/package.json index 5cca9356..31187aa6 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "./dist/react/*": "./dist/react/*", "./dist/translations/*": "./dist/translations/*" }, - "files": ["dist", "cdn"], + "files": ["dist", "cdn", "web-types.json"], "keywords": ["web components", "custom elements", "components"], "repository": { "type": "git", diff --git a/scripts/build.js b/scripts/build.js index 02491557..b95c770e 100644 --- a/scripts/build.js +++ b/scripts/build.js @@ -217,7 +217,6 @@ await nextTask('Running the TypeScript compiler', () => { // Copy the above steps to the CDN directory directly so we don't need to twice the work for nothing. await nextTask(`Copying Web Types, Themes, Icons, and TS Types to "${cdndir}"`, async () => { await deleteAsync(cdndir); - await copy('./web-types.json', `${outdir}/web-types.json`); await copy(outdir, cdndir); });