@datapos/datapos-development 0.3.309 → 0.3.311
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,8 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
*/
|
|
1
|
+
import { PackageJson } from 'type-fest';
|
|
2
|
+
import { ModuleConfig } from '@datapos/datapos-shared';
|
|
4
3
|
declare function putState(): Promise<void>;
|
|
5
4
|
declare function uploadDirectoryToR2(sourceDirectory: string, uploadDirectory: string): Promise<void>;
|
|
6
|
-
declare function uploadModuleConfigToDO(): Promise<void>;
|
|
7
|
-
declare function uploadModuleToR2(uploadDirectoryPath: string): Promise<void>;
|
|
5
|
+
declare function uploadModuleConfigToDO(configJSON: ModuleConfig): Promise<void>;
|
|
6
|
+
declare function uploadModuleToR2(packageJSON: PackageJson, uploadDirectoryPath: string): Promise<void>;
|
|
8
7
|
export { putState, uploadDirectoryToR2, uploadModuleConfigToDO, uploadModuleToR2 };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@datapos/datapos-development",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.311",
|
|
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>",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"zod": "^4.1.13"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@datapos/eslint-config-datapos": "^1.0.
|
|
41
|
+
"@datapos/eslint-config-datapos": "^1.0.16",
|
|
42
42
|
"@types/eslint-plugin-security": "^3.0.0",
|
|
43
43
|
"@types/node": "^24.10.2",
|
|
44
44
|
"@typescript-eslint/eslint-plugin": "^8.49.0",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"vitest": "^4.0.15"
|
|
68
68
|
},
|
|
69
69
|
"scripts": {
|
|
70
|
-
"audit": "node -e \"import('./dist/datapos-development.es.js').then(m => m.auditDependencies())\"",
|
|
70
|
+
"audit": "op run --env-file=.env -- node -e \"import('./dist/datapos-development.es.js').then(m => m.auditDependencies())\"",
|
|
71
71
|
"build": "node -e \"import('./dist/datapos-development.es.js').then(m => m.buildProject())\"",
|
|
72
72
|
"check": "node -e \"import('./dist/datapos-development.es.js').then(m => m.checkDependencies())\"",
|
|
73
73
|
"document": "node -e \"import('./dist/datapos-development.es.js').then(m => m.documentDependencies(['BSD-2-Clause','MIT']))\"",
|
|
@@ -77,10 +77,12 @@
|
|
|
77
77
|
"sync": "node -e \"import('./dist/datapos-development.es.js').then(m => m.syncProjectWithGitHub())\"",
|
|
78
78
|
"test": "node -e \"import('./dist/datapos-development.es.js').then(m => m.testProject())\"",
|
|
79
79
|
"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"
|
|
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
83
|
},
|
|
82
84
|
"engines": {
|
|
83
85
|
"node": ">=22.0.0",
|
|
84
86
|
"npm": ">=11.0.0"
|
|
85
87
|
}
|
|
86
|
-
}
|
|
88
|
+
}
|
|
File without changes
|