@datapos/datapos-development 0.3.311 → 0.3.314
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.
|
@@ -10,7 +10,8 @@ declare function logOperationSuccess(message: string): void;
|
|
|
10
10
|
declare function logStepHeader(text: string): void;
|
|
11
11
|
declare function readJSONFile<T>(path: string): Promise<T>;
|
|
12
12
|
declare function readTextFile(path: string): Promise<string>;
|
|
13
|
+
declare function removeFile(path: string): Promise<void>;
|
|
13
14
|
declare function spawnCommand(label: string, command: string, arguments_?: string[], ignoreErrors?: boolean): Promise<void>;
|
|
14
15
|
declare function writeJSONFile(path: string, data: object): Promise<void>;
|
|
15
16
|
declare function writeTextFile(path: string, data: string): Promise<void>;
|
|
16
|
-
export { execCommand, extractOperationsFromSource, getDirectoryEntries, getStatsForPath, loadEnvironmentVariables, logOperationHeader, logOperationSuccess, logStepHeader, readJSONFile, readTextFile, spawnCommand, writeJSONFile, writeTextFile };
|
|
17
|
+
export { execCommand, extractOperationsFromSource, getDirectoryEntries, getStatsForPath, loadEnvironmentVariables, logOperationHeader, logOperationSuccess, logStepHeader, readJSONFile, readTextFile, removeFile, spawnCommand, writeJSONFile, writeTextFile };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@datapos/datapos-development",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.314",
|
|
4
4
|
"description": "A library of utilities used to manage Data Positioning repositories.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Jonathan Terrell <terrell.jm@gmail.com>",
|
|
@@ -44,6 +44,7 @@
|
|
|
44
44
|
"@typescript-eslint/eslint-plugin": "^8.49.0",
|
|
45
45
|
"@typescript-eslint/parser": "^8.49.0",
|
|
46
46
|
"eslint": "^9.39.1",
|
|
47
|
+
"eslint-import-resolver-typescript": "^3.6.1",
|
|
47
48
|
"eslint-plugin-import": "^2.32.0",
|
|
48
49
|
"eslint-plugin-security": "^3.0.1",
|
|
49
50
|
"eslint-plugin-sonarjs": "^3.0.5",
|
|
@@ -70,19 +71,17 @@
|
|
|
70
71
|
"audit": "op run --env-file=.env -- node -e \"import('./dist/datapos-development.es.js').then(m => m.auditDependencies())\"",
|
|
71
72
|
"build": "node -e \"import('./dist/datapos-development.es.js').then(m => m.buildProject())\"",
|
|
72
73
|
"check": "node -e \"import('./dist/datapos-development.es.js').then(m => m.checkDependencies())\"",
|
|
73
|
-
"document": "node -e \"import('./dist/datapos-development.es.js').then(m => m.documentDependencies(['BSD-2-Clause','MIT']))\"",
|
|
74
|
+
"document": "op run --env-file=.env -- node -e \"import('./dist/datapos-development.es.js').then(m => m.documentDependencies(['BSD-2-Clause','MIT']))\"",
|
|
74
75
|
"format": "node -e \"import('./dist/datapos-development.es.js').then(m => m.formatCode())\"",
|
|
75
76
|
"lint": "node -e \"import('./dist/datapos-development.es.js').then(m => m.lintCode())\"",
|
|
76
|
-
"release": "node -e \"import('./dist/datapos-development.es.js').then(m => m.releaseProject())\"",
|
|
77
|
+
"release": "op run --env-file=.env -- node -e \"import('./dist/datapos-development.es.js').then(m => m.releaseProject())\"",
|
|
77
78
|
"sync": "node -e \"import('./dist/datapos-development.es.js').then(m => m.syncProjectWithGitHub())\"",
|
|
78
79
|
"test": "node -e \"import('./dist/datapos-development.es.js').then(m => m.testProject())\"",
|
|
79
80
|
"update": "node -e \"import('./dist/datapos-development.es.js').then(m => m.updateDataPosDependencies(['shared']))\"",
|
|
80
|
-
"___ts-to-zod": "npx ts-to-zod src/schemaTypes.ts src/schemaZOD.ts"
|
|
81
|
-
"op": "echo \"$(op read op://Secrets/OWASP_NVD_API_KEY/credential)\"",
|
|
82
|
-
"build:npmrc": "op run --env-file=.env -- sh -c 'echo \"registry=https://registry.npmjs.org/\\n//registry.npmjs.org/:_authToken=$NPM_TOKEN\" > .npmrc && npm publish && rm .npmrc'"
|
|
81
|
+
"___ts-to-zod": "npx ts-to-zod src/schemaTypes.ts src/schemaZOD.ts"
|
|
83
82
|
},
|
|
84
83
|
"engines": {
|
|
85
84
|
"node": ">=22.0.0",
|
|
86
85
|
"npm": ">=11.0.0"
|
|
87
86
|
}
|
|
88
|
-
}
|
|
87
|
+
}
|