Compare commits
7 Commits
Author | SHA1 | Date | |
---|---|---|---|
f12c4aabd8 | |||
b62f7d8b31 | |||
56cccb1b14 | |||
850df45d7f | |||
2b1f371d8a | |||
8196ca50a7 | |||
ad96661dda |
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
|||||||
|
.nogit/
|
||||||
node_modules/
|
node_modules/
|
||||||
test/
|
test/
|
||||||
pages/
|
pages/
|
||||||
|
@ -10,6 +10,7 @@ stages:
|
|||||||
- test
|
- test
|
||||||
- release
|
- release
|
||||||
- trigger
|
- trigger
|
||||||
|
- mirror
|
||||||
- pages
|
- pages
|
||||||
|
|
||||||
testLEGACY:
|
testLEGACY:
|
||||||
@ -62,6 +63,16 @@ trigger:
|
|||||||
tags:
|
tags:
|
||||||
- docker
|
- docker
|
||||||
|
|
||||||
|
mirror:
|
||||||
|
image: hosttoday/ht-docker-node:npmci
|
||||||
|
stage: mirror
|
||||||
|
script:
|
||||||
|
- npmci git mirror
|
||||||
|
tags:
|
||||||
|
- docker
|
||||||
|
only:
|
||||||
|
- tags
|
||||||
|
|
||||||
pages:
|
pages:
|
||||||
image: hosttoday/ht-docker-node:npmci
|
image: hosttoday/ht-docker-node:npmci
|
||||||
stage: pages
|
stage: pages
|
||||||
|
2
dist/npmts.cli.js
vendored
2
dist/npmts.cli.js
vendored
@ -27,7 +27,7 @@ const NpmtsShip = require("./npmts.ship");
|
|||||||
* Our privacy policy can be found here: https://lossless.gmbh/privacy.html
|
* Our privacy policy can be found here: https://lossless.gmbh/privacy.html
|
||||||
*/
|
*/
|
||||||
let npmtsAnalytics = new plugins.smartanalytics.Analytics({
|
let npmtsAnalytics = new plugins.smartanalytics.Analytics({
|
||||||
apiEndPoint: 'https://pubapi-1.lossless.one/analytics',
|
apiEndPoint: 'https://pubapi.lossless.one/analytics',
|
||||||
projectId: 'gitzone',
|
projectId: 'gitzone',
|
||||||
appName: 'npmts'
|
appName: 'npmts'
|
||||||
});
|
});
|
||||||
|
@ -2,4 +2,25 @@
|
|||||||
name: npmts project structure
|
name: npmts project structure
|
||||||
description: how npmts projects are structured
|
description: how npmts projects are structured
|
||||||
---
|
---
|
||||||
# npmts - Project Structure
|
# npmts - Project Structure
|
||||||
|
|
||||||
|
**locally**
|
||||||
|
|
||||||
|
```text
|
||||||
|
projectroot
|
||||||
|
|- .nogit/ # contains files that should not be checked into git - NOgit
|
||||||
|
|- dist/ # contains compiled js files and their corresponding typings - git
|
||||||
|
|- node_modules/ # contains the installed node modules - NOgit
|
||||||
|
|- test/ # contains the test files - git
|
||||||
|
|- ts/ # contains the source TypeScript files - git
|
||||||
|
|
|
||||||
|
|- .gitignore # the normal gitignore file
|
||||||
|
|- .gitlab-ci.yml # the gitlab ci yml file
|
||||||
|
|- npmextra.json # npmextra.json
|
||||||
|
|- package.json # the standard npm module package.json file
|
||||||
|
|- readme.md # the standard project readme
|
||||||
|
|- tslint.json # the standard tslint.json for TypeScript
|
||||||
|
|- yarn.lock # yarn.lock - the standard yarn.lock file
|
||||||
|
```
|
||||||
|
|
||||||
|
**in git**
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "npmts",
|
"name": "npmts",
|
||||||
"version": "8.0.16",
|
"version": "8.0.19",
|
||||||
"description": "best practice npm TypeScript modules",
|
"description": "best practice npm TypeScript modules",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"bin": {
|
"bin": {
|
||||||
|
@ -19,7 +19,7 @@ import * as NpmtsShip from './npmts.ship'
|
|||||||
* Our privacy policy can be found here: https://lossless.gmbh/privacy.html
|
* Our privacy policy can be found here: https://lossless.gmbh/privacy.html
|
||||||
*/
|
*/
|
||||||
let npmtsAnalytics = new plugins.smartanalytics.Analytics({
|
let npmtsAnalytics = new plugins.smartanalytics.Analytics({
|
||||||
apiEndPoint: 'https://pubapi-1.lossless.one/analytics',
|
apiEndPoint: 'https://pubapi.lossless.one/analytics',
|
||||||
projectId: 'gitzone',
|
projectId: 'gitzone',
|
||||||
appName: 'npmts'
|
appName: 'npmts'
|
||||||
})
|
})
|
||||||
|
Reference in New Issue
Block a user