Skip to content

Releases: teleporthq/teleport-code-generators

v0.19.13

17 Feb 09:02
Compare
Choose a tag to compare

What's Changed

  • Update Vercel endpoints by @Utwo in #639
  • chore(deps): bump trim-off-newlines from 1.0.1 to 1.0.3 by @dependabot in #636
  • chore(deps): bump follow-redirects from 1.14.4 to 1.14.7 by @dependabot in #633
  • chore(deps): bump follow-redirects from 1.14.7 to 1.14.8 by @dependabot in #641
  • (refactor): Add retry mechanism for failed vercel deploys by @Utwo in #640

Full Changelog: v0.19.12...v0.19.13

v0.19.11

28 Jan 05:14
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.19.10...v0.19.11

v0.19.7

03 Dec 14:35
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.19.6...v0.19.7

v0.19.4

22 Oct 04:13
Compare
Choose a tag to compare

What's Changed

  • feat(image-res): project plugin to resolve local assets to map to public folder of template by @JayaKrishnaNamburu in #622
  • Fix for missing styles when an element-node is copy and pasted multipole times with same key in page and it's component in component-generator-html by @JayaKrishnaNamburu

Full Changelog: v0.19.3...v0.19.4

v0.19.3

19 Oct 09:10
Compare
Choose a tag to compare

What's Changed

  • Add --no-verify-access to lerna publish by @Utwo in #620
  • feat(proj-html): Duplicating global html tags for each page for html project generators by @JayaKrishnaNamburu in #621

Full Changelog: v0.19.2...v0.19.3

v0.19.2

19 Oct 04:26
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.19.1...v0.19.2

v0.19.1

12 Oct 10:58
Compare
Choose a tag to compare

What's Changed

  • Improve error reporting for vercel requests by @Utwo in #617

Full Changelog: v0.19.0...v0.19.1

v0.18.2

19 Oct 04:27
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.18.1...v0.18.2

v0.18.1

19 Oct 04:28
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.18.0...v0.18.1

v0.18.0

05 Oct 06:03
Compare
Choose a tag to compare

HTML Component Generator

A experimental new generator for exporting projects and components using HTML and CSS. But the generator comes with only a few features at the moment. In usual ComponentUIDL we can can define the specific details of components, Including if the component is using any external components, using

dependency: {
   type: 'local'    
}

But in plain html we don't have support for components yet. Yes (custom-elements) but the target is to make it a plain html with no custom-elements. A custom-elements can be a diff generator of it own :)

So, to make the syntaxes work.

const generator = createHTMLComponentGenerator()
  
generator.addExternalComponents({
    externals: {
      sample: SampleComponent,
    },
})

await generator.generateComponent(ComponentUIDL)

The generator, clones the components in independent instances with the props passed at specific instances. Things that are no included at the moment.

  • State change behaviour
  • Event handling
  • Slots
  • Dynamic styles
  • Conditional Nodes
  • Repeat nodes

For projects that are generated using @teleporthq/teleport-project-generator-html, the generator uses a default template from parcel without routing. All the components and pages are added to their respective folders.

Feedback is highly welcome, since we want to have the HTML generator as simple as possible. And at the same time, functional. For users who want to just get their html files and serve from their static hosts.

What's Changed

New Contributors

Full Changelog: v0.17.7...v0.18.0