@maizzle/framework 6.0.0-rc.0 → 6.0.0-rc.10
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/bin/maizzle.mjs +1 -1
- package/dist/_virtual/_rolldown/runtime.mjs +32 -0
- package/dist/build.mjs +29 -9
- package/dist/build.mjs.map +1 -1
- package/dist/components/Body.vue +111 -0
- package/dist/components/Button.vue +68 -14
- package/dist/components/CodeBlock.vue +68 -0
- package/dist/components/CodeInline.vue +49 -0
- package/dist/components/Column.vue +86 -0
- package/dist/components/Container.vue +48 -0
- package/dist/components/Divider.vue +28 -0
- package/dist/components/Head.vue +30 -0
- package/dist/components/Heading.vue +28 -0
- package/dist/components/Html.vue +104 -0
- package/dist/components/Image.vue +70 -0
- package/dist/components/Layout.vue +93 -0
- package/dist/components/Link.vue +26 -0
- package/dist/components/Markdown.vue +89 -0
- package/dist/components/Outlook.vue +36 -0
- package/dist/components/Overlap.vue +80 -0
- package/dist/components/Preheader.vue +20 -0
- package/dist/components/Row.vue +91 -0
- package/dist/components/Section.vue +83 -0
- package/dist/components/Spacer.vue +50 -7
- package/dist/components/Text.vue +29 -0
- package/dist/components/Vml.vue +165 -13
- package/dist/composables/renderContext.d.mts +5 -0
- package/dist/composables/renderContext.d.mts.map +1 -1
- package/dist/composables/renderContext.mjs.map +1 -1
- package/dist/composables/usePreviewText.d.mts +24 -0
- package/dist/composables/usePreviewText.d.mts.map +1 -0
- package/dist/composables/usePreviewText.mjs +29 -0
- package/dist/composables/usePreviewText.mjs.map +1 -0
- package/dist/config/index.mjs +25 -1
- package/dist/config/index.mjs.map +1 -1
- package/dist/index.d.mts +4 -2
- package/dist/index.mjs +3 -1
- package/dist/node_modules/picomatch/index.mjs +13 -0
- package/dist/node_modules/picomatch/index.mjs.map +1 -0
- package/dist/node_modules/picomatch/lib/constants.mjs +174 -0
- package/dist/node_modules/picomatch/lib/constants.mjs.map +1 -0
- package/dist/node_modules/picomatch/lib/parse.mjs +1067 -0
- package/dist/node_modules/picomatch/lib/parse.mjs.map +1 -0
- package/dist/node_modules/picomatch/lib/picomatch.mjs +304 -0
- package/dist/node_modules/picomatch/lib/picomatch.mjs.map +1 -0
- package/dist/node_modules/picomatch/lib/scan.mjs +296 -0
- package/dist/node_modules/picomatch/lib/scan.mjs.map +1 -0
- package/dist/node_modules/picomatch/lib/utils.mjs +53 -0
- package/dist/node_modules/picomatch/lib/utils.mjs.map +1 -0
- package/dist/plugin.d.mts.map +1 -1
- package/dist/plugin.mjs +24 -7
- package/dist/plugin.mjs.map +1 -1
- package/dist/plugins/postcss/tailwindCleanup.d.mts.map +1 -1
- package/dist/plugins/postcss/tailwindCleanup.mjs +44 -13
- package/dist/plugins/postcss/tailwindCleanup.mjs.map +1 -1
- package/dist/render/createRenderer.d.mts +10 -3
- package/dist/render/createRenderer.d.mts.map +1 -1
- package/dist/render/createRenderer.mjs +147 -10
- package/dist/render/createRenderer.mjs.map +1 -1
- package/dist/render/index.mjs +9 -3
- package/dist/render/index.mjs.map +1 -1
- package/dist/serve.d.mts.map +1 -1
- package/dist/serve.mjs +159 -63
- package/dist/serve.mjs.map +1 -1
- package/dist/server/compatibility.d.mts +1 -2
- package/dist/server/compatibility.d.mts.map +1 -1
- package/dist/server/compatibility.mjs +30 -16
- package/dist/server/compatibility.mjs.map +1 -1
- package/dist/server/email.d.mts +17 -0
- package/dist/server/email.d.mts.map +1 -0
- package/dist/server/email.mjs +41 -0
- package/dist/server/email.mjs.map +1 -0
- package/dist/server/linter.d.mts +1 -2
- package/dist/server/linter.d.mts.map +1 -1
- package/dist/server/linter.mjs +60 -71
- package/dist/server/linter.mjs.map +1 -1
- package/dist/server/ui/App.vue +205 -69
- package/dist/server/ui/components/ui/checkbox/Checkbox.vue +35 -0
- package/dist/server/ui/components/ui/checkbox/index.ts +1 -0
- package/dist/server/ui/components/ui/command/CommandDialog.vue +1 -1
- package/dist/server/ui/components/ui/command/CommandInput.vue +19 -1
- package/dist/server/ui/components/ui/command/CommandItem.vue +1 -1
- package/dist/server/ui/components/ui/command/CommandList.vue +1 -1
- package/dist/server/ui/components/ui/command/CommandShortcut.vue +1 -1
- package/dist/server/ui/components/ui/dialog/DialogOverlay.vue +9 -1
- package/dist/server/ui/components/ui/dropdown-menu/DropdownMenuItem.vue +1 -1
- package/dist/server/ui/components/ui/scroll-area/ScrollBar.vue +1 -1
- package/dist/server/ui/components/ui/sheet/SheetContent.vue +1 -1
- package/dist/server/ui/components/ui/sheet/SheetOverlay.vue +9 -1
- package/dist/server/ui/components/ui/sidebar/Sidebar.vue +8 -1
- package/dist/server/ui/components/ui/sidebar/SidebarProvider.vue +1 -1
- package/dist/server/ui/components/ui/sidebar/SidebarTrigger.vue +5 -4
- package/dist/server/ui/components/ui/tags-input/TagsInput.vue +26 -0
- package/dist/server/ui/components/ui/tags-input/TagsInputInput.vue +17 -0
- package/dist/server/ui/components/ui/tags-input/TagsInputItem.vue +19 -0
- package/dist/server/ui/components/ui/tags-input/TagsInputItemDelete.vue +22 -0
- package/dist/server/ui/components/ui/tags-input/TagsInputItemText.vue +17 -0
- package/dist/server/ui/components/ui/tags-input/index.ts +5 -0
- package/dist/server/ui/components/ui/toggle/index.ts +3 -3
- package/dist/server/ui/components/ui/toggle-group/ToggleGroup.vue +1 -1
- package/dist/server/ui/components/ui/toggle-group/ToggleGroupItem.vue +2 -2
- package/dist/server/ui/main.css +20 -20
- package/dist/server/ui/pages/Home.vue +12 -5
- package/dist/server/ui/pages/Preview.vue +506 -216
- package/dist/transformers/entities.d.mts.map +1 -1
- package/dist/transformers/entities.mjs +3 -0
- package/dist/transformers/entities.mjs.map +1 -1
- package/dist/transformers/filters/defaults.d.mts +6 -0
- package/dist/transformers/filters/defaults.d.mts.map +1 -0
- package/dist/transformers/filters/defaults.mjs +78 -0
- package/dist/transformers/filters/defaults.mjs.map +1 -0
- package/dist/transformers/filters/index.d.mts +22 -0
- package/dist/transformers/filters/index.d.mts.map +1 -0
- package/dist/transformers/filters/index.mjs +67 -0
- package/dist/transformers/filters/index.mjs.map +1 -0
- package/dist/transformers/index.d.mts +11 -9
- package/dist/transformers/index.d.mts.map +1 -1
- package/dist/transformers/index.mjs +19 -11
- package/dist/transformers/index.mjs.map +1 -1
- package/dist/transformers/inlineCSS.d.mts +1 -14
- package/dist/transformers/inlineCSS.d.mts.map +1 -1
- package/dist/transformers/inlineCSS.mjs +25 -34
- package/dist/transformers/inlineCSS.mjs.map +1 -1
- package/dist/transformers/purgeCSS.d.mts.map +1 -1
- package/dist/transformers/purgeCSS.mjs +67 -1
- package/dist/transformers/purgeCSS.mjs.map +1 -1
- package/dist/transformers/sixHex.d.mts +16 -0
- package/dist/transformers/sixHex.d.mts.map +1 -0
- package/dist/transformers/sixHex.mjs +30 -0
- package/dist/transformers/sixHex.mjs.map +1 -0
- package/dist/transformers/tailwindcss.d.mts +6 -2
- package/dist/transformers/tailwindcss.d.mts.map +1 -1
- package/dist/transformers/tailwindcss.mjs +52 -28
- package/dist/transformers/tailwindcss.mjs.map +1 -1
- package/dist/types/config.d.mts +459 -17
- package/dist/types/config.d.mts.map +1 -1
- package/dist/types/index.d.mts +2 -2
- package/dist/utils/ast/serializer.d.mts +3 -2
- package/dist/utils/ast/serializer.d.mts.map +1 -1
- package/dist/utils/ast/serializer.mjs +24 -0
- package/dist/utils/ast/serializer.mjs.map +1 -1
- package/dist/utils/detect.d.mts +5 -0
- package/dist/utils/detect.d.mts.map +1 -0
- package/dist/utils/detect.mjs +11 -0
- package/dist/utils/detect.mjs.map +1 -0
- package/node_modules/@clack/core/CHANGELOG.md +87 -4
- package/node_modules/@clack/core/README.md +1 -1
- package/node_modules/@clack/core/dist/index.d.mts +186 -48
- package/node_modules/@clack/core/dist/index.mjs +10 -14
- package/node_modules/@clack/core/dist/index.mjs.map +1 -1
- package/node_modules/@clack/core/package.json +7 -9
- package/node_modules/@clack/prompts/CHANGELOG.md +171 -7
- package/node_modules/@clack/prompts/README.md +66 -3
- package/node_modules/@clack/prompts/dist/index.d.mts +302 -76
- package/node_modules/@clack/prompts/dist/index.mjs +134 -84
- package/node_modules/@clack/prompts/dist/index.mjs.map +1 -1
- package/node_modules/@clack/prompts/package.json +14 -10
- package/node_modules/citty/LICENSE +0 -15
- package/node_modules/citty/README.md +166 -69
- package/node_modules/citty/dist/index.d.mts +88 -56
- package/node_modules/citty/dist/index.mjs +399 -437
- package/node_modules/citty/package.json +28 -35
- package/node_modules/giget/README.md +59 -11
- package/node_modules/giget/dist/THIRD-PARTY-LICENSES.md +205 -0
- package/node_modules/giget/dist/_chunks/giget.mjs +508 -0
- package/node_modules/giget/dist/_chunks/libs/citty.mjs +269 -0
- package/node_modules/giget/dist/_chunks/libs/nypm.d.mts +1 -0
- package/node_modules/giget/dist/_chunks/libs/nypm.mjs +669 -0
- package/node_modules/giget/dist/_chunks/libs/tar.mjs +2931 -0
- package/node_modules/giget/dist/_chunks/rolldown-runtime.mjs +14 -0
- package/node_modules/giget/dist/cli.d.mts +1 -0
- package/node_modules/giget/dist/cli.mjs +89 -111
- package/node_modules/giget/dist/index.d.mts +46 -35
- package/node_modules/giget/dist/index.mjs +2 -22
- package/node_modules/giget/package.json +32 -45
- package/node_modules/maizzle/README.md +140 -0
- package/node_modules/maizzle/bin/maizzle.mjs +5 -0
- package/node_modules/maizzle/dist/commands/new.d.mts +7 -0
- package/node_modules/maizzle/dist/commands/new.mjs +278 -0
- package/node_modules/{@maizzle/cli → maizzle}/dist/index.d.mts +1 -1
- package/node_modules/maizzle/dist/index.mjs +44 -0
- package/node_modules/{commander → maizzle/node_modules/commander}/Readme.md +94 -67
- package/node_modules/{commander → maizzle/node_modules/commander}/lib/argument.js +5 -4
- package/node_modules/{commander → maizzle/node_modules/commander}/lib/command.js +154 -39
- package/node_modules/{commander → maizzle/node_modules/commander}/lib/help.js +77 -39
- package/node_modules/{commander → maizzle/node_modules/commander}/lib/option.js +16 -3
- package/node_modules/{commander → maizzle/node_modules/commander}/package-support.json +4 -1
- package/node_modules/{commander → maizzle/node_modules/commander}/package.json +8 -8
- package/node_modules/{commander → maizzle/node_modules/commander}/typings/index.d.ts +71 -3
- package/node_modules/{@maizzle/cli → maizzle}/package.json +13 -11
- package/node_modules/tinyexec/README.md +49 -3
- package/node_modules/tinyexec/dist/main.d.mts +25 -14
- package/node_modules/tinyexec/dist/main.mjs +148 -100
- package/node_modules/tinyexec/package.json +9 -8
- package/package.json +9 -4
- package/dist/server/ui/components/ui/resizable/ResizableHandle.vue +0 -30
- package/dist/server/ui/components/ui/resizable/ResizablePanel.vue +0 -21
- package/dist/server/ui/components/ui/resizable/ResizablePanelGroup.vue +0 -25
- package/dist/server/ui/components/ui/resizable/index.ts +0 -3
- package/node_modules/@clack/core/dist/index.cjs +0 -15
- package/node_modules/@clack/core/dist/index.cjs.map +0 -1
- package/node_modules/@clack/core/dist/index.d.cts +0 -211
- package/node_modules/@clack/core/dist/index.d.ts +0 -211
- package/node_modules/@clack/prompts/dist/index.cjs +0 -87
- package/node_modules/@clack/prompts/dist/index.cjs.map +0 -1
- package/node_modules/@clack/prompts/dist/index.d.cts +0 -165
- package/node_modules/@clack/prompts/dist/index.d.ts +0 -165
- package/node_modules/@maizzle/cli/README.md +0 -58
- package/node_modules/@maizzle/cli/dist/index.mjs +0 -42
- package/node_modules/citty/dist/index.cjs +0 -475
- package/node_modules/citty/dist/index.d.cts +0 -80
- package/node_modules/citty/dist/index.d.ts +0 -80
- package/node_modules/consola/LICENSE +0 -47
- package/node_modules/consola/README.md +0 -352
- package/node_modules/consola/basic.d.ts +0 -1
- package/node_modules/consola/browser.d.ts +0 -1
- package/node_modules/consola/core.d.ts +0 -1
- package/node_modules/consola/dist/basic.cjs +0 -32
- package/node_modules/consola/dist/basic.d.cts +0 -23
- package/node_modules/consola/dist/basic.d.mts +0 -21
- package/node_modules/consola/dist/basic.d.ts +0 -23
- package/node_modules/consola/dist/basic.mjs +0 -24
- package/node_modules/consola/dist/browser.cjs +0 -84
- package/node_modules/consola/dist/browser.d.cts +0 -23
- package/node_modules/consola/dist/browser.d.mts +0 -21
- package/node_modules/consola/dist/browser.d.ts +0 -23
- package/node_modules/consola/dist/browser.mjs +0 -76
- package/node_modules/consola/dist/chunks/prompt.cjs +0 -288
- package/node_modules/consola/dist/chunks/prompt.mjs +0 -280
- package/node_modules/consola/dist/core.cjs +0 -517
- package/node_modules/consola/dist/core.d.cts +0 -459
- package/node_modules/consola/dist/core.d.mts +0 -459
- package/node_modules/consola/dist/core.d.ts +0 -459
- package/node_modules/consola/dist/core.mjs +0 -512
- package/node_modules/consola/dist/index.cjs +0 -663
- package/node_modules/consola/dist/index.d.cts +0 -24
- package/node_modules/consola/dist/index.d.mts +0 -22
- package/node_modules/consola/dist/index.d.ts +0 -24
- package/node_modules/consola/dist/index.mjs +0 -651
- package/node_modules/consola/dist/shared/consola.DCGIlDNP.cjs +0 -75
- package/node_modules/consola/dist/shared/consola.DRwqZj3T.mjs +0 -72
- package/node_modules/consola/dist/shared/consola.DXBYu-KD.mjs +0 -288
- package/node_modules/consola/dist/shared/consola.DwRq1yyg.cjs +0 -312
- package/node_modules/consola/dist/utils.cjs +0 -64
- package/node_modules/consola/dist/utils.d.cts +0 -286
- package/node_modules/consola/dist/utils.d.mts +0 -286
- package/node_modules/consola/dist/utils.d.ts +0 -286
- package/node_modules/consola/dist/utils.mjs +0 -54
- package/node_modules/consola/lib/index.cjs +0 -10
- package/node_modules/consola/package.json +0 -136
- package/node_modules/consola/utils.d.ts +0 -1
- package/node_modules/create-maizzle/README.md +0 -86
- package/node_modules/create-maizzle/bin/create-maizzle.mjs +0 -4
- package/node_modules/create-maizzle/node_modules/@clack/core/CHANGELOG.md +0 -340
- package/node_modules/create-maizzle/node_modules/@clack/core/LICENSE +0 -9
- package/node_modules/create-maizzle/node_modules/@clack/core/README.md +0 -22
- package/node_modules/create-maizzle/node_modules/@clack/core/dist/index.d.mts +0 -349
- package/node_modules/create-maizzle/node_modules/@clack/core/dist/index.mjs +0 -11
- package/node_modules/create-maizzle/node_modules/@clack/core/dist/index.mjs.map +0 -1
- package/node_modules/create-maizzle/node_modules/@clack/core/package.json +0 -60
- package/node_modules/create-maizzle/node_modules/@clack/prompts/CHANGELOG.md +0 -576
- package/node_modules/create-maizzle/node_modules/@clack/prompts/LICENSE +0 -9
- package/node_modules/create-maizzle/node_modules/@clack/prompts/README.md +0 -270
- package/node_modules/create-maizzle/node_modules/@clack/prompts/dist/index.d.mts +0 -391
- package/node_modules/create-maizzle/node_modules/@clack/prompts/dist/index.mjs +0 -137
- package/node_modules/create-maizzle/node_modules/@clack/prompts/dist/index.mjs.map +0 -1
- package/node_modules/create-maizzle/node_modules/@clack/prompts/package.json +0 -65
- package/node_modules/create-maizzle/package.json +0 -47
- package/node_modules/create-maizzle/src/index.js +0 -242
- package/node_modules/defu/LICENSE +0 -21
- package/node_modules/defu/README.md +0 -171
- package/node_modules/defu/dist/defu.cjs +0 -77
- package/node_modules/defu/dist/defu.d.cts +0 -31
- package/node_modules/defu/dist/defu.d.mts +0 -29
- package/node_modules/defu/dist/defu.d.ts +0 -31
- package/node_modules/defu/dist/defu.mjs +0 -69
- package/node_modules/defu/lib/defu.cjs +0 -10
- package/node_modules/defu/lib/defu.d.cts +0 -12
- package/node_modules/defu/package.json +0 -48
- package/node_modules/giget/dist/shared/giget.OCaTp9b-.mjs +0 -468
- package/node_modules/node-fetch-native/LICENSE +0 -114
- package/node_modules/node-fetch-native/README.md +0 -225
- package/node_modules/node-fetch-native/dist/chunks/multipart-parser.cjs +0 -2
- package/node_modules/node-fetch-native/dist/chunks/multipart-parser.mjs +0 -2
- package/node_modules/node-fetch-native/dist/index.cjs +0 -1
- package/node_modules/node-fetch-native/dist/index.mjs +0 -1
- package/node_modules/node-fetch-native/dist/native.cjs +0 -1
- package/node_modules/node-fetch-native/dist/native.mjs +0 -1
- package/node_modules/node-fetch-native/dist/node.cjs +0 -19
- package/node_modules/node-fetch-native/dist/node.mjs +0 -19
- package/node_modules/node-fetch-native/dist/polyfill.cjs +0 -1
- package/node_modules/node-fetch-native/dist/polyfill.mjs +0 -1
- package/node_modules/node-fetch-native/dist/proxy-stub.cjs +0 -1
- package/node_modules/node-fetch-native/dist/proxy-stub.mjs +0 -1
- package/node_modules/node-fetch-native/dist/proxy.cjs +0 -58
- package/node_modules/node-fetch-native/dist/shared/node-fetch-native.DfbY2q-x.mjs +0 -1
- package/node_modules/node-fetch-native/dist/shared/node-fetch-native.DhEqb06g.cjs +0 -1
- package/node_modules/node-fetch-native/index.d.ts +0 -1
- package/node_modules/node-fetch-native/lib/empty.cjs +0 -0
- package/node_modules/node-fetch-native/lib/empty.mjs +0 -0
- package/node_modules/node-fetch-native/lib/index.cjs +0 -11
- package/node_modules/node-fetch-native/lib/index.d.cts +0 -10
- package/node_modules/node-fetch-native/lib/index.d.mts +0 -10
- package/node_modules/node-fetch-native/lib/index.d.ts +0 -10
- package/node_modules/node-fetch-native/lib/native.cjs +0 -11
- package/node_modules/node-fetch-native/lib/polyfill.d.cts +0 -1
- package/node_modules/node-fetch-native/lib/polyfill.d.mts +0 -1
- package/node_modules/node-fetch-native/lib/polyfill.d.ts +0 -1
- package/node_modules/node-fetch-native/lib/proxy.d.ts +0 -32
- package/node_modules/node-fetch-native/node.d.ts +0 -1
- package/node_modules/node-fetch-native/package.json +0 -138
- package/node_modules/node-fetch-native/polyfill.d.ts +0 -1
- package/node_modules/node-fetch-native/proxy.d.ts +0 -1
- package/node_modules/nypm/node_modules/citty/LICENSE +0 -21
- package/node_modules/nypm/node_modules/citty/README.md +0 -231
- package/node_modules/nypm/node_modules/citty/dist/index.d.mts +0 -112
- package/node_modules/nypm/node_modules/citty/dist/index.mjs +0 -425
- package/node_modules/nypm/node_modules/citty/package.json +0 -42
- /package/node_modules/{nypm/node_modules/citty → citty}/dist/THIRD-PARTY-LICENSES.md +0 -0
- /package/node_modules/{nypm/node_modules/citty → citty}/dist/_chunks/libs/scule.mjs +0 -0
- /package/node_modules/{@maizzle/cli → maizzle}/LICENSE +0 -0
- /package/node_modules/{@maizzle/cli → maizzle}/dist/commands/make/component.d.mts +0 -0
- /package/node_modules/{@maizzle/cli → maizzle}/dist/commands/make/component.mjs +0 -0
- /package/node_modules/{@maizzle/cli → maizzle}/dist/commands/make/config.d.mts +0 -0
- /package/node_modules/{@maizzle/cli → maizzle}/dist/commands/make/config.mjs +0 -0
- /package/node_modules/{@maizzle/cli → maizzle}/dist/commands/make/layout.d.mts +0 -0
- /package/node_modules/{@maizzle/cli → maizzle}/dist/commands/make/layout.mjs +0 -0
- /package/node_modules/{@maizzle/cli → maizzle}/dist/commands/make/scaffold.d.mts +0 -0
- /package/node_modules/{@maizzle/cli → maizzle}/dist/commands/make/scaffold.mjs +0 -0
- /package/node_modules/{@maizzle/cli → maizzle}/dist/commands/make/stubs/component.vue +0 -0
- /package/node_modules/{@maizzle/cli → maizzle}/dist/commands/make/stubs/config.ts +0 -0
- /package/node_modules/{@maizzle/cli → maizzle}/dist/commands/make/stubs/layout.vue +0 -0
- /package/node_modules/{@maizzle/cli → maizzle}/dist/commands/make/stubs/template.vue +0 -0
- /package/node_modules/{@maizzle/cli → maizzle}/dist/commands/make/template.d.mts +0 -0
- /package/node_modules/{@maizzle/cli → maizzle}/dist/commands/make/template.mjs +0 -0
- /package/node_modules/{commander → maizzle/node_modules/commander}/LICENSE +0 -0
- /package/node_modules/{commander → maizzle/node_modules/commander}/esm.mjs +0 -0
- /package/node_modules/{commander → maizzle/node_modules/commander}/index.js +0 -0
- /package/node_modules/{commander → maizzle/node_modules/commander}/lib/error.js +0 -0
- /package/node_modules/{commander → maizzle/node_modules/commander}/lib/suggestSimilar.js +0 -0
- /package/node_modules/{commander → maizzle/node_modules/commander}/typings/esm.d.mts +0 -0
|
@@ -1,49 +1,42 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "citty",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "Elegant CLI Builder",
|
|
5
|
-
"repository": "unjs/citty",
|
|
6
5
|
"license": "MIT",
|
|
7
|
-
"
|
|
8
|
-
"type": "module",
|
|
9
|
-
"exports": {
|
|
10
|
-
".": {
|
|
11
|
-
"types": "./dist/index.d.ts",
|
|
12
|
-
"import": "./dist/index.mjs",
|
|
13
|
-
"require": "./dist/index.cjs"
|
|
14
|
-
}
|
|
15
|
-
},
|
|
16
|
-
"main": "./dist/index.cjs",
|
|
17
|
-
"module": "./dist/index.mjs",
|
|
18
|
-
"types": "./dist/index.d.ts",
|
|
6
|
+
"repository": "unjs/citty",
|
|
19
7
|
"files": [
|
|
20
8
|
"dist"
|
|
21
9
|
],
|
|
10
|
+
"type": "module",
|
|
11
|
+
"sideEffects": false,
|
|
12
|
+
"types": "./dist/index.d.mts",
|
|
13
|
+
"exports": {
|
|
14
|
+
".": "./dist/index.mjs"
|
|
15
|
+
},
|
|
22
16
|
"scripts": {
|
|
23
|
-
"build": "
|
|
17
|
+
"build": "obuild",
|
|
24
18
|
"dev": "vitest dev",
|
|
25
|
-
"lint": "
|
|
26
|
-
"
|
|
19
|
+
"lint": "oxlint . && oxfmt --check",
|
|
20
|
+
"fmt": "oxlint . --fix && oxfmt",
|
|
27
21
|
"prepack": "pnpm run build",
|
|
28
|
-
"play": "
|
|
29
|
-
"release": "pnpm test && changelogen --release --push && npm publish",
|
|
30
|
-
"test": "pnpm lint && vitest run --coverage"
|
|
31
|
-
|
|
32
|
-
"dependencies": {
|
|
33
|
-
"consola": "^3.2.3"
|
|
22
|
+
"play": "node ./playground/cli.ts",
|
|
23
|
+
"release": "pnpm test && pnpm build && changelogen --release --push && npm publish",
|
|
24
|
+
"test": "pnpm lint && pnpm test:types && vitest run --coverage",
|
|
25
|
+
"test:types": "tsgo --noEmit"
|
|
34
26
|
},
|
|
35
27
|
"devDependencies": {
|
|
36
|
-
"@types/node": "^
|
|
37
|
-
"@
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
"
|
|
28
|
+
"@types/node": "^25.5.0",
|
|
29
|
+
"@typescript/native-preview": "^7.0.0-dev.20260401.1",
|
|
30
|
+
"@vitest/coverage-v8": "^4.1.2",
|
|
31
|
+
"automd": "^0.4.3",
|
|
32
|
+
"changelogen": "^0.6.2",
|
|
33
|
+
"eslint-config-unjs": "^0.6.2",
|
|
34
|
+
"obuild": "^0.4.32",
|
|
35
|
+
"oxfmt": "^0.43.0",
|
|
36
|
+
"oxlint": "^1.58.0",
|
|
43
37
|
"scule": "^1.3.0",
|
|
44
|
-
"typescript": "^
|
|
45
|
-
"
|
|
46
|
-
"vitest": "^1.2.2"
|
|
38
|
+
"typescript": "^6.0.2",
|
|
39
|
+
"vitest": "^4.1.2"
|
|
47
40
|
},
|
|
48
|
-
"packageManager": "pnpm@
|
|
49
|
-
}
|
|
41
|
+
"packageManager": "pnpm@10.33.0"
|
|
42
|
+
}
|
|
@@ -8,8 +8,12 @@
|
|
|
8
8
|
|
|
9
9
|
## Features
|
|
10
10
|
|
|
11
|
+
✨ Zero dependency
|
|
12
|
+
|
|
11
13
|
✨ Support popular git providers (GitHub, GitLab, Bitbucket, Sourcehut) out of the box.
|
|
12
14
|
|
|
15
|
+
✨ Native [git clone provider](#git-clone-provider) with sparse checkout for subdirectories.
|
|
16
|
+
|
|
13
17
|
✨ Built-in and custom [template registry](#template-registry).
|
|
14
18
|
|
|
15
19
|
✨ Fast cloning using tarball gzip without depending on local `git` and `tar`.
|
|
@@ -24,8 +28,6 @@
|
|
|
24
28
|
|
|
25
29
|
✨ Optionally install dependencies after clone using [unjs/nypm](https://github.com/unjs/nypm)
|
|
26
30
|
|
|
27
|
-
✨ HTTP proxy support and native fetch via [unjs/node-fetch-native](https://github.com/unjs/node-fetch-native)
|
|
28
|
-
|
|
29
31
|
## Usage (CLI)
|
|
30
32
|
|
|
31
33
|
```bash
|
|
@@ -72,12 +74,21 @@ npx giget@latest gh:unjs/template/test
|
|
|
72
74
|
# Clone from gitlab
|
|
73
75
|
npx giget@latest gitlab:unjs/template
|
|
74
76
|
|
|
77
|
+
# Clone from gitlab with subgroups
|
|
78
|
+
npx giget@latest gitlab:group/subgroup/project
|
|
79
|
+
|
|
80
|
+
# Clone from gitlab with subgroups and subdirectory (using :: delimiter)
|
|
81
|
+
npx giget@latest gitlab:group/subgroup/project::src/template
|
|
82
|
+
|
|
75
83
|
# Clone from bitbucket
|
|
76
84
|
npx giget@latest bitbucket:unjs/template
|
|
77
85
|
|
|
78
86
|
# Clone from sourcehut
|
|
79
87
|
npx giget@latest sourcehut:pi0/unjs-template
|
|
80
88
|
|
|
89
|
+
# Clone using local git over HTTPS (see "Git Clone Provider" section)
|
|
90
|
+
npx giget@latest git:unjs/template
|
|
91
|
+
|
|
81
92
|
# Clone from https URL (tarball)
|
|
82
93
|
npx giget@latest https://api.github.com/repos/unjs/template/tarball/main
|
|
83
94
|
|
|
@@ -139,10 +150,10 @@ const { source, dir } = await downloadTemplate("github:unjs/template");
|
|
|
139
150
|
|
|
140
151
|
**Options:**
|
|
141
152
|
|
|
142
|
-
- `source`: (string) Input source in format of `[provider]:repo[/subpath][#ref]`.
|
|
153
|
+
- `source`: (string) Input source in format of `[provider]:repo[/subpath][#ref]`. Use `::` to separate repo from subdir when the repo path has more than two segments (e.g., GitLab subgroups): `[provider]:group/subgroup/repo[::subdir][#ref]`.
|
|
143
154
|
- `options`: (object) Options are usually inferred from the input string. You can customize them.
|
|
144
155
|
- `dir`: (string) Destination directory to clone to. If not provided, `user-name` will be used relative to the current directory.
|
|
145
|
-
- `provider`: (string) Either `github`, `gitlab`, `bitbucket` or `
|
|
156
|
+
- `provider`: (string) Either `github`, `gitlab`, `bitbucket`, `sourcehut`, or `git`. The default is `github`.
|
|
146
157
|
- `force`: (boolean) Extract to the existing dir even if already exists.
|
|
147
158
|
- `forceClean`: (boolean) ⚠️ Clean up any existing directory or file before cloning.
|
|
148
159
|
- `offline`: (boolean) Do not attempt to download and use the cached version.
|
|
@@ -183,6 +194,22 @@ const { source, dir } = await downloadTemplate("rainbow:one", {
|
|
|
183
194
|
});
|
|
184
195
|
```
|
|
185
196
|
|
|
197
|
+
`tar` can also be a function returning a `Readable` or `ReadableStream`:
|
|
198
|
+
|
|
199
|
+
```ts
|
|
200
|
+
const myorg: TemplateProvider = async (input, { auth }) => {
|
|
201
|
+
return {
|
|
202
|
+
name: input,
|
|
203
|
+
tar: async () =>
|
|
204
|
+
(await fetch(`http://my-org.internal/archive/${input}.tar.gz`)).body!,
|
|
205
|
+
};
|
|
206
|
+
};
|
|
207
|
+
|
|
208
|
+
const { source, dir } = await downloadTemplate("myorg:my-project", {
|
|
209
|
+
providers: { myorg },
|
|
210
|
+
});
|
|
211
|
+
```
|
|
212
|
+
|
|
186
213
|
### Custom Registry Providers
|
|
187
214
|
|
|
188
215
|
You can define additional [custom registry](#custom-registry) providers using `registryProvider` utility and register to `providers`.
|
|
@@ -190,15 +217,36 @@ You can define additional [custom registry](#custom-registry) providers using `r
|
|
|
190
217
|
```ts
|
|
191
218
|
import { registryProvider } from "giget";
|
|
192
219
|
|
|
193
|
-
const themes = registryProvider(
|
|
194
|
-
"https://raw.githubusercontent.com/unjs/giget/main/templates",
|
|
195
|
-
);
|
|
220
|
+
const themes = registryProvider("https://raw.githubusercontent.com/unjs/giget/main/templates");
|
|
196
221
|
|
|
197
222
|
const { source, dir } = await downloadTemplate("themes:test", {
|
|
198
223
|
providers: { themes },
|
|
199
224
|
});
|
|
200
225
|
```
|
|
201
226
|
|
|
227
|
+
## Git Clone Provider
|
|
228
|
+
|
|
229
|
+
The `git:` provider clones repositories using the local `git` command instead of downloading tarballs via HTTP APIs. Useful for private or self-hosted servers that don't expose tarball endpoints.
|
|
230
|
+
|
|
231
|
+
```sh
|
|
232
|
+
git:unjs/template # HTTPS clone (github.com by default)
|
|
233
|
+
git:unjs/template#v2 # Specific branch or tag
|
|
234
|
+
git:unjs/template#e24616c # Specific commit (full clone fallback)
|
|
235
|
+
git:unjs/template#main:src # Subdirectory (sparse checkout)
|
|
236
|
+
git:git@github.com:unjs/template # Explicit SSH
|
|
237
|
+
git:./path/to/local/repo # Local repository
|
|
238
|
+
gh+git:unjs/template # Host shorthand (github.com)
|
|
239
|
+
gitlab+git:org/repo # Host shorthand (gitlab.com)
|
|
240
|
+
```
|
|
241
|
+
|
|
242
|
+
Subdirectories use sparse checkout with `--filter=blob:none` to avoid downloading the full repository.
|
|
243
|
+
|
|
244
|
+
**Environment variables:**
|
|
245
|
+
|
|
246
|
+
| Variable | Description |
|
|
247
|
+
| --- | --- |
|
|
248
|
+
| `GIGET_GIT_HOST` | Default HTTPS host (default: `https://github.com/`) |
|
|
249
|
+
|
|
202
250
|
## Providing token for private repositories
|
|
203
251
|
|
|
204
252
|
For private repositories and sources, you might need a token. In order to provide it, using CLI, you can use `--auth`, using programmatic API using `auth` option and in both modes also it is possible to use `GIGET_AUTH` environment variable to set it. The value will be set in `Authorization: Bearer ...` header by default.
|
|
@@ -216,14 +264,14 @@ If your project depends on a private GitHub repository, you need to add the acce
|
|
|
216
264
|
GIGET_AUTH: ${{ secrets.GIGET_AUTH }}
|
|
217
265
|
```
|
|
218
266
|
|
|
219
|
-
|
|
220
267
|
## Related projects
|
|
221
268
|
|
|
222
269
|
Giget wouldn't be possible without inspiration from former projects. In comparison, giget does not depend on any local command which increases stability and performance and supports custom template providers, auth, and many more features out of the box.
|
|
223
270
|
|
|
224
|
-
- https://github.com/
|
|
225
|
-
- https://github.com/
|
|
226
|
-
- https://github.com/Rich-Harris/degit
|
|
271
|
+
- [tiged/tiged](https://github.com/tiged/tiged) (maintained fork of degit)
|
|
272
|
+
- [nrjdalal/gitpick](https://github.com/nrjdalal/gitpick) (alternative approach)
|
|
273
|
+
- [Rich-Harris/degit](https://github.com/Rich-Harris/degit) (last updated - 2021)
|
|
274
|
+
- [samsonjs/gitter](https://github.com/samsonjs/gitter) (archived/updated - 2012)
|
|
227
275
|
|
|
228
276
|
## 💻 Development
|
|
229
277
|
|
|
@@ -0,0 +1,205 @@
|
|
|
1
|
+
# Licenses of Bundled Dependencies
|
|
2
|
+
|
|
3
|
+
The published artifact additionally contains code with the following licenses:
|
|
4
|
+
BlueOak-1.0.0, MIT
|
|
5
|
+
|
|
6
|
+
# Bundled Dependencies
|
|
7
|
+
|
|
8
|
+
## citty, nypm
|
|
9
|
+
|
|
10
|
+
License: MIT
|
|
11
|
+
Repositories: https://github.com/unjs/citty, https://github.com/unjs/nypm
|
|
12
|
+
|
|
13
|
+
> MIT License
|
|
14
|
+
>
|
|
15
|
+
> Copyright (c) Pooya Parsa <pooya@pi0.io>
|
|
16
|
+
>
|
|
17
|
+
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
18
|
+
> of this software and associated documentation files (the "Software"), to deal
|
|
19
|
+
> in the Software without restriction, including without limitation the rights
|
|
20
|
+
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
21
|
+
> copies of the Software, and to permit persons to whom the Software is
|
|
22
|
+
> furnished to do so, subject to the following conditions:
|
|
23
|
+
>
|
|
24
|
+
> The above copyright notice and this permission notice shall be included in all
|
|
25
|
+
> copies or substantial portions of the Software.
|
|
26
|
+
>
|
|
27
|
+
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
28
|
+
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
29
|
+
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
30
|
+
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
31
|
+
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
32
|
+
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
33
|
+
> SOFTWARE.
|
|
34
|
+
|
|
35
|
+
---------------------------------------
|
|
36
|
+
|
|
37
|
+
## pathe
|
|
38
|
+
|
|
39
|
+
License: MIT
|
|
40
|
+
Repository: https://github.com/unjs/pathe
|
|
41
|
+
|
|
42
|
+
> MIT License
|
|
43
|
+
>
|
|
44
|
+
> Copyright (c) Pooya Parsa <pooya@pi0.io> - Daniel Roe <daniel@roe.dev>
|
|
45
|
+
>
|
|
46
|
+
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
47
|
+
> of this software and associated documentation files (the "Software"), to deal
|
|
48
|
+
> in the Software without restriction, including without limitation the rights
|
|
49
|
+
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
50
|
+
> copies of the Software, and to permit persons to whom the Software is
|
|
51
|
+
> furnished to do so, subject to the following conditions:
|
|
52
|
+
>
|
|
53
|
+
> The above copyright notice and this permission notice shall be included in all
|
|
54
|
+
> copies or substantial portions of the Software.
|
|
55
|
+
>
|
|
56
|
+
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
57
|
+
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
58
|
+
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
59
|
+
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
60
|
+
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
61
|
+
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
62
|
+
> SOFTWARE.
|
|
63
|
+
>
|
|
64
|
+
> ---
|
|
65
|
+
>
|
|
66
|
+
> Copyright Joyent, Inc. and other Node contributors.
|
|
67
|
+
>
|
|
68
|
+
> Permission is hereby granted, free of charge, to any person obtaining a
|
|
69
|
+
> copy of this software and associated documentation files (the
|
|
70
|
+
> "Software"), to deal in the Software without restriction, including
|
|
71
|
+
> without limitation the rights to use, copy, modify, merge, publish,
|
|
72
|
+
> distribute, sublicense, and/or sell copies of the Software, and to permit
|
|
73
|
+
> persons to whom the Software is furnished to do so, subject to the
|
|
74
|
+
> following conditions:
|
|
75
|
+
>
|
|
76
|
+
> The above copyright notice and this permission notice shall be included
|
|
77
|
+
> in all copies or substantial portions of the Software.
|
|
78
|
+
>
|
|
79
|
+
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
|
80
|
+
> OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
81
|
+
> MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
|
|
82
|
+
> NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
|
|
83
|
+
> DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
|
|
84
|
+
> OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
|
|
85
|
+
> USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
86
|
+
>
|
|
87
|
+
> ---
|
|
88
|
+
>
|
|
89
|
+
> Bundled zeptomatch (https://github.com/fabiospampinato/zeptomatch)
|
|
90
|
+
>
|
|
91
|
+
> The MIT License (MIT)
|
|
92
|
+
>
|
|
93
|
+
> Copyright (c) 2023-present Fabio Spampinato
|
|
94
|
+
>
|
|
95
|
+
> Permission is hereby granted, free of charge, to any person obtaining a
|
|
96
|
+
> copy of this software and associated documentation files (the "Software"),
|
|
97
|
+
> to deal in the Software without restriction, including without limitation
|
|
98
|
+
> the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
|
99
|
+
> and/or sell copies of the Software, and to permit persons to whom the
|
|
100
|
+
> Software is furnished to do so, subject to the following conditions:
|
|
101
|
+
>
|
|
102
|
+
> The above copyright notice and this permission notice shall be included in
|
|
103
|
+
> all copies or substantial portions of the Software.
|
|
104
|
+
>
|
|
105
|
+
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
106
|
+
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
107
|
+
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
108
|
+
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
109
|
+
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
110
|
+
> FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
111
|
+
> DEALINGS IN THE SOFTWARE.
|
|
112
|
+
|
|
113
|
+
---------------------------------------
|
|
114
|
+
|
|
115
|
+
## tar
|
|
116
|
+
|
|
117
|
+
License: BlueOak-1.0.0
|
|
118
|
+
By: Isaac Z. Schlueter
|
|
119
|
+
Repository: https://github.com/isaacs/node-tar
|
|
120
|
+
|
|
121
|
+
> # Blue Oak Model License
|
|
122
|
+
>
|
|
123
|
+
> Version 1.0.0
|
|
124
|
+
>
|
|
125
|
+
> ## Purpose
|
|
126
|
+
>
|
|
127
|
+
> This license gives everyone as much permission to work with
|
|
128
|
+
> this software as possible, while protecting contributors
|
|
129
|
+
> from liability.
|
|
130
|
+
>
|
|
131
|
+
> ## Acceptance
|
|
132
|
+
>
|
|
133
|
+
> In order to receive this license, you must agree to its
|
|
134
|
+
> rules. The rules of this license are both obligations
|
|
135
|
+
> under that agreement and conditions to your license.
|
|
136
|
+
> You must not do anything with this software that triggers
|
|
137
|
+
> a rule that you cannot or will not follow.
|
|
138
|
+
>
|
|
139
|
+
> ## Copyright
|
|
140
|
+
>
|
|
141
|
+
> Each contributor licenses you to do everything with this
|
|
142
|
+
> software that would otherwise infringe that contributor's
|
|
143
|
+
> copyright in it.
|
|
144
|
+
>
|
|
145
|
+
> ## Notices
|
|
146
|
+
>
|
|
147
|
+
> You must ensure that everyone who gets a copy of
|
|
148
|
+
> any part of this software from you, with or without
|
|
149
|
+
> changes, also gets the text of this license or a link to
|
|
150
|
+
> <https://blueoakcouncil.org/license/1.0.0>.
|
|
151
|
+
>
|
|
152
|
+
> ## Excuse
|
|
153
|
+
>
|
|
154
|
+
> If anyone notifies you in writing that you have not
|
|
155
|
+
> complied with [Notices](#notices), you can keep your
|
|
156
|
+
> license by taking all practical steps to comply within 30
|
|
157
|
+
> days after the notice. If you do not do so, your license
|
|
158
|
+
> ends immediately.
|
|
159
|
+
>
|
|
160
|
+
> ## Patent
|
|
161
|
+
>
|
|
162
|
+
> Each contributor licenses you to do everything with this
|
|
163
|
+
> software that would otherwise infringe any patent claims
|
|
164
|
+
> they can license or become able to license.
|
|
165
|
+
>
|
|
166
|
+
> ## Reliability
|
|
167
|
+
>
|
|
168
|
+
> No contributor can revoke this license.
|
|
169
|
+
>
|
|
170
|
+
> ## No Liability
|
|
171
|
+
>
|
|
172
|
+
> ***As far as the law allows, this software comes as is,
|
|
173
|
+
> without any warranty or condition, and no contributor
|
|
174
|
+
> will be liable to anyone for any damages related to this
|
|
175
|
+
> software or this license, under any kind of legal claim.***
|
|
176
|
+
|
|
177
|
+
---------------------------------------
|
|
178
|
+
|
|
179
|
+
## tinyexec
|
|
180
|
+
|
|
181
|
+
License: MIT
|
|
182
|
+
By: James Garbutt
|
|
183
|
+
Repository: https://github.com/tinylibs/tinyexec
|
|
184
|
+
|
|
185
|
+
> MIT License
|
|
186
|
+
>
|
|
187
|
+
> Copyright (c) 2024 Tinylibs
|
|
188
|
+
>
|
|
189
|
+
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
190
|
+
> of this software and associated documentation files (the "Software"), to deal
|
|
191
|
+
> in the Software without restriction, including without limitation the rights
|
|
192
|
+
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
193
|
+
> copies of the Software, and to permit persons to whom the Software is
|
|
194
|
+
> furnished to do so, subject to the following conditions:
|
|
195
|
+
>
|
|
196
|
+
> The above copyright notice and this permission notice shall be included in all
|
|
197
|
+
> copies or substantial portions of the Software.
|
|
198
|
+
>
|
|
199
|
+
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
200
|
+
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
201
|
+
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
202
|
+
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
203
|
+
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
204
|
+
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
205
|
+
> SOFTWARE.
|