@kernocal/validate-store 0.1.6 → 0.1.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.
package/README.md CHANGED
@@ -32,7 +32,7 @@ export default defineConfig({
32
32
  modules: ['@kernocal/wxt-validate-store'],
33
33
  validateStore: {
34
34
  enabled: true,
35
- storeDataSrc: './store/storeData',
35
+ storeDataSrc: './store/data',
36
36
  storeExportsDir: './store/exports',
37
37
  },
38
38
  });
@@ -40,4 +40,4 @@ export default defineConfig({
40
40
 
41
41
  ## Store Data
42
42
 
43
- Your `storeData` module should export a `storeData` object conforming to the `StoreDetails` type. See the exported types for the full schema.
43
+ Your `data` module should export a `storeData` object conforming to the `StoreDetails` type. See the exported types for the full schema.
package/dist/index.d.ts CHANGED
@@ -55,7 +55,7 @@ interface ValidateStoreOptions {
55
55
  /**
56
56
  * Path to the store data module (without extension), resolved from root
57
57
  *
58
- * @default '<root>/store/storeData'
58
+ * @default '<root>/store/data'
59
59
  */
60
60
  storeDataSrc?: string;
61
61
  /**
package/dist/index.js CHANGED
@@ -102,7 +102,7 @@ var src_default = defineWxtModule({
102
102
  async setup(wxt, options) {
103
103
  const parsedOptions = defu(options, {
104
104
  enabled: true,
105
- storeDataSrc: resolve(wxt.config.root, "store/storeData"),
105
+ storeDataSrc: resolve(wxt.config.root, "store/data"),
106
106
  storeExportsDir: resolve(wxt.config.root, "store/exports")
107
107
  });
108
108
  if (!parsedOptions.enabled) return wxt.logger.warn("`[validate-store]` module disabled");
package/package.json CHANGED
@@ -10,7 +10,7 @@
10
10
  "wxt-module"
11
11
  ],
12
12
  "license": "MIT",
13
- "version": "0.1.6",
13
+ "version": "0.1.7",
14
14
  "type": "module",
15
15
  "module": "./dist/index.js",
16
16
  "types": "./dist/index.d.ts",