osr latest
This commit is contained in:
parent
49b360ee29
commit
ad30fe75e4
11
.vscode/launch.json
vendored
11
.vscode/launch.json
vendored
@ -155,18 +155,19 @@
|
||||
"preLaunchTask": "tsc: build - tsconfig.json",
|
||||
"args": [
|
||||
"sync-component",
|
||||
"--cache=false",
|
||||
"--skip=false",
|
||||
"--cache=true",
|
||||
"--skip=true",
|
||||
"--src2='${OSR_LIBRARY_MACHINES}/injection/**/config.+(json)'",
|
||||
"--src='${OSR_LIBRARY_MACHINES}/extrusion/**/config.+(json)'",
|
||||
"--src2='${OSR_LIBRARY_MACHINES}/sheetpress/**/config.+(json)'",
|
||||
"--src2='${OSR_LIBRARY_MACHINES}/extrusion/**/config.+(json)'",
|
||||
"--src='${OSR_LIBRARY_MACHINES}/sheetpress/**/config.+(json)'",
|
||||
"--src2='${OSR_LIBRARY_MACHINES}/shredder/**/config.+(json)'",
|
||||
"--src2='${OSR_LIBRARY_MACHINES}/zoe/config.+(json)'",
|
||||
// "--src='${OSR_LIBRARY_MACHINES}/combo/IntegrationUnitMonash/config.+(json)'",
|
||||
"--src1='${OSR_LIBRARY_MACHINES}/injection/**/config.+(json)'",
|
||||
//"--src='${OSR_LIBRARY_MACHINES}/sheetpress/cassandra-light/config.+(json)'",
|
||||
"--root='${OSR_LIBRARY_MACHINES}'",
|
||||
"--sync=mine"
|
||||
"--sync=mine",
|
||||
"--logLevel=debug"
|
||||
],
|
||||
"outFiles": [
|
||||
"${workspaceFolder}/**/*.js"
|
||||
|
||||
10
commands/import-oa-howtos.d.ts
vendored
10
commands/import-oa-howtos.d.ts
vendored
@ -1,10 +1,2 @@
|
||||
import * as CLI from 'yargs';
|
||||
export declare const register: (cli: CLI.Argv) => CLI.Argv<{
|
||||
debug: boolean;
|
||||
} & {
|
||||
src: string;
|
||||
} & {
|
||||
track: string;
|
||||
} & {
|
||||
env_key: string;
|
||||
}>;
|
||||
export declare const register: (cli: CLI.Argv) => CLI.Argv<{}>;
|
||||
|
||||
10
commands/import-oa-users.d.ts
vendored
10
commands/import-oa-users.d.ts
vendored
@ -1,10 +1,2 @@
|
||||
import * as CLI from 'yargs';
|
||||
export declare const register: (cli: CLI.Argv) => CLI.Argv<{
|
||||
debug: boolean;
|
||||
} & {
|
||||
src: string;
|
||||
} & {
|
||||
track: string;
|
||||
} & {
|
||||
env_key: string;
|
||||
}>;
|
||||
export declare const register: (cli: CLI.Argv) => CLI.Argv<{}>;
|
||||
|
||||
6
commands/info.d.ts
vendored
6
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<{}>;
|
||||
|
||||
12
commands/query.d.ts
vendored
12
commands/query.d.ts
vendored
@ -1,12 +1,2 @@
|
||||
import * as CLI from 'yargs';
|
||||
export declare const register: (cli: CLI.Argv) => CLI.Argv<{
|
||||
debug: boolean;
|
||||
} & {
|
||||
short: string | boolean;
|
||||
} & {
|
||||
disabled: string | boolean;
|
||||
} & {
|
||||
dry: string;
|
||||
} & {
|
||||
env_key: string;
|
||||
}>;
|
||||
export declare const register: (cli: CLI.Argv) => CLI.Argv<{}>;
|
||||
|
||||
56
commands/sync-component.d.ts
vendored
56
commands/sync-component.d.ts
vendored
@ -1,58 +1,4 @@
|
||||
import * as CLI from 'yargs';
|
||||
import { IOptionsSyncComponent } from '../types';
|
||||
export declare const parse: (argv: any) => IOptionsSyncComponent | boolean;
|
||||
export declare const register: (cli: CLI.Argv) => CLI.Argv<{
|
||||
debug: boolean;
|
||||
} & {
|
||||
verbose: boolean;
|
||||
} & {
|
||||
alt: boolean;
|
||||
} & {
|
||||
yaml: boolean;
|
||||
} & {
|
||||
skip: boolean;
|
||||
} & {
|
||||
uploadLocal: boolean;
|
||||
} & {
|
||||
uploadRemote: boolean;
|
||||
} & {
|
||||
title: string;
|
||||
} & {
|
||||
cat: number;
|
||||
} & {
|
||||
timestamp: number;
|
||||
} & {
|
||||
owner: number;
|
||||
} & {
|
||||
config: string;
|
||||
} & {
|
||||
src: string;
|
||||
} & {
|
||||
src2: string;
|
||||
} & {
|
||||
env: string;
|
||||
} & {
|
||||
profile: string;
|
||||
} & {
|
||||
format: string;
|
||||
} & {
|
||||
source: string;
|
||||
} & {
|
||||
language: string;
|
||||
} & {
|
||||
plugins: string;
|
||||
} & {
|
||||
root: string;
|
||||
} & {
|
||||
product_root: string;
|
||||
} & {
|
||||
cwd: string;
|
||||
} & {
|
||||
module: string;
|
||||
} & {
|
||||
filter: string;
|
||||
} & {
|
||||
cache: boolean;
|
||||
} & {
|
||||
env_key: string;
|
||||
}>;
|
||||
export declare const register: (cli: CLI.Argv) => CLI.Argv<{}>;
|
||||
|
||||
File diff suppressed because one or more lines are too long
42
commands/sync-file.d.ts
vendored
42
commands/sync-file.d.ts
vendored
@ -1,42 +1,2 @@
|
||||
import * as CLI from 'yargs';
|
||||
export declare const register: (cli: CLI.Argv) => CLI.Argv<CLI.Omit<{
|
||||
debug: boolean;
|
||||
} & {
|
||||
verbose: boolean;
|
||||
} & {
|
||||
yaml: boolean;
|
||||
} & {
|
||||
alt: boolean;
|
||||
} & {
|
||||
uploadLocal: boolean;
|
||||
} & {
|
||||
uploadRemote: boolean;
|
||||
} & {
|
||||
src: string;
|
||||
} & {
|
||||
title: string;
|
||||
} & {
|
||||
config: string;
|
||||
} & {
|
||||
cat: number;
|
||||
} & {
|
||||
timestamp: number;
|
||||
} & {
|
||||
owner: number;
|
||||
}, "config"> & {
|
||||
config: string;
|
||||
} & {
|
||||
env: string;
|
||||
} & {
|
||||
profile: string;
|
||||
} & {
|
||||
format: string;
|
||||
} & {
|
||||
root: string;
|
||||
} & {
|
||||
cwd: string;
|
||||
} & {
|
||||
cache: boolean;
|
||||
} & {
|
||||
env_key: string;
|
||||
}>;
|
||||
export declare const register: (cli: CLI.Argv) => CLI.Argv<{}>;
|
||||
|
||||
File diff suppressed because one or more lines are too long
1
lib/discourse/index.d.ts
vendored
1
lib/discourse/index.d.ts
vendored
@ -1,4 +1,3 @@
|
||||
import { IDiscourseConfig } from '@plastichub/osr-cli-commons/types';
|
||||
export declare const logger: any;
|
||||
import PromisePool from 'native-promise-pool';
|
||||
export declare const escape: (path: string) => string;
|
||||
|
||||
1
lib/oa/commons.d.ts
vendored
1
lib/oa/commons.d.ts
vendored
@ -1,4 +1,3 @@
|
||||
import { IUploadedFileMeta } from '@plastichub/osr-commons';
|
||||
import { IImportUser, IOAHowto, IOACategory, IOATags, IOAHowtoImport } from '../../';
|
||||
export declare const DEFAULT_HT_CATEGORY: {
|
||||
_modified: string;
|
||||
|
||||
2
lib/oa/users.d.ts
vendored
2
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) => string | false;
|
||||
export declare const oa_user_email: (user: I_OSR_USER) => any;
|
||||
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;
|
||||
|
||||
File diff suppressed because one or more lines are too long
1
lib/sync/index.d.ts
vendored
1
lib/sync/index.d.ts
vendored
@ -1,5 +1,4 @@
|
||||
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;
|
||||
|
||||
@ -8,13 +8,11 @@ const glob_1 = require("@plastichub/osr-cli-commons/glob");
|
||||
const fs_1 = require("@plastichub/osr-cli-commons/fs");
|
||||
const index_1 = require("../../index");
|
||||
const git_1 = require("../git");
|
||||
const moment = require("moment");
|
||||
const read_1 = require("@plastichub/fs/read");
|
||||
const chokidar = require("chokidar");
|
||||
const fileAsBuffer = (path) => (0, read_1.sync)(path, 'buffer') || Buffer.from("-");
|
||||
exports.fileAsBuffer = fileAsBuffer;
|
||||
const moment = require("moment");
|
||||
const variable_extras = async (component, rel, options) => {
|
||||
const parts = path.parse(component);
|
||||
const root = path.resolve((0, fs_1.resolve)('${OSR_LIBRARY_MACHINES}'));
|
||||
const gitStats = await (0, git_1.git_status)(root, rel);
|
||||
const latest = gitStats.latest;
|
||||
@ -40,14 +38,13 @@ const createContent = async (component, _options) => {
|
||||
};
|
||||
const defaults = {
|
||||
language: _options.language,
|
||||
//debug: _options.debug,
|
||||
debug: false,
|
||||
profile: _options.profile,
|
||||
// output: output,
|
||||
plugins: [],
|
||||
env: _options.env || 'forum',
|
||||
cwd: _options.cwd,
|
||||
source: _options.source,
|
||||
source: _options.src,
|
||||
variables
|
||||
};
|
||||
const options = (0, options_1.parse)(defaults, defaults);
|
||||
@ -71,9 +68,8 @@ const createContent = async (component, _options) => {
|
||||
let content = await Engine.render(options.source, {
|
||||
...options.variables,
|
||||
...extras
|
||||
// ...options.profile.variables
|
||||
});
|
||||
return content;
|
||||
};
|
||||
exports.createContent = createContent;
|
||||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3NybC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9saWIvc3luYy9vc3JsLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUFBLDZCQUE0QjtBQUU1QixvREFBMEQ7QUFDMUQsc0RBQWdEO0FBRWhELDJEQUF5RjtBQUV6Rix1REFBd0Q7QUFHeEQsdUNBQW9DO0FBQ3BDLGdDQUFtQztBQUduQyw4Q0FBa0Q7QUFTbEQsTUFBTSxRQUFRLEdBQUcsT0FBTy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BQ3BCLFlBQVksRUFBRSxLQUFLO1FBQ25CLFdBQVcsRUFBRSxLQUFLO1FBQ2xCLGVBQWUsRUFBRSxLQUFLO1FBQ3RCLGNBQWMsRUFBRSxLQUFLO1FBQ3JCLE1BQU0sRUFBRSxLQUFLO0tBQ0osQ0FBQTtJQUViLE1BQU0sTUFBTSxHQUFHLElBQUksZUFBTSxDQUFDLFFBQVEsQ0FBQyxDQUFDO0lBRXBDLE9BQU8sQ0FBQyxLQUFLLElBQUksY0FBTSxDQUFDLElBQUksQ0FBQyxlQUFlLEdBQUcsU0FBUyxFQUFFLFFBQVEsQ0FBQyxDQUFBO0lBRW5FLElBQUksT0FBTyxHQUFHLE1BQU0sTUFBTSxDQUFDLE1BQU0sQ0FBQyxPQUFPLENBQUMsTUFBTSxFQUFFO1FBQzlDLEdBQUcsT0FBTyxDQUFDLFNBQVM7UUFDcEIsR0FBRyxNQUFNO0tBQ1osQ0FBQyxDQUFBO0lBQ0YsT0FBTyxPQUFPLENBQUE7QUFDbEIsQ0FBQyxDQUFBO0FBbkRZLFFBQUEsYUFBYSxpQkFtRHpCIn0=
|
||||
2
main.js
2
main.js
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env node
|
||||
#!/usr/bin/env node
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
process.env['NODE_TLS_REJECT_UNAUTHORIZED'] = '0';
|
||||
|
||||
574
package-lock.json
generated
574
package-lock.json
generated
@ -11,9 +11,9 @@
|
||||
"dependencies": {
|
||||
"@iarna/toml": "^2.2.5",
|
||||
"@plastichub/core": "^0.2.5",
|
||||
"@plastichub/fs": "^0.13.32",
|
||||
"@plastichub/osr-cache": "^0.4.1",
|
||||
"@plastichub/osr-cli-commons": "^0.4.9",
|
||||
"@plastichub/fs": "^0.13.39",
|
||||
"@plastichub/osr-cache": "^0.4.7",
|
||||
"@plastichub/osr-cli-commons": "^0.5.1",
|
||||
"@plastichub/osr-commons": "^0.3.3",
|
||||
"@plastichub/osr-fs-utils": "^0.1.4",
|
||||
"@plastichub/osrl": "file:../osrl",
|
||||
@ -104,7 +104,6 @@
|
||||
"@plastichub/osr-ai": "file:../osr-ai",
|
||||
"@plastichub/osr-cache": "^0.3.9",
|
||||
"@plastichub/osr-cli-commons": "file:../osr-cli-commons",
|
||||
"@plastichub/osr-discourse": "^0.1.4",
|
||||
"@plastichub/osr-i18n": "file:../osr-i18n",
|
||||
"@plastichub/osr-tasks": "file:../osr-tasks",
|
||||
"@plastichub/osr-vcs": "^0.0.3",
|
||||
@ -136,6 +135,12 @@
|
||||
"glob-base": "^0.3.0",
|
||||
"googleapis": "^105.0.0",
|
||||
"gray-matter": "^4.0.3",
|
||||
"grunt": "^1.6.1",
|
||||
"grunt-cli": "^1.4.3",
|
||||
"grunt-contrib-clean": "^2.0.0",
|
||||
"grunt-extend-config": "^0.9.7",
|
||||
"grunt-parallel": "^0.5.1",
|
||||
"grunt-shell": "^3.0.1",
|
||||
"highlight.js": "^11.1.0",
|
||||
"inquirer": "^8.1.2",
|
||||
"is-glob": "^4.0.1",
|
||||
@ -154,9 +159,9 @@
|
||||
"lodash": "^4.17.21",
|
||||
"markdown-table": "^3.0.3",
|
||||
"moment": "^2.29.1",
|
||||
"mysql2": "^2.3.3",
|
||||
"native-promise-pool": "^3.19.0",
|
||||
"nodemw": "^0.14.0",
|
||||
"node-xlsx": "^0.24.0",
|
||||
"npm-run-all": "^4.1.5",
|
||||
"open-graph-scraper": "^5.0.5",
|
||||
"ora": "^1.3.0",
|
||||
"parse-glob": "^3.0.4",
|
||||
@ -164,9 +169,12 @@
|
||||
"query-string": "^7.1.3",
|
||||
"readline": "^1.3.0",
|
||||
"require-like": "^0.1.2",
|
||||
"sharp": "^0.30.3",
|
||||
"showdown": "^1.9.1",
|
||||
"rotating-file-stream": "^3.2.3",
|
||||
"sharp": "^0.33.4",
|
||||
"showdown": "^2.1.0",
|
||||
"turndown": "^7.2.0",
|
||||
"typescript": "^4.9.4",
|
||||
"uri-js": "^4.4.1",
|
||||
"yaml": "^2.4.2",
|
||||
"yargs": "^14.2.3",
|
||||
"yargs-parser": "^15.0.3"
|
||||
@ -176,6 +184,9 @@
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 8.0.0"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"@img/sharp-win32-x64": "^0.33.4"
|
||||
}
|
||||
},
|
||||
"node_modules/@gar/promisify": {
|
||||
@ -424,6 +435,7 @@
|
||||
"version": "0.13.39",
|
||||
"resolved": "https://registry.npmjs.org/@plastichub/fs/-/fs-0.13.39.tgz",
|
||||
"integrity": "sha512-Q96zN5LAlTmtj6gIbHbVM0erp2NgP+P4izRzdhqnMz/WopAvD7ZJxjQ/J44e67R6WKQuvcxt/eXPNaFBB5ehlg==",
|
||||
"license": "BSD-3-Clause",
|
||||
"dependencies": {
|
||||
"@plastichub/core": "^0.2.1",
|
||||
"@types/denodeify": "^1.2.31",
|
||||
@ -493,23 +505,6 @@
|
||||
"url": "https://github.com/sponsors/isaacs"
|
||||
}
|
||||
},
|
||||
"node_modules/@plastichub/fs/node_modules/jackspeak": {
|
||||
"version": "3.4.0",
|
||||
"resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-3.4.0.tgz",
|
||||
"integrity": "sha512-JVYhQnN59LVPFCEcVa2C3CrEKYacvjRfqIQl+h8oi91aLYQVWRYbxjPcv1bUiUy/kLmQaANrYfNMCO3kuEDHfw==",
|
||||
"dependencies": {
|
||||
"@isaacs/cliui": "^8.0.2"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=14"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://github.com/sponsors/isaacs"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"@pkgjs/parseargs": "^0.11.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@plastichub/fs/node_modules/minipass": {
|
||||
"version": "7.1.2",
|
||||
"resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz",
|
||||
@ -518,42 +513,20 @@
|
||||
"node": ">=16 || 14 >=14.17"
|
||||
}
|
||||
},
|
||||
"node_modules/@plastichub/fs/node_modules/yargs": {
|
||||
"version": "17.7.2",
|
||||
"resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz",
|
||||
"integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==",
|
||||
"dependencies": {
|
||||
"cliui": "^8.0.1",
|
||||
"escalade": "^3.1.1",
|
||||
"get-caller-file": "^2.0.5",
|
||||
"require-directory": "^2.1.1",
|
||||
"string-width": "^4.2.3",
|
||||
"y18n": "^5.0.5",
|
||||
"yargs-parser": "^21.1.1"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=12"
|
||||
}
|
||||
},
|
||||
"node_modules/@plastichub/osr-cache": {
|
||||
"version": "0.4.6",
|
||||
"resolved": "https://registry.npmjs.org/@plastichub/osr-cache/-/osr-cache-0.4.6.tgz",
|
||||
"integrity": "sha512-/uS7wMGM2WyCXaRcS1o9OBVYVpZYxRqUFtUdhs2QI3qOpRnkYXSqEJdTmWvcb1bM4V/7KlCVvAb1sMYfoDsQig==",
|
||||
"version": "0.4.7",
|
||||
"resolved": "https://registry.npmjs.org/@plastichub/osr-cache/-/osr-cache-0.4.7.tgz",
|
||||
"integrity": "sha512-uSuU+4xefo0+mX+Nft0QP4UZsp1y3afwGPOvcuRDusiMB+ShnVybUJs3T15M3JEuWSG32fViQfZnexVNiSCLLg==",
|
||||
"license": "BSD-3-Clause",
|
||||
"dependencies": {
|
||||
"@plastichub/core": "^0.2.6",
|
||||
"@plastichub/fs": "^0.13.32",
|
||||
"@plastichub/osr-cli-commons": "^0.4.7",
|
||||
"@types/cacache": "^15.0.1",
|
||||
"@types/node": "^14.17.5",
|
||||
"@types/yargs": "^17.0.2",
|
||||
"cacache": "^17.0.3",
|
||||
"chalk": "^2.4.1",
|
||||
"convert-units": "^2.3.4",
|
||||
"env-var": "^7.0.1",
|
||||
"@plastichub/osr-cli-commons": "^0.5.1",
|
||||
"@types/node": "^20.14.9",
|
||||
"@types/yargs": "^17.0.32",
|
||||
"cacache": "^18.0.3",
|
||||
"md5": "^2.3.0",
|
||||
"typescript": "^4.3.5",
|
||||
"yargs": "^14.2.3",
|
||||
"yargs-parser": "^15.0.3"
|
||||
"yargs": "^17.7.2"
|
||||
},
|
||||
"bin": {
|
||||
"osr-cache": "main.js"
|
||||
@ -563,9 +536,10 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@plastichub/osr-cache/node_modules/@npmcli/fs": {
|
||||
"version": "3.1.0",
|
||||
"resolved": "https://registry.npmjs.org/@npmcli/fs/-/fs-3.1.0.tgz",
|
||||
"integrity": "sha512-7kZUAaLscfgbwBQRbvdMYaZOWyMEcPTH/tJjnyAWJ/dvvs9Ef+CERx/qJb9GExJpl1qipaDGn7KqHnFGGixd0w==",
|
||||
"version": "3.1.1",
|
||||
"resolved": "https://registry.npmjs.org/@npmcli/fs/-/fs-3.1.1.tgz",
|
||||
"integrity": "sha512-q9CRWjpHCMIh5sVyefoD1cA7PkvILqCZsnSOEUUivORLjxCO/Irmue2DprETiNgEqktDBZaM1Bi+jrarx1XdCg==",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"semver": "^7.3.5"
|
||||
},
|
||||
@ -573,33 +547,36 @@
|
||||
"node": "^14.17.0 || ^16.13.0 || >=18.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@plastichub/osr-cache/node_modules/ansi-regex": {
|
||||
"version": "4.1.1",
|
||||
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.1.tgz",
|
||||
"integrity": "sha512-ILlv4k/3f6vfQ4OoP2AGvirOktlQ98ZEL1k9FaQjxa3L1abBgbuTDAdPOpvbGncC0BTVQrl+OM8xZGK6tWXt7g==",
|
||||
"engines": {
|
||||
"node": ">=6"
|
||||
"node_modules/@plastichub/osr-cache/node_modules/@types/node": {
|
||||
"version": "20.16.5",
|
||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-20.16.5.tgz",
|
||||
"integrity": "sha512-VwYCweNo3ERajwy0IUlqqcyZ8/A7Zwa9ZP3MnENWcB11AejO+tLy3pu850goUW2FC/IJMdZUfKpX/yxL1gymCA==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"undici-types": "~6.19.2"
|
||||
}
|
||||
},
|
||||
"node_modules/@plastichub/osr-cache/node_modules/brace-expansion": {
|
||||
"version": "2.0.1",
|
||||
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz",
|
||||
"integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"balanced-match": "^1.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@plastichub/osr-cache/node_modules/cacache": {
|
||||
"version": "17.1.3",
|
||||
"resolved": "https://registry.npmjs.org/cacache/-/cacache-17.1.3.tgz",
|
||||
"integrity": "sha512-jAdjGxmPxZh0IipMdR7fK/4sDSrHMLUV0+GvVUsjwyGNKHsh79kW/otg+GkbXwl6Uzvy9wsvHOX4nUoWldeZMg==",
|
||||
"version": "18.0.4",
|
||||
"resolved": "https://registry.npmjs.org/cacache/-/cacache-18.0.4.tgz",
|
||||
"integrity": "sha512-B+L5iIa9mgcjLbliir2th36yEwPftrzteHYujzsx3dFP/31GCHcIeS8f5MGd80odLOjaOvSpU3EEAmRQptkxLQ==",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"@npmcli/fs": "^3.1.0",
|
||||
"fs-minipass": "^3.0.0",
|
||||
"glob": "^10.2.2",
|
||||
"lru-cache": "^7.7.1",
|
||||
"minipass": "^5.0.0",
|
||||
"minipass-collect": "^1.0.2",
|
||||
"lru-cache": "^10.0.1",
|
||||
"minipass": "^7.0.3",
|
||||
"minipass-collect": "^2.0.1",
|
||||
"minipass-flush": "^1.0.5",
|
||||
"minipass-pipeline": "^1.2.4",
|
||||
"p-map": "^4.0.0",
|
||||
@ -608,91 +585,52 @@
|
||||
"unique-filename": "^3.0.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": "^14.17.0 || ^16.13.0 || >=18.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@plastichub/osr-cache/node_modules/cliui": {
|
||||
"version": "5.0.0",
|
||||
"resolved": "https://registry.npmjs.org/cliui/-/cliui-5.0.0.tgz",
|
||||
"integrity": "sha512-PYeGSEmmHM6zvoef2w8TPzlrnNpXIjTipYK780YswmIP9vjxmd6Y2a3CB2Ks6/AU8NHjZugXvo8w3oWM2qnwXA==",
|
||||
"dependencies": {
|
||||
"string-width": "^3.1.0",
|
||||
"strip-ansi": "^5.2.0",
|
||||
"wrap-ansi": "^5.1.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@plastichub/osr-cache/node_modules/emoji-regex": {
|
||||
"version": "7.0.3",
|
||||
"resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz",
|
||||
"integrity": "sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA=="
|
||||
},
|
||||
"node_modules/@plastichub/osr-cache/node_modules/find-up": {
|
||||
"version": "3.0.0",
|
||||
"resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz",
|
||||
"integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==",
|
||||
"dependencies": {
|
||||
"locate-path": "^3.0.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=6"
|
||||
"node": "^16.14.0 || >=18.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@plastichub/osr-cache/node_modules/fs-minipass": {
|
||||
"version": "3.0.2",
|
||||
"resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-3.0.2.tgz",
|
||||
"integrity": "sha512-2GAfyfoaCDRrM6jaOS3UsBts8yJ55VioXdWcOL7dK9zdAuKT71+WBA4ifnNYqVjYv+4SsPxjK0JT4yIIn4cA/g==",
|
||||
"version": "3.0.3",
|
||||
"resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-3.0.3.tgz",
|
||||
"integrity": "sha512-XUBA9XClHbnJWSfBzjkm6RvPsyg3sryZt06BEQoXcF7EK/xpGaQYJgQKDJSUH5SGZ76Y7pFx1QBnXz09rU5Fbw==",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"minipass": "^5.0.0"
|
||||
"minipass": "^7.0.3"
|
||||
},
|
||||
"engines": {
|
||||
"node": "^14.17.0 || ^16.13.0 || >=18.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@plastichub/osr-cache/node_modules/glob": {
|
||||
"version": "10.2.7",
|
||||
"resolved": "https://registry.npmjs.org/glob/-/glob-10.2.7.tgz",
|
||||
"integrity": "sha512-jTKehsravOJo8IJxUGfZILnkvVJM/MOfHRs8QcXolVef2zNI9Tqyy5+SeuOAZd3upViEZQLyFpQhYiHLrMUNmA==",
|
||||
"version": "10.4.5",
|
||||
"resolved": "https://registry.npmjs.org/glob/-/glob-10.4.5.tgz",
|
||||
"integrity": "sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"foreground-child": "^3.1.0",
|
||||
"jackspeak": "^2.0.3",
|
||||
"minimatch": "^9.0.1",
|
||||
"minipass": "^5.0.0 || ^6.0.2",
|
||||
"path-scurry": "^1.7.0"
|
||||
"jackspeak": "^3.1.2",
|
||||
"minimatch": "^9.0.4",
|
||||
"minipass": "^7.1.2",
|
||||
"package-json-from-dist": "^1.0.0",
|
||||
"path-scurry": "^1.11.1"
|
||||
},
|
||||
"bin": {
|
||||
"glob": "dist/cjs/src/bin.js"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16 || 14 >=14.17"
|
||||
"glob": "dist/esm/bin.mjs"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://github.com/sponsors/isaacs"
|
||||
}
|
||||
},
|
||||
"node_modules/@plastichub/osr-cache/node_modules/is-fullwidth-code-point": {
|
||||
"version": "2.0.0",
|
||||
"resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz",
|
||||
"integrity": "sha512-VHskAKYM8RfSFXwee5t5cbN5PZeq1Wrh6qd5bkyiXIf6UQcN6w/A0eXM9r6t8d+GYOh+o6ZhiEnb88LN/Y8m2w==",
|
||||
"engines": {
|
||||
"node": ">=4"
|
||||
}
|
||||
},
|
||||
"node_modules/@plastichub/osr-cache/node_modules/locate-path": {
|
||||
"version": "3.0.0",
|
||||
"resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz",
|
||||
"integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==",
|
||||
"dependencies": {
|
||||
"p-locate": "^3.0.0",
|
||||
"path-exists": "^3.0.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=6"
|
||||
}
|
||||
"node_modules/@plastichub/osr-cache/node_modules/lru-cache": {
|
||||
"version": "10.4.3",
|
||||
"resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz",
|
||||
"integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==",
|
||||
"license": "ISC"
|
||||
},
|
||||
"node_modules/@plastichub/osr-cache/node_modules/minimatch": {
|
||||
"version": "9.0.1",
|
||||
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.1.tgz",
|
||||
"integrity": "sha512-0jWhJpD/MdhPXwPuiRkCbfYfSKp2qnn2eOc279qI7f+osl/l+prKSrvhg157zSYvx/1nmgn2NqdT6k2Z7zSH9w==",
|
||||
"version": "9.0.5",
|
||||
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz",
|
||||
"integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"brace-expansion": "^2.0.1"
|
||||
},
|
||||
@ -704,28 +642,31 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@plastichub/osr-cache/node_modules/minipass": {
|
||||
"version": "5.0.0",
|
||||
"resolved": "https://registry.npmjs.org/minipass/-/minipass-5.0.0.tgz",
|
||||
"integrity": "sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==",
|
||||
"version": "7.1.2",
|
||||
"resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz",
|
||||
"integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==",
|
||||
"license": "ISC",
|
||||
"engines": {
|
||||
"node": ">=8"
|
||||
"node": ">=16 || 14 >=14.17"
|
||||
}
|
||||
},
|
||||
"node_modules/@plastichub/osr-cache/node_modules/p-locate": {
|
||||
"version": "3.0.0",
|
||||
"resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz",
|
||||
"integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==",
|
||||
"node_modules/@plastichub/osr-cache/node_modules/minipass-collect": {
|
||||
"version": "2.0.1",
|
||||
"resolved": "https://registry.npmjs.org/minipass-collect/-/minipass-collect-2.0.1.tgz",
|
||||
"integrity": "sha512-D7V8PO9oaz7PWGLbCACuI1qEOsq7UKfLotx/C0Aet43fCUB/wfQ7DYeq2oR/svFJGYDHPr38SHATeaj/ZoKHKw==",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"p-limit": "^2.0.0"
|
||||
"minipass": "^7.0.3"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=6"
|
||||
"node": ">=16 || 14 >=14.17"
|
||||
}
|
||||
},
|
||||
"node_modules/@plastichub/osr-cache/node_modules/p-map": {
|
||||
"version": "4.0.0",
|
||||
"resolved": "https://registry.npmjs.org/p-map/-/p-map-4.0.0.tgz",
|
||||
"integrity": "sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"aggregate-error": "^3.0.0"
|
||||
},
|
||||
@ -737,12 +678,10 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@plastichub/osr-cache/node_modules/semver": {
|
||||
"version": "7.5.2",
|
||||
"resolved": "https://registry.npmjs.org/semver/-/semver-7.5.2.tgz",
|
||||
"integrity": "sha512-SoftuTROv/cRjCze/scjGyiDtcUyxw1rgYQSZY7XTmtR5hX+dm76iDbTH8TkLPHCQmlbQVSSbNZCPM2hb0knnQ==",
|
||||
"dependencies": {
|
||||
"lru-cache": "^6.0.0"
|
||||
},
|
||||
"version": "7.6.3",
|
||||
"resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz",
|
||||
"integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==",
|
||||
"license": "ISC",
|
||||
"bin": {
|
||||
"semver": "bin/semver.js"
|
||||
},
|
||||
@ -750,56 +689,23 @@
|
||||
"node": ">=10"
|
||||
}
|
||||
},
|
||||
"node_modules/@plastichub/osr-cache/node_modules/semver/node_modules/lru-cache": {
|
||||
"version": "6.0.0",
|
||||
"resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz",
|
||||
"integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==",
|
||||
"dependencies": {
|
||||
"yallist": "^4.0.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=10"
|
||||
}
|
||||
},
|
||||
"node_modules/@plastichub/osr-cache/node_modules/ssri": {
|
||||
"version": "10.0.4",
|
||||
"resolved": "https://registry.npmjs.org/ssri/-/ssri-10.0.4.tgz",
|
||||
"integrity": "sha512-12+IR2CB2C28MMAw0Ncqwj5QbTcs0nGIhgJzYWzDkb21vWmfNI83KS4f3Ci6GI98WreIfG7o9UXp3C0qbpA8nQ==",
|
||||
"version": "10.0.6",
|
||||
"resolved": "https://registry.npmjs.org/ssri/-/ssri-10.0.6.tgz",
|
||||
"integrity": "sha512-MGrFH9Z4NP9Iyhqn16sDtBpRRNJ0Y2hNa6D65h736fVSaPCHr4DM4sWUNvVaSuC+0OBGhwsrydQwmgfg5LncqQ==",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"minipass": "^5.0.0"
|
||||
"minipass": "^7.0.3"
|
||||
},
|
||||
"engines": {
|
||||
"node": "^14.17.0 || ^16.13.0 || >=18.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@plastichub/osr-cache/node_modules/string-width": {
|
||||
"version": "3.1.0",
|
||||
"resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz",
|
||||
"integrity": "sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==",
|
||||
"dependencies": {
|
||||
"emoji-regex": "^7.0.1",
|
||||
"is-fullwidth-code-point": "^2.0.0",
|
||||
"strip-ansi": "^5.1.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=6"
|
||||
}
|
||||
},
|
||||
"node_modules/@plastichub/osr-cache/node_modules/strip-ansi": {
|
||||
"version": "5.2.0",
|
||||
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz",
|
||||
"integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==",
|
||||
"dependencies": {
|
||||
"ansi-regex": "^4.1.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=6"
|
||||
}
|
||||
},
|
||||
"node_modules/@plastichub/osr-cache/node_modules/unique-filename": {
|
||||
"version": "3.0.0",
|
||||
"resolved": "https://registry.npmjs.org/unique-filename/-/unique-filename-3.0.0.tgz",
|
||||
"integrity": "sha512-afXhuC55wkAmZ0P18QsVE6kp8JaxrEokN2HGIoIVv2ijHQd419H0+6EigAFcIzXeMIkcIkNBpB3L/DXB3cTS/g==",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"unique-slug": "^4.0.0"
|
||||
},
|
||||
@ -811,6 +717,7 @@
|
||||
"version": "4.0.0",
|
||||
"resolved": "https://registry.npmjs.org/unique-slug/-/unique-slug-4.0.0.tgz",
|
||||
"integrity": "sha512-WrcA6AyEfqDX5bWige/4NQfPZMtASNVxdmWR76WESYQVAACSgWcR6e9i0mofqqBxYFtL4oAxPIptY73/0YE1DQ==",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"imurmurhash": "^0.1.4"
|
||||
},
|
||||
@ -818,62 +725,18 @@
|
||||
"node": "^14.17.0 || ^16.13.0 || >=18.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@plastichub/osr-cache/node_modules/wrap-ansi": {
|
||||
"version": "5.1.0",
|
||||
"resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-5.1.0.tgz",
|
||||
"integrity": "sha512-QC1/iN/2/RPVJ5jYK8BGttj5z83LmSKmvbvrXPNCLZSEb32KKVDJDl/MOt2N01qU2H/FkzEa9PKto1BqDjtd7Q==",
|
||||
"dependencies": {
|
||||
"ansi-styles": "^3.2.0",
|
||||
"string-width": "^3.0.0",
|
||||
"strip-ansi": "^5.0.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=6"
|
||||
}
|
||||
},
|
||||
"node_modules/@plastichub/osr-cache/node_modules/y18n": {
|
||||
"version": "4.0.3",
|
||||
"resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.3.tgz",
|
||||
"integrity": "sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ=="
|
||||
},
|
||||
"node_modules/@plastichub/osr-cache/node_modules/yargs": {
|
||||
"version": "14.2.3",
|
||||
"resolved": "https://registry.npmjs.org/yargs/-/yargs-14.2.3.tgz",
|
||||
"integrity": "sha512-ZbotRWhF+lkjijC/VhmOT9wSgyBQ7+zr13+YLkhfsSiTriYsMzkTUFP18pFhWwBeMa5gUc1MzbhrO6/VB7c9Xg==",
|
||||
"dependencies": {
|
||||
"cliui": "^5.0.0",
|
||||
"decamelize": "^1.2.0",
|
||||
"find-up": "^3.0.0",
|
||||
"get-caller-file": "^2.0.1",
|
||||
"require-directory": "^2.1.1",
|
||||
"require-main-filename": "^2.0.0",
|
||||
"set-blocking": "^2.0.0",
|
||||
"string-width": "^3.0.0",
|
||||
"which-module": "^2.0.0",
|
||||
"y18n": "^4.0.0",
|
||||
"yargs-parser": "^15.0.1"
|
||||
}
|
||||
},
|
||||
"node_modules/@plastichub/osr-cache/node_modules/yargs-parser": {
|
||||
"version": "15.0.3",
|
||||
"resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-15.0.3.tgz",
|
||||
"integrity": "sha512-/MVEVjTXy/cGAjdtQf8dW3V9b97bPN7rNn8ETj6BmAQL7ibC7O1Q9SPJbGjgh3SlwoBNXMzj/ZGIj8mBgl12YA==",
|
||||
"dependencies": {
|
||||
"camelcase": "^5.0.0",
|
||||
"decamelize": "^1.2.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@plastichub/osr-cli-commons": {
|
||||
"version": "0.4.9",
|
||||
"resolved": "https://registry.npmjs.org/@plastichub/osr-cli-commons/-/osr-cli-commons-0.4.9.tgz",
|
||||
"integrity": "sha512-/cVXEqMp1T4n8njCnzzSqchTdSyPmzcqiucjCiR8Jc27uvzNAtTE+8pOxnmyibUqjkKijFV2CoJ2jVGguthAyA==",
|
||||
"version": "0.5.1",
|
||||
"resolved": "https://registry.npmjs.org/@plastichub/osr-cli-commons/-/osr-cli-commons-0.5.1.tgz",
|
||||
"integrity": "sha512-qEhCgnLsQ5xHivRL1/lfWGb7sBZSKYnjhvN9bdh8bA/qvIHbUa4azoFbC+wKMX6DxMZNlnzRUqH3fQvTQ8kkoQ==",
|
||||
"license": "BSD-3-Clause",
|
||||
"dependencies": {
|
||||
"@plastichub/core": "^0.2.6",
|
||||
"@plastichub/fs": "^0.13.32",
|
||||
"@plastichub/osr-commons": "^0.3.3",
|
||||
"@types/cacache": "^15.0.1",
|
||||
"@types/node": "^14.17.5",
|
||||
"@types/which": "^3.0.3",
|
||||
"@types/node": "^20.14.9",
|
||||
"@types/which": "^3.0.4",
|
||||
"@types/yargs": "^17.0.2",
|
||||
"bluebird": "^3.7.2",
|
||||
"cacache": "^16.1.2",
|
||||
@ -898,6 +761,15 @@
|
||||
"node": ">= 14.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@plastichub/osr-cli-commons/node_modules/@types/node": {
|
||||
"version": "20.16.5",
|
||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-20.16.5.tgz",
|
||||
"integrity": "sha512-VwYCweNo3ERajwy0IUlqqcyZ8/A7Zwa9ZP3MnENWcB11AejO+tLy3pu850goUW2FC/IJMdZUfKpX/yxL1gymCA==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"undici-types": "~6.19.2"
|
||||
}
|
||||
},
|
||||
"node_modules/@plastichub/osr-cli-commons/node_modules/brace-expansion": {
|
||||
"version": "2.0.1",
|
||||
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz",
|
||||
@ -936,23 +808,6 @@
|
||||
"node": ">=16"
|
||||
}
|
||||
},
|
||||
"node_modules/@plastichub/osr-cli-commons/node_modules/jackspeak": {
|
||||
"version": "3.4.0",
|
||||
"resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-3.4.0.tgz",
|
||||
"integrity": "sha512-JVYhQnN59LVPFCEcVa2C3CrEKYacvjRfqIQl+h8oi91aLYQVWRYbxjPcv1bUiUy/kLmQaANrYfNMCO3kuEDHfw==",
|
||||
"dependencies": {
|
||||
"@isaacs/cliui": "^8.0.2"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=14"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://github.com/sponsors/isaacs"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"@pkgjs/parseargs": "^0.11.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@plastichub/osr-cli-commons/node_modules/minimatch": {
|
||||
"version": "9.0.5",
|
||||
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz",
|
||||
@ -993,6 +848,7 @@
|
||||
"version": "0.3.3",
|
||||
"resolved": "https://registry.npmjs.org/@plastichub/osr-commons/-/osr-commons-0.3.3.tgz",
|
||||
"integrity": "sha512-NW2XBeeD7AdFh5HkKOGDEMxJf6E8rS8cr8LdaY8JfM1DDae+VeX+H2wOMsSY8dgJy0VYU9ci21yuGWbEWHjGVA==",
|
||||
"license": "BSD-3-Clause",
|
||||
"dependencies": {
|
||||
"@plastichub/core": "^0.2.1",
|
||||
"@plastichub/fs": "^0.13.32",
|
||||
@ -1038,6 +894,119 @@
|
||||
"node": ">= 18.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@plastichub/osr-fs-utils/node_modules/@plastichub/osr-cli-commons": {
|
||||
"version": "0.4.9",
|
||||
"resolved": "https://registry.npmjs.org/@plastichub/osr-cli-commons/-/osr-cli-commons-0.4.9.tgz",
|
||||
"integrity": "sha512-/cVXEqMp1T4n8njCnzzSqchTdSyPmzcqiucjCiR8Jc27uvzNAtTE+8pOxnmyibUqjkKijFV2CoJ2jVGguthAyA==",
|
||||
"license": "BSD-3-Clause",
|
||||
"dependencies": {
|
||||
"@plastichub/core": "^0.2.6",
|
||||
"@plastichub/fs": "^0.13.32",
|
||||
"@plastichub/osr-commons": "^0.3.3",
|
||||
"@types/cacache": "^15.0.1",
|
||||
"@types/node": "^14.17.5",
|
||||
"@types/which": "^3.0.3",
|
||||
"@types/yargs": "^17.0.2",
|
||||
"bluebird": "^3.7.2",
|
||||
"cacache": "^16.1.2",
|
||||
"chalk": "^2.4.1",
|
||||
"convert-units": "^2.3.4",
|
||||
"cryptr": "^6.0.3",
|
||||
"env-var": "^7.1.1",
|
||||
"fast-glob": "^3.2.11",
|
||||
"glob": "^10.4.1",
|
||||
"glob-base": "github:justin-caribou/glob-base",
|
||||
"is-glob": "^4.0.3",
|
||||
"parse-glob": "^3.0.4",
|
||||
"rage-edit": "^1.2.0",
|
||||
"typescript": "^4.3.5",
|
||||
"which": "^4.0.0",
|
||||
"yargs": "^17.5.1"
|
||||
},
|
||||
"bin": {
|
||||
"osr-cli": "main.js"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 14.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@plastichub/osr-fs-utils/node_modules/brace-expansion": {
|
||||
"version": "2.0.1",
|
||||
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz",
|
||||
"integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"balanced-match": "^1.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@plastichub/osr-fs-utils/node_modules/glob": {
|
||||
"version": "10.4.5",
|
||||
"resolved": "https://registry.npmjs.org/glob/-/glob-10.4.5.tgz",
|
||||
"integrity": "sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"foreground-child": "^3.1.0",
|
||||
"jackspeak": "^3.1.2",
|
||||
"minimatch": "^9.0.4",
|
||||
"minipass": "^7.1.2",
|
||||
"package-json-from-dist": "^1.0.0",
|
||||
"path-scurry": "^1.11.1"
|
||||
},
|
||||
"bin": {
|
||||
"glob": "dist/esm/bin.mjs"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://github.com/sponsors/isaacs"
|
||||
}
|
||||
},
|
||||
"node_modules/@plastichub/osr-fs-utils/node_modules/isexe": {
|
||||
"version": "3.1.1",
|
||||
"resolved": "https://registry.npmjs.org/isexe/-/isexe-3.1.1.tgz",
|
||||
"integrity": "sha512-LpB/54B+/2J5hqQ7imZHfdU31OlgQqx7ZicVlkm9kzg9/w8GKLEcFfJl/t7DCEDueOyBAD6zCCwTO6Fzs0NoEQ==",
|
||||
"license": "ISC",
|
||||
"engines": {
|
||||
"node": ">=16"
|
||||
}
|
||||
},
|
||||
"node_modules/@plastichub/osr-fs-utils/node_modules/minimatch": {
|
||||
"version": "9.0.5",
|
||||
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz",
|
||||
"integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"brace-expansion": "^2.0.1"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16 || 14 >=14.17"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://github.com/sponsors/isaacs"
|
||||
}
|
||||
},
|
||||
"node_modules/@plastichub/osr-fs-utils/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-fs-utils/node_modules/which": {
|
||||
"version": "4.0.0",
|
||||
"resolved": "https://registry.npmjs.org/which/-/which-4.0.0.tgz",
|
||||
"integrity": "sha512-GlaYyEb07DPxYCKhKzplCWBJtvxZcZMrL+4UkrTSJHHPyZU4mYYTv3qaOe77H7EODLSSopAUFAc6W8U4yqvscg==",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"isexe": "^3.1.1"
|
||||
},
|
||||
"bin": {
|
||||
"node-which": "bin/which.js"
|
||||
},
|
||||
"engines": {
|
||||
"node": "^16.13.0 || >=18.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@plastichub/osrl": {
|
||||
"resolved": "../osrl",
|
||||
"link": true
|
||||
@ -1233,9 +1202,10 @@
|
||||
"integrity": "sha512-liyfuo/106JdlgSchJzXEQCVArk0CvevqPote8F8HgWgJ3dRCcTHgJIsLDuee0kxk/mhbInzIZk3QWSZJ8R+2w=="
|
||||
},
|
||||
"node_modules/@types/yargs": {
|
||||
"version": "17.0.19",
|
||||
"resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.19.tgz",
|
||||
"integrity": "sha512-cAx3qamwaYX9R0fzOIZAlFpo4A+1uBVCxqpKz9D26uTF4srRXaGTTsikQmaotCtNdbhzyUH7ft6p9ktz9s6UNQ==",
|
||||
"version": "17.0.33",
|
||||
"resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.33.tgz",
|
||||
"integrity": "sha512-WpxBCKWPLr4xSsHgz511rFJAM+wS28w2zEO1QDNY5zM/S8ok70NNfztH0xwhqKyaK0OHCbN98LDAZuy1ctxDkA==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@types/yargs-parser": "*"
|
||||
}
|
||||
@ -1728,14 +1698,6 @@
|
||||
"node": ">=0.10.0"
|
||||
}
|
||||
},
|
||||
"node_modules/camelcase": {
|
||||
"version": "5.3.1",
|
||||
"resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz",
|
||||
"integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==",
|
||||
"engines": {
|
||||
"node": ">=6"
|
||||
}
|
||||
},
|
||||
"node_modules/caseless": {
|
||||
"version": "0.12.0",
|
||||
"resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz",
|
||||
@ -2060,14 +2022,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"node_modules/decamelize": {
|
||||
"version": "1.2.0",
|
||||
"resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz",
|
||||
"integrity": "sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA==",
|
||||
"engines": {
|
||||
"node": ">=0.10.0"
|
||||
}
|
||||
},
|
||||
"node_modules/decode-uri-component": {
|
||||
"version": "0.2.2",
|
||||
"resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.2.tgz",
|
||||
@ -3441,15 +3395,13 @@
|
||||
}
|
||||
},
|
||||
"node_modules/jackspeak": {
|
||||
"version": "2.3.6",
|
||||
"resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-2.3.6.tgz",
|
||||
"integrity": "sha512-N3yCS/NegsOBokc8GAdM8UcmfsKiSS8cipheD/nivzr700H+nsMOxJjQnvwOcRYVuFkdH0wGUvW2WbXGmrZGbQ==",
|
||||
"version": "3.4.3",
|
||||
"resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-3.4.3.tgz",
|
||||
"integrity": "sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw==",
|
||||
"license": "BlueOak-1.0.0",
|
||||
"dependencies": {
|
||||
"@isaacs/cliui": "^8.0.2"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=14"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://github.com/sponsors/isaacs"
|
||||
},
|
||||
@ -4346,28 +4298,6 @@
|
||||
"node": ">=4"
|
||||
}
|
||||
},
|
||||
"node_modules/p-limit": {
|
||||
"version": "2.3.0",
|
||||
"resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz",
|
||||
"integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==",
|
||||
"dependencies": {
|
||||
"p-try": "^2.0.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=6"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://github.com/sponsors/sindresorhus"
|
||||
}
|
||||
},
|
||||
"node_modules/p-limit/node_modules/p-try": {
|
||||
"version": "2.2.0",
|
||||
"resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz",
|
||||
"integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==",
|
||||
"engines": {
|
||||
"node": ">=6"
|
||||
}
|
||||
},
|
||||
"node_modules/p-locate": {
|
||||
"version": "5.0.0",
|
||||
"resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz",
|
||||
@ -4484,14 +4414,6 @@
|
||||
"url": "https://github.com/inikulin/parse5?sponsor=1"
|
||||
}
|
||||
},
|
||||
"node_modules/path-exists": {
|
||||
"version": "3.0.0",
|
||||
"resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz",
|
||||
"integrity": "sha512-bpC7GYwiDYQ4wYLe+FA8lhRjhQCMcQGuSgGGqDkg/QerRWw9CmGRT0iSOVRSZJ29NMLZgIzqaljJ63oaL4NIJQ==",
|
||||
"engines": {
|
||||
"node": ">=4"
|
||||
}
|
||||
},
|
||||
"node_modules/path-is-absolute": {
|
||||
"version": "1.0.1",
|
||||
"resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
|
||||
@ -4856,11 +4778,6 @@
|
||||
"node": ">=0.10.0"
|
||||
}
|
||||
},
|
||||
"node_modules/require-main-filename": {
|
||||
"version": "2.0.0",
|
||||
"resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz",
|
||||
"integrity": "sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg=="
|
||||
},
|
||||
"node_modules/responselike": {
|
||||
"version": "1.0.2",
|
||||
"resolved": "https://registry.npmjs.org/responselike/-/responselike-1.0.2.tgz",
|
||||
@ -4974,11 +4891,6 @@
|
||||
"semver": "bin/semver"
|
||||
}
|
||||
},
|
||||
"node_modules/set-blocking": {
|
||||
"version": "2.0.0",
|
||||
"resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz",
|
||||
"integrity": "sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw=="
|
||||
},
|
||||
"node_modules/shebang-command": {
|
||||
"version": "1.2.0",
|
||||
"resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz",
|
||||
@ -5584,6 +5496,12 @@
|
||||
"through": "^2.3.8"
|
||||
}
|
||||
},
|
||||
"node_modules/undici-types": {
|
||||
"version": "6.19.8",
|
||||
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz",
|
||||
"integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/unfetch": {
|
||||
"version": "5.0.0",
|
||||
"resolved": "https://registry.npmjs.org/unfetch/-/unfetch-5.0.0.tgz",
|
||||
@ -5723,11 +5641,6 @@
|
||||
"which": "bin/which"
|
||||
}
|
||||
},
|
||||
"node_modules/which-module": {
|
||||
"version": "2.0.1",
|
||||
"resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.1.tgz",
|
||||
"integrity": "sha512-iBdZ57RDvnOR9AGBhML2vFZf7h8vmBjhoaZqODJBFWHVtKkDmKuHai3cx5PgVMrX5YDNp27AofYbAwctSS+vhQ=="
|
||||
},
|
||||
"node_modules/wrap-ansi": {
|
||||
"version": "7.0.0",
|
||||
"resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz",
|
||||
@ -5887,9 +5800,10 @@
|
||||
"integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A=="
|
||||
},
|
||||
"node_modules/yargs": {
|
||||
"version": "17.6.2",
|
||||
"resolved": "https://registry.npmjs.org/yargs/-/yargs-17.6.2.tgz",
|
||||
"integrity": "sha512-1/9UrdHjDZc0eOU0HxOHoS78C69UD3JRMvzlJ7S79S2nTaWRA/whGCTV8o9e/N/1Va9YIV7Q4sOxD8VV4pCWOw==",
|
||||
"version": "17.7.2",
|
||||
"resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz",
|
||||
"integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"cliui": "^8.0.1",
|
||||
"escalade": "^3.1.1",
|
||||
|
||||
@ -14,9 +14,9 @@
|
||||
"dependencies": {
|
||||
"@iarna/toml": "^2.2.5",
|
||||
"@plastichub/core": "^0.2.5",
|
||||
"@plastichub/fs": "^0.13.32",
|
||||
"@plastichub/osr-cache": "^0.4.1",
|
||||
"@plastichub/osr-cli-commons": "^0.4.9",
|
||||
"@plastichub/fs": "^0.13.39",
|
||||
"@plastichub/osr-cache": "^0.4.7",
|
||||
"@plastichub/osr-cli-commons": "^0.5.1",
|
||||
"@plastichub/osr-commons": "^0.3.3",
|
||||
"@plastichub/osr-fs-utils": "^0.1.4",
|
||||
"@plastichub/osrl": "file:../osrl",
|
||||
|
||||
@ -80,18 +80,13 @@ const defaultOptions = (yargs: CLI.Argv) => {
|
||||
return yargs
|
||||
|
||||
//standard options
|
||||
.option('debug', { type: 'boolean', default: true, describe: 'debug messages' })
|
||||
.option('verbose', { type: 'boolean', default: true, describe: 'even more debug messages' })
|
||||
.option('alt', { type: 'boolean', default: false, describe: 'alt token (%)' })
|
||||
|
||||
//discourse
|
||||
.option('yaml', { type: 'boolean', default: false, describe: 'Parse options from YAML header' })
|
||||
.option('skip', { type: 'boolean', default: true, describe: 'Skip existing' })
|
||||
.option('uploadLocal', { type: 'boolean', default: true, describe: 'Upload local images to Discourse' })
|
||||
.option('uploadRemote', { type: 'boolean', default: true, describe: 'Upload remote images to Discourse' })
|
||||
|
||||
.option('title', { type: 'string', default: 'Title of the Discourse post' })
|
||||
|
||||
.option('cat', { default: CAT_TEST, type: 'number' })
|
||||
.option('timestamp', { type: 'number', default: Date.now() })
|
||||
.option('owner', { type: 'number', default: DEFAULT_IMPORT_OWNER })
|
||||
@ -133,8 +128,9 @@ export const register = (cli: CLI.Argv) => {
|
||||
if (!options) {
|
||||
return
|
||||
}
|
||||
logger.setSettings({ minLevel: argv.logLevel as any })
|
||||
// options.debug && logger.debug(`CLI Args In`, argv)
|
||||
// logger.debug('Options', options)
|
||||
logger.debug('Options', options)
|
||||
let ret = syncComponent(options)
|
||||
return ret
|
||||
})
|
||||
|
||||
@ -151,6 +151,10 @@ export const cacheUsers = async (options, discourse: Discourser): Promise<IDisco
|
||||
|
||||
const cached = exists(uPath) ? await get_cached(uPath, {}, MODULE_NAME) : null
|
||||
|
||||
if (osr_cache && options.cache !== false && exists(uPath)) {
|
||||
return read(uPath, 'json') as any
|
||||
}
|
||||
|
||||
if (osr_cache && cached && options.cache !== false) {
|
||||
return JSON.parse(cached)
|
||||
}
|
||||
|
||||
@ -438,7 +438,7 @@ try {
|
||||
}
|
||||
|
||||
//components = [components[0]]
|
||||
|
||||
logger.info(`Syncing ${components.length} components`, components)
|
||||
await BPromise.resolve(components).map((f) => {
|
||||
try {
|
||||
return syncFile(f, options)
|
||||
|
||||
@ -3,37 +3,18 @@ import { IOptions } from '@plastichub/osrl/types'
|
||||
import { Engine as engine } from '@plastichub/osrl/Engine'
|
||||
import { parse } from '@plastichub/osrl/options'
|
||||
|
||||
import { files as glob, forward_slash, pathInfo } from '@plastichub/osr-cli-commons/glob'
|
||||
import { forward_slash } from '@plastichub/osr-cli-commons/glob'
|
||||
|
||||
import { resolve } from '@plastichub/osr-cli-commons/fs'
|
||||
|
||||
import { IOptionsSyncComponent } from '../../'
|
||||
import { logger } from '../../index'
|
||||
import { git_status } from '../git'
|
||||
|
||||
import { sync as exists } from '@plastichub/fs/exists'
|
||||
import * as moment from 'moment'
|
||||
import { sync as read } from '@plastichub/fs/read'
|
||||
import { sync as write } from '@plastichub/fs/write'
|
||||
|
||||
import { Promise as BPromise } from 'bluebird'
|
||||
import { Hash } from '@plastichub/core'
|
||||
import {
|
||||
MODULE_NAME
|
||||
} from '../../constants'
|
||||
|
||||
const chokidar = require("chokidar")
|
||||
|
||||
export const fileAsBuffer = (path: string) => read(path, 'buffer') as Buffer || Buffer.from("-")
|
||||
|
||||
import { get_cached, set_cached } from '@plastichub/osr-cache/lib'
|
||||
import { OSR_CACHE } from '@plastichub/osr-cli-commons'
|
||||
|
||||
import * as md5 from 'md5'
|
||||
import * as moment from 'moment'
|
||||
|
||||
const variable_extras = async (component, rel, options: IOptionsSyncComponent) => {
|
||||
|
||||
const parts = path.parse(component)
|
||||
const root = path.resolve(resolve('${OSR_LIBRARY_MACHINES}'))
|
||||
const gitStats = await git_status(root, rel)
|
||||
const latest = gitStats.latest
|
||||
@ -48,9 +29,7 @@ const variable_extras = async (component, rel, options: IOptionsSyncComponent) =
|
||||
export const createContent = async (component, _options: IOptionsSyncComponent) => {
|
||||
|
||||
const parts = path.parse(component)
|
||||
|
||||
const rel = forward_slash(path.relative(_options.root, component))
|
||||
|
||||
const extras = await variable_extras(component,rel, _options)
|
||||
const variables = {
|
||||
root: _options.root,
|
||||
@ -60,23 +39,18 @@ export const createContent = async (component, _options: IOptionsSyncComponent)
|
||||
product_rel: rel,
|
||||
product_rel_min: rel,
|
||||
...extras
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
const defaults: any = {
|
||||
language: _options.language,
|
||||
//debug: _options.debug,
|
||||
debug: false,
|
||||
profile: _options.profile,
|
||||
// output: output,
|
||||
plugins: [],
|
||||
env: _options.env || 'forum',
|
||||
cwd: _options.cwd,
|
||||
source: _options.source,
|
||||
source: _options.src,
|
||||
variables
|
||||
};
|
||||
|
||||
|
||||
}
|
||||
const options = parse(defaults, defaults);
|
||||
const eOptions = {
|
||||
...options,
|
||||
@ -92,7 +66,7 @@ export const createContent = async (component, _options: IOptionsSyncComponent)
|
||||
trimOutputRight: false,
|
||||
trimOutputLeft: false,
|
||||
greedy: false
|
||||
} as IOptions;
|
||||
} as IOptions
|
||||
|
||||
const Engine = new engine(eOptions);
|
||||
|
||||
@ -101,8 +75,6 @@ export const createContent = async (component, _options: IOptionsSyncComponent)
|
||||
let content = await Engine.render(options.source, {
|
||||
...options.variables,
|
||||
...extras
|
||||
// ...options.profile.variables
|
||||
})
|
||||
|
||||
})
|
||||
return content
|
||||
}
|
||||
|
||||
@ -127,6 +127,7 @@ export type IOptionsSync = IDiscoursePostBaseOptions & IOSRLBaseOptions & {
|
||||
// common options
|
||||
debug?: boolean
|
||||
verbose?: boolean
|
||||
logLevel?: string
|
||||
skip?: boolean
|
||||
alt?: boolean
|
||||
src?: string
|
||||
@ -162,8 +163,7 @@ export type IOptionsSyncComponent = IOptionsSync &
|
||||
{
|
||||
format?:string
|
||||
module?:string
|
||||
plugins?:string
|
||||
|
||||
plugins?:string
|
||||
onCompiled?: () => void
|
||||
onCompileDone?: () => void
|
||||
cache?: boolean
|
||||
|
||||
106
tmp-a.json
106
tmp-a.json
@ -1,5 +1,5 @@
|
||||
{
|
||||
"PRODUCT_ROOT": "C://Users//mc007//Desktop//osr//osr-machines/extrusion/pp-v42-extruder/",
|
||||
"PRODUCT_ROOT": "C://Users//mc007//Desktop//osr//osr-machines/sheetpress/100cm/",
|
||||
"abs_url": "https://assets.osr-plastic.org",
|
||||
"CACHE": "C://Users//mc007//Desktop//osr//osr-machines/cache/",
|
||||
"GIT_REPO": "https://git.osr-plastic.org/osr-plastic/osr-machines",
|
||||
@ -7,8 +7,8 @@
|
||||
"OSR_FILES_WEB": "https://files.osr-plastic.org/files/osr-machines",
|
||||
"OSR_DIRECTORY_ASSETS_URL": "https://assets.osr-plastic.org/directory/",
|
||||
"OSR_DIRECTORY_FILES_WEB": "http://files.osr-plastic.org/files/directory",
|
||||
"PRODUCTS_FILES_URL": "https://files.osr-plastic.org/files/osr-machines/extrusion/pp-v42-extruder",
|
||||
"PRODUCTS_ASSETS_URL": "https://assets.osr-plastic.org/machines/extrusion/pp-v42-extruder",
|
||||
"PRODUCTS_FILES_URL": "https://files.osr-plastic.org/files/osr-machines/sheetpress/100cm",
|
||||
"PRODUCTS_ASSETS_URL": "https://assets.osr-plastic.org/machines/sheetpress/100cm",
|
||||
"OSR_HOWTOS_ROOT_URL": "https://forum.osr-plastic.org/c/wiki/howtos/72",
|
||||
"OSR_FORUM_URL": "https://forum.osr-plastic.org",
|
||||
"vendor_name": "Plastic Hub",
|
||||
@ -25,55 +25,57 @@
|
||||
"author_link": "https://osr-plastic.org",
|
||||
"vendor_forum": "https://forum.osr-plastic.org",
|
||||
"show": {
|
||||
"badges": true,
|
||||
"badges": false,
|
||||
"authors": true,
|
||||
"head": true,
|
||||
"debug": false,
|
||||
"wiki": false,
|
||||
"forum": false,
|
||||
"others": false,
|
||||
"howtos": true,
|
||||
"howtos": false,
|
||||
"instagram": false,
|
||||
"shipping": false,
|
||||
"payment_terms": false,
|
||||
"components": true,
|
||||
"marketplaceLinks": true,
|
||||
"meta": true,
|
||||
"productDump": true,
|
||||
"configDump": false
|
||||
"productDump": false,
|
||||
"configDump": false,
|
||||
"issues": false,
|
||||
"alternatives": true,
|
||||
"replacedBy": true,
|
||||
"meta": true
|
||||
},
|
||||
"forumTags": "extrusion",
|
||||
"forumCategory": 51,
|
||||
"Preview3d": true,
|
||||
"howtoSection": "https://forum.osr-plastic.org/tags/c/kb/54/injection",
|
||||
"download": "https://files.osr-plastic.org/files/osr-machines/extrusion/pp-v42-extruder",
|
||||
"product_dimensions": "https://assets.osr-plastic.org/machines//extrusion/pp-v42-extruder/drawings/dimensions.jpg",
|
||||
"preview": "https://assets.osr-plastic.org/machines//extrusion/pp-v42-extruder/media/latest.jpg",
|
||||
"product_parts": "https://assets.osr-plastic.org/machines//extrusion/pp-v42-extruder/drawings/parts.jpg",
|
||||
"edrawings": "https://assets.osr-plastic.org/machines//extrusion/pp-v42-extruder/resources/edrawings.html",
|
||||
"forumUserId": 1,
|
||||
"hasSpecs": false,
|
||||
"slug": "pp-extruder-v42",
|
||||
"category": "extrusion",
|
||||
"name": "Peter Bas Schelling Extruder v4.2",
|
||||
"version": "1.2",
|
||||
"previousVersion": "pp-extruder-v4",
|
||||
"forumCategory": 63,
|
||||
"forum": "https://forum.osr-plastic.org/c/machines/sheetpress/63",
|
||||
"howtoSection": "https://osr-plastic.org/howto/#sheetpress",
|
||||
"edrawings:": "https://assets.osr-plastic.org/machines//sheetpress/100cmresources/edrawings.html",
|
||||
"showParts": false,
|
||||
"showDimensions": false,
|
||||
"Preview3d": true,
|
||||
"forumTags": "sheetpress",
|
||||
"forumUserId": 1,
|
||||
"howto_categories": "86",
|
||||
"download": "https://files.osr-plastic.org/files/osr-machines/sheetpress/100cm",
|
||||
"library": "https://osr-plastic.org/machines/sheetpress.html",
|
||||
"preview": "https://assets.osr-plastic.org/machines//sheetpress/100cm/media/latest.jpg",
|
||||
"product_parts": "https://assets.osr-plastic.org/machines//sheetpress/100cm/drawings/parts.jpg",
|
||||
"product_dimensions": "https://assets.osr-plastic.org/machines//sheetpress/100cm/drawings/dimensions.jpg",
|
||||
"slug": "sheetpress",
|
||||
"category": "sheetpress",
|
||||
"feature": "1m Sheets",
|
||||
"code": "SPM",
|
||||
"name": "Sheetpress",
|
||||
"keywords": "sheetpress",
|
||||
"authors": [
|
||||
{
|
||||
"name": "PlasticHub S.L.",
|
||||
"url": "https://osr-plastic.org"
|
||||
},
|
||||
{
|
||||
"name": "Peter Bas Schelling",
|
||||
"url": "https://bazar.preciousplastic.com/pbs-machinery/"
|
||||
"name": "Jason Knight",
|
||||
"url": "https://www.mandin.earth/"
|
||||
}
|
||||
],
|
||||
"forumTopicId": 10128,
|
||||
"forumPostId": 27553,
|
||||
"forumPostHash": "2b5916abe6bffe23e81c7c4501bbfdc0",
|
||||
"image": "extrusion/pp-v42-extruder/renderings/perspective.jpg",
|
||||
"forumPostHash": "da522fc5546d4d7c3c86bada779d1aa4",
|
||||
"forumTopicId": 10152,
|
||||
"forumPostId": 27597,
|
||||
"image": "sheetpress/100cm/renderings/perspective.jpg",
|
||||
"config": {
|
||||
"includes": [
|
||||
"C:/Users/mc007/Desktop/osr/osr-machines/osr",
|
||||
@ -82,12 +84,12 @@
|
||||
"C:/Users/mc007/Desktop/osr/osr-templates/discourse",
|
||||
"C:/Users/mc007/Desktop/osr/osr-templates/discourse/commons",
|
||||
"C:/Users/mc007/Desktop/osr/osr-templates/discourse/widgets",
|
||||
"C:/Users/mc007/Desktop/osr/osr-machines/extrusion/pp-v42-extruder/",
|
||||
"C:/Users/mc007/Desktop/osr/osr-machines/extrusion/pp-v42-extruder//templates/site/",
|
||||
"C:/Users/mc007/Desktop/osr/osr-machines/extrusion/pp-v42-extruder//templates/shared/"
|
||||
"C:/Users/mc007/Desktop/osr/osr-machines/sheetpress/100cm/",
|
||||
"C:/Users/mc007/Desktop/osr/osr-machines/sheetpress/100cm//templates/site/",
|
||||
"C:/Users/mc007/Desktop/osr/osr-machines/sheetpress/100cm//templates/shared/"
|
||||
],
|
||||
"variables": {
|
||||
"PRODUCT_ROOT": "C:/Users/mc007/Desktop/osr/osr-machines/extrusion/pp-v42-extruder/",
|
||||
"PRODUCT_ROOT": "C:/Users/mc007/Desktop/osr/osr-machines/sheetpress/100cm/",
|
||||
"abs_url": "https://assets.osr-plastic.org",
|
||||
"CACHE": "C:/Users/mc007/Desktop/osr/osr-machines/cache/",
|
||||
"GIT_REPO": "https://git.osr-plastic.org/osr-plastic/osr-machines",
|
||||
@ -95,8 +97,8 @@
|
||||
"OSR_FILES_WEB": "https://files.osr-plastic.org/files/osr-machines",
|
||||
"OSR_DIRECTORY_ASSETS_URL": "https://assets.osr-plastic.org/directory/",
|
||||
"OSR_DIRECTORY_FILES_WEB": "http://files.osr-plastic.org/files/directory",
|
||||
"PRODUCTS_FILES_URL": "https://files.osr-plastic.org/files/osr-machines/extrusion/pp-v42-extruder",
|
||||
"PRODUCTS_ASSETS_URL": "https://assets.osr-plastic.org/machines/extrusion/pp-v42-extruder",
|
||||
"PRODUCTS_FILES_URL": "https://files.osr-plastic.org/files/osr-machines/sheetpress/100cm",
|
||||
"PRODUCTS_ASSETS_URL": "https://assets.osr-plastic.org/machines/sheetpress/100cm",
|
||||
"OSR_HOWTOS_ROOT_URL": "https://forum.osr-plastic.org/c/wiki/howtos/72",
|
||||
"OSR_FORUM_URL": "https://forum.osr-plastic.org",
|
||||
"vendor_name": "Plastic Hub",
|
||||
@ -175,7 +177,7 @@
|
||||
}
|
||||
},
|
||||
"variables": {
|
||||
"PRODUCT_ROOT": "C:/Users/mc007/Desktop/osr/osr-machines/extrusion/pp-v42-extruder/",
|
||||
"PRODUCT_ROOT": "C:/Users/mc007/Desktop/osr/osr-machines/sheetpress/100cm/",
|
||||
"abs_url": "https://assets.osr-plastic.org",
|
||||
"CACHE": "C:/Users/mc007/Desktop/osr/osr-machines/cache/",
|
||||
"GIT_REPO": "https://git.osr-plastic.org/osr-plastic/osr-machines",
|
||||
@ -183,8 +185,8 @@
|
||||
"OSR_FILES_WEB": "https://files.osr-plastic.org/files/osr-machines",
|
||||
"OSR_DIRECTORY_ASSETS_URL": "https://assets.osr-plastic.org/directory/",
|
||||
"OSR_DIRECTORY_FILES_WEB": "http://files.osr-plastic.org/files/directory",
|
||||
"PRODUCTS_FILES_URL": "https://files.osr-plastic.org/files/osr-machines/extrusion/pp-v42-extruder",
|
||||
"PRODUCTS_ASSETS_URL": "https://assets.osr-plastic.org/machines/extrusion/pp-v42-extruder",
|
||||
"PRODUCTS_FILES_URL": "https://files.osr-plastic.org/files/osr-machines/sheetpress/100cm",
|
||||
"PRODUCTS_ASSETS_URL": "https://assets.osr-plastic.org/machines/sheetpress/100cm",
|
||||
"OSR_HOWTOS_ROOT_URL": "https://forum.osr-plastic.org/c/wiki/howtos/72",
|
||||
"OSR_FORUM_URL": "https://forum.osr-plastic.org",
|
||||
"vendor_name": "Plastic Hub",
|
||||
@ -222,12 +224,13 @@
|
||||
"meta": true
|
||||
}
|
||||
},
|
||||
"forum_url": "https://forum.osr-plastic.org/",
|
||||
"i18n": "C:/Users/mc007/Desktop/osr/i18n-store/store-en.json",
|
||||
"OSR_ROOT": "C://Users//mc007//Desktop//osr",
|
||||
"OSR_TEMP": "C://Users//mc007//AppData//Local//Temp//osr",
|
||||
"OA_ROOT": "C://Users//mc007//Desktop//ph3//pp-next2",
|
||||
"KB_ROOT": "C://Users//mc007//Desktop//osr//osr-kb-next",
|
||||
"OSR_CACHE": "C://Users//mc007//.osr//cache",
|
||||
"OSR_LIBRARY": "C://Users//mc007//Desktop//osr//osr-machines",
|
||||
"OSR_LIBRARY_MACHINES": "C://Users//mc007//Desktop//osr//osr-machines",
|
||||
"OSR_USER_ASSETS": "C://Users//mc007//Desktop//osr//osr-user-assets",
|
||||
"OSR_PRIVATE": "C://Users//mc007//.osr//",
|
||||
@ -252,13 +255,14 @@
|
||||
"SRC_FILES": [
|
||||
"C://Users//mc007//Desktop//osr/osr-templates/discourse/root.html"
|
||||
],
|
||||
"product": "extrusion/pp-v42-extruder",
|
||||
"product_rel": "extrusion/pp-v42-extruder",
|
||||
"product_rel_min": "extrusion/pp-v42-extruder",
|
||||
"GIT_LAST": "Sunday, November 12, 2023 9:43 PM",
|
||||
"product": "sheetpress/100cm",
|
||||
"product_rel": "sheetpress/100cm",
|
||||
"product_rel_min": "sheetpress/100cm",
|
||||
"GIT_LAST": "Thursday, February 15, 2024 12:52 PM",
|
||||
"GIT_AUTHOR": "lovebird",
|
||||
"GIT_MESSAGE": "init",
|
||||
"GIT_COMMIT": "198a607dc46a4832fd228c2975a9de24ac49165d",
|
||||
"GIT_MESSAGE": "todos | latest :)",
|
||||
"GIT_COMMIT": "2bdacc5427b7d47e4d5aaf73bf0fe48fd703f2e0",
|
||||
"debug": false,
|
||||
"env": "forum"
|
||||
"env": "forum",
|
||||
"forum_url": "https://forum.osr-plastic.org/"
|
||||
}
|
||||
86
tmp.json
86
tmp.json
@ -1,5 +1,5 @@
|
||||
{
|
||||
"PRODUCT_ROOT": "C:\\Users\\mc007\\Desktop\\osr\\osr-machines/extrusion/pp-v42-extruder/",
|
||||
"PRODUCT_ROOT": "C:\\Users\\mc007\\Desktop\\osr\\osr-machines/sheetpress/100cm/",
|
||||
"abs_url": "https://assets.osr-plastic.org",
|
||||
"CACHE": "C:\\Users\\mc007\\Desktop\\osr\\osr-machines/cache/",
|
||||
"GIT_REPO": "https://git.osr-plastic.org/osr-plastic/osr-machines",
|
||||
@ -7,8 +7,8 @@
|
||||
"OSR_FILES_WEB": "https://files.osr-plastic.org/files/osr-machines",
|
||||
"OSR_DIRECTORY_ASSETS_URL": "https://assets.osr-plastic.org/directory/",
|
||||
"OSR_DIRECTORY_FILES_WEB": "http://files.osr-plastic.org/files/directory",
|
||||
"PRODUCTS_FILES_URL": "https://files.osr-plastic.org/files/osr-machines/extrusion/pp-v42-extruder",
|
||||
"PRODUCTS_ASSETS_URL": "https://assets.osr-plastic.org/machines/extrusion/pp-v42-extruder",
|
||||
"PRODUCTS_FILES_URL": "https://files.osr-plastic.org/files/osr-machines/sheetpress/100cm",
|
||||
"PRODUCTS_ASSETS_URL": "https://assets.osr-plastic.org/machines/sheetpress/100cm",
|
||||
"OSR_HOWTOS_ROOT_URL": "https://forum.osr-plastic.org/c/wiki/howtos/72",
|
||||
"OSR_FORUM_URL": "https://forum.osr-plastic.org",
|
||||
"vendor_name": "Plastic Hub",
|
||||
@ -25,54 +25,56 @@
|
||||
"author_link": "https://osr-plastic.org",
|
||||
"vendor_forum": "https://forum.osr-plastic.org",
|
||||
"show": {
|
||||
"badges": true,
|
||||
"badges": false,
|
||||
"authors": true,
|
||||
"head": true,
|
||||
"debug": false,
|
||||
"wiki": false,
|
||||
"forum": false,
|
||||
"others": false,
|
||||
"howtos": true,
|
||||
"howtos": false,
|
||||
"instagram": false,
|
||||
"shipping": false,
|
||||
"payment_terms": false,
|
||||
"components": true,
|
||||
"marketplaceLinks": true,
|
||||
"meta": true,
|
||||
"productDump": true,
|
||||
"configDump": false
|
||||
"productDump": false,
|
||||
"configDump": false,
|
||||
"issues": false,
|
||||
"alternatives": true,
|
||||
"replacedBy": true,
|
||||
"meta": true
|
||||
},
|
||||
"forumTags": "extrusion",
|
||||
"forumCategory": 51,
|
||||
"Preview3d": true,
|
||||
"howtoSection": "https://forum.osr-plastic.org/tags/c/kb/54/injection",
|
||||
"download": "${OSR_FILES_WEB}/${product_rel_min}",
|
||||
"product_dimensions": "${OSR_MACHINES_ASSETS_URL}/${product_rel}/drawings/dimensions.jpg",
|
||||
"preview": "${OSR_MACHINES_ASSETS_URL}/${product_rel}/media/latest.jpg",
|
||||
"product_parts": "${OSR_MACHINES_ASSETS_URL}/${product_rel_min}/drawings/parts.jpg",
|
||||
"edrawings": "${OSR_MACHINES_ASSETS_URL}/${product_rel_min}/resources/edrawings.html",
|
||||
"forumUserId": 1,
|
||||
"hasSpecs": false,
|
||||
"slug": "pp-extruder-v42",
|
||||
"category": "extrusion",
|
||||
"name": "Peter Bas Schelling Extruder v4.2",
|
||||
"version": "1.2",
|
||||
"previousVersion": "pp-extruder-v4",
|
||||
"forumCategory": 63,
|
||||
"forum": "https://forum.osr-plastic.org/c/machines/sheetpress/63",
|
||||
"howtoSection": "https://osr-plastic.org/howto/#sheetpress",
|
||||
"edrawings:": "${OSR_MACHINES_ASSETS_URL}/${product_rel}resources/edrawings.html",
|
||||
"showParts": false,
|
||||
"showDimensions": false,
|
||||
"Preview3d": true,
|
||||
"forumTags": "sheetpress",
|
||||
"forumUserId": 1,
|
||||
"howto_categories": "86",
|
||||
"download": "${OSR_FILES_WEB}/${product_rel_min}",
|
||||
"library": "https://osr-plastic.org/machines/${slug}.html",
|
||||
"preview": "${OSR_MACHINES_ASSETS_URL}/${product_rel}/media/latest.jpg",
|
||||
"product_parts": "${OSR_MACHINES_ASSETS_URL}/${product_rel_min}/drawings/parts.jpg",
|
||||
"product_dimensions": "${OSR_MACHINES_ASSETS_URL}/${product_rel_min}/drawings/dimensions.jpg",
|
||||
"slug": "sheetpress",
|
||||
"category": "sheetpress",
|
||||
"feature": "1m Sheets",
|
||||
"code": "SPM",
|
||||
"name": "Sheetpress",
|
||||
"keywords": "sheetpress",
|
||||
"authors": [
|
||||
{
|
||||
"name": "PlasticHub S.L.",
|
||||
"url": "${author_link}"
|
||||
},
|
||||
{
|
||||
"name": "Peter Bas Schelling",
|
||||
"url": "https://bazar.preciousplastic.com/pbs-machinery/"
|
||||
"name": "Jason Knight",
|
||||
"url": "https://www.mandin.earth/"
|
||||
}
|
||||
],
|
||||
"forumTopicId": 10128,
|
||||
"forumPostId": 27553,
|
||||
"forumPostHash": "2b5916abe6bffe23e81c7c4501bbfdc0",
|
||||
"forumPostHash": "da522fc5546d4d7c3c86bada779d1aa4",
|
||||
"forumTopicId": 10152,
|
||||
"forumPostId": 27597,
|
||||
"image": "${product_rel}/renderings/perspective.jpg",
|
||||
"config": {
|
||||
"includes": [
|
||||
@ -222,12 +224,13 @@
|
||||
"meta": true
|
||||
}
|
||||
},
|
||||
"forum_url": "https://forum.osr-plastic.org/",
|
||||
"i18n": "${OSR_ROOT}/i18n-store/store-en.json",
|
||||
"OSR_ROOT": "C:\\Users\\mc007\\Desktop\\osr",
|
||||
"OSR_TEMP": "C:\\Users\\mc007\\AppData\\Local\\Temp\\osr",
|
||||
"OA_ROOT": "C:\\Users\\mc007\\Desktop\\ph3\\pp-next2",
|
||||
"KB_ROOT": "C:\\Users\\mc007\\Desktop\\osr\\osr-kb-next",
|
||||
"OSR_CACHE": "C:\\Users\\mc007\\.osr\\cache",
|
||||
"OSR_LIBRARY": "C:\\Users\\mc007\\Desktop\\osr\\osr-machines",
|
||||
"OSR_LIBRARY_MACHINES": "C:\\Users\\mc007\\Desktop\\osr\\osr-machines",
|
||||
"OSR_USER_ASSETS": "C:\\Users\\mc007\\Desktop\\osr\\osr-user-assets",
|
||||
"OSR_PRIVATE": "C:\\Users\\mc007\\.osr\\",
|
||||
@ -252,13 +255,14 @@
|
||||
"SRC_FILES": [
|
||||
"C:\\Users\\mc007\\Desktop\\osr/osr-templates/discourse/root.html"
|
||||
],
|
||||
"product": "extrusion/pp-v42-extruder",
|
||||
"product_rel": "extrusion/pp-v42-extruder",
|
||||
"product_rel_min": "extrusion/pp-v42-extruder",
|
||||
"GIT_LAST": "Sunday, November 12, 2023 9:43 PM",
|
||||
"product": "sheetpress/100cm",
|
||||
"product_rel": "sheetpress/100cm",
|
||||
"product_rel_min": "sheetpress/100cm",
|
||||
"GIT_LAST": "Thursday, February 15, 2024 12:52 PM",
|
||||
"GIT_AUTHOR": "lovebird",
|
||||
"GIT_MESSAGE": "init",
|
||||
"GIT_COMMIT": "198a607dc46a4832fd228c2975a9de24ac49165d",
|
||||
"GIT_MESSAGE": "todos | latest :)",
|
||||
"GIT_COMMIT": "2bdacc5427b7d47e4d5aaf73bf0fe48fd703f2e0",
|
||||
"debug": false,
|
||||
"env": "forum"
|
||||
"env": "forum",
|
||||
"forum_url": "https://forum.osr-plastic.org/"
|
||||
}
|
||||
1
types.d.ts
vendored
1
types.d.ts
vendored
@ -97,6 +97,7 @@ export interface IDiscoursePostBaseOptions {
|
||||
export type IOptionsSync = IDiscoursePostBaseOptions & IOSRLBaseOptions & {
|
||||
debug?: boolean;
|
||||
verbose?: boolean;
|
||||
logLevel?: string;
|
||||
skip?: boolean;
|
||||
alt?: boolean;
|
||||
src?: string;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user