gatsby-attainlabs-cms 1.0.9 → 1.0.10

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.
package/gatsby-node.js CHANGED
@@ -1,7 +1,8 @@
1
- import fs from "fs";
2
- import https from "https";
3
- import path from "path";
4
- import "dotenv/config";
1
+ const fs = require("fs");
2
+ const https = require("https");
3
+ const path = require("path");
4
+
5
+ require("dotenv").config();
5
6
  // Load PAT from env instead of hardcoding (fallback to old const for now but warn)
6
7
 
7
8
  export const onPreInit = async (_, pluginOptions) => {
package/package.json CHANGED
@@ -1,10 +1,9 @@
1
1
  {
2
2
  "name": "gatsby-attainlabs-cms",
3
- "version": "1.0.9",
3
+ "version": "1.0.10",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
- "type": "module",
8
7
  "scripts": {
9
8
  "test": "echo \"Error: no test specified\" && exit 1",
10
9
  "build": "tsc"
package/tsconfig.json CHANGED
@@ -7,9 +7,7 @@
7
7
  "strict": true,
8
8
  "esModuleInterop": true,
9
9
  "moduleResolution": "node",
10
- "forceConsistentCasingInFileNames": true,
11
10
  "skipLibCheck": true
12
11
  },
13
- "include": ["src"],
14
- "exclude": ["dist"]
12
+ "include": ["src"]
15
13
  }