Releases: teleporthq/teleport-code-generators
v0.19.13
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
What's Changed
- (feat): Add support for meta tags in head and parsing customCode field from UIDL by @JayaKrishnaNamburu in #635
Full Changelog: v0.19.10...v0.19.11
v0.19.7
What's Changed
- fix(comp-scope-styles): bug fix for comp-scoped styles in all style-flavours by @JayaKrishnaNamburu in #630
Full Changelog: v0.19.6...v0.19.7
v0.19.4
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
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
What's Changed
- Add teamId to Vercel upload file request by @Utwo in #618
- Revert force scoping for styled-jsx by @JayaKrishnaNamburu in #619
Full Changelog: v0.19.1...v0.19.2
v0.19.1
What's Changed
Full Changelog: v0.19.0...v0.19.1
v0.18.2
What's Changed
- Fix for external names to remove illegal characters by @JayaKrishnaNamburu in #615
Full Changelog: v0.18.1...v0.18.2
v0.18.1
What's Changed
- Update to latest changelog by @JayaKrishnaNamburu in #612
- Fix for fallback for component name by @JayaKrishnaNamburu in #613
Full Changelog: v0.18.0...v0.18.1
v0.18.0
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
- chore(deps): bump url-parse from 1.5.1 to 1.5.3 by @dependabot in #602
- component uidl propdefinitions defaultValue should optional by @MurakamiKennzo in #604
- chore(deps): bump jszip from 3.6.0 to 3.7.0 by @dependabot in #601
- chore(deps): bump tar from 4.4.15 to 4.4.19 by @dependabot in #605
- Scoping component styles with comp name for
styled-jsx
by @JayaKrishnaNamburu in #607 - chore(deps): bump tmpl from 1.0.4 to 1.0.5 by @dependabot in #608
- chore(deps): bump axios from 0.21.1 to 0.21.4 by @dependabot in #610
- chore(deps): bump nth-check from 2.0.0 to 2.0.1 by @dependabot in #609
- feat(comp-html): HTML Component and Project Generator by @JayaKrishnaNamburu in #539
- Adding missing tests and adding ability to pass externals using code-generator by @JayaKrishnaNamburu in #611
New Contributors
- @MurakamiKennzo made their first contribution in #604
Full Changelog: v0.17.7...v0.18.0