latest : init
This commit is contained in:
parent
ed325cfbba
commit
5c11bb5d06
@ -11,8 +11,8 @@
|
||||
"release": "turbo run build --filter=docs^... && changeset publish"
|
||||
},
|
||||
"devDependencies": {
|
||||
"prettier": "^3.2.5",
|
||||
"turbo": "^2.3.3"
|
||||
"prettier": "^3.4.2",
|
||||
"turbo": "^2.3.4"
|
||||
},
|
||||
"packageManager": "pnpm@8.15.6",
|
||||
"name": "design-system"
|
||||
|
||||
8
packages/osr-cli/dist/commands/exe.d.ts
vendored
8
packages/osr-cli/dist/commands/exe.d.ts
vendored
@ -1,8 +1,2 @@
|
||||
import * as CLI from 'yargs';
|
||||
export declare const register: (cli: CLI.Argv) => CLI.Argv<{
|
||||
debug: string;
|
||||
} & {
|
||||
command: unknown;
|
||||
} & {
|
||||
env_key: string;
|
||||
}>;
|
||||
export declare const register: (cli: CLI.Argv) => CLI.Argv<{}>;
|
||||
|
||||
6
packages/osr-cli/dist/commands/info.d.ts
vendored
6
packages/osr-cli/dist/commands/info.d.ts
vendored
@ -1,6 +1,2 @@
|
||||
import * as CLI from 'yargs';
|
||||
export declare const register: (cli: CLI.Argv) => CLI.Argv<{
|
||||
debug: string;
|
||||
} & {
|
||||
env_key: string;
|
||||
}>;
|
||||
export declare const register: (cli: CLI.Argv) => CLI.Argv<{}>;
|
||||
|
||||
2
packages/osr-commons/profile.d.ts
vendored
2
packages/osr-commons/profile.d.ts
vendored
@ -8,7 +8,7 @@ interface EnvConfig {
|
||||
export interface IProfile {
|
||||
includes: string[];
|
||||
variables: EnvVariables;
|
||||
env: {
|
||||
env?: {
|
||||
[key: string]: EnvConfig;
|
||||
};
|
||||
}
|
||||
|
||||
@ -17,7 +17,7 @@ interface EnvConfig {
|
||||
export interface IProfile {
|
||||
includes: string[]
|
||||
variables: EnvVariables
|
||||
env: {
|
||||
env?: {
|
||||
[key: string]: EnvConfig
|
||||
}
|
||||
}
|
||||
|
||||
1
packages/osr-discourse/lib/oa/commons.d.ts
vendored
1
packages/osr-discourse/lib/oa/commons.d.ts
vendored
@ -1,3 +1,4 @@
|
||||
import { IUploadedFileMeta } from '@plastichub/osr-commons';
|
||||
import { IImportUser, IOAHowto, IOACategory, IOATags, IOAHowtoImport } from '../../';
|
||||
export declare const DEFAULT_HT_CATEGORY: {
|
||||
_modified: string;
|
||||
|
||||
2
packages/osr-discourse/lib/oa/users.d.ts
vendored
2
packages/osr-discourse/lib/oa/users.d.ts
vendored
@ -7,7 +7,7 @@ export declare const filter_email_only: (users: any[]) => any[];
|
||||
export declare const filter_invalid: (users: any[]) => any[];
|
||||
export declare const filter_email_missing: (users: any[]) => any[];
|
||||
export declare const filter_accepted: (users: IImportUser[]) => IImportUser[];
|
||||
export declare const oa_user_email: (user: I_OSR_USER) => any;
|
||||
export declare const oa_user_email: (user: I_OSR_USER) => string | false;
|
||||
export declare const get_user_name: (user: IImportUser) => string;
|
||||
export declare const get_user_display_name: (user: IImportUser) => string;
|
||||
export declare const getDataPath: (_path?: string) => string;
|
||||
|
||||
1
packages/osr-discourse/lib/sync/index.d.ts
vendored
1
packages/osr-discourse/lib/sync/index.d.ts
vendored
@ -1,4 +1,5 @@
|
||||
import { IOptionsSync } from '../../types';
|
||||
import { IComponentConfig } from '@plastichub/osr-commons';
|
||||
export declare const trackingPath: (root: any) => string;
|
||||
export declare const tracking: (root: any) => import("@plastichub/fs/interfaces").ReadWriteDataType;
|
||||
export declare const defaultConfig: (configFile: string, options: IOptionsSync) => IComponentConfig;
|
||||
|
||||
2
packages/osr-search/commands/googlemaps.d.ts
vendored
2
packages/osr-search/commands/googlemaps.d.ts
vendored
@ -1,2 +1,2 @@
|
||||
import * as CLI from 'yargs';
|
||||
export declare const register: (cli: CLI.Argv) => any;
|
||||
export declare const register: (cli: CLI.Argv) => CLI.Argv<{}>;
|
||||
|
||||
2
packages/osr-search/commands/index.d.ts
vendored
2
packages/osr-search/commands/index.d.ts
vendored
@ -1,4 +1,4 @@
|
||||
import * as CLI from 'yargs';
|
||||
import { ZodObject } from 'zod';
|
||||
export declare const registerCommand: (cli: CLI.Argv, name: any, description: any, options: any, zodSchema: () => ZodObject<any>, main: (opts: any, argv: any) => Promise<any>) => any;
|
||||
export declare const registerCommand: (cli: CLI.Argv, name: any, description: any, options: any, zodSchema: () => ZodObject<any>, main: (opts: any, argv: any) => Promise<any>) => CLI.Argv<{}>;
|
||||
export declare const registerCommands: (cli: CLI.Argv) => void;
|
||||
|
||||
2
packages/osr-search/commands/info.d.ts
vendored
2
packages/osr-search/commands/info.d.ts
vendored
@ -1,2 +1,2 @@
|
||||
import * as CLI from 'yargs';
|
||||
export declare const register: (cli: CLI.Argv) => any;
|
||||
export declare const register: (cli: CLI.Argv) => CLI.Argv<{}>;
|
||||
|
||||
86
packages/osr-search/commands/options.d.ts
vendored
86
packages/osr-search/commands/options.d.ts
vendored
@ -1,5 +1,87 @@
|
||||
import * as CLI from 'yargs';
|
||||
export declare const defaultOptions: (yargs: CLI.Argv) => any;
|
||||
export declare const defaultReportOptions: (yargs: CLI.Argv) => any;
|
||||
export declare const defaultOptions: (yargs: CLI.Argv) => CLI.Argv<{
|
||||
debug: boolean;
|
||||
} & {
|
||||
query: string;
|
||||
} & {
|
||||
google_domain: string;
|
||||
} & {
|
||||
language: string;
|
||||
} & {
|
||||
engine: string;
|
||||
} & {
|
||||
source: unknown;
|
||||
} & {
|
||||
searchCoord: unknown;
|
||||
} & {
|
||||
category: unknown;
|
||||
} & {
|
||||
searchFrom: unknown;
|
||||
} & {
|
||||
limit: number;
|
||||
} & {
|
||||
dst: string;
|
||||
} & {
|
||||
filterCountry: unknown;
|
||||
} & {
|
||||
filterCity: unknown;
|
||||
} & {
|
||||
filterType: unknown;
|
||||
} & {
|
||||
translate: unknown;
|
||||
} & {
|
||||
dump: unknown;
|
||||
} & {
|
||||
meta: boolean;
|
||||
} & {
|
||||
env_key: string;
|
||||
} & {
|
||||
api_key: unknown;
|
||||
} & {
|
||||
geocode_key: unknown;
|
||||
} & {
|
||||
findEMail: boolean;
|
||||
} & {
|
||||
cache: boolean;
|
||||
} & {
|
||||
headless: boolean;
|
||||
} & {
|
||||
index: string;
|
||||
}>;
|
||||
export declare const defaultReportOptions: (yargs: CLI.Argv) => CLI.Argv<{
|
||||
debug: boolean;
|
||||
} & {
|
||||
query: string;
|
||||
} & {
|
||||
google_domain: string;
|
||||
} & {
|
||||
language: string;
|
||||
} & {
|
||||
source: unknown;
|
||||
} & {
|
||||
searchCoord: unknown;
|
||||
} & {
|
||||
category: unknown;
|
||||
} & {
|
||||
searchFrom: unknown;
|
||||
} & {
|
||||
limit: number;
|
||||
} & {
|
||||
dst: string;
|
||||
} & {
|
||||
country: unknown;
|
||||
} & {
|
||||
city: unknown;
|
||||
} & {
|
||||
type: unknown;
|
||||
} & {
|
||||
env_key: string;
|
||||
} & {
|
||||
api_key: unknown;
|
||||
} & {
|
||||
cache: boolean;
|
||||
} & {
|
||||
index: string;
|
||||
}>;
|
||||
export declare const parse: (argv: any) => any;
|
||||
export declare const resolvePath: (str: string, query: any, category: any, opts: any) => string;
|
||||
|
||||
2
packages/osr-search/commands/report.d.ts
vendored
2
packages/osr-search/commands/report.d.ts
vendored
@ -10,4 +10,4 @@ Queries
|
||||
"Comunitat Valenciana"
|
||||
|
||||
*/
|
||||
export declare const register: (cli: CLI.Argv) => any;
|
||||
export declare const register: (cli: CLI.Argv) => CLI.Argv<{}>;
|
||||
|
||||
2
packages/osr-search/commands/test.d.ts
vendored
2
packages/osr-search/commands/test.d.ts
vendored
@ -1,2 +1,2 @@
|
||||
import * as CLI from 'yargs';
|
||||
export declare const register: (cli: CLI.Argv) => any;
|
||||
export declare const register: (cli: CLI.Argv) => CLI.Argv<{}>;
|
||||
|
||||
2
packages/osr-search/commands/types.d.ts
vendored
2
packages/osr-search/commands/types.d.ts
vendored
@ -1,2 +1,2 @@
|
||||
import * as CLI from 'yargs';
|
||||
export declare const register: (cli: CLI.Argv) => any;
|
||||
export declare const register: (cli: CLI.Argv) => CLI.Argv<{}>;
|
||||
|
||||
4
packages/osr-search/lib/email.d.ts
vendored
4
packages/osr-search/lib/email.d.ts
vendored
@ -1,9 +1,9 @@
|
||||
import { MappingDocumentTransformer } from "@langchain/core/documents";
|
||||
import { MappingDocumentTransformer, Document } from "@langchain/core/documents";
|
||||
import { LocalResult } from './map_types';
|
||||
export declare class HtmlToTextTransformer extends MappingDocumentTransformer {
|
||||
static lc_name(): string;
|
||||
constructor(options?: {});
|
||||
_transformDocument(document: any): Promise<any>;
|
||||
_transformDocument(document: any): Promise<Document<any>>;
|
||||
}
|
||||
export declare const cheerioLoader: (url: any) => Promise<unknown>;
|
||||
export declare const puppeteerLoader: (url: any, headless: any, location: LocalResult) => Promise<unknown>;
|
||||
|
||||
253
packages/osr-search/lib/googlemaps.d.ts
vendored
253
packages/osr-search/lib/googlemaps.d.ts
vendored
@ -1,18 +1,247 @@
|
||||
import { IScaleserpSearch } from './types';
|
||||
import * as CLI from 'yargs';
|
||||
import { z } from 'zod';
|
||||
import type { GoogleParameters } from "serpapi";
|
||||
import { IScaleserpSearch } from './types';
|
||||
import { IOptionsGoogleMaps, IOptionsGoogleMapsEach } from './types-googlemaps';
|
||||
export declare enum SearchQueriesES {
|
||||
INJECTION = "inyecci\u00F3n de plastico"
|
||||
}
|
||||
export declare const home: () => string;
|
||||
export declare const locationString: (coords: string, zoom?: string) => string;
|
||||
export declare const defaultFromLocation = "Catalonia, Spain";
|
||||
export declare const defaultGoogleDomain = "google.es";
|
||||
export declare const defaultLanguage = "en";
|
||||
export declare const defaultEngine = "google_maps";
|
||||
export declare const PAGE_SIZE = 20;
|
||||
export declare const locationString: (coords: string, zoom?: number) => string;
|
||||
export declare const store: (storePath: string, ns?: string) => Promise<any>;
|
||||
export declare const getStored: (title: string, storePath: string, ns?: string) => Promise<any>;
|
||||
export declare const zodSchema: () => z.ZodObject<{
|
||||
api_key: z.ZodOptional<z.ZodString>;
|
||||
cache: z.ZodDefault<z.ZodBoolean>;
|
||||
category: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
||||
dst: z.ZodDefault<z.ZodString>;
|
||||
dump: z.ZodOptional<z.ZodString>;
|
||||
engine: z.ZodDefault<z.ZodString>;
|
||||
env_key: z.ZodDefault<z.ZodString>;
|
||||
filterCity: z.ZodOptional<z.ZodString>;
|
||||
filterCountry: z.ZodOptional<z.ZodString>;
|
||||
filterType: z.ZodOptional<z.ZodString>;
|
||||
findEMail: z.ZodDefault<z.ZodBoolean>;
|
||||
geocode_key: z.ZodOptional<z.ZodString>;
|
||||
google_domain: z.ZodDefault<z.ZodString>;
|
||||
headless: z.ZodDefault<z.ZodBoolean>;
|
||||
language: z.ZodDefault<z.ZodString>;
|
||||
limit: z.ZodDefault<z.ZodNumber>;
|
||||
logLevel: z.ZodDefault<z.ZodString>;
|
||||
meta: z.ZodDefault<z.ZodBoolean>;
|
||||
searchCache: z.ZodDefault<z.ZodBoolean>;
|
||||
query: z.ZodDefault<z.ZodString>;
|
||||
searchCoord: z.ZodOptional<z.ZodString>;
|
||||
searchFrom: z.ZodOptional<z.ZodString>;
|
||||
source: z.ZodOptional<z.ZodString>;
|
||||
type: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
||||
zoom: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
||||
index: z.ZodDefault<z.ZodString>;
|
||||
store: z.ZodDefault<z.ZodString>;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
type?: string;
|
||||
meta?: boolean;
|
||||
api_key?: string;
|
||||
cache?: boolean;
|
||||
category?: string;
|
||||
dst?: string;
|
||||
dump?: string;
|
||||
engine?: string;
|
||||
env_key?: string;
|
||||
filterCity?: string;
|
||||
filterCountry?: string;
|
||||
filterType?: string;
|
||||
findEMail?: boolean;
|
||||
geocode_key?: string;
|
||||
google_domain?: string;
|
||||
headless?: boolean;
|
||||
language?: string;
|
||||
limit?: number;
|
||||
logLevel?: string;
|
||||
searchCache?: boolean;
|
||||
query?: string;
|
||||
searchCoord?: string;
|
||||
searchFrom?: string;
|
||||
source?: string;
|
||||
zoom?: number;
|
||||
index?: string;
|
||||
store?: string;
|
||||
}, {
|
||||
type?: string;
|
||||
meta?: boolean;
|
||||
api_key?: string;
|
||||
cache?: boolean;
|
||||
category?: string;
|
||||
dst?: string;
|
||||
dump?: string;
|
||||
engine?: string;
|
||||
env_key?: string;
|
||||
filterCity?: string;
|
||||
filterCountry?: string;
|
||||
filterType?: string;
|
||||
findEMail?: boolean;
|
||||
geocode_key?: string;
|
||||
google_domain?: string;
|
||||
headless?: boolean;
|
||||
language?: string;
|
||||
limit?: number;
|
||||
logLevel?: string;
|
||||
searchCache?: boolean;
|
||||
query?: string;
|
||||
searchCoord?: string;
|
||||
searchFrom?: string;
|
||||
source?: string;
|
||||
zoom?: number;
|
||||
index?: string;
|
||||
store?: string;
|
||||
}>;
|
||||
export declare const zodSchemaEachExtras: () => z.ZodObject<{
|
||||
logLevel: z.ZodDefault<z.ZodString>;
|
||||
log: z.ZodOptional<z.ZodString>;
|
||||
country: z.ZodString;
|
||||
area: z.ZodString;
|
||||
list: z.ZodString;
|
||||
cwd: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
||||
env: z.ZodDefault<z.ZodString>;
|
||||
profile: z.ZodDefault<z.ZodString>;
|
||||
migrate: z.ZodDefault<z.ZodBoolean>;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
logLevel?: string;
|
||||
log?: string;
|
||||
country?: string;
|
||||
area?: string;
|
||||
list?: string;
|
||||
cwd?: string;
|
||||
env?: string;
|
||||
profile?: string;
|
||||
migrate?: boolean;
|
||||
}, {
|
||||
logLevel?: string;
|
||||
log?: string;
|
||||
country?: string;
|
||||
area?: string;
|
||||
list?: string;
|
||||
cwd?: string;
|
||||
env?: string;
|
||||
profile?: string;
|
||||
migrate?: boolean;
|
||||
}>;
|
||||
export declare const zodSchemaEach: () => z.ZodObject<z.objectUtil.extendShape<{
|
||||
api_key: z.ZodOptional<z.ZodString>;
|
||||
cache: z.ZodDefault<z.ZodBoolean>;
|
||||
category: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
||||
dst: z.ZodDefault<z.ZodString>;
|
||||
dump: z.ZodOptional<z.ZodString>;
|
||||
engine: z.ZodDefault<z.ZodString>;
|
||||
env_key: z.ZodDefault<z.ZodString>;
|
||||
filterCity: z.ZodOptional<z.ZodString>;
|
||||
filterCountry: z.ZodOptional<z.ZodString>;
|
||||
filterType: z.ZodOptional<z.ZodString>;
|
||||
findEMail: z.ZodDefault<z.ZodBoolean>;
|
||||
geocode_key: z.ZodOptional<z.ZodString>;
|
||||
google_domain: z.ZodDefault<z.ZodString>;
|
||||
headless: z.ZodDefault<z.ZodBoolean>;
|
||||
language: z.ZodDefault<z.ZodString>;
|
||||
limit: z.ZodDefault<z.ZodNumber>;
|
||||
logLevel: z.ZodDefault<z.ZodString>;
|
||||
meta: z.ZodDefault<z.ZodBoolean>;
|
||||
searchCache: z.ZodDefault<z.ZodBoolean>;
|
||||
query: z.ZodDefault<z.ZodString>;
|
||||
searchCoord: z.ZodOptional<z.ZodString>;
|
||||
searchFrom: z.ZodOptional<z.ZodString>;
|
||||
source: z.ZodOptional<z.ZodString>;
|
||||
type: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
||||
zoom: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
||||
index: z.ZodDefault<z.ZodString>;
|
||||
store: z.ZodDefault<z.ZodString>;
|
||||
}, {
|
||||
logLevel: z.ZodDefault<z.ZodString>;
|
||||
log: z.ZodOptional<z.ZodString>;
|
||||
country: z.ZodString;
|
||||
area: z.ZodString;
|
||||
list: z.ZodString;
|
||||
cwd: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
||||
env: z.ZodDefault<z.ZodString>;
|
||||
profile: z.ZodDefault<z.ZodString>;
|
||||
migrate: z.ZodDefault<z.ZodBoolean>;
|
||||
}>, "strip", z.ZodTypeAny, {
|
||||
type?: string;
|
||||
meta?: boolean;
|
||||
api_key?: string;
|
||||
cache?: boolean;
|
||||
category?: string;
|
||||
dst?: string;
|
||||
dump?: string;
|
||||
engine?: string;
|
||||
env_key?: string;
|
||||
filterCity?: string;
|
||||
filterCountry?: string;
|
||||
filterType?: string;
|
||||
findEMail?: boolean;
|
||||
geocode_key?: string;
|
||||
google_domain?: string;
|
||||
headless?: boolean;
|
||||
language?: string;
|
||||
limit?: number;
|
||||
logLevel?: string;
|
||||
searchCache?: boolean;
|
||||
query?: string;
|
||||
searchCoord?: string;
|
||||
searchFrom?: string;
|
||||
source?: string;
|
||||
zoom?: number;
|
||||
index?: string;
|
||||
store?: string;
|
||||
log?: string;
|
||||
country?: string;
|
||||
area?: string;
|
||||
list?: string;
|
||||
cwd?: string;
|
||||
env?: string;
|
||||
profile?: string;
|
||||
migrate?: boolean;
|
||||
}, {
|
||||
type?: string;
|
||||
meta?: boolean;
|
||||
api_key?: string;
|
||||
cache?: boolean;
|
||||
category?: string;
|
||||
dst?: string;
|
||||
dump?: string;
|
||||
engine?: string;
|
||||
env_key?: string;
|
||||
filterCity?: string;
|
||||
filterCountry?: string;
|
||||
filterType?: string;
|
||||
findEMail?: boolean;
|
||||
geocode_key?: string;
|
||||
google_domain?: string;
|
||||
headless?: boolean;
|
||||
language?: string;
|
||||
limit?: number;
|
||||
logLevel?: string;
|
||||
searchCache?: boolean;
|
||||
query?: string;
|
||||
searchCoord?: string;
|
||||
searchFrom?: string;
|
||||
source?: string;
|
||||
zoom?: number;
|
||||
index?: string;
|
||||
store?: string;
|
||||
log?: string;
|
||||
country?: string;
|
||||
area?: string;
|
||||
list?: string;
|
||||
cwd?: string;
|
||||
env?: string;
|
||||
profile?: string;
|
||||
migrate?: boolean;
|
||||
}>;
|
||||
export declare const yargsOptions: (yargs: CLI.Argv) => CLI.Argv;
|
||||
export declare const yargsOptionsEach: (yargs: CLI.Argv) => CLI.Argv;
|
||||
export declare const searchVendor: (name: string, dst: string, opts: IScaleserpSearch) => Promise<import("./types").OrganicResult[]>;
|
||||
export declare const defaultParamsGoogleES: (query: any, mixin: any) => any;
|
||||
export declare const defaultSearchParamsMapsES: (query: any, mixin?: {}) => {
|
||||
export declare const defaultSearchParamsMapsES: (query: any, zoom: any, mixin?: {}) => {
|
||||
engine: string;
|
||||
type: string;
|
||||
q: any;
|
||||
@ -21,5 +250,9 @@ export declare const defaultSearchParamsMapsES: (query: any, mixin?: {}) => {
|
||||
hl: string;
|
||||
};
|
||||
export declare const searchVendorSA: (query: string, location: string, key: string, opts: GoogleParameters) => Promise<import("serpapi").BaseResponse<GoogleParameters>>;
|
||||
export declare function closeAppByName(appName: string): void;
|
||||
export declare const searchVendorsMap: (query: string, key: string, opts: any) => Promise<any[]>;
|
||||
export declare const searchGoogleMap: (query: string, key: string, opts: any) => Promise<any[]>;
|
||||
export declare const parse: (argv: any) => any;
|
||||
export declare const resolvePath: (str: string, query: any, category: any, opts: any) => string;
|
||||
export declare const googleMaps: (opts: IOptionsGoogleMaps) => Promise<any[][]>;
|
||||
export declare const migrate: (opts: IOptionsGoogleMapsEach) => Promise<void[]>;
|
||||
export declare const each: (opts: IOptionsGoogleMapsEach) => Promise<any[]>;
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1122
packages/osr-search/package-lock.json
generated
1122
packages/osr-search/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -10,7 +10,8 @@
|
||||
"osr-search": "main.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@plastichub/core": "link:..\\core",
|
||||
"@keyv/sqlite": "^4.0.1",
|
||||
"@plastichub/core": "file:../core",
|
||||
"@plastichub/fs": "^0.13.39",
|
||||
"@plastichub/osr-ai": "^0.1.6",
|
||||
"@plastichub/osr-cache": "file:../osr-cache",
|
||||
|
||||
@ -1,6 +1,8 @@
|
||||
import * as path from 'path'
|
||||
import { URL } from 'url'
|
||||
import * as CLI from 'yargs'
|
||||
import Keyv from 'keyv'
|
||||
import KeyvSqlite from '@keyv/sqlite'
|
||||
|
||||
import { CONFIG_DEFAULT, DEFAULT_ROOTS, filesEx, IProfile, parseProfile, pathInfo } from '@plastichub/osr-commons'
|
||||
import { isFile, resolve, substitute } from '@plastichub/osr-commons'
|
||||
@ -43,7 +45,7 @@ export const home = () => "41.6911354,2.1652746"
|
||||
export const locationString = (coords: string, zoom: number = 13) => `@${coords},${zoom}z`
|
||||
|
||||
export const store = async (storePath: string, ns: string = 'osr-search') =>
|
||||
getStore(storePath, ns)
|
||||
getStore(storePath, ns) as any
|
||||
|
||||
export const getStored = async (title:string, storePath: string, ns: string = 'osr-search') =>
|
||||
getStore(storePath, ns).get(title)
|
||||
|
||||
@ -10,7 +10,8 @@
|
||||
"allowJs": true,
|
||||
"noImplicitAny": false,
|
||||
"noImplicitThis": false,
|
||||
"alwaysStrict": true,
|
||||
"alwaysStrict": false,
|
||||
"strictNullChecks": false,
|
||||
"sourceMap": true,
|
||||
"outDir": "./",
|
||||
"experimentalDecorators": true,
|
||||
@ -19,7 +20,8 @@
|
||||
"baseUrl": "./src",
|
||||
"rootDir": "./src",
|
||||
"skipLibCheck": true,
|
||||
"allowSyntheticDefaultImports": true
|
||||
"allowSyntheticDefaultImports": true,
|
||||
"esModuleInterop": false
|
||||
},
|
||||
"filesGlob": [
|
||||
"./src/**/*.ts"
|
||||
|
||||
100
packages/osr-tasks/package-lock.json
generated
100
packages/osr-tasks/package-lock.json
generated
@ -9,7 +9,6 @@
|
||||
"version": "0.5.4",
|
||||
"license": "BSD-3-Clause",
|
||||
"dependencies": {
|
||||
"@asteasolutions/zod-to-openapi": "github:asteasolutions/zod-to-openapi",
|
||||
"@plastichub/core": "^0.2.6",
|
||||
"@plastichub/fs": "^0.13.41",
|
||||
"@plastichub/osr-cache": "file:../osr-cache",
|
||||
@ -54,8 +53,8 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/grunt": "^0.4.32",
|
||||
"@types/node": "^22.10.5",
|
||||
"@types/ssh2": "^1.15.3",
|
||||
"@types/node": "^22.12.0",
|
||||
"@types/ssh2": "^1.15.4",
|
||||
"@types/yargs": "^17.0.33"
|
||||
},
|
||||
"engines": {
|
||||
@ -74,6 +73,7 @@
|
||||
"@types/node": "^22.10.2",
|
||||
"cacache": "^18.0.3",
|
||||
"md5": "^2.3.0",
|
||||
"ssri": "^10.0.1",
|
||||
"yargs": "^17.7.2"
|
||||
},
|
||||
"bin": {
|
||||
@ -85,14 +85,13 @@
|
||||
},
|
||||
"../osr-cad": {
|
||||
"name": "@plastichub/osr-cad",
|
||||
"version": "0.8.7",
|
||||
"version": "0.8.8",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"@plastichub/core": "^0.2.6",
|
||||
"@plastichub/fs": "^0.13.41",
|
||||
"@plastichub/osr-cache": "file:../osr-cache",
|
||||
"@plastichub/osr-cli-commons": "file:../osr-cli-commons",
|
||||
"@plastichub/osr-commons": "file:../osr-commons",
|
||||
"@plastichub/osr-cache": "^0.4.8",
|
||||
"@plastichub/osr-commons": "^0.5.3",
|
||||
"@types/node": "^20.17.9",
|
||||
"@types/yargs": "^17.0.11",
|
||||
"add": "^2.0.6",
|
||||
@ -116,9 +115,9 @@
|
||||
"osr-cad": "main.js"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/bluebird": "^3.5.29",
|
||||
"@types/bluebird": "^3.5.42",
|
||||
"@types/cacache": "^15.0.1",
|
||||
"@types/js-yaml": "^4.0.5",
|
||||
"@types/js-yaml": "^4.0.9",
|
||||
"@types/which": "^1.3.2"
|
||||
}
|
||||
},
|
||||
@ -153,7 +152,7 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/jest": "^29.5.14",
|
||||
"@types/node": "^20.17.6",
|
||||
"@types/node": "^20.17.16",
|
||||
"@types/yargs": "^17.0.33",
|
||||
"jest": "^29.7.0",
|
||||
"ts-jest": "^29.2.5"
|
||||
@ -164,7 +163,7 @@
|
||||
},
|
||||
"../osr-commons": {
|
||||
"name": "@plastichub/osr-commons",
|
||||
"version": "0.5.2",
|
||||
"version": "0.5.3",
|
||||
"license": "BSD-3-Clause",
|
||||
"dependencies": {
|
||||
"@plastichub/core": "^0.2.6",
|
||||
@ -185,7 +184,7 @@
|
||||
"zod-to-ts": "^1.2.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^22.8.6"
|
||||
"@types/node": "^22.12.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 14.0.0"
|
||||
@ -197,6 +196,7 @@
|
||||
"license": "BSD-3-Clause",
|
||||
"dependencies": {
|
||||
"@iarna/toml": "^2.2.5",
|
||||
"@plastichub/core": "link:..\\core",
|
||||
"@plastichub/fs": "^0.13.39",
|
||||
"@plastichub/osr-cache": "file:../osr-cache",
|
||||
"@plastichub/osr-cli-commons": "file:../osr-cli-commons",
|
||||
@ -253,7 +253,7 @@
|
||||
"zod": "^3.23.8"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^22.10.2"
|
||||
"@types/node": "^22.12.0"
|
||||
}
|
||||
},
|
||||
"../osr-mail": {
|
||||
@ -273,7 +273,7 @@
|
||||
"osr-mail": "main.js"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/nodemailer": "^6.4.16"
|
||||
"@types/nodemailer": "^6.4.17"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 14.0.0"
|
||||
@ -281,14 +281,13 @@
|
||||
},
|
||||
"../osr-media": {
|
||||
"name": "@plastichub/osr-media",
|
||||
"version": "0.2.6",
|
||||
"version": "0.2.7",
|
||||
"license": "BSD-3-Clause",
|
||||
"dependencies": {
|
||||
"@plastichub/core": "^0.2.6",
|
||||
"@plastichub/fs": "^0.13.39",
|
||||
"@plastichub/osr-cache": "^0.4.6",
|
||||
"@plastichub/osr-cli-commons": "file:../osr-cli-commons",
|
||||
"@plastichub/osr-commons": "file:../osr-commons",
|
||||
"@plastichub/osr-commons": "^0.5.3",
|
||||
"@types/fluent-ffmpeg": "^2.1.27",
|
||||
"bluebird": "^3.7.2",
|
||||
"fluent-ffmpeg": "^2.1.3",
|
||||
@ -305,8 +304,8 @@
|
||||
"osr-media": "main.js"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^14.18.59",
|
||||
"@types/showdown": "^2.0.0"
|
||||
"@types/node": "^14.18.63",
|
||||
"@types/showdown": "^2.0.6"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 14.0.0"
|
||||
@ -342,17 +341,17 @@
|
||||
"osr-sync": "main.js"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/bluebird": "^3.5.11",
|
||||
"@types/bluebird": "^3.5.42",
|
||||
"@types/chalk": "^0.4.31",
|
||||
"@types/glob": "^7.1.3",
|
||||
"@types/glob": "^7.2.0",
|
||||
"@types/globby": "^6.1.0",
|
||||
"@types/lodash": "^4.14.74",
|
||||
"@types/mkdirp": "^0.5.1",
|
||||
"@types/node": "^18.16.19",
|
||||
"@types/q": "^1.0.5",
|
||||
"@types/showdown": "^1.9.3",
|
||||
"@types/which": "^1.0.28",
|
||||
"@types/yargs": "^8.0.2"
|
||||
"@types/lodash": "^4.17.15",
|
||||
"@types/mkdirp": "^0.5.2",
|
||||
"@types/node": "^18.19.74",
|
||||
"@types/q": "^1.5.8",
|
||||
"@types/showdown": "^1.9.4",
|
||||
"@types/which": "^1.3.2",
|
||||
"@types/yargs": "^8.0.7"
|
||||
}
|
||||
},
|
||||
"../osrl": {
|
||||
@ -370,7 +369,6 @@
|
||||
"@plastichub/osr-commons": "file:../osr-commons",
|
||||
"@plastichub/osr-i18n": "file:../osr-i18n",
|
||||
"@plastichub/osr-log": "file:../osr-log",
|
||||
"@plastichub/osr-vcs": "^0.0.3",
|
||||
"@types/cacache": "^15.0.1",
|
||||
"@types/download": "^8.0.1",
|
||||
"@types/get-stdin": "^7.0.0",
|
||||
@ -445,17 +443,6 @@
|
||||
"@img/sharp-win32-x64": "^0.33.4"
|
||||
}
|
||||
},
|
||||
"node_modules/@asteasolutions/zod-to-openapi": {
|
||||
"version": "7.2.0",
|
||||
"resolved": "git+ssh://git@github.com/asteasolutions/zod-to-openapi.git#81f003daa97c3e4baf06adf2e37183e575317c41",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"openapi3-ts": "^4.1.2"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"zod": "^3.20.2"
|
||||
}
|
||||
},
|
||||
"node_modules/@emnapi/runtime": {
|
||||
"version": "1.3.1",
|
||||
"resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.3.1.tgz",
|
||||
@ -1146,9 +1133,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@types/node": {
|
||||
"version": "22.10.5",
|
||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-22.10.5.tgz",
|
||||
"integrity": "sha512-F8Q+SeGimwOo86fiovQh8qiXfFEh2/ocYv7tU5pJ3EXMSSxk1Joj5wefpFK2fHTf/N6HKGSxIDBT9f3gCxXPkQ==",
|
||||
"version": "22.12.0",
|
||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-22.12.0.tgz",
|
||||
"integrity": "sha512-Fll2FZ1riMjNmlmJOdAyY5pUbkftXslB5DgEzlIuNaiWhXd00FhWxVC/r4yV/4wBb9JfImTu+jiSvXTkJ7F/gA==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
@ -1156,9 +1143,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@types/ssh2": {
|
||||
"version": "1.15.3",
|
||||
"resolved": "https://registry.npmjs.org/@types/ssh2/-/ssh2-1.15.3.tgz",
|
||||
"integrity": "sha512-pUhXytp7aRAj1AKCQpdKNKGb32e53MUGPu186U9cm8mbX6kxF0UcngI/RVoKvJTWdHqDFiNrSDiPR/JZWexcCQ==",
|
||||
"version": "1.15.4",
|
||||
"resolved": "https://registry.npmjs.org/@types/ssh2/-/ssh2-1.15.4.tgz",
|
||||
"integrity": "sha512-9JTQgVBWSgq6mAen6PVnrAmty1lqgCMvpfN+1Ck5WRUsyMYPa6qd50/vMJ0y1zkGpOEgLzm8m8Dx/Y5vRouLaA==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
@ -5514,15 +5501,6 @@
|
||||
"wrappy": "1"
|
||||
}
|
||||
},
|
||||
"node_modules/openapi3-ts": {
|
||||
"version": "4.4.0",
|
||||
"resolved": "https://registry.npmjs.org/openapi3-ts/-/openapi3-ts-4.4.0.tgz",
|
||||
"integrity": "sha512-9asTNB9IkKEzWMcHmVZE7Ts3kC9G7AFHfs8i7caD8HbI76gEjdkId4z/AkP83xdZsH7PLAnnbl47qZkXuxpArw==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"yaml": "^2.5.0"
|
||||
}
|
||||
},
|
||||
"node_modules/os-homedir": {
|
||||
"version": "1.0.2",
|
||||
"resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz",
|
||||
@ -6688,18 +6666,6 @@
|
||||
"node": ">=10"
|
||||
}
|
||||
},
|
||||
"node_modules/yaml": {
|
||||
"version": "2.6.0",
|
||||
"resolved": "https://registry.npmjs.org/yaml/-/yaml-2.6.0.tgz",
|
||||
"integrity": "sha512-a6ae//JvKDEra2kdi1qzCyrJW/WZCgFi8ydDV+eXExl95t+5R+ijnqHJbz9tmMh8FUjx3iv2fCQ4dclAQlO2UQ==",
|
||||
"license": "ISC",
|
||||
"bin": {
|
||||
"yaml": "bin.mjs"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 14"
|
||||
}
|
||||
},
|
||||
"node_modules/yargs": {
|
||||
"version": "17.7.2",
|
||||
"resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz",
|
||||
|
||||
40
packages/osr-tasks/src/zod_schema.d.ts
vendored
40
packages/osr-tasks/src/zod_schema.d.ts
vendored
@ -4,12 +4,12 @@ export declare const compilerVariables: () => z.ZodIntersection<z.ZodObject<{
|
||||
sourceLanguage: z.ZodDefault<z.ZodString>;
|
||||
i18n: z.ZodDefault<z.ZodString>;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
targetLanguage?: string;
|
||||
sourceLanguage?: string;
|
||||
targetLanguage?: string;
|
||||
i18n?: string;
|
||||
}, {
|
||||
targetLanguage?: string;
|
||||
sourceLanguage?: string;
|
||||
targetLanguage?: string;
|
||||
i18n?: string;
|
||||
}>, z.ZodRecord<z.ZodString, z.ZodAny>>;
|
||||
export declare const compilerOptions: () => z.ZodObject<{
|
||||
@ -30,12 +30,12 @@ export declare const compilerOptions: () => z.ZodObject<{
|
||||
sourceLanguage: z.ZodDefault<z.ZodString>;
|
||||
i18n: z.ZodDefault<z.ZodString>;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
targetLanguage?: string;
|
||||
sourceLanguage?: string;
|
||||
targetLanguage?: string;
|
||||
i18n?: string;
|
||||
}, {
|
||||
targetLanguage?: string;
|
||||
sourceLanguage?: string;
|
||||
targetLanguage?: string;
|
||||
i18n?: string;
|
||||
}>, z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
||||
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
||||
@ -56,12 +56,12 @@ export declare const compilerOptions: () => z.ZodObject<{
|
||||
sourceLanguage: z.ZodDefault<z.ZodString>;
|
||||
i18n: z.ZodDefault<z.ZodString>;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
targetLanguage?: string;
|
||||
sourceLanguage?: string;
|
||||
targetLanguage?: string;
|
||||
i18n?: string;
|
||||
}, {
|
||||
targetLanguage?: string;
|
||||
sourceLanguage?: string;
|
||||
targetLanguage?: string;
|
||||
i18n?: string;
|
||||
}>, z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
||||
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
||||
@ -82,19 +82,19 @@ export declare const compilerOptions: () => z.ZodObject<{
|
||||
sourceLanguage: z.ZodDefault<z.ZodString>;
|
||||
i18n: z.ZodDefault<z.ZodString>;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
targetLanguage?: string;
|
||||
sourceLanguage?: string;
|
||||
targetLanguage?: string;
|
||||
i18n?: string;
|
||||
}, {
|
||||
targetLanguage?: string;
|
||||
sourceLanguage?: string;
|
||||
targetLanguage?: string;
|
||||
i18n?: string;
|
||||
}>, z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
||||
}, z.ZodTypeAny, "passthrough">>;
|
||||
export declare const taskOptions: () => z.ZodObject<{
|
||||
logLevel: z.ZodDefault<z.ZodEnum<["silly", "trace", "debug", "info", "warn", "error", "fatal"]>>;
|
||||
sourceLanguage: z.ZodDefault<z.ZodString>;
|
||||
languages: z.ZodDefault<z.ZodUnion<[z.ZodArray<z.ZodDefault<z.ZodString>, "many">, z.ZodEffects<z.ZodString, ("en" | "pt" | "bg" | "cs" | "da" | "de" | "el" | "es" | "et" | "fi" | "fr" | "hu" | "id" | "it" | "ja" | "ko" | "lt" | "lv" | "nb" | "nl" | "pl" | "ro" | "ru" | "sk" | "sl" | "sv" | "tr" | "uk" | "zh")[], string>]>>;
|
||||
languages: z.ZodDefault<z.ZodUnion<[z.ZodArray<z.ZodDefault<z.ZodString>, "many">, z.ZodEffects<z.ZodString, ("id" | "tr" | "en" | "pt" | "bg" | "cs" | "da" | "de" | "el" | "es" | "et" | "fi" | "fr" | "hu" | "it" | "ja" | "ko" | "lt" | "lv" | "nb" | "nl" | "pl" | "ro" | "ru" | "sk" | "sl" | "sv" | "uk" | "zh")[], string>]>>;
|
||||
src: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
||||
taskPrefix: z.ZodDefault<z.ZodString>;
|
||||
taskSuffix: z.ZodDefault<z.ZodString>;
|
||||
@ -109,7 +109,7 @@ export declare const taskOptions: () => z.ZodObject<{
|
||||
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
||||
logLevel: z.ZodDefault<z.ZodEnum<["silly", "trace", "debug", "info", "warn", "error", "fatal"]>>;
|
||||
sourceLanguage: z.ZodDefault<z.ZodString>;
|
||||
languages: z.ZodDefault<z.ZodUnion<[z.ZodArray<z.ZodDefault<z.ZodString>, "many">, z.ZodEffects<z.ZodString, ("en" | "pt" | "bg" | "cs" | "da" | "de" | "el" | "es" | "et" | "fi" | "fr" | "hu" | "id" | "it" | "ja" | "ko" | "lt" | "lv" | "nb" | "nl" | "pl" | "ro" | "ru" | "sk" | "sl" | "sv" | "tr" | "uk" | "zh")[], string>]>>;
|
||||
languages: z.ZodDefault<z.ZodUnion<[z.ZodArray<z.ZodDefault<z.ZodString>, "many">, z.ZodEffects<z.ZodString, ("id" | "tr" | "en" | "pt" | "bg" | "cs" | "da" | "de" | "el" | "es" | "et" | "fi" | "fr" | "hu" | "it" | "ja" | "ko" | "lt" | "lv" | "nb" | "nl" | "pl" | "ro" | "ru" | "sk" | "sl" | "sv" | "uk" | "zh")[], string>]>>;
|
||||
src: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
||||
taskPrefix: z.ZodDefault<z.ZodString>;
|
||||
taskSuffix: z.ZodDefault<z.ZodString>;
|
||||
@ -124,7 +124,7 @@ export declare const taskOptions: () => z.ZodObject<{
|
||||
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
||||
logLevel: z.ZodDefault<z.ZodEnum<["silly", "trace", "debug", "info", "warn", "error", "fatal"]>>;
|
||||
sourceLanguage: z.ZodDefault<z.ZodString>;
|
||||
languages: z.ZodDefault<z.ZodUnion<[z.ZodArray<z.ZodDefault<z.ZodString>, "many">, z.ZodEffects<z.ZodString, ("en" | "pt" | "bg" | "cs" | "da" | "de" | "el" | "es" | "et" | "fi" | "fr" | "hu" | "id" | "it" | "ja" | "ko" | "lt" | "lv" | "nb" | "nl" | "pl" | "ro" | "ru" | "sk" | "sl" | "sv" | "tr" | "uk" | "zh")[], string>]>>;
|
||||
languages: z.ZodDefault<z.ZodUnion<[z.ZodArray<z.ZodDefault<z.ZodString>, "many">, z.ZodEffects<z.ZodString, ("id" | "tr" | "en" | "pt" | "bg" | "cs" | "da" | "de" | "el" | "es" | "et" | "fi" | "fr" | "hu" | "it" | "ja" | "ko" | "lt" | "lv" | "nb" | "nl" | "pl" | "ro" | "ru" | "sk" | "sl" | "sv" | "uk" | "zh")[], string>]>>;
|
||||
src: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
||||
taskPrefix: z.ZodDefault<z.ZodString>;
|
||||
taskSuffix: z.ZodDefault<z.ZodString>;
|
||||
@ -155,12 +155,12 @@ export declare const schemas: () => (z.ZodObject<{
|
||||
sourceLanguage: z.ZodDefault<z.ZodString>;
|
||||
i18n: z.ZodDefault<z.ZodString>;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
targetLanguage?: string;
|
||||
sourceLanguage?: string;
|
||||
targetLanguage?: string;
|
||||
i18n?: string;
|
||||
}, {
|
||||
targetLanguage?: string;
|
||||
sourceLanguage?: string;
|
||||
targetLanguage?: string;
|
||||
i18n?: string;
|
||||
}>, z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
||||
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
||||
@ -181,12 +181,12 @@ export declare const schemas: () => (z.ZodObject<{
|
||||
sourceLanguage: z.ZodDefault<z.ZodString>;
|
||||
i18n: z.ZodDefault<z.ZodString>;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
targetLanguage?: string;
|
||||
sourceLanguage?: string;
|
||||
targetLanguage?: string;
|
||||
i18n?: string;
|
||||
}, {
|
||||
targetLanguage?: string;
|
||||
sourceLanguage?: string;
|
||||
targetLanguage?: string;
|
||||
i18n?: string;
|
||||
}>, z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
||||
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
||||
@ -207,18 +207,18 @@ export declare const schemas: () => (z.ZodObject<{
|
||||
sourceLanguage: z.ZodDefault<z.ZodString>;
|
||||
i18n: z.ZodDefault<z.ZodString>;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
targetLanguage?: string;
|
||||
sourceLanguage?: string;
|
||||
targetLanguage?: string;
|
||||
i18n?: string;
|
||||
}, {
|
||||
targetLanguage?: string;
|
||||
sourceLanguage?: string;
|
||||
targetLanguage?: string;
|
||||
i18n?: string;
|
||||
}>, z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
||||
}, z.ZodTypeAny, "passthrough">> | z.ZodObject<{
|
||||
logLevel: z.ZodDefault<z.ZodEnum<["silly", "trace", "debug", "info", "warn", "error", "fatal"]>>;
|
||||
sourceLanguage: z.ZodDefault<z.ZodString>;
|
||||
languages: z.ZodDefault<z.ZodUnion<[z.ZodArray<z.ZodDefault<z.ZodString>, "many">, z.ZodEffects<z.ZodString, ("en" | "pt" | "bg" | "cs" | "da" | "de" | "el" | "es" | "et" | "fi" | "fr" | "hu" | "id" | "it" | "ja" | "ko" | "lt" | "lv" | "nb" | "nl" | "pl" | "ro" | "ru" | "sk" | "sl" | "sv" | "tr" | "uk" | "zh")[], string>]>>;
|
||||
languages: z.ZodDefault<z.ZodUnion<[z.ZodArray<z.ZodDefault<z.ZodString>, "many">, z.ZodEffects<z.ZodString, ("id" | "tr" | "en" | "pt" | "bg" | "cs" | "da" | "de" | "el" | "es" | "et" | "fi" | "fr" | "hu" | "it" | "ja" | "ko" | "lt" | "lv" | "nb" | "nl" | "pl" | "ro" | "ru" | "sk" | "sl" | "sv" | "uk" | "zh")[], string>]>>;
|
||||
src: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
||||
taskPrefix: z.ZodDefault<z.ZodString>;
|
||||
taskSuffix: z.ZodDefault<z.ZodString>;
|
||||
@ -233,7 +233,7 @@ export declare const schemas: () => (z.ZodObject<{
|
||||
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
||||
logLevel: z.ZodDefault<z.ZodEnum<["silly", "trace", "debug", "info", "warn", "error", "fatal"]>>;
|
||||
sourceLanguage: z.ZodDefault<z.ZodString>;
|
||||
languages: z.ZodDefault<z.ZodUnion<[z.ZodArray<z.ZodDefault<z.ZodString>, "many">, z.ZodEffects<z.ZodString, ("en" | "pt" | "bg" | "cs" | "da" | "de" | "el" | "es" | "et" | "fi" | "fr" | "hu" | "id" | "it" | "ja" | "ko" | "lt" | "lv" | "nb" | "nl" | "pl" | "ro" | "ru" | "sk" | "sl" | "sv" | "tr" | "uk" | "zh")[], string>]>>;
|
||||
languages: z.ZodDefault<z.ZodUnion<[z.ZodArray<z.ZodDefault<z.ZodString>, "many">, z.ZodEffects<z.ZodString, ("id" | "tr" | "en" | "pt" | "bg" | "cs" | "da" | "de" | "el" | "es" | "et" | "fi" | "fr" | "hu" | "it" | "ja" | "ko" | "lt" | "lv" | "nb" | "nl" | "pl" | "ro" | "ru" | "sk" | "sl" | "sv" | "uk" | "zh")[], string>]>>;
|
||||
src: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
||||
taskPrefix: z.ZodDefault<z.ZodString>;
|
||||
taskSuffix: z.ZodDefault<z.ZodString>;
|
||||
@ -248,7 +248,7 @@ export declare const schemas: () => (z.ZodObject<{
|
||||
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
||||
logLevel: z.ZodDefault<z.ZodEnum<["silly", "trace", "debug", "info", "warn", "error", "fatal"]>>;
|
||||
sourceLanguage: z.ZodDefault<z.ZodString>;
|
||||
languages: z.ZodDefault<z.ZodUnion<[z.ZodArray<z.ZodDefault<z.ZodString>, "many">, z.ZodEffects<z.ZodString, ("en" | "pt" | "bg" | "cs" | "da" | "de" | "el" | "es" | "et" | "fi" | "fr" | "hu" | "id" | "it" | "ja" | "ko" | "lt" | "lv" | "nb" | "nl" | "pl" | "ro" | "ru" | "sk" | "sl" | "sv" | "tr" | "uk" | "zh")[], string>]>>;
|
||||
languages: z.ZodDefault<z.ZodUnion<[z.ZodArray<z.ZodDefault<z.ZodString>, "many">, z.ZodEffects<z.ZodString, ("id" | "tr" | "en" | "pt" | "bg" | "cs" | "da" | "de" | "el" | "es" | "et" | "fi" | "fr" | "hu" | "it" | "ja" | "ko" | "lt" | "lv" | "nb" | "nl" | "pl" | "ro" | "ru" | "sk" | "sl" | "sv" | "uk" | "zh")[], string>]>>;
|
||||
src: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
||||
taskPrefix: z.ZodDefault<z.ZodString>;
|
||||
taskSuffix: z.ZodDefault<z.ZodString>;
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.openAPI = exports.jsonSchemas = exports.types = exports.schemas = exports.taskOptions = exports.compilerOptions = exports.compilerVariables = void 0;
|
||||
const zod_1 = require("zod");
|
||||
const zod_to_openapi_1 = require("@asteasolutions/zod-to-openapi");
|
||||
(0, zod_to_openapi_1.extendZodWithOpenApi)(zod_1.z);
|
||||
//import { extendZodWithOpenApi } from '@asteasolutions/zod-to-openapi'
|
||||
//extendZodWithOpenApi(z)
|
||||
const osr_commons_1 = require("@plastichub/osr-commons");
|
||||
const osr_commons_2 = require("@plastichub/osr-commons");
|
||||
const osr_commons_3 = require("@plastichub/osr-commons/");
|
||||
|
||||
@ -1 +1 @@
|
||||
{"version":3,"file":"zod_schema.js","sourceRoot":"","sources":["zod_schema.ts"],"names":[],"mappings":";;;AAAA,6BAAuB;AACvB,mEAAqE;AACrE,IAAA,qCAAoB,EAAC,OAAC,CAAC,CAAA;AAEvB,yDAA+C;AAE/C,yDAA6D;AAE7D,0DAAmD;AAEnD,iDAAyD;AAEzD,qCAAwK;AAGxK,+DAA+D;AAC/D,EAAE;AACF,kBAAkB;AAClB,EAAE;AACK,MAAM,iBAAiB,GAAG,GAAG,EAAE,CAAC,OAAC,CAAC,MAAM,CAAC;IAC5C,cAAc,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,CAAC,6BAAoB,CAAC;IACxD,cAAc,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,CAAC,6BAAoB,CAAC;IACxD,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,CAAC,IAAA,sBAAQ,GAAE,CAAC;CACvC,CAAC,CAAC,GAAG,CAAC,OAAC,CAAC,MAAM,CAAC,OAAC,CAAC,G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AAE,EAAE,GAAG,EAAE,gBAAgB,EAAE,EAAE,CAAC,CAAA;AAAzF,QAAA,OAAO,WAAkF"}
|
||||
@ -1,6 +1,6 @@
|
||||
import { z } from 'zod'
|
||||
import { extendZodWithOpenApi } from '@asteasolutions/zod-to-openapi'
|
||||
extendZodWithOpenApi(z)
|
||||
//import { extendZodWithOpenApi } from '@asteasolutions/zod-to-openapi'
|
||||
//extendZodWithOpenApi(z)
|
||||
|
||||
import { write } from '@plastichub/osr-commons'
|
||||
|
||||
|
||||
40
packages/osr-tasks/tasks/utils.d.ts
vendored
40
packages/osr-tasks/tasks/utils.d.ts
vendored
@ -13,23 +13,23 @@ export declare const mailOptionSchema: z.ZodObject<{
|
||||
logLevel: z.ZodDefault<z.ZodString>;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
filter?: boolean;
|
||||
transport?: string;
|
||||
query?: string;
|
||||
subject?: string;
|
||||
from?: string;
|
||||
logLevel?: string;
|
||||
dry?: boolean;
|
||||
transport?: string;
|
||||
contacts?: string;
|
||||
to?: string;
|
||||
send?: boolean;
|
||||
}, {
|
||||
filter?: boolean;
|
||||
transport?: string;
|
||||
query?: string;
|
||||
subject?: string;
|
||||
from?: string;
|
||||
logLevel?: string;
|
||||
dry?: boolean;
|
||||
transport?: string;
|
||||
contacts?: string;
|
||||
to?: string;
|
||||
send?: boolean;
|
||||
@ -89,12 +89,19 @@ export declare const mailCompileSchema: (grunt: any) => z.ZodObject<{
|
||||
}>;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
source?: string;
|
||||
module?: string;
|
||||
output?: string;
|
||||
template?: string;
|
||||
language?: string;
|
||||
cwd?: string;
|
||||
env?: string;
|
||||
format?: string;
|
||||
module?: string;
|
||||
output?: string;
|
||||
sourceLanguage?: string;
|
||||
targetLanguage?: string;
|
||||
logLevel?: string;
|
||||
root?: string;
|
||||
profile?: string;
|
||||
cache?: boolean;
|
||||
variables?: {
|
||||
cwd?: string;
|
||||
sourceLanguage?: string;
|
||||
@ -102,21 +109,21 @@ export declare const mailCompileSchema: (grunt: any) => z.ZodObject<{
|
||||
i18n?: string;
|
||||
root?: string;
|
||||
};
|
||||
sourceLanguage?: string;
|
||||
targetLanguage?: string;
|
||||
root?: string;
|
||||
language?: string;
|
||||
template?: string;
|
||||
profile?: string;
|
||||
cache?: boolean;
|
||||
}, {
|
||||
source?: string;
|
||||
module?: string;
|
||||
output?: string;
|
||||
template?: string;
|
||||
language?: string;
|
||||
cwd?: string;
|
||||
env?: string;
|
||||
format?: string;
|
||||
module?: string;
|
||||
output?: string;
|
||||
sourceLanguage?: string;
|
||||
targetLanguage?: string;
|
||||
logLevel?: string;
|
||||
root?: string;
|
||||
profile?: string;
|
||||
cache?: boolean;
|
||||
variables?: {
|
||||
cwd?: string;
|
||||
sourceLanguage?: string;
|
||||
@ -124,12 +131,5 @@ export declare const mailCompileSchema: (grunt: any) => z.ZodObject<{
|
||||
i18n?: string;
|
||||
root?: string;
|
||||
};
|
||||
sourceLanguage?: string;
|
||||
targetLanguage?: string;
|
||||
root?: string;
|
||||
language?: string;
|
||||
template?: string;
|
||||
profile?: string;
|
||||
cache?: boolean;
|
||||
}>;
|
||||
export declare const enumerateHelpStrings: (schema: ZodTypeAny, path: string[], logger: any) => void;
|
||||
|
||||
1
packages/osrl/conf/bootstrap.d.ts
vendored
1
packages/osrl/conf/bootstrap.d.ts
vendored
@ -1,5 +1,4 @@
|
||||
/// <reference types="node" />
|
||||
/// <reference types="node" />
|
||||
import { IBaseOptions, IProcessingNode } from '@plastichub/fs/interfaces';
|
||||
import { ArrayIterator } from '@plastichub/core/iterator';
|
||||
import { IObjectLiteral } from '@plastichub/core';
|
||||
|
||||
1
packages/osrl/lib/StringUtils.d.ts
vendored
1
packages/osrl/lib/StringUtils.d.ts
vendored
@ -1,5 +1,4 @@
|
||||
/// <reference types="node" />
|
||||
/// <reference types="node" />
|
||||
export declare const DefaultDelimiter: {
|
||||
begin: string;
|
||||
end: string;
|
||||
|
||||
506
packages/osrl/package-lock.json
generated
506
packages/osrl/package-lock.json
generated
@ -165,12 +165,12 @@
|
||||
},
|
||||
"../osr-ai": {
|
||||
"name": "@plastichub/osr-ai",
|
||||
"version": "0.1.6",
|
||||
"version": "0.1.7",
|
||||
"license": "BSD-3-Clause",
|
||||
"dependencies": {
|
||||
"@asteasolutions/zod-to-openapi": "^7.2.0",
|
||||
"@plastichub/core": "^0.1.9",
|
||||
"@plastichub/fs": "^0.13.39",
|
||||
"@plastichub/fs": "^0.13.41",
|
||||
"@plastichub/osr-ai-templates": "file:../osr-ai-templates",
|
||||
"@plastichub/osr-cache": "^0.4.7",
|
||||
"@plastichub/osr-cli-commons": "file:../osr-cli-commons",
|
||||
@ -181,7 +181,6 @@
|
||||
"@types/cacache": "^15.0.1",
|
||||
"@types/mime-types": "^2.1.4",
|
||||
"@types/node": "^14.18.63",
|
||||
"@types/yargs": "^17.0.33",
|
||||
"axios": "^1.7.7",
|
||||
"cacache": "^17.0.3",
|
||||
"chalk": "^2.4.1",
|
||||
@ -196,10 +195,11 @@
|
||||
"md5": "^2.3.0",
|
||||
"mime-types": "^2.1.35",
|
||||
"openai": "^4.72.0",
|
||||
"tslog": "^3.3.3",
|
||||
"typescript": "^5.3.3",
|
||||
"yargs": "^14.2.3",
|
||||
"yargs": "^17.7.2",
|
||||
"yauzl": "^3.0.0",
|
||||
"zod": "^3.23.8",
|
||||
"zod": "^3.24.1",
|
||||
"zod-to-json-schema": "^3.23.3"
|
||||
},
|
||||
"bin": {
|
||||
@ -211,14 +211,13 @@
|
||||
},
|
||||
"../osr-cli-commons": {
|
||||
"name": "@plastichub/osr-cli-commons",
|
||||
"version": "0.5.2",
|
||||
"version": "0.5.7",
|
||||
"license": "BSD-3-Clause",
|
||||
"dependencies": {
|
||||
"@asteasolutions/zod-to-openapi": "github:asteasolutions/zod-to-openapi",
|
||||
"@plastichub/core": "^0.2.6",
|
||||
"@plastichub/fs": "^0.13.32",
|
||||
"@plastichub/osr-commons": "file:../osr-commons",
|
||||
"@plastichub/osr-log": "file:../osr-log",
|
||||
"@plastichub/fs": "^0.13.40",
|
||||
"@plastichub/osr-commons": "^0.4.6",
|
||||
"@plastichub/osr-log": "^0.1.2",
|
||||
"ansi-regex": "^5.0.0",
|
||||
"cryptr": "^6.0.3",
|
||||
"env-var": "^7.1.1",
|
||||
@ -241,7 +240,7 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/jest": "^29.5.14",
|
||||
"@types/node": "^20.17.6",
|
||||
"@types/node": "^20.17.16",
|
||||
"@types/yargs": "^17.0.33",
|
||||
"jest": "^29.7.0",
|
||||
"ts-jest": "^29.2.5"
|
||||
@ -252,13 +251,11 @@
|
||||
},
|
||||
"../osr-commons": {
|
||||
"name": "@plastichub/osr-commons",
|
||||
"version": "0.3.4",
|
||||
"version": "0.5.3",
|
||||
"license": "BSD-3-Clause",
|
||||
"dependencies": {
|
||||
"@asteasolutions/zod-to-openapi": "^7.2.0",
|
||||
"@plastichub/core": "^0.2.6",
|
||||
"@plastichub/fs": "^0.13.39",
|
||||
"@plastichub/osr-log": "file:../osr-log",
|
||||
"@plastichub/fs": "^0.13.41",
|
||||
"cryptr": "^6.0.3",
|
||||
"env-var": "^7.1.1",
|
||||
"fast-glob": "^3.3.2",
|
||||
@ -270,16 +267,12 @@
|
||||
"tslog": "^4.9.3",
|
||||
"typescript": "^5.6.3",
|
||||
"yargs": "^17.7.2",
|
||||
"zod": "^3.23.8",
|
||||
"zod": "^3.24.1",
|
||||
"zod-to-json-schema": "^3.23.5",
|
||||
"zod-to-ts": "^1.2.0"
|
||||
},
|
||||
"bin": {
|
||||
"osr-commons": "main.js"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/download": "^8.0.1",
|
||||
"@types/node": "^22.8.6"
|
||||
"@types/node": "^22.12.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 14.0.0"
|
||||
@ -350,9 +343,10 @@
|
||||
"license": "BSD-3-Clause",
|
||||
"dependencies": {
|
||||
"@iarna/toml": "^2.2.5",
|
||||
"@plastichub/core": "link:..\\core",
|
||||
"@plastichub/fs": "^0.13.39",
|
||||
"@plastichub/osr-cache": "^0.4.7",
|
||||
"@plastichub/osr-cli-commons": "^0.5.1",
|
||||
"@plastichub/osr-cache": "file:../osr-cache",
|
||||
"@plastichub/osr-cli-commons": "file:../osr-cli-commons",
|
||||
"@plastichub/osr-commons": "file:../osr-commons",
|
||||
"@plastichub/osr-log": "file:../osr-log",
|
||||
"@plastichub/osr-sync": "^0.3.8",
|
||||
@ -392,36 +386,21 @@
|
||||
},
|
||||
"../osr-log": {
|
||||
"name": "@plastichub/osr-log",
|
||||
"version": "0.0.1",
|
||||
"version": "0.1.6",
|
||||
"dependencies": {
|
||||
"@datalust/winston-seq": "^2.0.0",
|
||||
"@plastichub/core": "^0.1.9",
|
||||
"@plastichub/fs": "^0.13.39",
|
||||
"@plastichub/osr-cli-commons": "^0.5.2",
|
||||
"@types/chokidar": "^2.1.3",
|
||||
"@types/grunt": "^0.4.31",
|
||||
"@types/lodash": "^4.14.148",
|
||||
"@types/node": "^20.14.2",
|
||||
"bluebird": "^3.7.2",
|
||||
"cheerio": "^1.0.0-rc.10",
|
||||
"chokidar": "^3.5.3",
|
||||
"exifreader": "^4.23.2",
|
||||
"fast-glob": "^3.2.12",
|
||||
"filenamify": "^5.1.0",
|
||||
"front-matter": "^4.0.2",
|
||||
"grunt": "^1.6.1",
|
||||
"grunt-contrib-clean": "^2.0.0",
|
||||
"grunt-extend-config": "^0.9.7",
|
||||
"grunt-parallel": "^0.5.1",
|
||||
"grunt-shell": "^3.0.1",
|
||||
"npm-run-all": "^4.1.5",
|
||||
"@plastichub/fs": "^0.13.40",
|
||||
"@plastichub/osr-commons": "^0.5.0",
|
||||
"p-map": "^4.0.0",
|
||||
"rotating-file-stream": "^3.2.3",
|
||||
"sanitize-filename": "^1.6.3",
|
||||
"rotating-file-stream": "^3.2.5",
|
||||
"tslog": "^4.9.3",
|
||||
"yaml": "^2.4.2",
|
||||
"yargs": "^17.7.2",
|
||||
"yargs-parser": "^21.1.1",
|
||||
"winston": "^3.17.0",
|
||||
"winston-transport": "^4.9.0",
|
||||
"zod": "^3.23.8"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^22.12.0"
|
||||
}
|
||||
},
|
||||
"../osr-tasks": {
|
||||
@ -522,6 +501,18 @@
|
||||
"node": ">=6.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@asteasolutions/zod-to-openapi": {
|
||||
"version": "7.3.0",
|
||||
"resolved": "https://registry.npmjs.org/@asteasolutions/zod-to-openapi/-/zod-to-openapi-7.3.0.tgz",
|
||||
"integrity": "sha512-7tE/r1gXwMIvGnXVUdIqUhCU1RevEFC4Jk6Bussa0fk1ecbnnINkZzj1EOAJyE/M3AI25DnHT/zKQL1/FPFi8Q==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"openapi3-ts": "^4.1.2"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"zod": "^3.20.2"
|
||||
}
|
||||
},
|
||||
"node_modules/@babel/code-frame": {
|
||||
"version": "7.26.0",
|
||||
"resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.26.0.tgz",
|
||||
@ -4091,22 +4082,6 @@
|
||||
"resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
|
||||
"integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A=="
|
||||
},
|
||||
"node_modules/@plastichub/osr-cache/node_modules/filenamify": {
|
||||
"version": "4.3.0",
|
||||
"resolved": "https://registry.npmjs.org/filenamify/-/filenamify-4.3.0.tgz",
|
||||
"integrity": "sha512-hcFKyUG57yWGAzu1CMt/dPzYZuv+jAJUT85bL8mrXvNe6hWj6yEHEc4EdcgiA6Z3oi1/9wXJdZPXF2dZNgwgOg==",
|
||||
"dependencies": {
|
||||
"filename-reserved-regex": "^2.0.0",
|
||||
"strip-outer": "^1.0.1",
|
||||
"trim-repeated": "^1.0.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=8"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://github.com/sponsors/sindresorhus"
|
||||
}
|
||||
},
|
||||
"node_modules/@plastichub/osr-cache/node_modules/form-data": {
|
||||
"version": "4.0.0",
|
||||
"resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz",
|
||||
@ -4465,6 +4440,143 @@
|
||||
"node": ">= 14.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@plastichub/osr-vcs/node_modules/@plastichub/osr-commons": {
|
||||
"version": "0.3.9",
|
||||
"resolved": "https://registry.npmjs.org/@plastichub/osr-commons/-/osr-commons-0.3.9.tgz",
|
||||
"integrity": "sha512-BR2UdvKaaB2g2/vhSDv1Vgrd+Dc4hoCdXimP2w0J5T4zh6iCQxLKTwHcUyoQHZ13+tjVTkyyeIJ6EvwsBAvLgg==",
|
||||
"license": "BSD-3-Clause",
|
||||
"dependencies": {
|
||||
"@asteasolutions/zod-to-openapi": "^7.2.0",
|
||||
"@plastichub/core": "^0.2.6",
|
||||
"@plastichub/fs": "^0.13.39",
|
||||
"cryptr": "^6.0.3",
|
||||
"env-var": "^7.1.1",
|
||||
"fast-glob": "^3.3.2",
|
||||
"filenamify": "^4.3.0",
|
||||
"glob": "^11.0.0",
|
||||
"is-glob": "^4.0.3",
|
||||
"parse-glob": "^3.0.4",
|
||||
"sanitize-filename": "^1.6.3",
|
||||
"tslog": "^4.9.3",
|
||||
"typescript": "^5.6.3",
|
||||
"yargs": "^17.7.2",
|
||||
"zod": "^3.23.8",
|
||||
"zod-to-json-schema": "^3.23.5",
|
||||
"zod-to-ts": "^1.2.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 14.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@plastichub/osr-vcs/node_modules/@plastichub/osr-commons/node_modules/glob": {
|
||||
"version": "11.0.1",
|
||||
"resolved": "https://registry.npmjs.org/glob/-/glob-11.0.1.tgz",
|
||||
"integrity": "sha512-zrQDm8XPnYEKawJScsnM0QzobJxlT/kHOOlRTio8IH/GrmxRE5fjllkzdaHclIuNjUQTJYH2xHNIGfdpJkDJUw==",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"foreground-child": "^3.1.0",
|
||||
"jackspeak": "^4.0.1",
|
||||
"minimatch": "^10.0.0",
|
||||
"minipass": "^7.1.2",
|
||||
"package-json-from-dist": "^1.0.0",
|
||||
"path-scurry": "^2.0.0"
|
||||
},
|
||||
"bin": {
|
||||
"glob": "dist/esm/bin.mjs"
|
||||
},
|
||||
"engines": {
|
||||
"node": "20 || >=22"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://github.com/sponsors/isaacs"
|
||||
}
|
||||
},
|
||||
"node_modules/@plastichub/osr-vcs/node_modules/@plastichub/osr-commons/node_modules/jackspeak": {
|
||||
"version": "4.0.2",
|
||||
"resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-4.0.2.tgz",
|
||||
"integrity": "sha512-bZsjR/iRjl1Nk1UkjGpAzLNfQtzuijhn2g+pbZb98HQ1Gk8vM9hfbxeMBP+M2/UUdwj0RqGG3mlvk2MsAqwvEw==",
|
||||
"license": "BlueOak-1.0.0",
|
||||
"dependencies": {
|
||||
"@isaacs/cliui": "^8.0.2"
|
||||
},
|
||||
"engines": {
|
||||
"node": "20 || >=22"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://github.com/sponsors/isaacs"
|
||||
}
|
||||
},
|
||||
"node_modules/@plastichub/osr-vcs/node_modules/@plastichub/osr-commons/node_modules/lru-cache": {
|
||||
"version": "11.0.2",
|
||||
"resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.0.2.tgz",
|
||||
"integrity": "sha512-123qHRfJBmo2jXDbo/a5YOQrJoHF/GNQTLzQ5+IdK5pWpceK17yRc6ozlWd25FxvGKQbIUs91fDFkXmDHTKcyA==",
|
||||
"license": "ISC",
|
||||
"engines": {
|
||||
"node": "20 || >=22"
|
||||
}
|
||||
},
|
||||
"node_modules/@plastichub/osr-vcs/node_modules/@plastichub/osr-commons/node_modules/minimatch": {
|
||||
"version": "10.0.1",
|
||||
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.0.1.tgz",
|
||||
"integrity": "sha512-ethXTt3SGGR+95gudmqJ1eNhRO7eGEGIgYA9vnPatK4/etz2MEVDno5GMCibdMTuBMyElzIlgxMna3K94XDIDQ==",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"brace-expansion": "^2.0.1"
|
||||
},
|
||||
"engines": {
|
||||
"node": "20 || >=22"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://github.com/sponsors/isaacs"
|
||||
}
|
||||
},
|
||||
"node_modules/@plastichub/osr-vcs/node_modules/@plastichub/osr-commons/node_modules/minipass": {
|
||||
"version": "7.1.2",
|
||||
"resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz",
|
||||
"integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==",
|
||||
"license": "ISC",
|
||||
"engines": {
|
||||
"node": ">=16 || 14 >=14.17"
|
||||
}
|
||||
},
|
||||
"node_modules/@plastichub/osr-vcs/node_modules/@plastichub/osr-commons/node_modules/path-scurry": {
|
||||
"version": "2.0.0",
|
||||
"resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-2.0.0.tgz",
|
||||
"integrity": "sha512-ypGJsmGtdXUOeM5u93TyeIEfEhM6s+ljAhrk5vAvSx8uyY/02OvrZnA0YNGUrPXfpJMgI1ODd3nwz8Npx4O4cg==",
|
||||
"license": "BlueOak-1.0.0",
|
||||
"dependencies": {
|
||||
"lru-cache": "^11.0.0",
|
||||
"minipass": "^7.1.2"
|
||||
},
|
||||
"engines": {
|
||||
"node": "20 || >=22"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://github.com/sponsors/isaacs"
|
||||
}
|
||||
},
|
||||
"node_modules/@plastichub/osr-vcs/node_modules/@plastichub/osr-commons/node_modules/typescript": {
|
||||
"version": "5.7.3",
|
||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.7.3.tgz",
|
||||
"integrity": "sha512-84MVSjMEHP+FQRPy3pX9sTVV/INIex71s9TL2Gm5FG/WG1SqXeKyZ0k7/blY/4FdOzI12CBy1vGc4og/eus0fw==",
|
||||
"license": "Apache-2.0",
|
||||
"bin": {
|
||||
"tsc": "bin/tsc",
|
||||
"tsserver": "bin/tsserver"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=14.17"
|
||||
}
|
||||
},
|
||||
"node_modules/@plastichub/osr-vcs/node_modules/@plastichub/osr-commons/node_modules/zod-to-ts": {
|
||||
"version": "1.2.0",
|
||||
"resolved": "https://registry.npmjs.org/zod-to-ts/-/zod-to-ts-1.2.0.tgz",
|
||||
"integrity": "sha512-x30XE43V+InwGpvTySRNz9kB7qFU8DlyEy7BsSTCHPH1R0QasMmHWZDCzYm6bVXtj/9NNJAZF3jW8rzFvH5OFA==",
|
||||
"peerDependencies": {
|
||||
"typescript": "^4.9.4 || ^5.0.2",
|
||||
"zod": "^3"
|
||||
}
|
||||
},
|
||||
"node_modules/@plastichub/osr-vcs/node_modules/@types/node": {
|
||||
"version": "14.18.63",
|
||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.63.tgz",
|
||||
@ -4801,6 +4913,18 @@
|
||||
"node": ">=8"
|
||||
}
|
||||
},
|
||||
"node_modules/@plastichub/osr-vcs/node_modules/tslog": {
|
||||
"version": "4.9.3",
|
||||
"resolved": "https://registry.npmjs.org/tslog/-/tslog-4.9.3.tgz",
|
||||
"integrity": "sha512-oDWuGVONxhVEBtschLf2cs/Jy8i7h1T+CpdkTNWQgdAF7DhRo2G8vMCgILKe7ojdEkLhICWgI1LYSSKaJsRgcw==",
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">=16"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://github.com/fullstack-build/tslog?sponsor=1"
|
||||
}
|
||||
},
|
||||
"node_modules/@plastichub/osr-vcs/node_modules/unique-filename": {
|
||||
"version": "2.0.1",
|
||||
"resolved": "https://registry.npmjs.org/unique-filename/-/unique-filename-2.0.1.tgz",
|
||||
@ -9003,6 +9127,23 @@
|
||||
"node": ">=4"
|
||||
}
|
||||
},
|
||||
"node_modules/filenamify": {
|
||||
"version": "4.3.0",
|
||||
"resolved": "https://registry.npmjs.org/filenamify/-/filenamify-4.3.0.tgz",
|
||||
"integrity": "sha512-hcFKyUG57yWGAzu1CMt/dPzYZuv+jAJUT85bL8mrXvNe6hWj6yEHEc4EdcgiA6Z3oi1/9wXJdZPXF2dZNgwgOg==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"filename-reserved-regex": "^2.0.0",
|
||||
"strip-outer": "^1.0.1",
|
||||
"trim-repeated": "^1.0.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=8"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://github.com/sponsors/sindresorhus"
|
||||
}
|
||||
},
|
||||
"node_modules/filesize": {
|
||||
"version": "3.6.1",
|
||||
"resolved": "https://registry.npmjs.org/filesize/-/filesize-3.6.1.tgz",
|
||||
@ -12767,6 +12908,15 @@
|
||||
"url": "https://github.com/sponsors/sindresorhus"
|
||||
}
|
||||
},
|
||||
"node_modules/openapi3-ts": {
|
||||
"version": "4.4.0",
|
||||
"resolved": "https://registry.npmjs.org/openapi3-ts/-/openapi3-ts-4.4.0.tgz",
|
||||
"integrity": "sha512-9asTNB9IkKEzWMcHmVZE7Ts3kC9G7AFHfs8i7caD8HbI76gEjdkId4z/AkP83xdZsH7PLAnnbl47qZkXuxpArw==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"yaml": "^2.5.0"
|
||||
}
|
||||
},
|
||||
"node_modules/opn": {
|
||||
"version": "5.5.0",
|
||||
"resolved": "https://registry.npmjs.org/opn/-/opn-5.5.0.tgz",
|
||||
@ -18194,9 +18344,10 @@
|
||||
"integrity": "sha1-HBH5IY8HYImkfdUS+TxmmaaoHVI="
|
||||
},
|
||||
"node_modules/yaml": {
|
||||
"version": "2.4.2",
|
||||
"resolved": "https://registry.npmjs.org/yaml/-/yaml-2.4.2.tgz",
|
||||
"integrity": "sha512-B3VqDZ+JAg1nZpaEmWtTXUlBneoGx6CPM9b0TENK6aoSu5t73dItudwdgmi6tHlIZZId4dZ9skcAQ2UbcyAeVA==",
|
||||
"version": "2.7.0",
|
||||
"resolved": "https://registry.npmjs.org/yaml/-/yaml-2.7.0.tgz",
|
||||
"integrity": "sha512-+hSoy/QHluxmC9kCIJyL/uyFmLmc+e5CFR5Wa+bpIhIj85LVb9ZH2nVnqrHoSvKogwODv0ClqZkmiSSaIH5LTA==",
|
||||
"license": "ISC",
|
||||
"bin": {
|
||||
"yaml": "bin.mjs"
|
||||
},
|
||||
@ -18278,13 +18429,22 @@
|
||||
}
|
||||
},
|
||||
"node_modules/zod": {
|
||||
"version": "3.23.8",
|
||||
"resolved": "https://registry.npmjs.org/zod/-/zod-3.23.8.tgz",
|
||||
"integrity": "sha512-XBx9AXhXktjUqnepgTiE5flcKIYWi/rme0Eaj+5Y0lftuGBq+jyRu/md4WnuxqgP1ubdpNCsYEYPxrzVHD8d6g==",
|
||||
"version": "3.24.1",
|
||||
"resolved": "https://registry.npmjs.org/zod/-/zod-3.24.1.tgz",
|
||||
"integrity": "sha512-muH7gBL9sI1nciMZV67X5fTKKBLtwpZ5VBp1vsOQzj1MhrBZ4wlVCm3gedKZWLp0Oyel8sIGfeiz54Su+OVT+A==",
|
||||
"license": "MIT",
|
||||
"funding": {
|
||||
"url": "https://github.com/sponsors/colinhacks"
|
||||
}
|
||||
},
|
||||
"node_modules/zod-to-json-schema": {
|
||||
"version": "3.24.1",
|
||||
"resolved": "https://registry.npmjs.org/zod-to-json-schema/-/zod-to-json-schema-3.24.1.tgz",
|
||||
"integrity": "sha512-3h08nf3Vw3Wl3PK+q3ow/lIil81IT2Oa7YpQyUUDsEWbXveMesdfK1xBd2RhCkynwZndAxixji/7SYJJowr62w==",
|
||||
"license": "ISC",
|
||||
"peerDependencies": {
|
||||
"zod": "^3.24.1"
|
||||
}
|
||||
}
|
||||
},
|
||||
"dependencies": {
|
||||
@ -18298,6 +18458,14 @@
|
||||
"@jridgewell/trace-mapping": "^0.3.24"
|
||||
}
|
||||
},
|
||||
"@asteasolutions/zod-to-openapi": {
|
||||
"version": "7.3.0",
|
||||
"resolved": "https://registry.npmjs.org/@asteasolutions/zod-to-openapi/-/zod-to-openapi-7.3.0.tgz",
|
||||
"integrity": "sha512-7tE/r1gXwMIvGnXVUdIqUhCU1RevEFC4Jk6Bussa0fk1ecbnnINkZzj1EOAJyE/M3AI25DnHT/zKQL1/FPFi8Q==",
|
||||
"requires": {
|
||||
"openapi3-ts": "^4.1.2"
|
||||
}
|
||||
},
|
||||
"@babel/code-frame": {
|
||||
"version": "7.26.0",
|
||||
"resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.26.0.tgz",
|
||||
@ -20186,7 +20354,7 @@
|
||||
"requires": {
|
||||
"@asteasolutions/zod-to-openapi": "^7.2.0",
|
||||
"@plastichub/core": "^0.1.9",
|
||||
"@plastichub/fs": "^0.13.39",
|
||||
"@plastichub/fs": "^0.13.41",
|
||||
"@plastichub/osr-ai-templates": "file:../osr-ai-templates",
|
||||
"@plastichub/osr-cache": "^0.4.7",
|
||||
"@plastichub/osr-cli-commons": "file:../osr-cli-commons",
|
||||
@ -20197,7 +20365,6 @@
|
||||
"@types/cacache": "^15.0.1",
|
||||
"@types/mime-types": "^2.1.4",
|
||||
"@types/node": "^14.18.63",
|
||||
"@types/yargs": "^17.0.33",
|
||||
"axios": "^1.7.7",
|
||||
"cacache": "^17.0.3",
|
||||
"chalk": "^2.4.1",
|
||||
@ -20212,10 +20379,11 @@
|
||||
"md5": "^2.3.0",
|
||||
"mime-types": "^2.1.35",
|
||||
"openai": "^4.72.0",
|
||||
"tslog": "^3.3.3",
|
||||
"typescript": "^5.3.3",
|
||||
"yargs": "^14.2.3",
|
||||
"yargs": "^17.7.2",
|
||||
"yauzl": "^3.0.0",
|
||||
"zod": "^3.23.8",
|
||||
"zod": "^3.24.1",
|
||||
"zod-to-json-schema": "^3.23.3"
|
||||
}
|
||||
},
|
||||
@ -20494,16 +20662,6 @@
|
||||
"resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
|
||||
"integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A=="
|
||||
},
|
||||
"filenamify": {
|
||||
"version": "4.3.0",
|
||||
"resolved": "https://registry.npmjs.org/filenamify/-/filenamify-4.3.0.tgz",
|
||||
"integrity": "sha512-hcFKyUG57yWGAzu1CMt/dPzYZuv+jAJUT85bL8mrXvNe6hWj6yEHEc4EdcgiA6Z3oi1/9wXJdZPXF2dZNgwgOg==",
|
||||
"requires": {
|
||||
"filename-reserved-regex": "^2.0.0",
|
||||
"strip-outer": "^1.0.1",
|
||||
"trim-repeated": "^1.0.0"
|
||||
}
|
||||
},
|
||||
"form-data": {
|
||||
"version": "4.0.0",
|
||||
"resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz",
|
||||
@ -20685,13 +20843,12 @@
|
||||
"@plastichub/osr-cli-commons": {
|
||||
"version": "file:../osr-cli-commons",
|
||||
"requires": {
|
||||
"@asteasolutions/zod-to-openapi": "github:asteasolutions/zod-to-openapi",
|
||||
"@plastichub/core": "^0.2.6",
|
||||
"@plastichub/fs": "^0.13.32",
|
||||
"@plastichub/osr-commons": "file:../osr-commons",
|
||||
"@plastichub/osr-log": "file:../osr-log",
|
||||
"@plastichub/fs": "^0.13.40",
|
||||
"@plastichub/osr-commons": "^0.4.6",
|
||||
"@plastichub/osr-log": "^0.1.2",
|
||||
"@types/jest": "^29.5.14",
|
||||
"@types/node": "^20.17.6",
|
||||
"@types/node": "^20.17.16",
|
||||
"@types/yargs": "^17.0.33",
|
||||
"ansi-regex": "^5.0.0",
|
||||
"cryptr": "^6.0.3",
|
||||
@ -20716,12 +20873,9 @@
|
||||
"@plastichub/osr-commons": {
|
||||
"version": "file:../osr-commons",
|
||||
"requires": {
|
||||
"@asteasolutions/zod-to-openapi": "^7.2.0",
|
||||
"@plastichub/core": "^0.2.6",
|
||||
"@plastichub/fs": "^0.13.39",
|
||||
"@plastichub/osr-log": "file:../osr-log",
|
||||
"@types/download": "^8.0.1",
|
||||
"@types/node": "^22.8.6",
|
||||
"@plastichub/fs": "^0.13.41",
|
||||
"@types/node": "^22.12.0",
|
||||
"cryptr": "^6.0.3",
|
||||
"env-var": "^7.1.1",
|
||||
"fast-glob": "^3.3.2",
|
||||
@ -20733,7 +20887,7 @@
|
||||
"tslog": "^4.9.3",
|
||||
"typescript": "^5.6.3",
|
||||
"yargs": "^17.7.2",
|
||||
"zod": "^3.23.8",
|
||||
"zod": "^3.24.1",
|
||||
"zod-to-json-schema": "^3.23.5",
|
||||
"zod-to-ts": "^1.2.0"
|
||||
}
|
||||
@ -20742,9 +20896,10 @@
|
||||
"version": "file:../osr-i18n",
|
||||
"requires": {
|
||||
"@iarna/toml": "^2.2.5",
|
||||
"@plastichub/core": "link:..\\core",
|
||||
"@plastichub/fs": "^0.13.39",
|
||||
"@plastichub/osr-cache": "^0.4.7",
|
||||
"@plastichub/osr-cli-commons": "^0.5.1",
|
||||
"@plastichub/osr-cache": "file:../osr-cache",
|
||||
"@plastichub/osr-cli-commons": "file:../osr-cli-commons",
|
||||
"@plastichub/osr-commons": "file:../osr-commons",
|
||||
"@plastichub/osr-log": "file:../osr-log",
|
||||
"@plastichub/osr-sync": "^0.3.8",
|
||||
@ -20779,33 +20934,16 @@
|
||||
"@plastichub/osr-log": {
|
||||
"version": "file:../osr-log",
|
||||
"requires": {
|
||||
"@datalust/winston-seq": "^2.0.0",
|
||||
"@plastichub/core": "^0.1.9",
|
||||
"@plastichub/fs": "^0.13.39",
|
||||
"@plastichub/osr-cli-commons": "^0.5.2",
|
||||
"@types/chokidar": "^2.1.3",
|
||||
"@types/grunt": "^0.4.31",
|
||||
"@types/lodash": "^4.14.148",
|
||||
"@types/node": "^20.14.2",
|
||||
"bluebird": "^3.7.2",
|
||||
"cheerio": "^1.0.0-rc.10",
|
||||
"chokidar": "^3.5.3",
|
||||
"exifreader": "^4.23.2",
|
||||
"fast-glob": "^3.2.12",
|
||||
"filenamify": "^5.1.0",
|
||||
"front-matter": "^4.0.2",
|
||||
"grunt": "^1.6.1",
|
||||
"grunt-contrib-clean": "^2.0.0",
|
||||
"grunt-extend-config": "^0.9.7",
|
||||
"grunt-parallel": "^0.5.1",
|
||||
"grunt-shell": "^3.0.1",
|
||||
"npm-run-all": "^4.1.5",
|
||||
"@plastichub/fs": "^0.13.40",
|
||||
"@plastichub/osr-commons": "^0.5.0",
|
||||
"@types/node": "^22.12.0",
|
||||
"p-map": "^4.0.0",
|
||||
"rotating-file-stream": "^3.2.3",
|
||||
"sanitize-filename": "^1.6.3",
|
||||
"rotating-file-stream": "^3.2.5",
|
||||
"tslog": "^4.9.3",
|
||||
"yaml": "^2.4.2",
|
||||
"yargs": "^17.7.2",
|
||||
"yargs-parser": "^21.1.1",
|
||||
"winston": "^3.17.0",
|
||||
"winston-transport": "^4.9.0",
|
||||
"zod": "^3.23.8"
|
||||
}
|
||||
},
|
||||
@ -20874,6 +21012,91 @@
|
||||
"yargs": "^17.5.1"
|
||||
}
|
||||
},
|
||||
"@plastichub/osr-commons": {
|
||||
"version": "0.3.9",
|
||||
"resolved": "https://registry.npmjs.org/@plastichub/osr-commons/-/osr-commons-0.3.9.tgz",
|
||||
"integrity": "sha512-BR2UdvKaaB2g2/vhSDv1Vgrd+Dc4hoCdXimP2w0J5T4zh6iCQxLKTwHcUyoQHZ13+tjVTkyyeIJ6EvwsBAvLgg==",
|
||||
"requires": {
|
||||
"@asteasolutions/zod-to-openapi": "^7.2.0",
|
||||
"@plastichub/core": "^0.2.6",
|
||||
"@plastichub/fs": "^0.13.39",
|
||||
"cryptr": "^6.0.3",
|
||||
"env-var": "^7.1.1",
|
||||
"fast-glob": "^3.3.2",
|
||||
"filenamify": "^4.3.0",
|
||||
"glob": "^11.0.0",
|
||||
"is-glob": "^4.0.3",
|
||||
"parse-glob": "^3.0.4",
|
||||
"sanitize-filename": "^1.6.3",
|
||||
"tslog": "^4.9.3",
|
||||
"typescript": "^5.6.3",
|
||||
"yargs": "^17.7.2",
|
||||
"zod": "^3.23.8",
|
||||
"zod-to-json-schema": "^3.23.5",
|
||||
"zod-to-ts": "^1.2.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"glob": {
|
||||
"version": "11.0.1",
|
||||
"resolved": "https://registry.npmjs.org/glob/-/glob-11.0.1.tgz",
|
||||
"integrity": "sha512-zrQDm8XPnYEKawJScsnM0QzobJxlT/kHOOlRTio8IH/GrmxRE5fjllkzdaHclIuNjUQTJYH2xHNIGfdpJkDJUw==",
|
||||
"requires": {
|
||||
"foreground-child": "^3.1.0",
|
||||
"jackspeak": "^4.0.1",
|
||||
"minimatch": "^10.0.0",
|
||||
"minipass": "^7.1.2",
|
||||
"package-json-from-dist": "^1.0.0",
|
||||
"path-scurry": "^2.0.0"
|
||||
}
|
||||
},
|
||||
"jackspeak": {
|
||||
"version": "4.0.2",
|
||||
"resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-4.0.2.tgz",
|
||||
"integrity": "sha512-bZsjR/iRjl1Nk1UkjGpAzLNfQtzuijhn2g+pbZb98HQ1Gk8vM9hfbxeMBP+M2/UUdwj0RqGG3mlvk2MsAqwvEw==",
|
||||
"requires": {
|
||||
"@isaacs/cliui": "^8.0.2"
|
||||
}
|
||||
},
|
||||
"lru-cache": {
|
||||
"version": "11.0.2",
|
||||
"resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.0.2.tgz",
|
||||
"integrity": "sha512-123qHRfJBmo2jXDbo/a5YOQrJoHF/GNQTLzQ5+IdK5pWpceK17yRc6ozlWd25FxvGKQbIUs91fDFkXmDHTKcyA=="
|
||||
},
|
||||
"minimatch": {
|
||||
"version": "10.0.1",
|
||||
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.0.1.tgz",
|
||||
"integrity": "sha512-ethXTt3SGGR+95gudmqJ1eNhRO7eGEGIgYA9vnPatK4/etz2MEVDno5GMCibdMTuBMyElzIlgxMna3K94XDIDQ==",
|
||||
"requires": {
|
||||
"brace-expansion": "^2.0.1"
|
||||
}
|
||||
},
|
||||
"minipass": {
|
||||
"version": "7.1.2",
|
||||
"resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz",
|
||||
"integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw=="
|
||||
},
|
||||
"path-scurry": {
|
||||
"version": "2.0.0",
|
||||
"resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-2.0.0.tgz",
|
||||
"integrity": "sha512-ypGJsmGtdXUOeM5u93TyeIEfEhM6s+ljAhrk5vAvSx8uyY/02OvrZnA0YNGUrPXfpJMgI1ODd3nwz8Npx4O4cg==",
|
||||
"requires": {
|
||||
"lru-cache": "^11.0.0",
|
||||
"minipass": "^7.1.2"
|
||||
}
|
||||
},
|
||||
"typescript": {
|
||||
"version": "5.7.3",
|
||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.7.3.tgz",
|
||||
"integrity": "sha512-84MVSjMEHP+FQRPy3pX9sTVV/INIex71s9TL2Gm5FG/WG1SqXeKyZ0k7/blY/4FdOzI12CBy1vGc4og/eus0fw=="
|
||||
},
|
||||
"zod-to-ts": {
|
||||
"version": "1.2.0",
|
||||
"resolved": "https://registry.npmjs.org/zod-to-ts/-/zod-to-ts-1.2.0.tgz",
|
||||
"integrity": "sha512-x30XE43V+InwGpvTySRNz9kB7qFU8DlyEy7BsSTCHPH1R0QasMmHWZDCzYm6bVXtj/9NNJAZF3jW8rzFvH5OFA==",
|
||||
"requires": {}
|
||||
}
|
||||
}
|
||||
},
|
||||
"@types/node": {
|
||||
"version": "14.18.63",
|
||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.63.tgz",
|
||||
@ -21102,6 +21325,11 @@
|
||||
"ansi-regex": "^5.0.1"
|
||||
}
|
||||
},
|
||||
"tslog": {
|
||||
"version": "4.9.3",
|
||||
"resolved": "https://registry.npmjs.org/tslog/-/tslog-4.9.3.tgz",
|
||||
"integrity": "sha512-oDWuGVONxhVEBtschLf2cs/Jy8i7h1T+CpdkTNWQgdAF7DhRo2G8vMCgILKe7ojdEkLhICWgI1LYSSKaJsRgcw=="
|
||||
},
|
||||
"unique-filename": {
|
||||
"version": "2.0.1",
|
||||
"resolved": "https://registry.npmjs.org/unique-filename/-/unique-filename-2.0.1.tgz",
|
||||
@ -24263,6 +24491,16 @@
|
||||
"resolved": "https://registry.npmjs.org/filename-reserved-regex/-/filename-reserved-regex-2.0.0.tgz",
|
||||
"integrity": "sha1-q/c9+rc10EVECr/qLZHzieu/oik="
|
||||
},
|
||||
"filenamify": {
|
||||
"version": "4.3.0",
|
||||
"resolved": "https://registry.npmjs.org/filenamify/-/filenamify-4.3.0.tgz",
|
||||
"integrity": "sha512-hcFKyUG57yWGAzu1CMt/dPzYZuv+jAJUT85bL8mrXvNe6hWj6yEHEc4EdcgiA6Z3oi1/9wXJdZPXF2dZNgwgOg==",
|
||||
"requires": {
|
||||
"filename-reserved-regex": "^2.0.0",
|
||||
"strip-outer": "^1.0.1",
|
||||
"trim-repeated": "^1.0.0"
|
||||
}
|
||||
},
|
||||
"filesize": {
|
||||
"version": "3.6.1",
|
||||
"resolved": "https://registry.npmjs.org/filesize/-/filesize-3.6.1.tgz",
|
||||
@ -27044,6 +27282,14 @@
|
||||
"is-wsl": "^2.1.1"
|
||||
}
|
||||
},
|
||||
"openapi3-ts": {
|
||||
"version": "4.4.0",
|
||||
"resolved": "https://registry.npmjs.org/openapi3-ts/-/openapi3-ts-4.4.0.tgz",
|
||||
"integrity": "sha512-9asTNB9IkKEzWMcHmVZE7Ts3kC9G7AFHfs8i7caD8HbI76gEjdkId4z/AkP83xdZsH7PLAnnbl47qZkXuxpArw==",
|
||||
"requires": {
|
||||
"yaml": "^2.5.0"
|
||||
}
|
||||
},
|
||||
"opn": {
|
||||
"version": "5.5.0",
|
||||
"resolved": "https://registry.npmjs.org/opn/-/opn-5.5.0.tgz",
|
||||
@ -31185,9 +31431,9 @@
|
||||
"integrity": "sha1-HBH5IY8HYImkfdUS+TxmmaaoHVI="
|
||||
},
|
||||
"yaml": {
|
||||
"version": "2.4.2",
|
||||
"resolved": "https://registry.npmjs.org/yaml/-/yaml-2.4.2.tgz",
|
||||
"integrity": "sha512-B3VqDZ+JAg1nZpaEmWtTXUlBneoGx6CPM9b0TENK6aoSu5t73dItudwdgmi6tHlIZZId4dZ9skcAQ2UbcyAeVA=="
|
||||
"version": "2.7.0",
|
||||
"resolved": "https://registry.npmjs.org/yaml/-/yaml-2.7.0.tgz",
|
||||
"integrity": "sha512-+hSoy/QHluxmC9kCIJyL/uyFmLmc+e5CFR5Wa+bpIhIj85LVb9ZH2nVnqrHoSvKogwODv0ClqZkmiSSaIH5LTA=="
|
||||
},
|
||||
"yargs": {
|
||||
"version": "14.2.3",
|
||||
@ -31249,9 +31495,15 @@
|
||||
"integrity": "sha512-b4JR1PFR10y1mKjhHY9LaGo6tmrgjit7hxVIeAmyMw3jegXR4dhYqLaQF5zMXZxY7tLpMyJeLjr1C4rLmkVe8g=="
|
||||
},
|
||||
"zod": {
|
||||
"version": "3.23.8",
|
||||
"resolved": "https://registry.npmjs.org/zod/-/zod-3.23.8.tgz",
|
||||
"integrity": "sha512-XBx9AXhXktjUqnepgTiE5flcKIYWi/rme0Eaj+5Y0lftuGBq+jyRu/md4WnuxqgP1ubdpNCsYEYPxrzVHD8d6g=="
|
||||
"version": "3.24.1",
|
||||
"resolved": "https://registry.npmjs.org/zod/-/zod-3.24.1.tgz",
|
||||
"integrity": "sha512-muH7gBL9sI1nciMZV67X5fTKKBLtwpZ5VBp1vsOQzj1MhrBZ4wlVCm3gedKZWLp0Oyel8sIGfeiz54Su+OVT+A=="
|
||||
},
|
||||
"zod-to-json-schema": {
|
||||
"version": "3.24.1",
|
||||
"resolved": "https://registry.npmjs.org/zod-to-json-schema/-/zod-to-json-schema-3.24.1.tgz",
|
||||
"integrity": "sha512-3h08nf3Vw3Wl3PK+q3ow/lIil81IT2Oa7YpQyUUDsEWbXveMesdfK1xBd2RhCkynwZndAxixji/7SYJJowr62w==",
|
||||
"requires": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -20,7 +20,6 @@
|
||||
"@plastichub/osr-commons": "file:../osr-commons",
|
||||
"@plastichub/osr-i18n": "file:../osr-i18n",
|
||||
"@plastichub/osr-log": "file:../osr-log",
|
||||
"@plastichub/osr-vcs": "^0.0.3",
|
||||
"@types/cacache": "^15.0.1",
|
||||
"@types/download": "^8.0.1",
|
||||
"@types/get-stdin": "^7.0.0",
|
||||
|
||||
20608
pnpm-lock.yaml
20608
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
@ -4,9 +4,9 @@
|
||||
"declaration": true,
|
||||
"emitDeclarationOnly": true,
|
||||
"strict": true,
|
||||
"moduleResolution": "Node16",
|
||||
"moduleResolution": "classic",
|
||||
"target": "ES2022",
|
||||
"module": "Node16",
|
||||
"module": "ES2022",
|
||||
"esModuleInterop": true,
|
||||
"skipLibCheck": true,
|
||||
"stripInternal": true,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user