@contentstorage/core 0.3.6 → 0.3.7

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.
@@ -5,7 +5,7 @@ const DEFAULT_CONFIG = {
5
5
  typesOutputFile: path.join('src', 'generated', 'content-types.ts'),
6
6
  };
7
7
  export async function loadConfig() {
8
- const configPath = path.resolve(process.cwd(), 'contentstorage.config.ts'); // Look in user's current working dir
8
+ const configPath = path.resolve(process.cwd(), 'contentstorage.config.js'); // Look in user's current working dir
9
9
  let userConfig = {};
10
10
  if (fs.existsSync(configPath)) {
11
11
  try {
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@contentstorage/core",
3
3
  "author": "Kaido Hussar <kaidohus@gmail.com>",
4
4
  "homepage": "https://contentstorage.app",
5
- "version": "0.3.6",
5
+ "version": "0.3.7",
6
6
  "type": "module",
7
7
  "description": "Fetch content from contentstorage and generate TypeScript types",
8
8
  "module": "dist/index.js",