fix(core): update
This commit is contained in:
		
							
								
								
									
										4
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							| @@ -15,8 +15,6 @@ node_modules/ | |||||||
|  |  | ||||||
| # builds | # builds | ||||||
| dist/ | dist/ | ||||||
| dist_web/ | dist_*/ | ||||||
| dist_serve/ |  | ||||||
| dist_ts_web/ |  | ||||||
|  |  | ||||||
| # custom | # custom | ||||||
| @@ -24,13 +24,14 @@ mirror: | |||||||
|     - docker |     - docker | ||||||
|     - notpriv |     - notpriv | ||||||
|  |  | ||||||
| snyk: | audit: | ||||||
|   image: registry.gitlab.com/hosttoday/ht-docker-node:snyk |   image: registry.gitlab.com/hosttoday/ht-docker-node:npmci | ||||||
|   stage: security |   stage: security | ||||||
|   script: |   script: | ||||||
|     - npmci npm prepare |     - npmci npm prepare | ||||||
|     - npmci command npm install --ignore-scripts |     - npmci command npm install --ignore-scripts | ||||||
|     - npmci command snyk test |     - npmci command npm config set registry https://registry.npmjs.org | ||||||
|  |     - npmci command npm audit --audit-level=high | ||||||
|   tags: |   tags: | ||||||
|     - lossless |     - lossless | ||||||
|     - docker |     - docker | ||||||
|   | |||||||
| @@ -45,7 +45,8 @@ | |||||||
|     "ts/**/*", |     "ts/**/*", | ||||||
|     "ts_web/**/*", |     "ts_web/**/*", | ||||||
|     "dist/**/*", |     "dist/**/*", | ||||||
|     "dist_web/**/*", |     "dist_*/**/*", | ||||||
|  |     "dist_ts/**/*", | ||||||
|     "dist_ts_web/**/*", |     "dist_ts_web/**/*", | ||||||
|     "assets/**/*", |     "assets/**/*", | ||||||
|     "cli.js", |     "cli.js", | ||||||
|   | |||||||
							
								
								
									
										21
									
								
								readme.md
									
									
									
									
									
								
							
							
						
						
									
										21
									
								
								readme.md
									
									
									
									
									
								
							| @@ -8,13 +8,20 @@ easy cloudflare management | |||||||
| * [docs (typedoc)](https://mojoio.gitlab.io/cloudflare/) | * [docs (typedoc)](https://mojoio.gitlab.io/cloudflare/) | ||||||
|  |  | ||||||
| ## Status for master | ## Status for master | ||||||
| [](https://gitlab.com/mojoio/cloudflare/commits/master) |  | ||||||
| [](https://gitlab.com/mojoio/cloudflare/commits/master) | Status Category | Status Badge | ||||||
| [](https://www.npmjs.com/package/@mojoio/cloudflare) | -- | -- | ||||||
| [](https://snyk.io/test/npm/@mojoio/cloudflare) | GitLab Pipelines | [](https://lossless.cloud) | ||||||
| [](https://nodejs.org/dist/latest-v10.x/docs/api/) | GitLab Pipline Test Coverage | [](https://lossless.cloud) | ||||||
| [](https://nodejs.org/dist/latest-v10.x/docs/api/) | npm | [](https://lossless.cloud) | ||||||
| [](https://prettier.io/) | Snyk | [](https://lossless.cloud) | ||||||
|  | TypeScript Support | [](https://lossless.cloud) | ||||||
|  | node Support | [](https://nodejs.org/dist/latest-v10.x/docs/api/) | ||||||
|  | Code Style | [](https://lossless.cloud) | ||||||
|  | PackagePhobia (total standalone install weight) | [](https://lossless.cloud) | ||||||
|  | PackagePhobia (package size on registry) | [](https://lossless.cloud) | ||||||
|  | BundlePhobia (total size when bundled) | [](https://lossless.cloud) | ||||||
|  | Platform support | [](https://lossless.cloud) [](https://lossless.cloud) | ||||||
|  |  | ||||||
| ## Usage | ## Usage | ||||||
|  |  | ||||||
|   | |||||||
| @@ -47,10 +47,7 @@ export class CloudflareAccount { | |||||||
|       if (filteredResponse.length >= 1) { |       if (filteredResponse.length >= 1) { | ||||||
|         return filteredResponse[0].id; |         return filteredResponse[0].id; | ||||||
|       } else { |       } else { | ||||||
|         logger.log( |         logger.log('error', `the domain ${domainName} does not appear to be in this account!`); | ||||||
|           'error', |  | ||||||
|           `the domain ${domainName} does not appear to be in this account!` |  | ||||||
|         ); |  | ||||||
|         throw new Error(`the domain ${domainName} does not appear to be in this account!`); |         throw new Error(`the domain ${domainName} does not appear to be in this account!`); | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|   | |||||||
| @@ -1,5 +1,3 @@ | |||||||
| import * as plugins from './cloudflare.plugins'; | import * as plugins from './cloudflare.plugins'; | ||||||
|  |  | ||||||
| export class CloudflareRecord { | export class CloudflareRecord {} | ||||||
|  |  | ||||||
| } |  | ||||||
|   | |||||||
| @@ -47,5 +47,4 @@ export class CloudflareZone implements interfaces.ICflareZone { | |||||||
|   paused: boolean; |   paused: boolean; | ||||||
|   type: string; |   type: string; | ||||||
|   checked_on: string; |   checked_on: string; | ||||||
|  |  | ||||||
| } | } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user