kopia lustrzana https://github.com/shoelace-style/shoelace
fix web-types reference
rodzic
883cb161ec
commit
242e8e92ae
|
@ -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.
|
||||
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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);
|
||||
});
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue