initial
This commit is contained in:
		
							
								
								
									
										5
									
								
								.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,5 @@ | ||||
| .nogit/ | ||||
| node_modules/ | ||||
| coverage/ | ||||
| public/ | ||||
| pages/ | ||||
							
								
								
									
										71
									
								
								.gitlab-ci.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										71
									
								
								.gitlab-ci.yml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,71 @@ | ||||
| # gitzone standard | ||||
| image: hosttoday/ht-docker-node:npmci | ||||
|  | ||||
| cache: | ||||
|   paths: | ||||
|   - .yarn/ | ||||
|   key: "$CI_BUILD_STAGE" | ||||
|  | ||||
| stages: | ||||
| - test | ||||
| - release | ||||
| - trigger | ||||
| - pages | ||||
|  | ||||
| testLEGACY: | ||||
|   stage: test | ||||
|   script: | ||||
|     - npmci test legacy | ||||
|   coverage: /\d+.?\d+?\%\s*coverage/ | ||||
|   tags: | ||||
|     - docker | ||||
|   allow_failure: true | ||||
|  | ||||
| testLTS: | ||||
|   stage: test | ||||
|   script: | ||||
|     - npmci test lts | ||||
|   coverage: /\d+.?\d+?\%\s*coverage/ | ||||
|   tags: | ||||
|     - docker | ||||
|      | ||||
| testSTABLE: | ||||
|   stage: test | ||||
|   script: | ||||
|     - npmci test stable | ||||
|   coverage: /\d+.?\d+?\%\s*coverage/ | ||||
|   tags: | ||||
|     - docker | ||||
|  | ||||
| release: | ||||
|   stage: release | ||||
|   script: | ||||
|     - npmci publish | ||||
|   only: | ||||
|     - tags | ||||
|   tags: | ||||
|     - docker | ||||
|  | ||||
| trigger: | ||||
|   stage: trigger | ||||
|   script: | ||||
|     - npmci trigger | ||||
|   only: | ||||
|     - tags | ||||
|   tags: | ||||
|     - docker | ||||
|  | ||||
| pages: | ||||
|   image: hosttoday/ht-docker-node:npmci | ||||
|   stage: pages | ||||
|   script: | ||||
|     - npmci command yarn global add npmpage | ||||
|     - npmci command npmpage | ||||
|   tags: | ||||
|     - docker | ||||
|   only: | ||||
|     - tags | ||||
|   artifacts: | ||||
|     expire_in: 1 week | ||||
|     paths: | ||||
|     - public | ||||
							
								
								
									
										4
									
								
								defaults.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								defaults.yml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,4 @@ | ||||
| module.name: smartmodule | ||||
| module.description: a smart description | ||||
| module.author: Lossless GmbH | ||||
| module.license: MIT | ||||
							
								
								
									
										7
									
								
								npmextra.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								npmextra.json
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,7 @@ | ||||
| { | ||||
|   "npmci": { | ||||
|     "globalNpmTools": [ | ||||
|       "npmts" | ||||
|     ] | ||||
|   } | ||||
| } | ||||
							
								
								
									
										29
									
								
								readme.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										29
									
								
								readme.md
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,29 @@ | ||||
| # smartunique | ||||
| make things unique | ||||
|  | ||||
| ## Availabililty | ||||
| [](https://www.npmjs.com/package/smartunique) | ||||
| [](https://GitLab.com/pushrocks/smartunique) | ||||
| [](https://github.com/pushrocks/smartunique) | ||||
| [](https://pushrocks.gitlab.io/smartunique/) | ||||
|  | ||||
| ## Status for master | ||||
| [](https://GitLab.com/pushrocks/smartunique/commits/master) | ||||
| [](https://GitLab.com/pushrocks/smartunique/commits/master) | ||||
| [](https://www.npmjs.com/package/smartunique) | ||||
| [](https://david-dm.org/pushrocks/smartunique) | ||||
| [](https://www.bithound.io/github/pushrocks/smartunique/master/dependencies/npm) | ||||
| [](https://www.bithound.io/github/pushrocks/smartunique) | ||||
| [](https://nodejs.org/dist/latest-v6.x/docs/api/) | ||||
| [](https://nodejs.org/dist/latest-v6.x/docs/api/) | ||||
| [](http://standardjs.com/) | ||||
|  | ||||
| ## Usage | ||||
| Use TypeScript for best in class instellisense. | ||||
|  | ||||
| For further information read the linked docs at the top of this README. | ||||
|  | ||||
| > MIT licensed | **©** [Lossless GmbH](https://lossless.gmbh) | ||||
| | By using this npm module you agree to our [privacy policy](https://lossless.gmbH/privacy.html) | ||||
|  | ||||
| [](https://push.rocks) | ||||
							
								
								
									
										8
									
								
								test/test.ts
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								test/test.ts
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,8 @@ | ||||
| import { expect, tap } from 'tapbundle' | ||||
| import * as smartunique from '../dist/index' | ||||
|  | ||||
| tap.test('first test', async () => { | ||||
|   console.log('hey') | ||||
| }) | ||||
|  | ||||
| tap.start() | ||||
							
								
								
									
										1
									
								
								ts/index.ts
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								ts/index.ts
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1 @@ | ||||
| import * as plugins from './smartunique.plugins' | ||||
							
								
								
									
										1
									
								
								ts/smartunique.plugins.ts
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								ts/smartunique.plugins.ts
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1 @@ | ||||
| import 'typings-global' | ||||
							
								
								
									
										3
									
								
								tslint.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								tslint.json
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | ||||
| { | ||||
|     "extends": "tslint-config-standard" | ||||
| } | ||||
		Reference in New Issue
	
	Block a user