mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01:06 +00:00
Align v10.46 (#854)
* chore(deps-dev): upgrade carbon-components to v10.46.0 * feat(tag): support outline type * feat(multi-select): add hideLabel prop * chore: delete unused publish-examples.js * chore(deps-dev): remove gh-pages * chore: remove publish-examples script * chore(deps-dev): upgrade carbon-components to v10.46.0 * feat(tag): support outline type * feat(multi-select): add hideLabel prop * chore: delete unused publish-examples.js * chore(deps-dev): remove gh-pages * chore: remove publish-examples script * chore: rebuild component index
This commit is contained in:
parent
b21600c9d6
commit
c6fc8548d3
15 changed files with 69 additions and 296 deletions
|
@ -1,31 +0,0 @@
|
|||
const ghpages = require("gh-pages");
|
||||
const fs = require("fs");
|
||||
const path = require("path");
|
||||
const { promisify } = require("util");
|
||||
|
||||
const ghPublish = promisify(ghpages.publish);
|
||||
|
||||
async function publishExample(name) {
|
||||
ghpages.clean();
|
||||
|
||||
try {
|
||||
const folder_path = path.join("examples", name);
|
||||
await ghPublish(folder_path, {
|
||||
branch: name,
|
||||
dotfiles: true,
|
||||
history: false,
|
||||
});
|
||||
console.log("Published example:", name);
|
||||
} catch (error) {
|
||||
console.error(error);
|
||||
}
|
||||
}
|
||||
|
||||
(async () => {
|
||||
await publishExample("rollup");
|
||||
await publishExample("rollup-typescript");
|
||||
await publishExample("routify");
|
||||
await publishExample("sapper");
|
||||
await publishExample("svite");
|
||||
await publishExample("webpack");
|
||||
})();
|
Loading…
Add table
Add a link
Reference in a new issue