
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@apollo-elements/create-app
Advanced tools
Scaffold a web app project with GraphQL and LitElement
To quickly get started with apollo-elements, generate a skeleton app with this command
npm init @apollo-elements/app
The generated app comes with plenty of bells-and-whistles:
@web/dev-server
import MyQuery from './My.query.graphql'
import styles from './my-element.css'
These npm scripts help you get your work done in style:
npm start
runs the code generator and the development server in watch mode
npm run build
bundles the app into /build
. The build will bundle and minify your javascript, and minify your HTML. Just upload to your static file host and you're good.
npm run lint
Lint your app with an opinionated set of rules for JavaScript and TypeScript
The generator currently doesn't offer strong opinions on testing your UI components, so npm test
currently exist with an error code. For unit testing business logic (i.e. typePolicies), we recommend @web/test-runner
FAQs
Scaffold a web app project with GraphQL and LitElement
The npm package @apollo-elements/create-app receives a total of 1 weekly downloads. As such, @apollo-elements/create-app popularity was classified as not popular.
We found that @apollo-elements/create-app demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.