@citolab/tspci-tao 2.4.8 → 2.5.1-alpha.0

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,16 +1,16 @@
1
1
  {
2
2
  "name": "@citolab/tspci-tao",
3
- "version": "2.4.8",
3
+ "version": "2.5.1-alpha.0",
4
4
  "description": "create a zip file that can be imported into TAO",
5
5
  "author": "patrick <patrick.deklein@cito.nl>, Marcel Hoekstra <marcel.hoekstra@cito.nl>",
6
6
  "repository": "",
7
7
  "type": "module",
8
8
  "types": "types/index.d.ts",
9
9
  "devDependencies": {
10
- "archiver": "^5.3.0",
11
- "chalk": "5.2.0",
12
- "inquirer": "9.2.0"
10
+ "archiver": "^7.0.1",
11
+ "chalk": "5.3.0",
12
+ "inquirer": "11.0.1"
13
13
  },
14
14
  "scripts": {},
15
- "gitHead": "f9ebad22532357e6a981e8083843f6cd9c6c5fc0"
15
+ "gitHead": "ca12b53627968796843a752ab994b6b2e7a39cf8"
16
16
  }
@@ -73,7 +73,7 @@ export const bundle = () => {
73
73
 
74
74
  // remove directory to be sure it's empty
75
75
  if (fs.existsSync(outputDirectoryTemp)) {
76
- fs.rmdirSync(outputDirectoryTemp, { recursive: true });
76
+ fs.rmSync(outputDirectoryTemp, { recursive: true });
77
77
  }
78
78
  // re-create the directory
79
79
  if (!fs.existsSync(outputDirectory)) {
@@ -82,7 +82,7 @@ export const bundle = () => {
82
82
  if (!fs.existsSync(outputDirectoryTemp)) {
83
83
  mkdirSync(outputDirectoryTemp);
84
84
  } else {
85
- fs.rmdirSync(outputDirectoryTemp, { recursive: true });
85
+ fs.rmSync(outputDirectoryTemp, { recursive: true });
86
86
  mkdirSync(outputDirectoryTemp);
87
87
  }
88
88
 
@@ -173,7 +173,7 @@ export const bundle = () => {
173
173
  return `${cv.name} : function(interaction, value){
174
174
  //update the pci property value:
175
175
  interaction.prop('${cv.name}', value);
176
-
176
+
177
177
  //trigger change event:
178
178
  interaction.triggerPci('${cv.name}', value);
179
179
  }`;