tnp-core 16.100.23 → 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.
@@ -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
- declare let $: any;
9
- declare let path: any;
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
- declare function win32Path(p: string): any;
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' | 'v5' | 'v6' | 'v7' | 'v8' | 'v9';
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;