@gen3/toolsff 0.11.62 → 0.12.1
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.
|
@@ -6,8 +6,8 @@ import fetchRetry from 'fetch-retry';
|
|
|
6
6
|
import { fileURLToPath } from 'url';
|
|
7
7
|
import { dirname } from 'path';
|
|
8
8
|
|
|
9
|
-
const __filename = fileURLToPath(import.meta.url);
|
|
10
|
-
const __dirname = dirname(__filename);
|
|
9
|
+
const __filename$1 = fileURLToPath(import.meta.url);
|
|
10
|
+
const __dirname$1 = dirname(__filename$1);
|
|
11
11
|
const fetchWithRetry = fetchRetry(fetch);
|
|
12
12
|
const httpAgent = new Agent();
|
|
13
13
|
const httpsAgent = new Agent$1({
|
|
@@ -43,7 +43,7 @@ const main = ()=>{
|
|
|
43
43
|
out: {
|
|
44
44
|
type: 'string',
|
|
45
45
|
short: 'o',
|
|
46
|
-
default: `${__dirname}`
|
|
46
|
+
default: `${__dirname$1}`
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
});
|
package/dist/getSchema.esm.js
CHANGED
|
@@ -7,8 +7,8 @@ import fetchRetry from 'fetch-retry';
|
|
|
7
7
|
import { fileURLToPath } from 'url';
|
|
8
8
|
import { dirname } from 'path';
|
|
9
9
|
|
|
10
|
-
const __filename = fileURLToPath(import.meta.url);
|
|
11
|
-
const __dirname = dirname(__filename);
|
|
10
|
+
const __filename$1 = fileURLToPath(import.meta.url);
|
|
11
|
+
const __dirname$1 = dirname(__filename$1);
|
|
12
12
|
const fetchWithRetry = fetchRetry(fetch);
|
|
13
13
|
const getSubPath = (argPath = '')=>{
|
|
14
14
|
const addSlash = (path)=>`${path}/`.replace(/\/+$/, '/');
|
|
@@ -81,7 +81,7 @@ const main = ()=>{
|
|
|
81
81
|
out: {
|
|
82
82
|
type: 'string',
|
|
83
83
|
short: 'o',
|
|
84
|
-
default: `${__dirname}`
|
|
84
|
+
default: `${__dirname$1}`
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
87
|
});
|
|
@@ -102,7 +102,7 @@ const main = ()=>{
|
|
|
102
102
|
writeFileSync(schemaPath, JSON.stringify(schema, null, 2));
|
|
103
103
|
// Save user readable type system shorthand of schema
|
|
104
104
|
const graphQLSchema = buildClientSchema(schema.data);
|
|
105
|
-
writeFileSync(`${__dirname}/schema.graphql`, printSchema(graphQLSchema));
|
|
105
|
+
writeFileSync(`${__dirname$1}/schema.graphql`, printSchema(graphQLSchema));
|
|
106
106
|
}));
|
|
107
107
|
actionList.push(fetchJson(dictUrl).then((dict)=>{
|
|
108
108
|
if (!dict) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gen3/toolsff",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.12.1",
|
|
4
4
|
"description": "tools for processing Gen3 commons content: color theme, icons, sharedFilters",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"axios": "^1.8.2"
|
|
49
49
|
}
|
|
50
50
|
},
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "4fc1b98510b1cff532211d604b2fa47e171b34ad"
|
|
52
52
|
}
|