kerria 0.2.0 → 0.2.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/dist/index.js +3 -1
  2. package/package.json +5 -5
package/dist/index.js CHANGED
@@ -121,7 +121,9 @@ function createProcessor(sign, setup) {
121
121
  return true;
122
122
  }
123
123
  function outputLoads() {
124
- fs.outputJsonSync(cachePath, caches);
124
+ if (isDev) {
125
+ fs.outputJsonSync(cachePath, caches);
126
+ }
125
127
  for (const info of ctx.loadInfos) {
126
128
  info.output();
127
129
  }
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "kerria",
3
3
  "type": "module",
4
- "version": "0.2.0",
5
- "description": "",
4
+ "version": "0.2.1",
5
+ "description": "Composable source processor",
6
6
  "author": "KazariEX",
7
7
  "license": "MIT",
8
8
  "repository": "KazariEX/kerria",
@@ -18,12 +18,12 @@
18
18
  ],
19
19
  "dependencies": {
20
20
  "chokidar": "^4.0.3",
21
- "consola": "^3.4.0",
21
+ "consola": "^3.4.2",
22
22
  "crypto-es": "^2.1.0",
23
23
  "find-cache-dir": "^5.0.0",
24
24
  "fs-extra": "^11.3.0",
25
- "pathe": "^2.0.2",
26
- "tinyglobby": "^0.2.10"
25
+ "pathe": "^2.0.3",
26
+ "tinyglobby": "^0.2.12"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@types/fs-extra": "^11.0.4"