@nshiab/setup-data-project 1.0.15 → 1.0.18

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,5 +1,6 @@
1
1
  export declare const PACKAGE_OPTIONS: {
2
2
  value: string;
3
3
  label: string;
4
+ hint: string | undefined;
4
5
  }[];
5
6
  //# sourceMappingURL=packageOptions.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"packageOptions.d.ts","sourceRoot":"","sources":["../../src/helpers/packageOptions.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe;;;GAGzB,CAAC"}
1
+ {"version":3,"file":"packageOptions.d.ts","sourceRoot":"","sources":["../../src/helpers/packageOptions.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe;;;;GAIzB,CAAC"}
@@ -2,4 +2,5 @@ import { SUPPORTED_PACKAGES } from "./packageRegistry.js";
2
2
  export const PACKAGE_OPTIONS = SUPPORTED_PACKAGES.map((pkg) => ({
3
3
  value: pkg.value,
4
4
  label: pkg.label,
5
+ hint: pkg.hint,
5
6
  }));
@@ -2,6 +2,7 @@ export interface PackageConfig {
2
2
  value: string;
3
3
  label: string;
4
4
  type: "sda" | "journalism" | "other";
5
+ hint?: string;
5
6
  }
6
7
  export declare const SUPPORTED_PACKAGES: PackageConfig[];
7
8
  //# sourceMappingURL=packageRegistry.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"packageRegistry.d.ts","sourceRoot":"","sources":["../../src/helpers/packageRegistry.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,KAAK,GAAG,YAAY,GAAG,OAAO,CAAC;CACtC;AAED,eAAO,MAAM,kBAAkB,EAAE,aAAa,EA6D7C,CAAC"}
1
+ {"version":3,"file":"packageRegistry.d.ts","sourceRoot":"","sources":["../../src/helpers/packageRegistry.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,KAAK,GAAG,YAAY,GAAG,OAAO,CAAC;IACrC,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,eAAO,MAAM,kBAAkB,EAAE,aAAa,EAwF7C,CAAC"}
@@ -1,62 +1,80 @@
1
1
  export const SUPPORTED_PACKAGES = [
2
+ {
3
+ value: "@nshiab/simple-data-analysis-core",
4
+ label: "simple-data-analysis-core",
5
+ type: "sda",
6
+ hint: "No fluff. Great for constrained environments, like a cheap server.",
7
+ },
2
8
  {
3
9
  value: "@nshiab/simple-data-analysis",
4
10
  label: "simple-data-analysis",
5
11
  type: "sda",
12
+ hint: "All the core functionality, plus methods for dataviz, AI, Google sheets, etc.",
6
13
  },
7
14
  {
8
15
  value: "@nshiab/journalism-ai",
9
16
  label: "journalism-ai",
10
17
  type: "journalism",
18
+ hint: "Easily use AI local models with Ollama or remote models with Gemini/Vertex.",
11
19
  },
12
20
  {
13
- value: "@nshiab/journalism-climate",
14
- label: "journalism-climate",
21
+ value: "@nshiab/journalism-google",
22
+ label: "journalism-google",
15
23
  type: "journalism",
24
+ hint: "Push and retrieve data from Google Sheets, Google Bucket, and more.",
16
25
  },
17
26
  {
18
- value: "@nshiab/journalism-dataviz",
19
- label: "journalism-dataviz",
27
+ value: "@nshiab/journalism-web-scraping",
28
+ label: "journalism-web-scraping",
20
29
  type: "journalism",
30
+ hint: "Retrieve data from Statistics Canada tables, HTML table, download files...",
21
31
  },
22
32
  {
23
33
  value: "@nshiab/journalism-finance",
24
34
  label: "journalism-finance",
25
35
  type: "journalism",
36
+ hint: "Retrieve financial data, calculate Canadian mortgage payments and taxes...",
26
37
  },
27
38
  {
28
39
  value: "@nshiab/journalism-format",
29
40
  label: "journalism-format",
30
41
  type: "journalism",
42
+ hint: "Easily format dates, numbers, currencies...",
31
43
  },
32
44
  {
33
- value: "@nshiab/journalism-geo",
34
- label: "journalism-geo",
45
+ value: "@nshiab/journalism-climate",
46
+ label: "journalism-climate",
35
47
  type: "journalism",
48
+ hint: "Retrieve data from Environment Canada APIs and more.",
36
49
  },
37
50
  {
38
- value: "@nshiab/journalism-google",
39
- label: "journalism-google",
51
+ value: "@nshiab/journalism-dataviz",
52
+ label: "journalism-dataviz",
53
+ type: "journalism",
54
+ hint: "Render charts/maps with Observable Plot or directly in the terminal.",
55
+ },
56
+ {
57
+ value: "@nshiab/journalism-geo",
58
+ label: "journalism-geo",
40
59
  type: "journalism",
60
+ hint: "Calculate distances, transform 2D coordinates to 3D, wrangle GeoTIFF files...",
41
61
  },
42
62
  {
43
63
  value: "@nshiab/journalism-statistics",
44
64
  label: "journalism-statistics",
45
65
  type: "journalism",
66
+ hint: "Functions for statistical tests, clustering, random path generation...",
46
67
  },
47
68
  {
48
69
  value: "@nshiab/journalism-web",
49
70
  label: "journalism-web",
50
71
  type: "journalism",
51
- },
52
- {
53
- value: "@nshiab/journalism-web-scraping",
54
- label: "journalism-web-scraping",
55
- type: "journalism",
72
+ hint: "Web related functions, including downloading data as CSV, extracting ZIP files to URLs...",
56
73
  },
57
74
  {
58
75
  value: "@nshiab/journalism-extras",
59
76
  label: "journalism-extras",
60
77
  type: "journalism",
78
+ hint: "Functions to zip/unzip, sleep, reencode files, create nested directories...",
61
79
  },
62
80
  ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nshiab/setup-data-project",
3
- "version": "1.0.15",
3
+ "version": "1.0.18",
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,5 +1,6 @@
1
1
  export declare const PACKAGE_OPTIONS: {
2
2
  value: string;
3
3
  label: string;
4
+ hint: string | undefined;
4
5
  }[];
5
6
  //# sourceMappingURL=packageOptions.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"packageOptions.d.ts","sourceRoot":"","sources":["../../src/helpers/packageOptions.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe;;;GAGzB,CAAC"}
1
+ {"version":3,"file":"packageOptions.d.ts","sourceRoot":"","sources":["../../src/helpers/packageOptions.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe;;;;GAIzB,CAAC"}
@@ -5,4 +5,5 @@ const packageRegistry_js_1 = require("./packageRegistry.js");
5
5
  exports.PACKAGE_OPTIONS = packageRegistry_js_1.SUPPORTED_PACKAGES.map((pkg) => ({
6
6
  value: pkg.value,
7
7
  label: pkg.label,
8
+ hint: pkg.hint,
8
9
  }));
@@ -2,6 +2,7 @@ export interface PackageConfig {
2
2
  value: string;
3
3
  label: string;
4
4
  type: "sda" | "journalism" | "other";
5
+ hint?: string;
5
6
  }
6
7
  export declare const SUPPORTED_PACKAGES: PackageConfig[];
7
8
  //# sourceMappingURL=packageRegistry.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"packageRegistry.d.ts","sourceRoot":"","sources":["../../src/helpers/packageRegistry.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,KAAK,GAAG,YAAY,GAAG,OAAO,CAAC;CACtC;AAED,eAAO,MAAM,kBAAkB,EAAE,aAAa,EA6D7C,CAAC"}
1
+ {"version":3,"file":"packageRegistry.d.ts","sourceRoot":"","sources":["../../src/helpers/packageRegistry.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,KAAK,GAAG,YAAY,GAAG,OAAO,CAAC;IACrC,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,eAAO,MAAM,kBAAkB,EAAE,aAAa,EAwF7C,CAAC"}
@@ -2,64 +2,82 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SUPPORTED_PACKAGES = void 0;
4
4
  exports.SUPPORTED_PACKAGES = [
5
+ {
6
+ value: "@nshiab/simple-data-analysis-core",
7
+ label: "simple-data-analysis-core",
8
+ type: "sda",
9
+ hint: "No fluff. Great for constrained environments, like a cheap server.",
10
+ },
5
11
  {
6
12
  value: "@nshiab/simple-data-analysis",
7
13
  label: "simple-data-analysis",
8
14
  type: "sda",
15
+ hint: "All the core functionality, plus methods for dataviz, AI, Google sheets, etc.",
9
16
  },
10
17
  {
11
18
  value: "@nshiab/journalism-ai",
12
19
  label: "journalism-ai",
13
20
  type: "journalism",
21
+ hint: "Easily use AI local models with Ollama or remote models with Gemini/Vertex.",
14
22
  },
15
23
  {
16
- value: "@nshiab/journalism-climate",
17
- label: "journalism-climate",
24
+ value: "@nshiab/journalism-google",
25
+ label: "journalism-google",
18
26
  type: "journalism",
27
+ hint: "Push and retrieve data from Google Sheets, Google Bucket, and more.",
19
28
  },
20
29
  {
21
- value: "@nshiab/journalism-dataviz",
22
- label: "journalism-dataviz",
30
+ value: "@nshiab/journalism-web-scraping",
31
+ label: "journalism-web-scraping",
23
32
  type: "journalism",
33
+ hint: "Retrieve data from Statistics Canada tables, HTML table, download files...",
24
34
  },
25
35
  {
26
36
  value: "@nshiab/journalism-finance",
27
37
  label: "journalism-finance",
28
38
  type: "journalism",
39
+ hint: "Retrieve financial data, calculate Canadian mortgage payments and taxes...",
29
40
  },
30
41
  {
31
42
  value: "@nshiab/journalism-format",
32
43
  label: "journalism-format",
33
44
  type: "journalism",
45
+ hint: "Easily format dates, numbers, currencies...",
34
46
  },
35
47
  {
36
- value: "@nshiab/journalism-geo",
37
- label: "journalism-geo",
48
+ value: "@nshiab/journalism-climate",
49
+ label: "journalism-climate",
38
50
  type: "journalism",
51
+ hint: "Retrieve data from Environment Canada APIs and more.",
39
52
  },
40
53
  {
41
- value: "@nshiab/journalism-google",
42
- label: "journalism-google",
54
+ value: "@nshiab/journalism-dataviz",
55
+ label: "journalism-dataviz",
56
+ type: "journalism",
57
+ hint: "Render charts/maps with Observable Plot or directly in the terminal.",
58
+ },
59
+ {
60
+ value: "@nshiab/journalism-geo",
61
+ label: "journalism-geo",
43
62
  type: "journalism",
63
+ hint: "Calculate distances, transform 2D coordinates to 3D, wrangle GeoTIFF files...",
44
64
  },
45
65
  {
46
66
  value: "@nshiab/journalism-statistics",
47
67
  label: "journalism-statistics",
48
68
  type: "journalism",
69
+ hint: "Functions for statistical tests, clustering, random path generation...",
49
70
  },
50
71
  {
51
72
  value: "@nshiab/journalism-web",
52
73
  label: "journalism-web",
53
74
  type: "journalism",
54
- },
55
- {
56
- value: "@nshiab/journalism-web-scraping",
57
- label: "journalism-web-scraping",
58
- type: "journalism",
75
+ hint: "Web related functions, including downloading data as CSV, extracting ZIP files to URLs...",
59
76
  },
60
77
  {
61
78
  value: "@nshiab/journalism-extras",
62
79
  label: "journalism-extras",
63
80
  type: "journalism",
81
+ hint: "Functions to zip/unzip, sleep, reencode files, create nested directories...",
64
82
  },
65
83
  ];