Fix typescript errors

This commit is contained in:
Justin Hutchings
2023-01-20 00:41:22 +00:00
parent e15547e52e
commit 05ff2bfe02
5 changed files with 42 additions and 15 deletions
Generated Vendored
+4 -8
View File
@@ -23923,11 +23923,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod }; return (mod && mod.__esModule) ? mod : { "default": mod };
}; };
Object.defineProperty(exports, "__esModule", ({ value: true })); Object.defineProperty(exports, "__esModule", ({ value: true }));
const core = __nccwpck_require__(2186); const github_1 = __importDefault(__nccwpck_require__(5438));
const github = __nccwpck_require__(5438);
const fs = __nccwpck_require__(7147);
const glob = __nccwpck_require__(1957);
const yaml = __nccwpck_require__(4083);
const dependency_submission_toolkit_1 = __nccwpck_require__(9810); const dependency_submission_toolkit_1 = __nccwpck_require__(9810);
const condaParser_1 = __importDefault(__nccwpck_require__(2120)); const condaParser_1 = __importDefault(__nccwpck_require__(2120));
function run() { function run() {
@@ -23937,9 +23933,9 @@ function run() {
name: "conda-dependency-submission-action", name: "conda-dependency-submission-action",
version: "0.0.1", version: "0.0.1",
url: "https://github.com/jhutchings1/conda-dependency-submission-action", url: "https://github.com/jhutchings1/conda-dependency-submission-action",
}, github.context, { }, github_1.default.context, {
correlator: `${github.context.job}`, correlator: `${github_1.default.context.job}`,
id: github.context.runId.toString() id: github_1.default.context.runId.toString()
}); });
manifests === null || manifests === void 0 ? void 0 : manifests.forEach(manifest => { manifests === null || manifests === void 0 ? void 0 : manifests.forEach(manifest => {
snapshot.addManifest(manifest); snapshot.addManifest(manifest);
Generated Vendored
+1 -1
View File
File diff suppressed because one or more lines are too long
+3 -6
View File
@@ -1,8 +1,5 @@
const core = require('@actions/core'); import core from '@actions/core';
const github = require('@actions/github'); import github from '@actions/github';
const fs = require('fs');
const glob = require('glob');
const yaml = require('yaml');
import { import {
PackageCache, PackageCache,
@@ -11,7 +8,7 @@ import {
Snapshot, Snapshot,
Manifest, Manifest,
submitSnapshot submitSnapshot
} from '@github/dependency-submission-toolkit' } from '@github/dependency-submission-toolkit';
import CondaParser from './condaParser'; import CondaParser from './condaParser';
+33
View File
@@ -16,6 +16,7 @@
"yaml": "^2.2.1" "yaml": "^2.2.1"
}, },
"devDependencies": { "devDependencies": {
"@types/glob": "^8.0.0",
"@types/jest": "^29.2.6", "@types/jest": "^29.2.6",
"@vercel/ncc": "^0.36.0", "@vercel/ncc": "^0.36.0",
"eslint": "^8.29.0", "eslint": "^8.29.0",
@@ -1314,6 +1315,16 @@
"integrity": "sha512-rr+OQyAjxze7GgWrSaJwydHStIhHq2lvY3BOC2Mj7KnzI7XK0Uw1TOOdI9lDoajEbSWLiYgoo4f1R51erQfhPQ==", "integrity": "sha512-rr+OQyAjxze7GgWrSaJwydHStIhHq2lvY3BOC2Mj7KnzI7XK0Uw1TOOdI9lDoajEbSWLiYgoo4f1R51erQfhPQ==",
"dev": true "dev": true
}, },
"node_modules/@types/glob": {
"version": "8.0.0",
"resolved": "https://registry.npmjs.org/@types/glob/-/glob-8.0.0.tgz",
"integrity": "sha512-l6NQsDDyQUVeoTynNpC9uRvCUint/gSUXQA2euwmTuWGvPY5LSDUu6tkCtJB2SvGQlJQzLaKqcGZP4//7EDveA==",
"dev": true,
"dependencies": {
"@types/minimatch": "*",
"@types/node": "*"
}
},
"node_modules/@types/graceful-fs": { "node_modules/@types/graceful-fs": {
"version": "4.1.5", "version": "4.1.5",
"resolved": "https://registry.npmjs.org/@types/graceful-fs/-/graceful-fs-4.1.5.tgz", "resolved": "https://registry.npmjs.org/@types/graceful-fs/-/graceful-fs-4.1.5.tgz",
@@ -1357,6 +1368,12 @@
"pretty-format": "^29.0.0" "pretty-format": "^29.0.0"
} }
}, },
"node_modules/@types/minimatch": {
"version": "5.1.2",
"resolved": "https://registry.npmjs.org/@types/minimatch/-/minimatch-5.1.2.tgz",
"integrity": "sha512-K0VQKziLUWkVKiRVrx4a40iPaxTUefQmjtkQofBkYRcoaaL/8rhwDWww9qWbrgicNOgnpIsMxyNIUM4+n6dUIA==",
"dev": true
},
"node_modules/@types/node": { "node_modules/@types/node": {
"version": "18.11.11", "version": "18.11.11",
"resolved": "https://registry.npmjs.org/@types/node/-/node-18.11.11.tgz", "resolved": "https://registry.npmjs.org/@types/node/-/node-18.11.11.tgz",
@@ -5742,6 +5759,16 @@
"integrity": "sha512-rr+OQyAjxze7GgWrSaJwydHStIhHq2lvY3BOC2Mj7KnzI7XK0Uw1TOOdI9lDoajEbSWLiYgoo4f1R51erQfhPQ==", "integrity": "sha512-rr+OQyAjxze7GgWrSaJwydHStIhHq2lvY3BOC2Mj7KnzI7XK0Uw1TOOdI9lDoajEbSWLiYgoo4f1R51erQfhPQ==",
"dev": true "dev": true
}, },
"@types/glob": {
"version": "8.0.0",
"resolved": "https://registry.npmjs.org/@types/glob/-/glob-8.0.0.tgz",
"integrity": "sha512-l6NQsDDyQUVeoTynNpC9uRvCUint/gSUXQA2euwmTuWGvPY5LSDUu6tkCtJB2SvGQlJQzLaKqcGZP4//7EDveA==",
"dev": true,
"requires": {
"@types/minimatch": "*",
"@types/node": "*"
}
},
"@types/graceful-fs": { "@types/graceful-fs": {
"version": "4.1.5", "version": "4.1.5",
"resolved": "https://registry.npmjs.org/@types/graceful-fs/-/graceful-fs-4.1.5.tgz", "resolved": "https://registry.npmjs.org/@types/graceful-fs/-/graceful-fs-4.1.5.tgz",
@@ -5785,6 +5812,12 @@
"pretty-format": "^29.0.0" "pretty-format": "^29.0.0"
} }
}, },
"@types/minimatch": {
"version": "5.1.2",
"resolved": "https://registry.npmjs.org/@types/minimatch/-/minimatch-5.1.2.tgz",
"integrity": "sha512-K0VQKziLUWkVKiRVrx4a40iPaxTUefQmjtkQofBkYRcoaaL/8rhwDWww9qWbrgicNOgnpIsMxyNIUM4+n6dUIA==",
"dev": true
},
"@types/node": { "@types/node": {
"version": "18.11.11", "version": "18.11.11",
"resolved": "https://registry.npmjs.org/@types/node/-/node-18.11.11.tgz", "resolved": "https://registry.npmjs.org/@types/node/-/node-18.11.11.tgz",
+1
View File
@@ -35,6 +35,7 @@
"yaml": "^2.2.1" "yaml": "^2.2.1"
}, },
"devDependencies": { "devDependencies": {
"@types/glob": "^8.0.0",
"@types/jest": "^29.2.6", "@types/jest": "^29.2.6",
"@vercel/ncc": "^0.36.0", "@vercel/ncc": "^0.36.0",
"eslint": "^8.29.0", "eslint": "^8.29.0",