vite-plugin-graphql-loader 4.0.0 → 4.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +7 -6
  2. package/package.json +7 -7
package/README.md CHANGED
@@ -1,11 +1,12 @@
1
1
  # vite-plugin-graphql-loader
2
2
 
3
- [![NPM](https://nodei.co/npm/vite-plugin-graphql-loader.png?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/vite-plugin-graphql-loader/)
3
+ [![NPM](https://nodei.co/npm/vite-plugin-graphql-loader.png?downloads=true&downloadRank=true&stars=true)](https://www.npmjs.com/package/vite-plugin-graphql-loader/)
4
4
 
5
- [![npm version](https://img.shields.io/npm/v/vite-plugin-graphql-loader.svg)](https://www.npmjs.com/package/vite-plugin-graphql-loader)
6
- ![Tag: Vite Plugin](https://img.shields.io/badge/Vite_Plugin-orange)
7
- ![Tag: GraphQL](https://img.shields.io/badge/GraphQL-orange)
8
- ![Tag: JavaScript](https://img.shields.io/badge/JavaScript-orange)
5
+ [![npm version](https://img.shields.io/npm/v/bun-graphql-loader.svg?logoColor=fff&style=for-the-badge)](https://www.npmjs.com/package/bun-graphql-loader)
6
+ ![Vite Badge](https://img.shields.io/badge/Vite-646CFF?logo=vite&logoColor=fff&style=for-the-badge)
7
+ ![Vitest Badge](https://img.shields.io/badge/Vitest-6E9F18?logo=vitest&logoColor=fff&style=for-the-badge)
8
+ ![GraphQL Badge](https://img.shields.io/badge/GraphQL-E10098?logo=graphql&logoColor=fff&style=for-the-badge)
9
+ ![TypeScript Badge](https://img.shields.io/badge/TypeScript-3178C6?logo=typescript&logoColor=fff&style=for-the-badge)
9
10
 
10
11
  A Vite plugin for loading GraphQL .gql and .graphql files, based on [graphql-tag/loader](https://github.com/apollographql/graphql-tag)
11
12
 
@@ -115,4 +116,4 @@ console.log(_fragments.ExampleFragment); // Has type `FragmentDefinitionNode`
115
116
 
116
117
  **_v3.0.0_**:
117
118
 
118
- - [Moved from CJS to ESM](https://github.com/noiach/vite-plugin-graphql-loader/commit/0e0b37cfcb0ecbdf28e985aeca3454137b4b73e3), inline with Vite 5.0's CJS deprecation. If you are using CommonJS, continue using v2.0 of this package. If you have `"type": "module"`, in your `package.json` then it should work as expected.
119
+ - [Moved from CJS to ESM](https://github.com/0x31/vite-plugin-graphql-loader/commit/0e0b37cfcb0ecbdf28e985aeca3454137b4b73e3), inline with Vite 5.0's CJS deprecation. If you are using CommonJS, continue using v2.0 of this package. If you have `"type": "module"`, in your `package.json` then it should work as expected.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vite-plugin-graphql-loader",
3
- "version": "4.0.0",
3
+ "version": "4.0.1",
4
4
  "description": "A Vite plugin for loading GraphQL files.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -13,12 +13,12 @@
13
13
  "test": "vitest",
14
14
  "build": "rimraf ./dist && tsc",
15
15
  "package:bump": "yarn version --patch",
16
- "package:publish": "yarn build && yarn package:bump && yarn publish",
17
- "lint": "yarn prettier -w src tests/**/*.ts && yarn eslint --fix"
16
+ "package:publish": "bun run build && bun run package:bump && npm publish",
17
+ "lint": "prettier -w src tests/**/*.ts && eslint --fix"
18
18
  },
19
19
  "repository": {
20
20
  "type": "git",
21
- "url": "git+https://github.com/noiach/vite-plugin-graphql-loader.git"
21
+ "url": "git+https://github.com/0x31/vite-plugin-graphql-loader.git"
22
22
  },
23
23
  "keywords": [
24
24
  "vite",
@@ -26,12 +26,12 @@
26
26
  "graphql",
27
27
  "graphql-tag"
28
28
  ],
29
- "author": "noiach",
29
+ "author": "0x31",
30
30
  "license": "ISC",
31
31
  "bugs": {
32
- "url": "https://github.com/noiach/vite-plugin-graphql-loader/issues"
32
+ "url": "https://github.com/0x31/vite-plugin-graphql-loader/issues"
33
33
  },
34
- "homepage": "https://github.com/noiach/vite-plugin-graphql-loader#readme",
34
+ "homepage": "https://github.com/0x31/vite-plugin-graphql-loader#readme",
35
35
  "dependencies": {
36
36
  "graphql": "^16.8.1",
37
37
  "graphql-tag": "^2.12.6",