tnp-core 16.100.22 → 16.444.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +20 -20
- package/assets/shared/shared_folder_info.txt +1 -1
- package/browser/README.md +24 -24
- package/browser/esm2022/lib/core-imports.mjs +6 -3
- package/browser/esm2022/lib/core-models.mjs +1 -1
- package/browser/esm2022/lib/helpers.mjs +28 -1
- package/browser/fesm2022/tnp-core.mjs +32 -2
- package/browser/fesm2022/tnp-core.mjs.map +1 -1
- package/browser/lib/core-imports.d.ts +9 -3
- package/browser/lib/core-models.d.ts +1 -1
- package/browser/lib/helpers.d.ts +6 -0
- package/cli.backend.js +3 -3
- package/client/README.md +24 -24
- package/client/esm2022/lib/core-imports.mjs +6 -3
- package/client/esm2022/lib/core-models.mjs +1 -1
- package/client/esm2022/lib/helpers.mjs +28 -1
- package/client/fesm2022/tnp-core.mjs +32 -2
- package/client/fesm2022/tnp-core.mjs.map +1 -1
- package/client/lib/core-imports.d.ts +9 -3
- package/client/lib/core-models.d.ts +1 -1
- package/client/lib/helpers.d.ts +6 -0
- package/client/package.json +29 -26
- package/firedev.jsonc +69 -69
- package/lib/core-imports.d.ts +10 -4
- package/lib/core-imports.js +5 -4
- package/lib/core-imports.js.map +1 -1
- package/lib/core-models.d.ts +1 -1
- package/lib/core-models.js.map +1 -1
- package/lib/helpers.d.ts +6 -0
- package/lib/helpers.js +36 -0
- package/lib/helpers.js.map +1 -1
- package/lib/node-chalk-mock.js +3 -3
- package/lib/node-path-mock.js +3 -3
- package/package.json +3 -3
- package/tmp-environment.json +33 -30
- package/websql/README.md +24 -24
- package/websql/esm2022/lib/core-imports.mjs +6 -3
- package/websql/esm2022/lib/core-models.mjs +1 -1
- package/websql/esm2022/lib/helpers.mjs +28 -1
- package/websql/fesm2022/tnp-core.mjs +32 -2
- package/websql/fesm2022/tnp-core.mjs.map +1 -1
- package/websql/lib/core-imports.d.ts +9 -3
- package/websql/lib/core-models.d.ts +1 -1
- package/websql/lib/helpers.d.ts +6 -0
@@ -1,14 +1,20 @@
|
|
1
1
|
// @ts-nocheck
|
2
|
+
/// <reference types="node" />
|
2
3
|
import * as _ from 'lodash';
|
3
4
|
import * as q from 'q';
|
4
5
|
import * as moment from 'moment';
|
5
6
|
import * as dateformat from 'dateformat';
|
6
7
|
import { Chalk } from 'chalk';
|
7
8
|
import * as json5 from 'json5';
|
8
|
-
|
9
|
-
|
9
|
+
import type jQueryType from 'jquery';
|
10
|
+
import type * as pathBaseType from 'path';
|
11
|
+
declare let $: jQueryType;
|
12
|
+
declare let path: pathBaseType.PlatformPath;
|
10
13
|
declare let chalk: Chalk;
|
11
|
-
|
14
|
+
/**
|
15
|
+
* transform unix path to win32 path
|
16
|
+
*/
|
17
|
+
declare const win32Path: (p: string) => string;
|
12
18
|
/**
|
13
19
|
* This funciton will replace // to /
|
14
20
|
*/
|
@@ -5,7 +5,7 @@ export declare namespace CoreModels {
|
|
5
5
|
export type EnvironmentName = 'local' | 'static' | 'dev' | 'stage' | 'prod' | 'online' | 'test' | 'qa' | 'custom';
|
6
6
|
export type PUSHTYPE = 'feat' | 'chore' | 'feature' | 'refactor' | 'perf' | 'styles' | 'ci' | 'build' | 'fix' | 'bugfix' | 'release' | 'docs';
|
7
7
|
export type UIFramework = 'bootstrap' | 'material' | 'ionic';
|
8
|
-
export type FrameworkVersion = 'v1' | 'v2' | 'v3' | 'v4' | '
|
8
|
+
export type FrameworkVersion = 'v1' | 'v2' | 'v3' | 'v4' | 'v16' | 'v18' | 'v18' | 'v20';
|
9
9
|
export type CutableFileExt = 'scss' | 'css' | 'sass' | 'html' | 'ts';
|
10
10
|
export type ImageFileExtension = 'jpg' | 'jpeg' | 'png' | 'svg';
|
11
11
|
export type FileExtension = 'ts' | 'js' | 'json' | 'html' | ImageFileExtension | 'txt' | CutableFileExt;
|
package/websql/lib/helpers.d.ts
CHANGED
@@ -50,6 +50,12 @@ export declare class HelpersCore extends HelpersMessages {
|
|
50
50
|
*/
|
51
51
|
tryRemoveDir(dirpath: string, contentOnly?: boolean, omitWarningNotExisted?: boolean): any;
|
52
52
|
remove(fileOrFolderPathOrPatter: string | string[], exactFolder?: boolean): any;
|
53
|
+
private getShell;
|
54
|
+
get isRunningInGitBash(): boolean;
|
55
|
+
/**
|
56
|
+
* Check if the current shell is supported by Firedev framework.
|
57
|
+
*/
|
58
|
+
get isSupportedFiredevTerminal(): boolean;
|
53
59
|
/**
|
54
60
|
* check if function is class
|
55
61
|
*/
|