{"id":48819267,"url":"https://github.com/vaadin/npm-addon-template","last_synced_at":"2026-04-14T14:01:42.908Z","repository":{"id":35100492,"uuid":"107542502","full_name":"vaadin/npm-addon-template","owner":"vaadin","description":"Vaadin add-on template using 3rd party web component from npmjs.com.","archived":false,"fork":false,"pushed_at":"2026-04-14T07:10:37.000Z","size":8119,"stargazers_count":8,"open_issues_count":4,"forks_count":3,"subscribers_count":5,"default_branch":"v25","last_synced_at":"2026-04-14T09:15:12.139Z","etag":null,"topics":["addon","java","npm","template-repository","vaadin","webcomponents"],"latest_commit_sha":null,"homepage":"https://vaadin.com/directory","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vaadin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2017-10-19T12:21:53.000Z","updated_at":"2026-03-30T14:09:52.000Z","dependencies_parsed_at":"2026-01-28T13:00:36.298Z","dependency_job_id":null,"html_url":"https://github.com/vaadin/npm-addon-template","commit_stats":null,"previous_names":[],"tags_count":1,"template":true,"template_full_name":null,"purl":"pkg:github/vaadin/npm-addon-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaadin%2Fnpm-addon-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaadin%2Fnpm-addon-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaadin%2Fnpm-addon-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaadin%2Fnpm-addon-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vaadin","download_url":"https://codeload.github.com/vaadin/npm-addon-template/tar.gz/refs/heads/v25","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaadin%2Fnpm-addon-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31799411,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T11:13:53.975Z","status":"ssl_error","status_checked_at":"2026-04-14T11:13:53.299Z","response_time":153,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["addon","java","npm","template-repository","vaadin","webcomponents"],"created_at":"2026-04-14T14:01:42.247Z","updated_at":"2026-04-14T14:01:42.897Z","avatar_url":"https://github.com/vaadin.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Add-on starter for a web component integration from NPM\n\nThis is an example project for creating a Java wrapper for an existing Lit component that is available in npm.\nThe example code integrates `@axa-ch/input-text`.\n\n## Add-on architecture\n![npm-add-on](https://user-images.githubusercontent.com/991105/212105390-acda456a-51d2-4a9c-b482-7ca46d8d894a.svg)\n\n### Alternative add-on templates\n\nIf you wish to build and publish an add-on or extension in [Vaadin Directory](https://vaadin.com/directory), Vaadin provides the following three template projects:\n 1. [vaadin/addon-template](https://github.com/vaadin/addon-template): Create a composite component. This Java-only template is the easiest when extending Vaadin Java components.\n 2. [vaadin/client-server-addon-template](https://github.com/vaadin/client-server-addon-template): Build a standalone, client-server TypeScript-Java component. This template provides you with a [Lit-based](https://github.com/lit/lit/) example to start with.\n 3. **(this repo)** [vaadin/npm-addon-template](https://github.com/vaadin/npm-addon-template): Wrap a web component from [npmjs.com](https://npmjs.com/) as a Vaadin Java component.\n\n## Development instructions\n\nJavaScript modules can either be published as an NPM package or be kept as local \nfiles in your project. The local JavaScript modules should be put in \n`src/main/resources/META-INF/frontend` so that they are automatically found and \nused in the using application.\n\nIf the modules are published then the package should be noted in the component \nusing the `@NpmPackage` annotation in addition to using `@JsModule` annotation.\n\n\nStarting the test/demo server:\n1. Run `mvn jetty:run`.\n2. Open http://localhost:8080 in the browser.\n\n## Publishing to Vaadin Directory\n\nYou can create the zip package needed for [Vaadin Directory](https://vaadin.com/directory/) using\n```\nmvn versions:set -DnewVersion=1.0.0 # You cannot publish snapshot versions \nmvn install -Pdirectory\n```\n\nThe package is created as `target/axa-input-text-1.0.0.zip`\n\nFor more information or to upload the package, visit https://vaadin.com/directory/my-components?uploadNewComponent\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvaadin%2Fnpm-addon-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvaadin%2Fnpm-addon-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvaadin%2Fnpm-addon-template/lists"}