@nshiab/setup-data-project 1.0.25 → 1.0.27

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.
@@ -1 +1 @@
1
- {"version":3,"file":"createFolderStructure.d.ts","sourceRoot":"","sources":["../../src/helpers/createFolderStructure.ts"],"names":[],"mappings":"AAKA,wBAAsB,qBAAqB,CAAC,gBAAgB,EAAE,MAAM,EAAE,mBA4CrE"}
1
+ {"version":3,"file":"createFolderStructure.d.ts","sourceRoot":"","sources":["../../src/helpers/createFolderStructure.ts"],"names":[],"mappings":"AAKA,wBAAsB,qBAAqB,CAAC,gBAAgB,EAAE,MAAM,EAAE,mBA8CrE"}
@@ -29,6 +29,8 @@ const table = sdb.newTable();
29
29
  // Do your magic here!
30
30
  // await table.loadData("./sda/data/...");
31
31
 
32
+ await table.logTable();
33
+
32
34
  await sdb.done();
33
35
  `;
34
36
  }
@@ -6,7 +6,7 @@ export function getProjectTasks() {
6
6
  ? "deno run -A --env --watch sda/main.ts"
7
7
  : runtime === "bun"
8
8
  ? "bun run --watch sda/main.ts"
9
- : "node --env-file=.env --watch --experimental-strip-types sda/main.ts",
9
+ : "node --env-file-if-exists=.env --watch --experimental-strip-types sda/main.ts",
10
10
  clean: "rm -rf .sda-cache .journalism-cache .tmp",
11
11
  };
12
12
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nshiab/setup-data-project",
3
- "version": "1.0.25",
3
+ "version": "1.0.27",
4
4
  "description": "Quickly kick off your data project using the simple-data-analysis and journalism libraries.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -1 +1 @@
1
- {"version":3,"file":"createFolderStructure.d.ts","sourceRoot":"","sources":["../../src/helpers/createFolderStructure.ts"],"names":[],"mappings":"AAKA,wBAAsB,qBAAqB,CAAC,gBAAgB,EAAE,MAAM,EAAE,mBA4CrE"}
1
+ {"version":3,"file":"createFolderStructure.d.ts","sourceRoot":"","sources":["../../src/helpers/createFolderStructure.ts"],"names":[],"mappings":"AAKA,wBAAsB,qBAAqB,CAAC,gBAAgB,EAAE,MAAM,EAAE,mBA8CrE"}
@@ -32,6 +32,8 @@ const table = sdb.newTable();
32
32
  // Do your magic here!
33
33
  // await table.loadData("./sda/data/...");
34
34
 
35
+ await table.logTable();
36
+
35
37
  await sdb.done();
36
38
  `;
37
39
  }
@@ -9,7 +9,7 @@ function getProjectTasks() {
9
9
  ? "deno run -A --env --watch sda/main.ts"
10
10
  : runtime === "bun"
11
11
  ? "bun run --watch sda/main.ts"
12
- : "node --env-file=.env --watch --experimental-strip-types sda/main.ts",
12
+ : "node --env-file-if-exists=.env --watch --experimental-strip-types sda/main.ts",
13
13
  clean: "rm -rf .sda-cache .journalism-cache .tmp",
14
14
  };
15
15
  }