codefresh 0.78.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.dockerignore +14 -0
- package/.eslintrc.js +20 -0
- package/.gitattributes +29 -0
- package/.nvmrc +1 -0
- package/Dockerfile +39 -0
- package/LICENSE +21 -0
- package/README.md +55 -0
- package/__mocks__/requestretry.js +35 -0
- package/brew/template.rb +15 -0
- package/check-version.js +13 -0
- package/cli.gif +0 -0
- package/codefresh-arm.yml +54 -0
- package/codefresh-release.yml +173 -0
- package/codefresh.yml +120 -0
- package/docs/archetypes/default.md +6 -0
- package/docs/config.toml +44 -0
- package/docs/content/_header.md +6 -0
- package/docs/content/_index.md +19 -0
- package/docs/content/contexts/spec/_index.md +28 -0
- package/docs/content/contexts/spec/config.md +30 -0
- package/docs/content/contexts/spec/helm-repository.md +16 -0
- package/docs/content/contexts/spec/secret-yaml.md +32 -0
- package/docs/content/contexts/spec/secret.md +30 -0
- package/docs/content/contexts/spec/yaml.md +30 -0
- package/docs/content/external-resources.md +8 -0
- package/docs/content/getting-started/_index.md +28 -0
- package/docs/content/installation/_index.md +13 -0
- package/docs/content/installation/docker.md +15 -0
- package/docs/content/installation/homebrew.md +29 -0
- package/docs/content/installation/npm.md +22 -0
- package/docs/content/installation/yarn.md +22 -0
- package/docs/content/more/_index.md +7 -0
- package/docs/content/operate on resources/_index.md +10 -0
- package/docs/content/pipelines/Run Pipeline.md +38 -0
- package/docs/content/pipelines/spec.md +190 -0
- package/docs/docs.spec.js +8 -0
- package/docs/index.js +407 -0
- package/docs/layouts/partials/menu-footer.html +13 -0
- package/docs/themes/docdock/LICENSE.md +22 -0
- package/docs/themes/docdock/README.md +129 -0
- package/docs/themes/docdock/archetypes/default.md +9 -0
- package/docs/themes/docdock/archetypes/slide.md +46 -0
- package/docs/themes/docdock/exampleSite/config.toml +68 -0
- package/docs/themes/docdock/exampleSite/content/_index.md +50 -0
- package/docs/themes/docdock/exampleSite/content/content-organisation/_index.md +138 -0
- package/docs/themes/docdock/exampleSite/content/content-organisation/customize-style/_index.md +66 -0
- package/docs/themes/docdock/exampleSite/content/content-organisation/customize-style/disable.md +24 -0
- package/docs/themes/docdock/exampleSite/content/content-organisation/customize-style/theme-variants.md +35 -0
- package/docs/themes/docdock/exampleSite/content/content-organisation/customize-style/themestyle.md +25 -0
- package/docs/themes/docdock/exampleSite/content/content-organisation/extramenu.md +28 -0
- package/docs/themes/docdock/exampleSite/content/content-organisation/logo.md +12 -0
- package/docs/themes/docdock/exampleSite/content/create-page/_index.md +54 -0
- package/docs/themes/docdock/exampleSite/content/create-page/homepage.md +8 -0
- package/docs/themes/docdock/exampleSite/content/create-page/myslide.md +48 -0
- package/docs/themes/docdock/exampleSite/content/create-page/page-images.md +28 -0
- package/docs/themes/docdock/exampleSite/content/create-page/page-slide.md +114 -0
- package/docs/themes/docdock/exampleSite/content/credits.md +44 -0
- package/docs/themes/docdock/exampleSite/content/getting-start/_index.md +12 -0
- package/docs/themes/docdock/exampleSite/content/getting-start/configuration.md +56 -0
- package/docs/themes/docdock/exampleSite/content/getting-start/installation.md +83 -0
- package/docs/themes/docdock/exampleSite/content/search/_index.md +13 -0
- package/docs/themes/docdock/exampleSite/content/shortcodes/_index.md +10 -0
- package/docs/themes/docdock/exampleSite/content/shortcodes/alert.md +30 -0
- package/docs/themes/docdock/exampleSite/content/shortcodes/attachments.files/BachGavotteShort.mp3 +0 -0
- package/docs/themes/docdock/exampleSite/content/shortcodes/attachments.files/Carroll_AliceAuPaysDesMerveilles.pdf +0 -0
- package/docs/themes/docdock/exampleSite/content/shortcodes/attachments.files/adivorciarsetoca00cape.pdf +0 -0
- package/docs/themes/docdock/exampleSite/content/shortcodes/attachments.files/hugo.png +0 -0
- package/docs/themes/docdock/exampleSite/content/shortcodes/attachments.files/movieselectricsheep-flock-244-32500-2.mp4 +0 -0
- package/docs/themes/docdock/exampleSite/content/shortcodes/attachments.md +59 -0
- package/docs/themes/docdock/exampleSite/content/shortcodes/button.md +37 -0
- package/docs/themes/docdock/exampleSite/content/shortcodes/children/_index.md +46 -0
- package/docs/themes/docdock/exampleSite/content/shortcodes/children/children-1/_index.md +6 -0
- package/docs/themes/docdock/exampleSite/content/shortcodes/children/children-1/children-1-1/_index.md +6 -0
- package/docs/themes/docdock/exampleSite/content/shortcodes/children/children-1/children-1-1/children-1-1-1/_index.md +6 -0
- package/docs/themes/docdock/exampleSite/content/shortcodes/children/children-1/children-1-1/children-1-1-1/children-1-1-1-1/_index.md +6 -0
- package/docs/themes/docdock/exampleSite/content/shortcodes/children/children-1/children-1-1/children-1-1-1/children-1-1-1-1/children-1-1-1-1-1/_index.md +6 -0
- package/docs/themes/docdock/exampleSite/content/shortcodes/children/children-2/_index.md +11 -0
- package/docs/themes/docdock/exampleSite/content/shortcodes/children/children-2/test3.md +6 -0
- package/docs/themes/docdock/exampleSite/content/shortcodes/children/children-3/_index.md +6 -0
- package/docs/themes/docdock/exampleSite/content/shortcodes/children/children-4/_index.md +7 -0
- package/docs/themes/docdock/exampleSite/content/shortcodes/children/test.md +6 -0
- package/docs/themes/docdock/exampleSite/content/shortcodes/excerpt-include.md +25 -0
- package/docs/themes/docdock/exampleSite/content/shortcodes/excerpt.md +39 -0
- package/docs/themes/docdock/exampleSite/content/shortcodes/expand.md +41 -0
- package/docs/themes/docdock/exampleSite/content/shortcodes/icon.md +1254 -0
- package/docs/themes/docdock/exampleSite/content/shortcodes/mermaid.md +98 -0
- package/docs/themes/docdock/exampleSite/content/shortcodes/notice.md +61 -0
- package/docs/themes/docdock/exampleSite/content/shortcodes/panel.md +60 -0
- package/docs/themes/docdock/exampleSite/content/shortcodes/revealjs.md +119 -0
- package/docs/themes/docdock/exampleSite/content/showcase.md +15 -0
- package/docs/themes/docdock/exampleSite/layouts/partials/custom-head.html +10 -0
- package/docs/themes/docdock/exampleSite/layouts/partials/menu-footer.html +13 -0
- package/docs/themes/docdock/exampleSite/layouts/shortcodes/ghcontributors.html +31 -0
- package/docs/themes/docdock/exampleSite/static/menu-entry-icon.png +0 -0
- package/docs/themes/docdock/exampleSite/static/showcase/bitfan.site.png +0 -0
- package/docs/themes/docdock/exampleSite/static/showcase/invincible.site.png +0 -0
- package/docs/themes/docdock/exampleSite/static/style-flex.png +0 -0
- package/docs/themes/docdock/exampleSite/static/style-original.png +0 -0
- package/docs/themes/docdock/exampleSite/static/variant-gold.png +0 -0
- package/docs/themes/docdock/exampleSite/static/variant-gray.png +0 -0
- package/docs/themes/docdock/exampleSite/static/variant-green.png +0 -0
- package/docs/themes/docdock/i18n/en.toml +44 -0
- package/docs/themes/docdock/i18n/es.toml +26 -0
- package/docs/themes/docdock/i18n/fr.toml +44 -0
- package/docs/themes/docdock/i18n/nb.toml +38 -0
- package/docs/themes/docdock/images/screenshot.png +0 -0
- package/docs/themes/docdock/images/tn.png +0 -0
- package/docs/themes/docdock/layouts/404.html +39 -0
- package/docs/themes/docdock/layouts/_default/baseof.html +32 -0
- package/docs/themes/docdock/layouts/_default/li.html +22 -0
- package/docs/themes/docdock/layouts/_default/list.html +20 -0
- package/docs/themes/docdock/layouts/_default/single.html +3 -0
- package/docs/themes/docdock/layouts/index.html +30 -0
- package/docs/themes/docdock/layouts/index.json +12 -0
- package/docs/themes/docdock/layouts/partials/breadcrumb.html +8 -0
- package/docs/themes/docdock/layouts/partials/custom-content-footer.html +6 -0
- package/docs/themes/docdock/layouts/partials/custom-footer.html +0 -0
- package/docs/themes/docdock/layouts/partials/custom-head.html +2 -0
- package/docs/themes/docdock/layouts/partials/flex/body-aftercontent.html +54 -0
- package/docs/themes/docdock/layouts/partials/flex/body-beforecontent.html +68 -0
- package/docs/themes/docdock/layouts/partials/flex/head.html +17 -0
- package/docs/themes/docdock/layouts/partials/flex/scripts.html +11 -0
- package/docs/themes/docdock/layouts/partials/flex/selectnavigation.html +58 -0
- package/docs/themes/docdock/layouts/partials/header.html +10 -0
- package/docs/themes/docdock/layouts/partials/language-selector.html +18 -0
- package/docs/themes/docdock/layouts/partials/menu-footer.html +0 -0
- package/docs/themes/docdock/layouts/partials/menu.html +82 -0
- package/docs/themes/docdock/layouts/partials/next-prev-page.html +44 -0
- package/docs/themes/docdock/layouts/partials/original/body-aftercontent.html +13 -0
- package/docs/themes/docdock/layouts/partials/original/body-beforecontent.html +128 -0
- package/docs/themes/docdock/layouts/partials/original/head.html +23 -0
- package/docs/themes/docdock/layouts/partials/original/scripts.html +10 -0
- package/docs/themes/docdock/layouts/partials/pagination.html +9 -0
- package/docs/themes/docdock/layouts/shortcodes/alert.html +6 -0
- package/docs/themes/docdock/layouts/shortcodes/anchor.html +1 -0
- package/docs/themes/docdock/layouts/shortcodes/anchorlink.html +1 -0
- package/docs/themes/docdock/layouts/shortcodes/attachmentlink.html +5 -0
- package/docs/themes/docdock/layouts/shortcodes/attachments.html +33 -0
- package/docs/themes/docdock/layouts/shortcodes/button.html +6 -0
- package/docs/themes/docdock/layouts/shortcodes/children.html +104 -0
- package/docs/themes/docdock/layouts/shortcodes/code.html +1 -0
- package/docs/themes/docdock/layouts/shortcodes/emoticon.html +29 -0
- package/docs/themes/docdock/layouts/shortcodes/excerpt-include.html +14 -0
- package/docs/themes/docdock/layouts/shortcodes/excerpt.html +7 -0
- package/docs/themes/docdock/layouts/shortcodes/expand.html +16 -0
- package/docs/themes/docdock/layouts/shortcodes/header.html +16 -0
- package/docs/themes/docdock/layouts/shortcodes/icon.html +13 -0
- package/docs/themes/docdock/layouts/shortcodes/image.html +5 -0
- package/docs/themes/docdock/layouts/shortcodes/info.html +10 -0
- package/docs/themes/docdock/layouts/shortcodes/label.html +1 -0
- package/docs/themes/docdock/layouts/shortcodes/mermaid.html +3 -0
- package/docs/themes/docdock/layouts/shortcodes/note.html +4 -0
- package/docs/themes/docdock/layouts/shortcodes/notice.html +1 -0
- package/docs/themes/docdock/layouts/shortcodes/pagelink.html +12 -0
- package/docs/themes/docdock/layouts/shortcodes/pagetreesearch.html +1 -0
- package/docs/themes/docdock/layouts/shortcodes/panel.html +5 -0
- package/docs/themes/docdock/layouts/shortcodes/recently-updated.html +7 -0
- package/docs/themes/docdock/layouts/shortcodes/relref.html +14 -0
- package/docs/themes/docdock/layouts/shortcodes/revealjs.html +66 -0
- package/docs/themes/docdock/layouts/shortcodes/section.html +1 -0
- package/docs/themes/docdock/layouts/shortcodes/task.html +10 -0
- package/docs/themes/docdock/layouts/shortcodes/tasklist.html +4 -0
- package/docs/themes/docdock/layouts/shortcodes/tip.html +10 -0
- package/docs/themes/docdock/layouts/shortcodes/toc.html +2 -0
- package/docs/themes/docdock/layouts/shortcodes/unknow.html +1 -0
- package/docs/themes/docdock/layouts/shortcodes/userlink.html +1 -0
- package/docs/themes/docdock/layouts/shortcodes/viewppt.html +5 -0
- package/docs/themes/docdock/layouts/shortcodes/viewxls.html +5 -0
- package/docs/themes/docdock/layouts/shortcodes/warning.html +12 -0
- package/docs/themes/docdock/layouts/shortcodes/well.html +1 -0
- package/docs/themes/docdock/layouts/slide/single.html +38 -0
- package/docs/themes/docdock/static/css/auto-complete.css +49 -0
- package/docs/themes/docdock/static/css/bootstrap.min.css +1884 -0
- package/docs/themes/docdock/static/css/featherlight.min.css +8 -0
- package/docs/themes/docdock/static/css/font-awesome.min.css +4 -0
- package/docs/themes/docdock/static/css/horsey.css +35 -0
- package/docs/themes/docdock/static/css/hybrid.css +102 -0
- package/docs/themes/docdock/static/css/nucleus.css +617 -0
- package/docs/themes/docdock/static/fonts/FontAwesome.otf +0 -0
- package/docs/themes/docdock/static/fonts/Inconsolata.eot +0 -0
- package/docs/themes/docdock/static/fonts/Inconsolata.svg +359 -0
- package/docs/themes/docdock/static/fonts/Inconsolata.ttf +0 -0
- package/docs/themes/docdock/static/fonts/Inconsolata.woff +0 -0
- package/docs/themes/docdock/static/fonts/Lato-Bold.ttf +0 -0
- package/docs/themes/docdock/static/fonts/Lato-Bold.woff2 +0 -0
- package/docs/themes/docdock/static/fonts/Lato-Regular.ttf +0 -0
- package/docs/themes/docdock/static/fonts/Lato-Regular.woff2 +0 -0
- package/docs/themes/docdock/static/fonts/Novecentosanswide-Normal-webfont.eot +0 -0
- package/docs/themes/docdock/static/fonts/Novecentosanswide-Normal-webfont.svg +1019 -0
- package/docs/themes/docdock/static/fonts/Novecentosanswide-Normal-webfont.ttf +0 -0
- package/docs/themes/docdock/static/fonts/Novecentosanswide-Normal-webfont.woff +0 -0
- package/docs/themes/docdock/static/fonts/Novecentosanswide-Normal-webfont.woff2 +0 -0
- package/docs/themes/docdock/static/fonts/Novecentosanswide-UltraLight-webfont.eot +0 -0
- package/docs/themes/docdock/static/fonts/Novecentosanswide-UltraLight-webfont.svg +918 -0
- package/docs/themes/docdock/static/fonts/Novecentosanswide-UltraLight-webfont.ttf +0 -0
- package/docs/themes/docdock/static/fonts/Novecentosanswide-UltraLight-webfont.woff +0 -0
- package/docs/themes/docdock/static/fonts/Novecentosanswide-UltraLight-webfont.woff2 +0 -0
- package/docs/themes/docdock/static/fonts/Roboto-Italic.ttf +0 -0
- package/docs/themes/docdock/static/fonts/Roboto-Medium.ttf +0 -0
- package/docs/themes/docdock/static/fonts/Roboto-Regular.ttf +0 -0
- package/docs/themes/docdock/static/fonts/RobotoMono-Medium.ttf +0 -0
- package/docs/themes/docdock/static/fonts/RobotoMono-Regular.ttf +0 -0
- package/docs/themes/docdock/static/fonts/Work_Sans_200.eot +0 -0
- package/docs/themes/docdock/static/fonts/Work_Sans_200.svg +332 -0
- package/docs/themes/docdock/static/fonts/Work_Sans_200.ttf +0 -0
- package/docs/themes/docdock/static/fonts/Work_Sans_200.woff +0 -0
- package/docs/themes/docdock/static/fonts/Work_Sans_200.woff2 +0 -0
- package/docs/themes/docdock/static/fonts/Work_Sans_300.eot +0 -0
- package/docs/themes/docdock/static/fonts/Work_Sans_300.svg +331 -0
- package/docs/themes/docdock/static/fonts/Work_Sans_300.ttf +0 -0
- package/docs/themes/docdock/static/fonts/Work_Sans_300.woff +0 -0
- package/docs/themes/docdock/static/fonts/Work_Sans_300.woff2 +0 -0
- package/docs/themes/docdock/static/fonts/Work_Sans_500.eot +0 -0
- package/docs/themes/docdock/static/fonts/Work_Sans_500.svg +333 -0
- package/docs/themes/docdock/static/fonts/Work_Sans_500.ttf +0 -0
- package/docs/themes/docdock/static/fonts/Work_Sans_500.woff +0 -0
- package/docs/themes/docdock/static/fonts/Work_Sans_500.woff2 +0 -0
- package/docs/themes/docdock/static/fonts/fontawesome-webfont.eot +0 -0
- package/docs/themes/docdock/static/fonts/fontawesome-webfont.svg +2671 -0
- package/docs/themes/docdock/static/fonts/fontawesome-webfont.ttf +0 -0
- package/docs/themes/docdock/static/fonts/fontawesome-webfont.woff +0 -0
- package/docs/themes/docdock/static/fonts/fontawesome-webfont.woff2 +0 -0
- package/docs/themes/docdock/static/fonts/glyphicons-halflings-regular.eot +0 -0
- package/docs/themes/docdock/static/fonts/glyphicons-halflings-regular.svg +288 -0
- package/docs/themes/docdock/static/fonts/glyphicons-halflings-regular.ttf +0 -0
- package/docs/themes/docdock/static/fonts/glyphicons-halflings-regular.woff +0 -0
- package/docs/themes/docdock/static/fonts/glyphicons-halflings-regular.woff2 +0 -0
- package/docs/themes/docdock/static/images/clippy.svg +4 -0
- package/docs/themes/docdock/static/images/favicon.png +0 -0
- package/docs/themes/docdock/static/images/gopher-404.jpg +0 -0
- package/docs/themes/docdock/static/js/auto-complete.js +223 -0
- package/docs/themes/docdock/static/js/clipboard.min.js +7 -0
- package/docs/themes/docdock/static/js/docdock.js +309 -0
- package/docs/themes/docdock/static/js/featherlight.min.js +8 -0
- package/docs/themes/docdock/static/js/highlight.pack.js +2 -0
- package/docs/themes/docdock/static/js/html5shiv-printshiv.min.js +4 -0
- package/docs/themes/docdock/static/js/jquery-2.x.min.js +4 -0
- package/docs/themes/docdock/static/js/lunr.min.js +6 -0
- package/docs/themes/docdock/static/js/modernizr.custom.71422.js +4 -0
- package/docs/themes/docdock/static/js/search.js +91 -0
- package/docs/themes/docdock/static/mermaid/mermaid.css +273 -0
- package/docs/themes/docdock/static/mermaid/mermaid.dark.css +275 -0
- package/docs/themes/docdock/static/mermaid/mermaid.forest.css +353 -0
- package/docs/themes/docdock/static/mermaid/mermaid.js +30 -0
- package/docs/themes/docdock/static/none.html +0 -0
- package/docs/themes/docdock/static/revealjs/.travis.yml +5 -0
- package/docs/themes/docdock/static/revealjs/CONTRIBUTING.md +23 -0
- package/docs/themes/docdock/static/revealjs/Gruntfile.js +192 -0
- package/docs/themes/docdock/static/revealjs/LICENSE +19 -0
- package/docs/themes/docdock/static/revealjs/README.md +1238 -0
- package/docs/themes/docdock/static/revealjs/bower.json +27 -0
- package/docs/themes/docdock/static/revealjs/css/print/paper.css +203 -0
- package/docs/themes/docdock/static/revealjs/css/print/pdf.css +178 -0
- package/docs/themes/docdock/static/revealjs/css/reveal.css +1555 -0
- package/docs/themes/docdock/static/revealjs/css/reveal.scss +1717 -0
- package/docs/themes/docdock/static/revealjs/css/theme/README.md +21 -0
- package/docs/themes/docdock/static/revealjs/css/theme/beige.css +268 -0
- package/docs/themes/docdock/static/revealjs/css/theme/black.css +264 -0
- package/docs/themes/docdock/static/revealjs/css/theme/blood.css +287 -0
- package/docs/themes/docdock/static/revealjs/css/theme/league.css +270 -0
- package/docs/themes/docdock/static/revealjs/css/theme/moon.css +268 -0
- package/docs/themes/docdock/static/revealjs/css/theme/night.css +262 -0
- package/docs/themes/docdock/static/revealjs/css/theme/serif.css +264 -0
- package/docs/themes/docdock/static/revealjs/css/theme/simple.css +267 -0
- package/docs/themes/docdock/static/revealjs/css/theme/sky.css +271 -0
- package/docs/themes/docdock/static/revealjs/css/theme/solarized.css +268 -0
- package/docs/themes/docdock/static/revealjs/css/theme/source/beige.scss +39 -0
- package/docs/themes/docdock/static/revealjs/css/theme/source/black.scss +49 -0
- package/docs/themes/docdock/static/revealjs/css/theme/source/blood.scss +78 -0
- package/docs/themes/docdock/static/revealjs/css/theme/source/league.scss +34 -0
- package/docs/themes/docdock/static/revealjs/css/theme/source/moon.scss +57 -0
- package/docs/themes/docdock/static/revealjs/css/theme/source/night.scss +34 -0
- package/docs/themes/docdock/static/revealjs/css/theme/source/serif.scss +35 -0
- package/docs/themes/docdock/static/revealjs/css/theme/source/simple.scss +43 -0
- package/docs/themes/docdock/static/revealjs/css/theme/source/sky.scss +46 -0
- package/docs/themes/docdock/static/revealjs/css/theme/source/solarized.scss +63 -0
- package/docs/themes/docdock/static/revealjs/css/theme/source/white.scss +49 -0
- package/docs/themes/docdock/static/revealjs/css/theme/template/mixins.scss +29 -0
- package/docs/themes/docdock/static/revealjs/css/theme/template/settings.scss +43 -0
- package/docs/themes/docdock/static/revealjs/css/theme/template/theme.scss +316 -0
- package/docs/themes/docdock/static/revealjs/css/theme/white.css +264 -0
- package/docs/themes/docdock/static/revealjs/demo.html +410 -0
- package/docs/themes/docdock/static/revealjs/index.html +49 -0
- package/docs/themes/docdock/static/revealjs/js/reveal.js +5239 -0
- package/docs/themes/docdock/static/revealjs/lib/css/zenburn.css +80 -0
- package/docs/themes/docdock/static/revealjs/lib/font/league-gothic/LICENSE +2 -0
- package/docs/themes/docdock/static/revealjs/lib/font/league-gothic/league-gothic.css +10 -0
- package/docs/themes/docdock/static/revealjs/lib/font/league-gothic/league-gothic.eot +0 -0
- package/docs/themes/docdock/static/revealjs/lib/font/league-gothic/league-gothic.ttf +0 -0
- package/docs/themes/docdock/static/revealjs/lib/font/league-gothic/league-gothic.woff +0 -0
- package/docs/themes/docdock/static/revealjs/lib/font/source-sans-pro/LICENSE +45 -0
- package/docs/themes/docdock/static/revealjs/lib/font/source-sans-pro/source-sans-pro-italic.eot +0 -0
- package/docs/themes/docdock/static/revealjs/lib/font/source-sans-pro/source-sans-pro-italic.ttf +0 -0
- package/docs/themes/docdock/static/revealjs/lib/font/source-sans-pro/source-sans-pro-italic.woff +0 -0
- package/docs/themes/docdock/static/revealjs/lib/font/source-sans-pro/source-sans-pro-regular.eot +0 -0
- package/docs/themes/docdock/static/revealjs/lib/font/source-sans-pro/source-sans-pro-regular.ttf +0 -0
- package/docs/themes/docdock/static/revealjs/lib/font/source-sans-pro/source-sans-pro-regular.woff +0 -0
- package/docs/themes/docdock/static/revealjs/lib/font/source-sans-pro/source-sans-pro-semibold.eot +0 -0
- package/docs/themes/docdock/static/revealjs/lib/font/source-sans-pro/source-sans-pro-semibold.ttf +0 -0
- package/docs/themes/docdock/static/revealjs/lib/font/source-sans-pro/source-sans-pro-semibold.woff +0 -0
- package/docs/themes/docdock/static/revealjs/lib/font/source-sans-pro/source-sans-pro-semibolditalic.eot +0 -0
- package/docs/themes/docdock/static/revealjs/lib/font/source-sans-pro/source-sans-pro-semibolditalic.ttf +0 -0
- package/docs/themes/docdock/static/revealjs/lib/font/source-sans-pro/source-sans-pro-semibolditalic.woff +0 -0
- package/docs/themes/docdock/static/revealjs/lib/font/source-sans-pro/source-sans-pro.css +39 -0
- package/docs/themes/docdock/static/revealjs/lib/js/classList.js +2 -0
- package/docs/themes/docdock/static/revealjs/lib/js/head.min.js +9 -0
- package/docs/themes/docdock/static/revealjs/lib/js/html5shiv.js +7 -0
- package/docs/themes/docdock/static/revealjs/package.json +43 -0
- package/docs/themes/docdock/static/revealjs/plugin/highlight/highlight.js +77 -0
- package/docs/themes/docdock/static/revealjs/plugin/markdown/example.html +129 -0
- package/docs/themes/docdock/static/revealjs/plugin/markdown/example.md +31 -0
- package/docs/themes/docdock/static/revealjs/plugin/markdown/markdown.js +412 -0
- package/docs/themes/docdock/static/revealjs/plugin/markdown/marked.js +6 -0
- package/docs/themes/docdock/static/revealjs/plugin/math/math.js +67 -0
- package/docs/themes/docdock/static/revealjs/plugin/multiplex/client.js +13 -0
- package/docs/themes/docdock/static/revealjs/plugin/multiplex/index.js +64 -0
- package/docs/themes/docdock/static/revealjs/plugin/multiplex/master.js +34 -0
- package/docs/themes/docdock/static/revealjs/plugin/multiplex/package.json +19 -0
- package/docs/themes/docdock/static/revealjs/plugin/notes/notes.html +759 -0
- package/docs/themes/docdock/static/revealjs/plugin/notes/notes.js +155 -0
- package/docs/themes/docdock/static/revealjs/plugin/notes-server/client.js +65 -0
- package/docs/themes/docdock/static/revealjs/plugin/notes-server/index.js +69 -0
- package/docs/themes/docdock/static/revealjs/plugin/notes-server/notes.html +585 -0
- package/docs/themes/docdock/static/revealjs/plugin/print-pdf/print-pdf.js +69 -0
- package/docs/themes/docdock/static/revealjs/plugin/search/search.js +206 -0
- package/docs/themes/docdock/static/revealjs/plugin/zoom-js/zoom.js +272 -0
- package/docs/themes/docdock/static/revealjs/test/examples/assets/image1.png +0 -0
- package/docs/themes/docdock/static/revealjs/test/examples/assets/image2.png +0 -0
- package/docs/themes/docdock/static/revealjs/test/examples/barebones.html +41 -0
- package/docs/themes/docdock/static/revealjs/test/examples/embedded-media.html +49 -0
- package/docs/themes/docdock/static/revealjs/test/examples/math.html +185 -0
- package/docs/themes/docdock/static/revealjs/test/examples/slide-backgrounds.html +144 -0
- package/docs/themes/docdock/static/revealjs/test/examples/slide-transitions.html +101 -0
- package/docs/themes/docdock/static/revealjs/test/qunit-1.12.0.css +244 -0
- package/docs/themes/docdock/static/revealjs/test/qunit-1.12.0.js +2212 -0
- package/docs/themes/docdock/static/revealjs/test/simple.md +12 -0
- package/docs/themes/docdock/static/revealjs/test/test-markdown-element-attributes.html +134 -0
- package/docs/themes/docdock/static/revealjs/test/test-markdown-element-attributes.js +46 -0
- package/docs/themes/docdock/static/revealjs/test/test-markdown-external.html +36 -0
- package/docs/themes/docdock/static/revealjs/test/test-markdown-external.js +24 -0
- package/docs/themes/docdock/static/revealjs/test/test-markdown-options.html +41 -0
- package/docs/themes/docdock/static/revealjs/test/test-markdown-options.js +26 -0
- package/docs/themes/docdock/static/revealjs/test/test-markdown-slide-attributes.html +128 -0
- package/docs/themes/docdock/static/revealjs/test/test-markdown-slide-attributes.js +47 -0
- package/docs/themes/docdock/static/revealjs/test/test-markdown.html +52 -0
- package/docs/themes/docdock/static/revealjs/test/test-markdown.js +15 -0
- package/docs/themes/docdock/static/revealjs/test/test-pdf.html +83 -0
- package/docs/themes/docdock/static/revealjs/test/test-pdf.js +15 -0
- package/docs/themes/docdock/static/revealjs/test/test.html +86 -0
- package/docs/themes/docdock/static/revealjs/test/test.js +597 -0
- package/docs/themes/docdock/static/scss/flex/article.scss +356 -0
- package/docs/themes/docdock/static/scss/flex/fonts.scss +38 -0
- package/docs/themes/docdock/static/scss/flex/footer.scss +45 -0
- package/docs/themes/docdock/static/scss/flex/header.scss +89 -0
- package/docs/themes/docdock/static/scss/flex/main.scss +164 -0
- package/docs/themes/docdock/static/scss/flex/medias.scss +74 -0
- package/docs/themes/docdock/static/scss/flex/menu.scss +126 -0
- package/docs/themes/docdock/static/scss/flex/shortcode.children.scss +34 -0
- package/docs/themes/docdock/static/scss/flex/shortcode.notice.scss +63 -0
- package/docs/themes/docdock/static/scss/flex/style.scss +14 -0
- package/docs/themes/docdock/static/scss/original/_colours.scss +14 -0
- package/docs/themes/docdock/static/scss/original/_functions.scss +89 -0
- package/docs/themes/docdock/static/scss/original/_variables.scss +137 -0
- package/docs/themes/docdock/static/scss/original/fonts.scss +23 -0
- package/docs/themes/docdock/static/scss/original/main.scss +1233 -0
- package/docs/themes/docdock/static/scss/original/print.scss +29 -0
- package/docs/themes/docdock/static/scss/original/responsive.scss +124 -0
- package/docs/themes/docdock/static/scss/original/shortcodes.scss +32 -0
- package/docs/themes/docdock/static/scss/original/sidebar.scss +276 -0
- package/docs/themes/docdock/static/scss/original/style.scss +16 -0
- package/docs/themes/docdock/static/theme-flex/ribbon.png +0 -0
- package/docs/themes/docdock/static/theme-flex/script.js +277 -0
- package/docs/themes/docdock/static/theme-flex/style.css +728 -0
- package/docs/themes/docdock/static/theme-original/script.js +133 -0
- package/docs/themes/docdock/static/theme-original/style.css +1411 -0
- package/docs/themes/docdock/static/theme-original/variant-blue.css +0 -0
- package/docs/themes/docdock/static/theme-original/variant-gold.css +61 -0
- package/docs/themes/docdock/static/theme-original/variant-gray.css +61 -0
- package/docs/themes/docdock/static/theme-original/variant-green.css +61 -0
- package/docs/themes/docdock/theme.toml +22 -0
- package/lib/binary/components.js +77 -0
- package/lib/binary/downloader.js +170 -0
- package/lib/binary/index.js +11 -0
- package/lib/binary/runner.js +30 -0
- package/lib/interface/cli/Command.js +331 -0
- package/lib/interface/cli/codefresh +24 -0
- package/lib/interface/cli/commad-line-interface.js +90 -0
- package/lib/interface/cli/commands/agent/apply.cmd.js +61 -0
- package/lib/interface/cli/commands/agent/create.cmd.js +39 -0
- package/lib/interface/cli/commands/agent/delete.cmd.js +40 -0
- package/lib/interface/cli/commands/agent/get.cmd.js +44 -0
- package/lib/interface/cli/commands/agent/helper.js +28 -0
- package/lib/interface/cli/commands/agent/install.cmd.js +205 -0
- package/lib/interface/cli/commands/agent/uninstall.cmd.js +92 -0
- package/lib/interface/cli/commands/analyzer/analyze.cmd.js +34 -0
- package/lib/interface/cli/commands/analyzer/analyzer.logic.js +24 -0
- package/lib/interface/cli/commands/annotation/annotation.logic.js +59 -0
- package/lib/interface/cli/commands/annotation/annotation.sdk.spec.js +64 -0
- package/lib/interface/cli/commands/annotation/create.cmd.js +39 -0
- package/lib/interface/cli/commands/annotation/delete.cmd.js +38 -0
- package/lib/interface/cli/commands/annotation/get.cmd.js +42 -0
- package/lib/interface/cli/commands/app-proxy/helper.js +63 -0
- package/lib/interface/cli/commands/app-proxy/install.cmd.js +204 -0
- package/lib/interface/cli/commands/app-proxy/uninstall.cmd.js +175 -0
- package/lib/interface/cli/commands/app-proxy/upgrade.cmd.js +110 -0
- package/lib/interface/cli/commands/audit/download.cmd.js +57 -0
- package/lib/interface/cli/commands/auth/create-context.cmd.js +54 -0
- package/lib/interface/cli/commands/auth/current-context.cmd.js +25 -0
- package/lib/interface/cli/commands/auth/get-contexts.cmd.js +27 -0
- package/lib/interface/cli/commands/auth/use-context.cmd.js +42 -0
- package/lib/interface/cli/commands/board/apply.cmd.js +61 -0
- package/lib/interface/cli/commands/board/board.sdk.spec.js +87 -0
- package/lib/interface/cli/commands/board/create.cmd.js +33 -0
- package/lib/interface/cli/commands/board/delete.cmd.js +42 -0
- package/lib/interface/cli/commands/board/get.cmd.js +62 -0
- package/lib/interface/cli/commands/cli-config/cli-config.cmd.js +41 -0
- package/lib/interface/cli/commands/cli-config/ops/get.cmd.js +52 -0
- package/lib/interface/cli/commands/cli-config/ops/help.cmd.js +36 -0
- package/lib/interface/cli/commands/cli-config/ops/profile.cmd.js +49 -0
- package/lib/interface/cli/commands/cli-config/ops/set.cmd.js +65 -0
- package/lib/interface/cli/commands/cluster/cluster.sdk.spec.js +61 -0
- package/lib/interface/cli/commands/cluster/create.cmd.js +85 -0
- package/lib/interface/cli/commands/cluster/delete.cmd.js +39 -0
- package/lib/interface/cli/commands/cluster/get.cmd.js +30 -0
- package/lib/interface/cli/commands/completion/bash.sh.hbs +27 -0
- package/lib/interface/cli/commands/completion/completion.cmd.js +66 -0
- package/lib/interface/cli/commands/completion/zsh.sh.hbs +20 -0
- package/lib/interface/cli/commands/components/update.cmd.js +30 -0
- package/lib/interface/cli/commands/composition/composition.sdk.spec.js +95 -0
- package/lib/interface/cli/commands/composition/create.cmd.js +67 -0
- package/lib/interface/cli/commands/composition/create.completion.js +15 -0
- package/lib/interface/cli/commands/composition/delete.cmd.js +40 -0
- package/lib/interface/cli/commands/composition/get.cmd.js +43 -0
- package/lib/interface/cli/commands/composition/replace.cmd.js +76 -0
- package/lib/interface/cli/commands/composition/replace.completion.js +15 -0
- package/lib/interface/cli/commands/context/apply.cmd.js +51 -0
- package/lib/interface/cli/commands/context/context.sdk.spec.js +158 -0
- package/lib/interface/cli/commands/context/create/createConfig.cmd.js +54 -0
- package/lib/interface/cli/commands/context/create/createSecret.cmd.js +54 -0
- package/lib/interface/cli/commands/context/create/createSecretYaml.cmd.js +53 -0
- package/lib/interface/cli/commands/context/create/createYaml.cmd.js +53 -0
- package/lib/interface/cli/commands/context/create/git/base.cmd.js +38 -0
- package/lib/interface/cli/commands/context/create/git/types/bitbucket.cmd.js +64 -0
- package/lib/interface/cli/commands/context/create/git/types/github.cmd.js +79 -0
- package/lib/interface/cli/commands/context/create/git/types/gitlab.cmd.js +71 -0
- package/lib/interface/cli/commands/context/create/git/types/stash.cmd.js +69 -0
- package/lib/interface/cli/commands/context/create/helm-repo/base.cmd.js +24 -0
- package/lib/interface/cli/commands/context/create/helm-repo/types/http.cmd.js +60 -0
- package/lib/interface/cli/commands/context/create/helm-repo/types/s3.cmd.js +97 -0
- package/lib/interface/cli/commands/context/create/secret-store/base.cmd.js +33 -0
- package/lib/interface/cli/commands/context/create/secret-store/types/hashicorp-vault.cmd.js +141 -0
- package/lib/interface/cli/commands/context/create/secret-store/types/kubernetes-runtime.cmd.js +67 -0
- package/lib/interface/cli/commands/context/create/secret-store/types/kubernetes.cmd.js +67 -0
- package/lib/interface/cli/commands/context/create.cmd.js +23 -0
- package/lib/interface/cli/commands/context/delete.cmd.js +39 -0
- package/lib/interface/cli/commands/context/get.cmd.js +68 -0
- package/lib/interface/cli/commands/environment/delete.cmd.js +28 -0
- package/lib/interface/cli/commands/environment/environment.sdk.spec.js +40 -0
- package/lib/interface/cli/commands/environment/get.cmd.js +43 -0
- package/lib/interface/cli/commands/gitops/argocd/install.js +9 -0
- package/lib/interface/cli/commands/gitops/argocd/uninstall.js +11 -0
- package/lib/interface/cli/commands/gitops/argocd/upgrade.js +9 -0
- package/lib/interface/cli/commands/gitops/codefresh/install.js +50 -0
- package/lib/interface/cli/commands/gitops/codefresh/uninstall.js +14 -0
- package/lib/interface/cli/commands/gitops/codefresh/upgrade.js +9 -0
- package/lib/interface/cli/commands/gitops/common/install.js +62 -0
- package/lib/interface/cli/commands/gitops/common/uninstall.js +39 -0
- package/lib/interface/cli/commands/gitops/common/upgrade.js +45 -0
- package/lib/interface/cli/commands/gitops/install.cmd.js +111 -0
- package/lib/interface/cli/commands/gitops/install.spec.js +77 -0
- package/lib/interface/cli/commands/gitops/uninstall.cmd.js +56 -0
- package/lib/interface/cli/commands/gitops/upgrade.cmd.js +56 -0
- package/lib/interface/cli/commands/helm/chart/helm-charts.sdk.spec.js +65 -0
- package/lib/interface/cli/commands/helm/chart/install-chart.cmd.js +103 -0
- package/lib/interface/cli/commands/helm/chart/promote-chart.cmd.js +123 -0
- package/lib/interface/cli/commands/helm/helm.sdk.spec.js +81 -0
- package/lib/interface/cli/commands/helm/release/delete-release.cmd.js +102 -0
- package/lib/interface/cli/commands/helm/release/helm-releases.sdk.spec.js +53 -0
- package/lib/interface/cli/commands/helm/release/rollback-release.cmd.js +87 -0
- package/lib/interface/cli/commands/helm/release/test-release.cmd.js +93 -0
- package/lib/interface/cli/commands/helm/release/util.js +16 -0
- package/lib/interface/cli/commands/helm/repo/apply.cmd.js +54 -0
- package/lib/interface/cli/commands/helm/repo/create.cmd.js +46 -0
- package/lib/interface/cli/commands/helm/repo/delete.cmd.js +37 -0
- package/lib/interface/cli/commands/helm/repo/get.cmd.js +61 -0
- package/lib/interface/cli/commands/helm/repo/helm-repo.sdk.spec.js +58 -0
- package/lib/interface/cli/commands/helm/set-helm-config.cmd.js +93 -0
- package/lib/interface/cli/commands/hybrid/InstallationPlan.js +216 -0
- package/lib/interface/cli/commands/hybrid/delete.cmd.js +336 -0
- package/lib/interface/cli/commands/hybrid/execute-test-pipeline.cmd.js +37 -0
- package/lib/interface/cli/commands/hybrid/helper.js +1122 -0
- package/lib/interface/cli/commands/hybrid/info.cmd.js +27 -0
- package/lib/interface/cli/commands/hybrid/init.cmd.js +958 -0
- package/lib/interface/cli/commands/hybrid/installation-process.js +51 -0
- package/lib/interface/cli/commands/hybrid/key-helper.js +82 -0
- package/lib/interface/cli/commands/hybrid/migration.js +192 -0
- package/lib/interface/cli/commands/hybrid/pipeline-helper.js +71 -0
- package/lib/interface/cli/commands/hybrid/upgrade.cmd.js +195 -0
- package/lib/interface/cli/commands/image/annotate.cmd.js +61 -0
- package/lib/interface/cli/commands/image/get.cmd.js +122 -0
- package/lib/interface/cli/commands/image/image.sdk.spec.js +134 -0
- package/lib/interface/cli/commands/image/tag.cmd.js +50 -0
- package/lib/interface/cli/commands/image/untag.cmd.js +47 -0
- package/lib/interface/cli/commands/imagePullSecret/generate.cmd.js +49 -0
- package/lib/interface/cli/commands/imagePullSecret/imagePullSecret.sdk.spec.js +21 -0
- package/lib/interface/cli/commands/monitor/install.cmd.js +160 -0
- package/lib/interface/cli/commands/monitor/uninstall.cmd.js +78 -0
- package/lib/interface/cli/commands/offline-logs/base.cmd.js +33 -0
- package/lib/interface/cli/commands/offline-logs/ensure-index.cmd.js +44 -0
- package/lib/interface/cli/commands/offline-logs/ensure-index.spec.js +76 -0
- package/lib/interface/cli/commands/offline-logs/offload-to-collection.cmd.js +188 -0
- package/lib/interface/cli/commands/offline-logs/offload-to-file.cmd.js +175 -0
- package/lib/interface/cli/commands/offline-logs/offload-to-file.spec.js +59 -0
- package/lib/interface/cli/commands/offline-logs/utils.js +159 -0
- package/lib/interface/cli/commands/pipeline/delete.cmd.js +31 -0
- package/lib/interface/cli/commands/pipeline/get.cmd.js +125 -0
- package/lib/interface/cli/commands/pipeline/get.completion.js +14 -0
- package/lib/interface/cli/commands/pipeline/pipeline.sdk.spec.js +137 -0
- package/lib/interface/cli/commands/pipeline/run.base.js +153 -0
- package/lib/interface/cli/commands/pipeline/run.cf.js +58 -0
- package/lib/interface/cli/commands/pipeline/run.cmd.js +165 -0
- package/lib/interface/cli/commands/pipeline/run.completion.js +15 -0
- package/lib/interface/cli/commands/pipeline/run.local.js +200 -0
- package/lib/interface/cli/commands/project/apply.cmd.js +92 -0
- package/lib/interface/cli/commands/project/create.cmd.js +70 -0
- package/lib/interface/cli/commands/project/delete.cmd.js +39 -0
- package/lib/interface/cli/commands/project/get.cmd.js +67 -0
- package/lib/interface/cli/commands/project/project.sdk.spec.js +111 -0
- package/lib/interface/cli/commands/registry/create/create.standard.cmd.js +53 -0
- package/lib/interface/cli/commands/registry/create.cmd.js +20 -0
- package/lib/interface/cli/commands/registry/delete.cmd.js +29 -0
- package/lib/interface/cli/commands/registry/get.cmd.js +30 -0
- package/lib/interface/cli/commands/registry/registry.sdk.spec.js +43 -0
- package/lib/interface/cli/commands/repo/add.cmd.js +90 -0
- package/lib/interface/cli/commands/repo/delete.cmd.js +43 -0
- package/lib/interface/cli/commands/repo/get.cmd.js +101 -0
- package/lib/interface/cli/commands/repo/repo.sdk.spec.js +94 -0
- package/lib/interface/cli/commands/root/add.cmd.js +18 -0
- package/lib/interface/cli/commands/root/annotate.cmd.js +17 -0
- package/lib/interface/cli/commands/root/apply.cmd.js +38 -0
- package/lib/interface/cli/commands/root/apply.completion.js +15 -0
- package/lib/interface/cli/commands/root/auth.cmd.js +31 -0
- package/lib/interface/cli/commands/root/components.cmd.js +17 -0
- package/lib/interface/cli/commands/root/create.cmd.js +42 -0
- package/lib/interface/cli/commands/root/create.completion.js +15 -0
- package/lib/interface/cli/commands/root/delete.cmd.js +52 -0
- package/lib/interface/cli/commands/root/delete.completion.js +15 -0
- package/lib/interface/cli/commands/root/diff.cmd.js +38 -0
- package/lib/interface/cli/commands/root/diff.completion.js +15 -0
- package/lib/interface/cli/commands/root/download.cmd.js +18 -0
- package/lib/interface/cli/commands/root/generate.cmd.js +18 -0
- package/lib/interface/cli/commands/root/get.cmd.js +72 -0
- package/lib/interface/cli/commands/root/get.completion.js +19 -0
- package/lib/interface/cli/commands/root/install.cmd.js +17 -0
- package/lib/interface/cli/commands/root/replace.cmd.js +72 -0
- package/lib/interface/cli/commands/root/replace.completion.js +15 -0
- package/lib/interface/cli/commands/root/root.sdk.spec.js +197 -0
- package/lib/interface/cli/commands/root/runner.cmd.js +18 -0
- package/lib/interface/cli/commands/root/synchronize.cmd.js +17 -0
- package/lib/interface/cli/commands/root/uninstall.cmd.js +17 -0
- package/lib/interface/cli/commands/root/upgrade.cmd.js +38 -0
- package/lib/interface/cli/commands/root/validate.cmd.js +119 -0
- package/lib/interface/cli/commands/root/validate.completion.js +10 -0
- package/lib/interface/cli/commands/root/version.cmd.js +48 -0
- package/lib/interface/cli/commands/runtimeEnvironments/apply.cmd.js +111 -0
- package/lib/interface/cli/commands/runtimeEnvironments/attach.cmd.js +161 -0
- package/lib/interface/cli/commands/runtimeEnvironments/create.cmd.js +23 -0
- package/lib/interface/cli/commands/runtimeEnvironments/delete.cmd.js +35 -0
- package/lib/interface/cli/commands/runtimeEnvironments/diff.cmd.js +64 -0
- package/lib/interface/cli/commands/runtimeEnvironments/get.cmd.js +76 -0
- package/lib/interface/cli/commands/runtimeEnvironments/install.cmd.js +312 -0
- package/lib/interface/cli/commands/runtimeEnvironments/runtimeEnvironments.sdk.spec.js +61 -0
- package/lib/interface/cli/commands/runtimeEnvironments/uninstall.cmd.js +149 -0
- package/lib/interface/cli/commands/section/apply.cmd.js +85 -0
- package/lib/interface/cli/commands/section/create.cmd.js +69 -0
- package/lib/interface/cli/commands/section/delete.cmd.js +61 -0
- package/lib/interface/cli/commands/section/get.cmd.js +79 -0
- package/lib/interface/cli/commands/section/section.sdk.spec.js +143 -0
- package/lib/interface/cli/commands/step/delete.cmd.js +30 -0
- package/lib/interface/cli/commands/step/get.cmd.js +131 -0
- package/lib/interface/cli/commands/step/get.completion.js +14 -0
- package/lib/interface/cli/commands/step/step.sdk.spec.js +67 -0
- package/lib/interface/cli/commands/systemRuntimeEnvironments/apply.cmd.js +69 -0
- package/lib/interface/cli/commands/systemRuntimeEnvironments/delete.cmd.js +44 -0
- package/lib/interface/cli/commands/systemRuntimeEnvironments/diff.cmd.js +74 -0
- package/lib/interface/cli/commands/systemRuntimeEnvironments/get.cmd.js +103 -0
- package/lib/interface/cli/commands/systemRuntimeEnvironments/systemRuntimeEnvironments.sdk.spec.js +128 -0
- package/lib/interface/cli/commands/team/add.user.cmd.js +39 -0
- package/lib/interface/cli/commands/team/create.cmd.js +53 -0
- package/lib/interface/cli/commands/team/get.cmd.js +30 -0
- package/lib/interface/cli/commands/team/remove.user.cmd.js +39 -0
- package/lib/interface/cli/commands/team/synchronize.cmd.js +76 -0
- package/lib/interface/cli/commands/team/team.sdk.spec.js +65 -0
- package/lib/interface/cli/commands/tokens/apply.cmd.js +50 -0
- package/lib/interface/cli/commands/tokens/create.cmd.js +67 -0
- package/lib/interface/cli/commands/tokens/delete.cmd.js +43 -0
- package/lib/interface/cli/commands/tokens/get.cmd.js +38 -0
- package/lib/interface/cli/commands/tokens/tokens.sdk.spec.js +43 -0
- package/lib/interface/cli/commands/trigger/create.cmd.js +44 -0
- package/lib/interface/cli/commands/trigger/delete.cmd.js +39 -0
- package/lib/interface/cli/commands/trigger/event/create.cmd.js +60 -0
- package/lib/interface/cli/commands/trigger/event/delete.cmd.js +34 -0
- package/lib/interface/cli/commands/trigger/event/get.cmd.js +59 -0
- package/lib/interface/cli/commands/trigger/event/trigger-event.sdk.spec.js +51 -0
- package/lib/interface/cli/commands/trigger/get.cmd.js +47 -0
- package/lib/interface/cli/commands/trigger/trigger.sdk.spec.js +73 -0
- package/lib/interface/cli/commands/trigger/type/get.cmd.js +54 -0
- package/lib/interface/cli/commands/trigger/type/trigger-type.sdk.spec.js +33 -0
- package/lib/interface/cli/commands/workflow/approve.cmd.js +31 -0
- package/lib/interface/cli/commands/workflow/approve.cmd.spec.js +47 -0
- package/lib/interface/cli/commands/workflow/deny.cmd.js +31 -0
- package/lib/interface/cli/commands/workflow/deny.cmd.spec.js +47 -0
- package/lib/interface/cli/commands/workflow/get.cmd.js +161 -0
- package/lib/interface/cli/commands/workflow/logs.cmd.js +38 -0
- package/lib/interface/cli/commands/workflow/restart.cmd.js +37 -0
- package/lib/interface/cli/commands/workflow/terminate.cmd.js +31 -0
- package/lib/interface/cli/commands/workflow/wait.cmd.js +77 -0
- package/lib/interface/cli/commands/workflow/workflow-data-item/create.cmd.js +44 -0
- package/lib/interface/cli/commands/workflow/workflow-data-item/get.cmd.js +72 -0
- package/lib/interface/cli/commands/workflow/workflow.sdk.spec.js +123 -0
- package/lib/interface/cli/completion/completion.spec.js +313 -0
- package/lib/interface/cli/completion/generate +102 -0
- package/lib/interface/cli/completion/helpers.js +90 -0
- package/lib/interface/cli/completion/index.js +89 -0
- package/lib/interface/cli/completion/tree.json +1 -0
- package/lib/interface/cli/defaults.js +18 -0
- package/lib/interface/cli/helpers/auth.js +62 -0
- package/lib/interface/cli/helpers/cli-config.js +110 -0
- package/lib/interface/cli/helpers/entitiesManifests.js +60 -0
- package/lib/interface/cli/helpers/general.js +235 -0
- package/lib/interface/cli/helpers/helm.js +51 -0
- package/lib/interface/cli/helpers/helpers.sdk.spec.js +201 -0
- package/lib/interface/cli/helpers/helpers.unit.spec.js +105 -0
- package/lib/interface/cli/helpers/image.js +66 -0
- package/lib/interface/cli/helpers/kubernetes.js +61 -0
- package/lib/interface/cli/helpers/logs.js +99 -0
- package/lib/interface/cli/helpers/progressEvents.js +25 -0
- package/lib/interface/cli/helpers/sys-re.js +76 -0
- package/lib/interface/cli/helpers/validation.js +92 -0
- package/lib/logic/cli-config/Manager.js +187 -0
- package/lib/logic/cli-config/Model.js +82 -0
- package/lib/logic/cli-config/errors/MultiplePropertiesError.js +8 -0
- package/lib/logic/cli-config/errors/NoPropertyError.js +8 -0
- package/lib/logic/cli-config/errors/NotFullPropertyError.js +8 -0
- package/lib/logic/cli-config/errors/PipelineValidationError.js +12 -0
- package/lib/logic/cli-config/errors/SchemaValidationError.js +14 -0
- package/lib/logic/cli-config/errors/awaitTo.js +16 -0
- package/lib/logic/cli-config/errors/helpers.js +23 -0
- package/lib/logic/cli-config/errors/index.js +13 -0
- package/lib/logic/cli-config/manager.spec.js +152 -0
- package/lib/logic/cli-config/schema.json +61 -0
- package/lib/logic/entities/Agent.js +52 -0
- package/lib/logic/entities/Annotation.js +24 -0
- package/lib/logic/entities/Board.js +22 -0
- package/lib/logic/entities/Cluster.js +22 -0
- package/lib/logic/entities/CodefreshRepo.js +22 -0
- package/lib/logic/entities/Composition.js +22 -0
- package/lib/logic/entities/Context.js +31 -0
- package/lib/logic/entities/Entity.js +48 -0
- package/lib/logic/entities/Environment.js +38 -0
- package/lib/logic/entities/GitRepo.js +21 -0
- package/lib/logic/entities/HelmRepo.js +23 -0
- package/lib/logic/entities/Image.js +13 -0
- package/lib/logic/entities/Pipeline.js +22 -0
- package/lib/logic/entities/Project.js +25 -0
- package/lib/logic/entities/Registry.js +35 -0
- package/lib/logic/entities/RuntimeEnvironments.js +30 -0
- package/lib/logic/entities/Section.js +23 -0
- package/lib/logic/entities/StepType.js +27 -0
- package/lib/logic/entities/StepTypeVersion.js +19 -0
- package/lib/logic/entities/Team.js +36 -0
- package/lib/logic/entities/Token.js +25 -0
- package/lib/logic/entities/Trigger.js +21 -0
- package/lib/logic/entities/TriggerEvent.js +28 -0
- package/lib/logic/entities/TriggerType.js +25 -0
- package/lib/logic/entities/Workflow.js +63 -0
- package/lib/logic/entities/WorkflowDataItem.js +48 -0
- package/lib/logic/index.js +7 -0
- package/lib/logic/sdk/index.js +5 -0
- package/lib/output/Formatter.js +42 -0
- package/lib/output/Output.js +88 -0
- package/lib/output/Style.js +96 -0
- package/lib/output/__mocks__/Output.js +8 -0
- package/lib/output/formatters/Annotations.formatter.js +7 -0
- package/lib/output/formatters/Board.formatter.js +7 -0
- package/lib/output/formatters/CodefreshRepo.formatter.js +7 -0
- package/lib/output/formatters/Composition.formatter.js +8 -0
- package/lib/output/formatters/Environment.formatter.js +17 -0
- package/lib/output/formatters/GitRepo.formatter.js +7 -0
- package/lib/output/formatters/HelmRepo.formatter.js +9 -0
- package/lib/output/formatters/Image.formatter.js +12 -0
- package/lib/output/formatters/Pipeline.formatter.js +8 -0
- package/lib/output/formatters/Project.formatter.js +10 -0
- package/lib/output/formatters/Registry.formatter.js +7 -0
- package/lib/output/formatters/Section.formatter.js +8 -0
- package/lib/output/formatters/StepType.formatter.js +8 -0
- package/lib/output/formatters/Team.formatter.js +13 -0
- package/lib/output/formatters/Token.formatter.js +11 -0
- package/lib/output/formatters/TriggerEvent.formatter.js +12 -0
- package/lib/output/formatters/TriggerType.formatter.js +12 -0
- package/lib/output/formatters/Workflow.formatter.js +28 -0
- package/lib/output/formatters/index.js +38 -0
- package/lib/output/types/id.output.js +16 -0
- package/lib/output/types/json.output.js +22 -0
- package/lib/output/types/name.output.js +16 -0
- package/lib/output/types/table.output.js +107 -0
- package/lib/output/types/table.output.spec.js +93 -0
- package/lib/output/types/yaml.output.js +30 -0
- package/openapi.json +8645 -0
- package/package.json +105 -0
- package/run-check-version.js +3 -0
- package/test-setup.js +34 -0
- package/yarn.lock +6124 -0
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
|
|
4
|
+
<head>
|
|
5
|
+
<meta charset="utf-8">
|
|
6
|
+
|
|
7
|
+
<title>reveal.js - Tests</title>
|
|
8
|
+
|
|
9
|
+
<link rel="stylesheet" href="../css/reveal.css">
|
|
10
|
+
<link rel="stylesheet" href="qunit-1.12.0.css">
|
|
11
|
+
</head>
|
|
12
|
+
|
|
13
|
+
<body style="overflow: auto;">
|
|
14
|
+
|
|
15
|
+
<div id="qunit"></div>
|
|
16
|
+
<div id="qunit-fixture"></div>
|
|
17
|
+
|
|
18
|
+
<div class="reveal" style="display: none;">
|
|
19
|
+
|
|
20
|
+
<div class="slides">
|
|
21
|
+
|
|
22
|
+
<section data-background-image="examples/assets/image1.png">
|
|
23
|
+
<h1>1</h1>
|
|
24
|
+
<img data-src="fake-url.png">
|
|
25
|
+
<video data-src="fake-url.mp4"></video>
|
|
26
|
+
<audio data-src="fake-url.mp3"></audio>
|
|
27
|
+
<aside class="notes">speaker notes 1</aside>
|
|
28
|
+
</section>
|
|
29
|
+
|
|
30
|
+
<section>
|
|
31
|
+
<section data-background="examples/assets/image2.png" data-notes="speaker notes 2">
|
|
32
|
+
<h1>2.1</h1>
|
|
33
|
+
</section>
|
|
34
|
+
<section>
|
|
35
|
+
<h1>2.2</h1>
|
|
36
|
+
</section>
|
|
37
|
+
<section>
|
|
38
|
+
<h1>2.3</h1>
|
|
39
|
+
</section>
|
|
40
|
+
</section>
|
|
41
|
+
|
|
42
|
+
<section id="fragment-slides">
|
|
43
|
+
<section>
|
|
44
|
+
<h1>3.1</h1>
|
|
45
|
+
<ul>
|
|
46
|
+
<li class="fragment">4.1</li>
|
|
47
|
+
<li class="fragment">4.2</li>
|
|
48
|
+
<li class="fragment">4.3</li>
|
|
49
|
+
</ul>
|
|
50
|
+
</section>
|
|
51
|
+
|
|
52
|
+
<section>
|
|
53
|
+
<h1>3.2</h1>
|
|
54
|
+
<ul>
|
|
55
|
+
<li class="fragment" data-fragment-index="0">4.1</li>
|
|
56
|
+
<li class="fragment" data-fragment-index="0">4.2</li>
|
|
57
|
+
</ul>
|
|
58
|
+
<iframe data-src="http://example.com"></iframe>
|
|
59
|
+
</section>
|
|
60
|
+
|
|
61
|
+
<section>
|
|
62
|
+
<h1>3.3</h1>
|
|
63
|
+
<ul>
|
|
64
|
+
<li class="fragment" data-fragment-index="1">3.3.1</li>
|
|
65
|
+
<li class="fragment" data-fragment-index="4">3.3.2</li>
|
|
66
|
+
<li class="fragment" data-fragment-index="4">3.3.3</li>
|
|
67
|
+
</ul>
|
|
68
|
+
</section>
|
|
69
|
+
</section>
|
|
70
|
+
|
|
71
|
+
<section>
|
|
72
|
+
<h1>4</h1>
|
|
73
|
+
</section>
|
|
74
|
+
|
|
75
|
+
</div>
|
|
76
|
+
|
|
77
|
+
</div>
|
|
78
|
+
|
|
79
|
+
<script src="../lib/js/head.min.js"></script>
|
|
80
|
+
<script src="../js/reveal.js"></script>
|
|
81
|
+
<script src="qunit-1.12.0.js"></script>
|
|
82
|
+
|
|
83
|
+
<script src="test.js"></script>
|
|
84
|
+
|
|
85
|
+
</body>
|
|
86
|
+
</html>
|
|
@@ -0,0 +1,597 @@
|
|
|
1
|
+
|
|
2
|
+
// These tests expect the DOM to contain a presentation
|
|
3
|
+
// with the following slide structure:
|
|
4
|
+
//
|
|
5
|
+
// 1
|
|
6
|
+
// 2 - Three sub-slides
|
|
7
|
+
// 3 - Three fragment elements
|
|
8
|
+
// 3 - Two fragments with same data-fragment-index
|
|
9
|
+
// 4
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
Reveal.addEventListener( 'ready', function() {
|
|
13
|
+
|
|
14
|
+
// ---------------------------------------------------------------
|
|
15
|
+
// DOM TESTS
|
|
16
|
+
|
|
17
|
+
QUnit.module( 'DOM' );
|
|
18
|
+
|
|
19
|
+
test( 'Initial slides classes', function() {
|
|
20
|
+
var horizontalSlides = document.querySelectorAll( '.reveal .slides>section' )
|
|
21
|
+
|
|
22
|
+
strictEqual( document.querySelectorAll( '.reveal .slides section.past' ).length, 0, 'no .past slides' );
|
|
23
|
+
strictEqual( document.querySelectorAll( '.reveal .slides section.present' ).length, 1, 'one .present slide' );
|
|
24
|
+
strictEqual( document.querySelectorAll( '.reveal .slides>section.future' ).length, horizontalSlides.length - 1, 'remaining horizontal slides are .future' );
|
|
25
|
+
|
|
26
|
+
strictEqual( document.querySelectorAll( '.reveal .slides section.stack' ).length, 2, 'two .stacks' );
|
|
27
|
+
|
|
28
|
+
ok( document.querySelectorAll( '.reveal .slides section.stack' )[0].querySelectorAll( '.future' ).length > 0, 'vertical slides are given .future' );
|
|
29
|
+
});
|
|
30
|
+
|
|
31
|
+
// ---------------------------------------------------------------
|
|
32
|
+
// API TESTS
|
|
33
|
+
|
|
34
|
+
QUnit.module( 'API' );
|
|
35
|
+
|
|
36
|
+
test( 'Reveal.isReady', function() {
|
|
37
|
+
strictEqual( Reveal.isReady(), true, 'returns true' );
|
|
38
|
+
});
|
|
39
|
+
|
|
40
|
+
test( 'Reveal.isOverview', function() {
|
|
41
|
+
strictEqual( Reveal.isOverview(), false, 'false by default' );
|
|
42
|
+
|
|
43
|
+
Reveal.toggleOverview();
|
|
44
|
+
strictEqual( Reveal.isOverview(), true, 'true after toggling on' );
|
|
45
|
+
|
|
46
|
+
Reveal.toggleOverview();
|
|
47
|
+
strictEqual( Reveal.isOverview(), false, 'false after toggling off' );
|
|
48
|
+
});
|
|
49
|
+
|
|
50
|
+
test( 'Reveal.isPaused', function() {
|
|
51
|
+
strictEqual( Reveal.isPaused(), false, 'false by default' );
|
|
52
|
+
|
|
53
|
+
Reveal.togglePause();
|
|
54
|
+
strictEqual( Reveal.isPaused(), true, 'true after pausing' );
|
|
55
|
+
|
|
56
|
+
Reveal.togglePause();
|
|
57
|
+
strictEqual( Reveal.isPaused(), false, 'false after resuming' );
|
|
58
|
+
});
|
|
59
|
+
|
|
60
|
+
test( 'Reveal.isFirstSlide', function() {
|
|
61
|
+
Reveal.slide( 0, 0 );
|
|
62
|
+
strictEqual( Reveal.isFirstSlide(), true, 'true after Reveal.slide( 0, 0 )' );
|
|
63
|
+
|
|
64
|
+
Reveal.slide( 1, 0 );
|
|
65
|
+
strictEqual( Reveal.isFirstSlide(), false, 'false after Reveal.slide( 1, 0 )' );
|
|
66
|
+
|
|
67
|
+
Reveal.slide( 0, 0 );
|
|
68
|
+
strictEqual( Reveal.isFirstSlide(), true, 'true after Reveal.slide( 0, 0 )' );
|
|
69
|
+
});
|
|
70
|
+
|
|
71
|
+
test( 'Reveal.isFirstSlide after vertical slide', function() {
|
|
72
|
+
Reveal.slide( 1, 1 );
|
|
73
|
+
Reveal.slide( 0, 0 );
|
|
74
|
+
strictEqual( Reveal.isFirstSlide(), true, 'true after Reveal.slide( 1, 1 ) and then Reveal.slide( 0, 0 )' );
|
|
75
|
+
});
|
|
76
|
+
|
|
77
|
+
test( 'Reveal.isLastSlide', function() {
|
|
78
|
+
Reveal.slide( 0, 0 );
|
|
79
|
+
strictEqual( Reveal.isLastSlide(), false, 'false after Reveal.slide( 0, 0 )' );
|
|
80
|
+
|
|
81
|
+
var lastSlideIndex = document.querySelectorAll( '.reveal .slides>section' ).length - 1;
|
|
82
|
+
|
|
83
|
+
Reveal.slide( lastSlideIndex, 0 );
|
|
84
|
+
strictEqual( Reveal.isLastSlide(), true, 'true after Reveal.slide( '+ lastSlideIndex +', 0 )' );
|
|
85
|
+
|
|
86
|
+
Reveal.slide( 0, 0 );
|
|
87
|
+
strictEqual( Reveal.isLastSlide(), false, 'false after Reveal.slide( 0, 0 )' );
|
|
88
|
+
});
|
|
89
|
+
|
|
90
|
+
test( 'Reveal.isLastSlide after vertical slide', function() {
|
|
91
|
+
var lastSlideIndex = document.querySelectorAll( '.reveal .slides>section' ).length - 1;
|
|
92
|
+
|
|
93
|
+
Reveal.slide( 1, 1 );
|
|
94
|
+
Reveal.slide( lastSlideIndex );
|
|
95
|
+
strictEqual( Reveal.isLastSlide(), true, 'true after Reveal.slide( 1, 1 ) and then Reveal.slide( '+ lastSlideIndex +', 0 )' );
|
|
96
|
+
});
|
|
97
|
+
|
|
98
|
+
test( 'Reveal.getTotalSlides', function() {
|
|
99
|
+
strictEqual( Reveal.getTotalSlides(), 8, 'eight slides in total' );
|
|
100
|
+
});
|
|
101
|
+
|
|
102
|
+
test( 'Reveal.getIndices', function() {
|
|
103
|
+
var indices = Reveal.getIndices();
|
|
104
|
+
|
|
105
|
+
ok( indices.hasOwnProperty( 'h' ), 'h exists' );
|
|
106
|
+
ok( indices.hasOwnProperty( 'v' ), 'v exists' );
|
|
107
|
+
ok( indices.hasOwnProperty( 'f' ), 'f exists' );
|
|
108
|
+
|
|
109
|
+
Reveal.slide( 1, 0 );
|
|
110
|
+
strictEqual( Reveal.getIndices().h, 1, 'h 1' );
|
|
111
|
+
strictEqual( Reveal.getIndices().v, 0, 'v 0' );
|
|
112
|
+
|
|
113
|
+
Reveal.slide( 1, 2 );
|
|
114
|
+
strictEqual( Reveal.getIndices().h, 1, 'h 1' );
|
|
115
|
+
strictEqual( Reveal.getIndices().v, 2, 'v 2' );
|
|
116
|
+
|
|
117
|
+
Reveal.slide( 0, 0 );
|
|
118
|
+
strictEqual( Reveal.getIndices().h, 0, 'h 0' );
|
|
119
|
+
strictEqual( Reveal.getIndices().v, 0, 'v 0' );
|
|
120
|
+
});
|
|
121
|
+
|
|
122
|
+
test( 'Reveal.getSlide', function() {
|
|
123
|
+
equal( Reveal.getSlide( 0 ), document.querySelector( '.reveal .slides>section:first-child' ), 'gets correct first slide' );
|
|
124
|
+
equal( Reveal.getSlide( 1 ), document.querySelector( '.reveal .slides>section:nth-child(2)' ), 'no v index returns stack' );
|
|
125
|
+
equal( Reveal.getSlide( 1, 0 ), document.querySelector( '.reveal .slides>section:nth-child(2)>section:nth-child(1)' ), 'v index 0 returns first vertical child' );
|
|
126
|
+
equal( Reveal.getSlide( 1, 1 ), document.querySelector( '.reveal .slides>section:nth-child(2)>section:nth-child(2)' ), 'v index 1 returns second vertical child' );
|
|
127
|
+
|
|
128
|
+
strictEqual( Reveal.getSlide( 100 ), undefined, 'undefined when out of horizontal bounds' );
|
|
129
|
+
strictEqual( Reveal.getSlide( 1, 100 ), undefined, 'undefined when out of vertical bounds' );
|
|
130
|
+
});
|
|
131
|
+
|
|
132
|
+
test( 'Reveal.getSlideBackground', function() {
|
|
133
|
+
equal( Reveal.getSlideBackground( 0 ), document.querySelector( '.reveal .backgrounds>.slide-background:first-child' ), 'gets correct first background' );
|
|
134
|
+
equal( Reveal.getSlideBackground( 1 ), document.querySelector( '.reveal .backgrounds>.slide-background:nth-child(2)' ), 'no v index returns stack' );
|
|
135
|
+
equal( Reveal.getSlideBackground( 1, 0 ), document.querySelector( '.reveal .backgrounds>.slide-background:nth-child(2) .slide-background:nth-child(1)' ), 'v index 0 returns first vertical child' );
|
|
136
|
+
equal( Reveal.getSlideBackground( 1, 1 ), document.querySelector( '.reveal .backgrounds>.slide-background:nth-child(2) .slide-background:nth-child(2)' ), 'v index 1 returns second vertical child' );
|
|
137
|
+
|
|
138
|
+
strictEqual( Reveal.getSlideBackground( 100 ), undefined, 'undefined when out of horizontal bounds' );
|
|
139
|
+
strictEqual( Reveal.getSlideBackground( 1, 100 ), undefined, 'undefined when out of vertical bounds' );
|
|
140
|
+
});
|
|
141
|
+
|
|
142
|
+
test( 'Reveal.getSlideNotes', function() {
|
|
143
|
+
Reveal.slide( 0, 0 );
|
|
144
|
+
ok( Reveal.getSlideNotes() === 'speaker notes 1', 'works with <aside class="notes">' );
|
|
145
|
+
|
|
146
|
+
Reveal.slide( 1, 0 );
|
|
147
|
+
ok( Reveal.getSlideNotes() === 'speaker notes 2', 'works with <section data-notes="">' );
|
|
148
|
+
});
|
|
149
|
+
|
|
150
|
+
test( 'Reveal.getPreviousSlide/getCurrentSlide', function() {
|
|
151
|
+
Reveal.slide( 0, 0 );
|
|
152
|
+
Reveal.slide( 1, 0 );
|
|
153
|
+
|
|
154
|
+
var firstSlide = document.querySelector( '.reveal .slides>section:first-child' );
|
|
155
|
+
var secondSlide = document.querySelector( '.reveal .slides>section:nth-child(2)>section' );
|
|
156
|
+
|
|
157
|
+
equal( Reveal.getPreviousSlide(), firstSlide, 'previous is slide #0' );
|
|
158
|
+
equal( Reveal.getCurrentSlide(), secondSlide, 'current is slide #1' );
|
|
159
|
+
});
|
|
160
|
+
|
|
161
|
+
test( 'Reveal.getProgress', function() {
|
|
162
|
+
Reveal.slide( 0, 0 );
|
|
163
|
+
strictEqual( Reveal.getProgress(), 0, 'progress is 0 on first slide' );
|
|
164
|
+
|
|
165
|
+
var lastSlideIndex = document.querySelectorAll( '.reveal .slides>section' ).length - 1;
|
|
166
|
+
|
|
167
|
+
Reveal.slide( lastSlideIndex, 0 );
|
|
168
|
+
strictEqual( Reveal.getProgress(), 1, 'progress is 1 on last slide' );
|
|
169
|
+
});
|
|
170
|
+
|
|
171
|
+
test( 'Reveal.getScale', function() {
|
|
172
|
+
ok( typeof Reveal.getScale() === 'number', 'has scale' );
|
|
173
|
+
});
|
|
174
|
+
|
|
175
|
+
test( 'Reveal.getConfig', function() {
|
|
176
|
+
ok( typeof Reveal.getConfig() === 'object', 'has config' );
|
|
177
|
+
});
|
|
178
|
+
|
|
179
|
+
test( 'Reveal.configure', function() {
|
|
180
|
+
strictEqual( Reveal.getConfig().loop, false, '"loop" is false to start with' );
|
|
181
|
+
|
|
182
|
+
Reveal.configure({ loop: true });
|
|
183
|
+
strictEqual( Reveal.getConfig().loop, true, '"loop" has changed to true' );
|
|
184
|
+
|
|
185
|
+
Reveal.configure({ loop: false, customTestValue: 1 });
|
|
186
|
+
strictEqual( Reveal.getConfig().customTestValue, 1, 'supports custom values' );
|
|
187
|
+
});
|
|
188
|
+
|
|
189
|
+
test( 'Reveal.availableRoutes', function() {
|
|
190
|
+
Reveal.slide( 0, 0 );
|
|
191
|
+
deepEqual( Reveal.availableRoutes(), { left: false, up: false, down: false, right: true }, 'correct for first slide' );
|
|
192
|
+
|
|
193
|
+
Reveal.slide( 1, 0 );
|
|
194
|
+
deepEqual( Reveal.availableRoutes(), { left: true, up: false, down: true, right: true }, 'correct for vertical slide' );
|
|
195
|
+
});
|
|
196
|
+
|
|
197
|
+
test( 'Reveal.next', function() {
|
|
198
|
+
Reveal.slide( 0, 0 );
|
|
199
|
+
|
|
200
|
+
// Step through vertical child slides
|
|
201
|
+
Reveal.next();
|
|
202
|
+
deepEqual( Reveal.getIndices(), { h: 1, v: 0, f: undefined } );
|
|
203
|
+
|
|
204
|
+
Reveal.next();
|
|
205
|
+
deepEqual( Reveal.getIndices(), { h: 1, v: 1, f: undefined } );
|
|
206
|
+
|
|
207
|
+
Reveal.next();
|
|
208
|
+
deepEqual( Reveal.getIndices(), { h: 1, v: 2, f: undefined } );
|
|
209
|
+
|
|
210
|
+
// Step through fragments
|
|
211
|
+
Reveal.next();
|
|
212
|
+
deepEqual( Reveal.getIndices(), { h: 2, v: 0, f: -1 } );
|
|
213
|
+
|
|
214
|
+
Reveal.next();
|
|
215
|
+
deepEqual( Reveal.getIndices(), { h: 2, v: 0, f: 0 } );
|
|
216
|
+
|
|
217
|
+
Reveal.next();
|
|
218
|
+
deepEqual( Reveal.getIndices(), { h: 2, v: 0, f: 1 } );
|
|
219
|
+
|
|
220
|
+
Reveal.next();
|
|
221
|
+
deepEqual( Reveal.getIndices(), { h: 2, v: 0, f: 2 } );
|
|
222
|
+
});
|
|
223
|
+
|
|
224
|
+
test( 'Reveal.next at end', function() {
|
|
225
|
+
Reveal.slide( 3 );
|
|
226
|
+
|
|
227
|
+
// We're at the end, this should have no effect
|
|
228
|
+
Reveal.next();
|
|
229
|
+
deepEqual( Reveal.getIndices(), { h: 3, v: 0, f: undefined } );
|
|
230
|
+
|
|
231
|
+
Reveal.next();
|
|
232
|
+
deepEqual( Reveal.getIndices(), { h: 3, v: 0, f: undefined } );
|
|
233
|
+
});
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
// ---------------------------------------------------------------
|
|
237
|
+
// FRAGMENT TESTS
|
|
238
|
+
|
|
239
|
+
QUnit.module( 'Fragments' );
|
|
240
|
+
|
|
241
|
+
test( 'Sliding to fragments', function() {
|
|
242
|
+
Reveal.slide( 2, 0, -1 );
|
|
243
|
+
deepEqual( Reveal.getIndices(), { h: 2, v: 0, f: -1 }, 'Reveal.slide( 2, 0, -1 )' );
|
|
244
|
+
|
|
245
|
+
Reveal.slide( 2, 0, 0 );
|
|
246
|
+
deepEqual( Reveal.getIndices(), { h: 2, v: 0, f: 0 }, 'Reveal.slide( 2, 0, 0 )' );
|
|
247
|
+
|
|
248
|
+
Reveal.slide( 2, 0, 2 );
|
|
249
|
+
deepEqual( Reveal.getIndices(), { h: 2, v: 0, f: 2 }, 'Reveal.slide( 2, 0, 2 )' );
|
|
250
|
+
|
|
251
|
+
Reveal.slide( 2, 0, 1 );
|
|
252
|
+
deepEqual( Reveal.getIndices(), { h: 2, v: 0, f: 1 }, 'Reveal.slide( 2, 0, 1 )' );
|
|
253
|
+
});
|
|
254
|
+
|
|
255
|
+
test( 'Hiding all fragments', function() {
|
|
256
|
+
var fragmentSlide = document.querySelector( '#fragment-slides>section:nth-child(1)' );
|
|
257
|
+
|
|
258
|
+
Reveal.slide( 2, 0, 0 );
|
|
259
|
+
strictEqual( fragmentSlide.querySelectorAll( '.fragment.visible' ).length, 1, 'one fragment visible when index is 0' );
|
|
260
|
+
|
|
261
|
+
Reveal.slide( 2, 0, -1 );
|
|
262
|
+
strictEqual( fragmentSlide.querySelectorAll( '.fragment.visible' ).length, 0, 'no fragments visible when index is -1' );
|
|
263
|
+
});
|
|
264
|
+
|
|
265
|
+
test( 'Current fragment', function() {
|
|
266
|
+
var fragmentSlide = document.querySelector( '#fragment-slides>section:nth-child(1)' );
|
|
267
|
+
|
|
268
|
+
Reveal.slide( 2, 0 );
|
|
269
|
+
strictEqual( fragmentSlide.querySelectorAll( '.fragment.current-fragment' ).length, 0, 'no current fragment at index -1' );
|
|
270
|
+
|
|
271
|
+
Reveal.slide( 2, 0, 0 );
|
|
272
|
+
strictEqual( fragmentSlide.querySelectorAll( '.fragment.current-fragment' ).length, 1, 'one current fragment at index 0' );
|
|
273
|
+
|
|
274
|
+
Reveal.slide( 1, 0, 0 );
|
|
275
|
+
strictEqual( fragmentSlide.querySelectorAll( '.fragment.current-fragment' ).length, 0, 'no current fragment when navigating to previous slide' );
|
|
276
|
+
|
|
277
|
+
Reveal.slide( 3, 0, 0 );
|
|
278
|
+
strictEqual( fragmentSlide.querySelectorAll( '.fragment.current-fragment' ).length, 0, 'no current fragment when navigating to next slide' );
|
|
279
|
+
});
|
|
280
|
+
|
|
281
|
+
test( 'Stepping through fragments', function() {
|
|
282
|
+
Reveal.slide( 2, 0, -1 );
|
|
283
|
+
|
|
284
|
+
// forwards:
|
|
285
|
+
|
|
286
|
+
Reveal.next();
|
|
287
|
+
deepEqual( Reveal.getIndices(), { h: 2, v: 0, f: 0 }, 'next() goes to next fragment' );
|
|
288
|
+
|
|
289
|
+
Reveal.right();
|
|
290
|
+
deepEqual( Reveal.getIndices(), { h: 2, v: 0, f: 1 }, 'right() goes to next fragment' );
|
|
291
|
+
|
|
292
|
+
Reveal.down();
|
|
293
|
+
deepEqual( Reveal.getIndices(), { h: 2, v: 0, f: 2 }, 'down() goes to next fragment' );
|
|
294
|
+
|
|
295
|
+
Reveal.down(); // moves to f #3
|
|
296
|
+
|
|
297
|
+
// backwards:
|
|
298
|
+
|
|
299
|
+
Reveal.prev();
|
|
300
|
+
deepEqual( Reveal.getIndices(), { h: 2, v: 0, f: 2 }, 'prev() goes to prev fragment' );
|
|
301
|
+
|
|
302
|
+
Reveal.left();
|
|
303
|
+
deepEqual( Reveal.getIndices(), { h: 2, v: 0, f: 1 }, 'left() goes to prev fragment' );
|
|
304
|
+
|
|
305
|
+
Reveal.up();
|
|
306
|
+
deepEqual( Reveal.getIndices(), { h: 2, v: 0, f: 0 }, 'up() goes to prev fragment' );
|
|
307
|
+
});
|
|
308
|
+
|
|
309
|
+
test( 'Stepping past fragments', function() {
|
|
310
|
+
var fragmentSlide = document.querySelector( '#fragment-slides>section:nth-child(1)' );
|
|
311
|
+
|
|
312
|
+
Reveal.slide( 0, 0, 0 );
|
|
313
|
+
equal( fragmentSlide.querySelectorAll( '.fragment.visible' ).length, 0, 'no fragments visible when on previous slide' );
|
|
314
|
+
|
|
315
|
+
Reveal.slide( 3, 0, 0 );
|
|
316
|
+
equal( fragmentSlide.querySelectorAll( '.fragment.visible' ).length, 3, 'all fragments visible when on future slide' );
|
|
317
|
+
});
|
|
318
|
+
|
|
319
|
+
test( 'Fragment indices', function() {
|
|
320
|
+
var fragmentSlide = document.querySelector( '#fragment-slides>section:nth-child(2)' );
|
|
321
|
+
|
|
322
|
+
Reveal.slide( 3, 0, 0 );
|
|
323
|
+
equal( fragmentSlide.querySelectorAll( '.fragment.visible' ).length, 2, 'both fragments of same index are shown' );
|
|
324
|
+
|
|
325
|
+
// This slide has three fragments, first one is index 0, second and third have index 1
|
|
326
|
+
Reveal.slide( 2, 2, 0 );
|
|
327
|
+
equal( Reveal.getIndices().f, 0, 'returns correct index for first fragment' );
|
|
328
|
+
|
|
329
|
+
Reveal.slide( 2, 2, 1 );
|
|
330
|
+
equal( Reveal.getIndices().f, 1, 'returns correct index for two fragments with same index' );
|
|
331
|
+
});
|
|
332
|
+
|
|
333
|
+
test( 'Index generation', function() {
|
|
334
|
+
var fragmentSlide = document.querySelector( '#fragment-slides>section:nth-child(1)' );
|
|
335
|
+
|
|
336
|
+
// These have no indices defined to start with
|
|
337
|
+
equal( fragmentSlide.querySelectorAll( '.fragment' )[0].getAttribute( 'data-fragment-index' ), '0' );
|
|
338
|
+
equal( fragmentSlide.querySelectorAll( '.fragment' )[1].getAttribute( 'data-fragment-index' ), '1' );
|
|
339
|
+
equal( fragmentSlide.querySelectorAll( '.fragment' )[2].getAttribute( 'data-fragment-index' ), '2' );
|
|
340
|
+
});
|
|
341
|
+
|
|
342
|
+
test( 'Index normalization', function() {
|
|
343
|
+
var fragmentSlide = document.querySelector( '#fragment-slides>section:nth-child(3)' );
|
|
344
|
+
|
|
345
|
+
// These start out as 1-4-4 and should normalize to 0-1-1
|
|
346
|
+
equal( fragmentSlide.querySelectorAll( '.fragment' )[0].getAttribute( 'data-fragment-index' ), '0' );
|
|
347
|
+
equal( fragmentSlide.querySelectorAll( '.fragment' )[1].getAttribute( 'data-fragment-index' ), '1' );
|
|
348
|
+
equal( fragmentSlide.querySelectorAll( '.fragment' )[2].getAttribute( 'data-fragment-index' ), '1' );
|
|
349
|
+
});
|
|
350
|
+
|
|
351
|
+
asyncTest( 'fragmentshown event', function() {
|
|
352
|
+
expect( 2 );
|
|
353
|
+
|
|
354
|
+
var _onEvent = function( event ) {
|
|
355
|
+
ok( true, 'event fired' );
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
Reveal.addEventListener( 'fragmentshown', _onEvent );
|
|
359
|
+
|
|
360
|
+
Reveal.slide( 2, 0 );
|
|
361
|
+
Reveal.slide( 2, 0 ); // should do nothing
|
|
362
|
+
Reveal.slide( 2, 0, 0 ); // should do nothing
|
|
363
|
+
Reveal.next();
|
|
364
|
+
Reveal.next();
|
|
365
|
+
Reveal.prev(); // shouldn't fire fragmentshown
|
|
366
|
+
|
|
367
|
+
start();
|
|
368
|
+
|
|
369
|
+
Reveal.removeEventListener( 'fragmentshown', _onEvent );
|
|
370
|
+
});
|
|
371
|
+
|
|
372
|
+
asyncTest( 'fragmenthidden event', function() {
|
|
373
|
+
expect( 2 );
|
|
374
|
+
|
|
375
|
+
var _onEvent = function( event ) {
|
|
376
|
+
ok( true, 'event fired' );
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
Reveal.addEventListener( 'fragmenthidden', _onEvent );
|
|
380
|
+
|
|
381
|
+
Reveal.slide( 2, 0, 2 );
|
|
382
|
+
Reveal.slide( 2, 0, 2 ); // should do nothing
|
|
383
|
+
Reveal.prev();
|
|
384
|
+
Reveal.prev();
|
|
385
|
+
Reveal.next(); // shouldn't fire fragmenthidden
|
|
386
|
+
|
|
387
|
+
start();
|
|
388
|
+
|
|
389
|
+
Reveal.removeEventListener( 'fragmenthidden', _onEvent );
|
|
390
|
+
});
|
|
391
|
+
|
|
392
|
+
|
|
393
|
+
// ---------------------------------------------------------------
|
|
394
|
+
// AUTO-SLIDE TESTS
|
|
395
|
+
|
|
396
|
+
QUnit.module( 'Auto Sliding' );
|
|
397
|
+
|
|
398
|
+
test( 'Reveal.isAutoSliding', function() {
|
|
399
|
+
strictEqual( Reveal.isAutoSliding(), false, 'false by default' );
|
|
400
|
+
|
|
401
|
+
Reveal.configure({ autoSlide: 10000 });
|
|
402
|
+
strictEqual( Reveal.isAutoSliding(), true, 'true after starting' );
|
|
403
|
+
|
|
404
|
+
Reveal.configure({ autoSlide: 0 });
|
|
405
|
+
strictEqual( Reveal.isAutoSliding(), false, 'false after setting to 0' );
|
|
406
|
+
});
|
|
407
|
+
|
|
408
|
+
test( 'Reveal.toggleAutoSlide', function() {
|
|
409
|
+
Reveal.configure({ autoSlide: 10000 });
|
|
410
|
+
|
|
411
|
+
Reveal.toggleAutoSlide();
|
|
412
|
+
strictEqual( Reveal.isAutoSliding(), false, 'false after first toggle' );
|
|
413
|
+
Reveal.toggleAutoSlide();
|
|
414
|
+
strictEqual( Reveal.isAutoSliding(), true, 'true after second toggle' );
|
|
415
|
+
|
|
416
|
+
Reveal.configure({ autoSlide: 0 });
|
|
417
|
+
});
|
|
418
|
+
|
|
419
|
+
asyncTest( 'autoslidepaused', function() {
|
|
420
|
+
expect( 1 );
|
|
421
|
+
|
|
422
|
+
var _onEvent = function( event ) {
|
|
423
|
+
ok( true, 'event fired' );
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
Reveal.addEventListener( 'autoslidepaused', _onEvent );
|
|
427
|
+
Reveal.configure({ autoSlide: 10000 });
|
|
428
|
+
Reveal.toggleAutoSlide();
|
|
429
|
+
|
|
430
|
+
start();
|
|
431
|
+
|
|
432
|
+
// cleanup
|
|
433
|
+
Reveal.configure({ autoSlide: 0 });
|
|
434
|
+
Reveal.removeEventListener( 'autoslidepaused', _onEvent );
|
|
435
|
+
});
|
|
436
|
+
|
|
437
|
+
asyncTest( 'autoslideresumed', function() {
|
|
438
|
+
expect( 1 );
|
|
439
|
+
|
|
440
|
+
var _onEvent = function( event ) {
|
|
441
|
+
ok( true, 'event fired' );
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
Reveal.addEventListener( 'autoslideresumed', _onEvent );
|
|
445
|
+
Reveal.configure({ autoSlide: 10000 });
|
|
446
|
+
Reveal.toggleAutoSlide();
|
|
447
|
+
Reveal.toggleAutoSlide();
|
|
448
|
+
|
|
449
|
+
start();
|
|
450
|
+
|
|
451
|
+
// cleanup
|
|
452
|
+
Reveal.configure({ autoSlide: 0 });
|
|
453
|
+
Reveal.removeEventListener( 'autoslideresumed', _onEvent );
|
|
454
|
+
});
|
|
455
|
+
|
|
456
|
+
|
|
457
|
+
// ---------------------------------------------------------------
|
|
458
|
+
// CONFIGURATION VALUES
|
|
459
|
+
|
|
460
|
+
QUnit.module( 'Configuration' );
|
|
461
|
+
|
|
462
|
+
test( 'Controls', function() {
|
|
463
|
+
var controlsElement = document.querySelector( '.reveal>.controls' );
|
|
464
|
+
|
|
465
|
+
Reveal.configure({ controls: false });
|
|
466
|
+
equal( controlsElement.style.display, 'none', 'controls are hidden' );
|
|
467
|
+
|
|
468
|
+
Reveal.configure({ controls: true });
|
|
469
|
+
equal( controlsElement.style.display, 'block', 'controls are visible' );
|
|
470
|
+
});
|
|
471
|
+
|
|
472
|
+
test( 'Progress', function() {
|
|
473
|
+
var progressElement = document.querySelector( '.reveal>.progress' );
|
|
474
|
+
|
|
475
|
+
Reveal.configure({ progress: false });
|
|
476
|
+
equal( progressElement.style.display, 'none', 'progress are hidden' );
|
|
477
|
+
|
|
478
|
+
Reveal.configure({ progress: true });
|
|
479
|
+
equal( progressElement.style.display, 'block', 'progress are visible' );
|
|
480
|
+
});
|
|
481
|
+
|
|
482
|
+
test( 'Loop', function() {
|
|
483
|
+
Reveal.configure({ loop: true });
|
|
484
|
+
|
|
485
|
+
Reveal.slide( 0, 0 );
|
|
486
|
+
|
|
487
|
+
Reveal.left();
|
|
488
|
+
notEqual( Reveal.getIndices().h, 0, 'looped from start to end' );
|
|
489
|
+
|
|
490
|
+
Reveal.right();
|
|
491
|
+
equal( Reveal.getIndices().h, 0, 'looped from end to start' );
|
|
492
|
+
|
|
493
|
+
Reveal.configure({ loop: false });
|
|
494
|
+
});
|
|
495
|
+
|
|
496
|
+
|
|
497
|
+
// ---------------------------------------------------------------
|
|
498
|
+
// LAZY-LOADING TESTS
|
|
499
|
+
|
|
500
|
+
QUnit.module( 'Lazy-Loading' );
|
|
501
|
+
|
|
502
|
+
test( 'img with data-src', function() {
|
|
503
|
+
strictEqual( document.querySelectorAll( '.reveal section img[src]' ).length, 1, 'Image source has been set' );
|
|
504
|
+
});
|
|
505
|
+
|
|
506
|
+
test( 'video with data-src', function() {
|
|
507
|
+
strictEqual( document.querySelectorAll( '.reveal section video[src]' ).length, 1, 'Video source has been set' );
|
|
508
|
+
});
|
|
509
|
+
|
|
510
|
+
test( 'audio with data-src', function() {
|
|
511
|
+
strictEqual( document.querySelectorAll( '.reveal section audio[src]' ).length, 1, 'Audio source has been set' );
|
|
512
|
+
});
|
|
513
|
+
|
|
514
|
+
test( 'iframe with data-src', function() {
|
|
515
|
+
Reveal.slide( 0, 0 );
|
|
516
|
+
strictEqual( document.querySelectorAll( '.reveal section iframe[src]' ).length, 0, 'Iframe source is not set' );
|
|
517
|
+
Reveal.slide( 2, 1 );
|
|
518
|
+
strictEqual( document.querySelectorAll( '.reveal section iframe[src]' ).length, 1, 'Iframe source is set' );
|
|
519
|
+
Reveal.slide( 2, 2 );
|
|
520
|
+
strictEqual( document.querySelectorAll( '.reveal section iframe[src]' ).length, 0, 'Iframe source is not set' );
|
|
521
|
+
});
|
|
522
|
+
|
|
523
|
+
test( 'background images', function() {
|
|
524
|
+
var imageSource1 = Reveal.getSlide( 0 ).getAttribute( 'data-background-image' );
|
|
525
|
+
var imageSource2 = Reveal.getSlide( 1, 0 ).getAttribute( 'data-background' );
|
|
526
|
+
|
|
527
|
+
// check that the images are applied to the background elements
|
|
528
|
+
ok( Reveal.getSlideBackground( 0 ).style.backgroundImage.indexOf( imageSource1 ) !== -1, 'data-background-image worked' );
|
|
529
|
+
ok( Reveal.getSlideBackground( 1, 0 ).style.backgroundImage.indexOf( imageSource2 ) !== -1, 'data-background worked' );
|
|
530
|
+
});
|
|
531
|
+
|
|
532
|
+
|
|
533
|
+
// ---------------------------------------------------------------
|
|
534
|
+
// EVENT TESTS
|
|
535
|
+
|
|
536
|
+
QUnit.module( 'Events' );
|
|
537
|
+
|
|
538
|
+
asyncTest( 'slidechanged', function() {
|
|
539
|
+
expect( 3 );
|
|
540
|
+
|
|
541
|
+
var _onEvent = function( event ) {
|
|
542
|
+
ok( true, 'event fired' );
|
|
543
|
+
}
|
|
544
|
+
|
|
545
|
+
Reveal.addEventListener( 'slidechanged', _onEvent );
|
|
546
|
+
|
|
547
|
+
Reveal.slide( 1, 0 ); // should trigger
|
|
548
|
+
Reveal.slide( 1, 0 ); // should do nothing
|
|
549
|
+
Reveal.next(); // should trigger
|
|
550
|
+
Reveal.slide( 3, 0 ); // should trigger
|
|
551
|
+
Reveal.next(); // should do nothing
|
|
552
|
+
|
|
553
|
+
start();
|
|
554
|
+
|
|
555
|
+
Reveal.removeEventListener( 'slidechanged', _onEvent );
|
|
556
|
+
|
|
557
|
+
});
|
|
558
|
+
|
|
559
|
+
asyncTest( 'paused', function() {
|
|
560
|
+
expect( 1 );
|
|
561
|
+
|
|
562
|
+
var _onEvent = function( event ) {
|
|
563
|
+
ok( true, 'event fired' );
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
Reveal.addEventListener( 'paused', _onEvent );
|
|
567
|
+
|
|
568
|
+
Reveal.togglePause();
|
|
569
|
+
Reveal.togglePause();
|
|
570
|
+
|
|
571
|
+
start();
|
|
572
|
+
|
|
573
|
+
Reveal.removeEventListener( 'paused', _onEvent );
|
|
574
|
+
});
|
|
575
|
+
|
|
576
|
+
asyncTest( 'resumed', function() {
|
|
577
|
+
expect( 1 );
|
|
578
|
+
|
|
579
|
+
var _onEvent = function( event ) {
|
|
580
|
+
ok( true, 'event fired' );
|
|
581
|
+
}
|
|
582
|
+
|
|
583
|
+
Reveal.addEventListener( 'resumed', _onEvent );
|
|
584
|
+
|
|
585
|
+
Reveal.togglePause();
|
|
586
|
+
Reveal.togglePause();
|
|
587
|
+
|
|
588
|
+
start();
|
|
589
|
+
|
|
590
|
+
Reveal.removeEventListener( 'resumed', _onEvent );
|
|
591
|
+
});
|
|
592
|
+
|
|
593
|
+
|
|
594
|
+
} );
|
|
595
|
+
|
|
596
|
+
Reveal.initialize();
|
|
597
|
+
|