@datapos/datapos-development 0.3.15 → 0.3.16

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/index.js +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -10,7 +10,7 @@ const exec = util.promisify(require('child_process').exec);
10
10
  async function buildConfig(directoryPath) {
11
11
  const configJSON = await readJSONFile(`${directoryPath || ''}config.json`);
12
12
  const packageJSON = await readJSONFile('package.json');
13
- await fs.writeFile('src/config.json', JSON.stringify({ ...configJSON, id: packageJSON.name, version: packageJSON.version }, undefined, 4));
13
+ await fs.writeFile(`${directoryPath || ''}config.json`, JSON.stringify({ ...configJSON, id: packageJSON.name, version: packageJSON.version }, undefined, 4));
14
14
  }
15
15
 
16
16
  // Operations - Build Public Directory Index
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "index.js",
7
- "version": "0.3.15",
7
+ "version": "0.3.16",
8
8
  "devDependencies": {
9
9
  "eslint": "^9.28.0",
10
10
  "nanoid": "^5.1.5",