@citolab/tspci-qbci 2.4.1 → 2.4.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@citolab/tspci-qbci",
3
- "version": "2.4.1",
3
+ "version": "2.4.2",
4
4
  "description": "create a .ci file that can be imported into Questify",
5
5
  "author": "patrick <patrick.deklein@cito.nl>, Marcel Hoekstra <marcel.hoekstra@cito.nl>",
6
6
  "repository": "",
@@ -10,7 +10,7 @@
10
10
  "archiver": "^5.3.0"
11
11
  },
12
12
  "scripts": {},
13
- "gitHead": "c40332cbf554eb2c8c958e8b83db568317378142",
13
+ "gitHead": "c8d87c1b9f0270864b9df9dc3afcf1937e6583d4",
14
14
  "publishConfig": {
15
15
  "access": "public"
16
16
  }
@@ -66,6 +66,9 @@ export const bundle = () => {
66
66
  const pciFile = config.main || "/dist/index.js";
67
67
 
68
68
  // pk: add .min. to the name else QB is gonna minify it and it BREAKS
69
+ if (!fs.existsSync(scriptPath)) {
70
+ fs.mkdirSync(scriptPath);
71
+ }
69
72
  fs.copyFileSync(path.join(PACKAGE_ROOT_PATH, pciFile), path.join(outputDirectoryTemp, "/ref/script/index.min.js"));
70
73
 
71
74
  // zip the folder