@pittica/google-business-intelligence-csv 1.4.4 → 1.4.6

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/dist/index.js CHANGED
@@ -12,6 +12,9 @@
12
12
  // See the License for the specific language governing permissions and
13
13
  // limitations under the License.
14
14
 
15
+ const {
16
+ config
17
+ } = require("@pittica/google-business-intelligence-configuration");
15
18
  const {
16
19
  bulk
17
20
  } = require("./scripts/bulk");
@@ -42,9 +45,6 @@ const {
42
45
  const {
43
46
  unlistened
44
47
  } = require("./scripts/unlistened");
45
- const {
46
- config
47
- } = require("./config");
48
48
  exports.config = config;
49
49
  exports.scripts = {
50
50
  bulk,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pittica/google-business-intelligence-csv",
3
3
  "private": false,
4
- "version": "1.4.4",
4
+ "version": "1.4.6",
5
5
  "description": "CSV importer for business intelligence for Google Cloud.",
6
6
  "main": "dist/index.js",
7
7
  "scripts": {
@@ -26,15 +26,16 @@
26
26
  "homepage": "https://github.com/pittica/google-business-intelligence-csv#README.md",
27
27
  "dependencies": {
28
28
  "@pittica/google-bigquery-helpers": "^1.4.6",
29
+ "@pittica/google-business-intelligence-configuration": "^1.0.1",
29
30
  "@pittica/google-business-intelligence-helpers": "^1.12.7",
30
31
  "@pittica/google-cloud-storage-helpers": "^1.3.6",
31
32
  "@pittica/logger-helpers": "^1.0.5",
32
- "date-and-time": "^4.1.2"
33
+ "date-and-time": "^4.3.0"
33
34
  },
34
35
  "devDependencies": {
35
36
  "@babel/cli": "^7.28.6",
36
37
  "mkdirp": "^3.0.1",
37
- "prettier": "^3.7.4",
38
- "rimraf": "^6.1.2"
38
+ "prettier": "^3.8.1",
39
+ "rimraf": "^6.1.3"
39
40
  }
40
41
  }
package/dist/config.js DELETED
@@ -1,52 +0,0 @@
1
- // Copyright 2024-2026 Pittica S.r.l.
2
- //
3
- // Licensed under the Apache License, Version 2.0 (the "License");
4
- // you may not use this file except in compliance with the License.
5
- // You may obtain a copy of the License at
6
- //
7
- // http://www.apache.org/licenses/LICENSE-2.0
8
- //
9
- // Unless required by applicable law or agreed to in writing, software
10
- // distributed under the License is distributed on an "AS IS" BASIS,
11
- // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- // See the License for the specific language governing permissions and
13
- // limitations under the License.
14
-
15
- const path = require("path");
16
-
17
- /**
18
- * Configuration.
19
- *
20
- * @param {object} config Configuration parameters.
21
- */
22
- exports.config = (config = {}) => {
23
- const initial = {
24
- bucket: {
25
- upload: "upload",
26
- temporary: "temp",
27
- archive: "archive"
28
- },
29
- pubSub: {
30
- message: "upload"
31
- },
32
- dataset: {
33
- temporary: {
34
- name: "tmp",
35
- prefix: "tmp_csv_",
36
- location: "us-central1"
37
- }
38
- },
39
- files: {
40
- json: path.join(process.cwd(), "json"),
41
- sql: path.join(process.cwd(), "sql"),
42
- bootstrap: null
43
- },
44
- order: [],
45
- bootstrap: []
46
- };
47
- global.config = {
48
- ...initial,
49
- ...config
50
- };
51
- return global.config;
52
- };