Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@teamnovu/vite-plugin-vue-gql-statamic

Package Overview
Dependencies
Maintainers
6
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@teamnovu/vite-plugin-vue-gql-statamic - npm Package Compare versions

Comparing version 0.2.1 to 0.3.0

2

dist/index.es.d.ts

@@ -6,3 +6,3 @@ import type { Plugin as Plugin_2 } from 'vite';

disableGqlFileGeneration: boolean;
importGlobalFragmentsFrom: string | false;
importFragmentsFrom: string | false;
gqlHost: string;

@@ -9,0 +9,0 @@ debug: boolean;

{
"name": "@teamnovu/vite-plugin-vue-gql-statamic",
"version": "0.2.1",
"version": "0.3.0",
"description": "A Vite plugin to write GraphQL queries for Statamic inside Vue components.",

@@ -5,0 +5,0 @@ "repository": "https://github.com/teamnovu/vite-plugin-vue-gql-statamic",

@@ -81,3 +81,3 @@ <p align="center">

*/
importGlobalFragmentsFrom: 'queries/global-fragments.gql',
importFragmentsFrom: 'queries/fragments',

@@ -163,8 +163,11 @@ /**

- [x] Import a `.gql`-file with "global" fragments to the top of every query.
- [x] Import "global" fragments from `.gql`-files in a directory to the top of every query.
- [x] Fix package.json according to [this tweet](https://twitter.com/atcb/status/1634653474041503744?s=12&t=77vA6Cp8cKwjph8G1cKjJw).
- [x] Bypass throttled file writing function for blueprints.
- [ ] Fix issue where `nuxt-graphql-client` fails, if no `.gql`-files are present (e.g. generate dummy query initially). => https://github.com/Diizzayy/nuxt-graphql-client/issues/315
- [ ] Possibly validate query (e.g. attempt request) before writing to file to prevent `nuxt-graphql-client` from failing.
- [ ] Hot-reloading fails, when `pnpm run dev` is started with an already invalid `.gql`-file. This is an issue of the `nuxt-graphql-client`-module. Perhaps, this can be fixed, if errors for invalid properties are thrown by this plugin. => https://github.com/Diizzayy/nuxt-graphql-client/issues/315
- [ ] Bypass throttled file writing function for blueprints to fix issue where `nuxt-graphql-client` fails, if no `.gql`-files are present. => https://github.com/Diizzayy/nuxt-graphql-client/issues/315
- [ ] Text component should not require a string component attribute `component="BardText"`.
- [ ] Log errors including their position in the file. (e.g. "no collection provided"-error, invalid property errors)
- [ ] (Possibly) use Vue SFC parser to extract the query.
- [ ] Fix package.json according to [this tweet](https://twitter.com/atcb/status/1634653474041503744?s=12&t=77vA6Cp8cKwjph8G1cKjJw).

@@ -175,4 +178,5 @@ ### Big Stuff

- [ ] Generate Vue components for the GraphQL types defined in the schema.
- Could be part of a `npx` command
- [x] Support multiple `gql` tags in a single component.
- [ ] Handle similar names within the same component. (Should probably throw an error)
- [ ] Make schema comparison optional, so it can be used without a connection to a GraphQL server.

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc