tnp-core 18.0.11 → 18.0.16

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.
@@ -22,7 +22,8 @@ export declare namespace CoreModels {
22
22
  export const PackageJsonDependencyObjArr: PackageJsonDependencyObj[];
23
23
  export type LibraryType = 'angular' | 'typescript';
24
24
  export type ReleaseType = 'major' | 'minor' | 'patch';
25
- export type PreReleaseType = 'alpha' | 'beta' | 'rc';
25
+ export type PreReleaseType = 'alpha' | 'beta' | 'rc' | 'next';
26
+ export const NpmSpecialVersions: string[];
26
27
  export type PROGRESS_DATA_TYPE = 'info' | 'error' | 'warning' | 'event';
27
28
  export type EnvironmentName = 'local' | 'static' | 'dev' | 'stage' | 'prod' | 'online' | 'test' | 'qa' | 'custom';
28
29
  export type PUSHTYPE = 'feat' | 'chore' | 'feature' | 'refactor' | 'perf' | 'styles' | 'ci' | 'build' | 'fix' | 'bugfix' | 'release' | 'docs';
@@ -376,5 +377,35 @@ export declare namespace CoreModels {
376
377
  compilerOptions: CompilerOptions;
377
378
  angularCompilerOptions: AngularCompilerOptions;
378
379
  }
380
+ export interface FiredevJson {
381
+ type: CoreModels.LibType;
382
+ version?: CoreModels.FrameworkVersion;
383
+ smartContainerBuildTarget?: string;
384
+ smart?: boolean;
385
+ monorepo?: boolean;
386
+ libReleaseOptions: {
387
+ cliBuildObscure?: boolean;
388
+ cliBuildUglify?: boolean;
389
+ cliBuildNoDts?: boolean;
390
+ cliBuildIncludeNodeModules?: boolean;
391
+ };
392
+ /**
393
+ * project is template for other project
394
+ */
395
+ isCoreProject: boolean;
396
+ scripts?: {
397
+ [script in string]: string;
398
+ };
399
+ description?: string;
400
+ license?: string;
401
+ private?: boolean;
402
+ author?: string;
403
+ homepage?: string;
404
+ overrided: {
405
+ dependencies?: {
406
+ [name: string]: string;
407
+ };
408
+ };
409
+ }
379
410
  export {};
380
411
  }
@@ -1,6 +1,11 @@
1
1
  // @ts-nocheck
2
2
  import { CoreModels } from './core-models';
3
3
  export declare namespace Utils {
4
+ /**
5
+ * Example:
6
+ * new RegExp(escapeStringForRegEx('a.b.c'),'g') => /a\.b\.c/g
7
+ */
8
+ export const escapeStringForRegEx: (stringForRegExp: string) => string;
4
9
  interface AttrJsoncProp {
5
10
  name: string;
6
11
  value?: any;
@@ -0,0 +1,25 @@
1
+ {
2
+ "name": "tnp-core",
3
+ "version": "0.0.1",
4
+ "peerDependencies": {
5
+ "@angular/common": "^13.2.0",
6
+ "@angular/core": "^13.2.0"
7
+ },
8
+ "dependencies": {
9
+ "tslib": "^2.3.0"
10
+ },
11
+ "module": "fesm2022/tnp-core.mjs",
12
+ "typings": "index.d.ts",
13
+ "exports": {
14
+ "./package.json": {
15
+ "default": "./package.json"
16
+ },
17
+ ".": {
18
+ "types": "./index.d.ts",
19
+ "esm2022": "./esm2022/tnp-core.mjs",
20
+ "esm": "./esm2022/tnp-core.mjs",
21
+ "default": "./fesm2022/tnp-core.mjs"
22
+ }
23
+ },
24
+ "sideEffects": false
25
+ }