Compare commits

..

No commits in common. "master" and "v1.0.2" have entirely different histories.

14 changed files with 87 additions and 1713 deletions

View File

@ -1,11 +1,11 @@
{
"gitzone": {
"module": {
"githost": "code.foss.global",
"gitscope": "push.rocks",
"githost": "gitlab.com",
"gitscope": "pushrocks",
"gitrepo": "smartpersona",
"shortDescription": "manage logins",
"npmPackagename": "@push.rocks/smartpersona",
"npmPackagename": "@pushrocks/smartpersona",
"license": "MIT",
"projectDomain": "push.rocks"
}
@ -13,8 +13,5 @@
"npmci": {
"npmGlobalTools": [],
"npmAccessLevel": "public"
},
"tsdocs": {
"legal": "\n## License and Legal Information\n\nThis repository contains open-source code that is licensed under the MIT License. A copy of the MIT License can be found in the [license](license) file within this repository. \n\n**Please note:** The MIT License does not grant permission to use the trade names, trademarks, service marks, or product names of the project, except as required for reasonable and customary use in describing the origin of the work and reproducing the content of the NOTICE file.\n\n### Trademarks\n\nThis project is owned and maintained by Task Venture Capital GmbH. The names and logos associated with Task Venture Capital GmbH and any related products or services are trademarks of Task Venture Capital GmbH and are not included within the scope of the MIT license granted herein. Use of these trademarks must comply with Task Venture Capital GmbH's Trademark Guidelines, and any usage must be approved in writing by Task Venture Capital GmbH.\n\n### Company Information\n\nTask Venture Capital GmbH \nRegistered at District court Bremen HRB 35230 HB, Germany\n\nFor any legal inquiries or if you require further information, please contact us via email at hello@task.vc.\n\nBy using this repository, you acknowledge that you have read this section, agree to comply with its terms, and understand that the licensing of the code does not imply endorsement by Task Venture Capital GmbH of any derivative works.\n"
}
}

1666
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
{
"name": "@push.rocks/smartpersona",
"version": "1.0.6",
"name": "@pushrocks/smartpersona",
"version": "1.0.2",
"private": false,
"description": "manage logins",
"main": "dist/index.js",
@ -14,14 +14,13 @@
},
"devDependencies": {
"@gitzone/tsbuild": "^2.0.22",
"@gitzone/tstest": "^1.0.27",
"@gitzone/tstest": "^1.0.15",
"@pushrocks/tapbundle": "^3.0.7",
"@types/node": "^12.7.9",
"@types/node": "^10.11.7",
"tslint": "^5.11.0",
"tslint-config-prettier": "^1.15.0"
},
"dependencies": {
"@pushrocks/smartjson": "^3.0.8",
"@tsclass/tsclass": "^2.0.11"
"@tsclass/tsclass": "^2.0.6"
}
}

View File

@ -1,8 +1,8 @@
import { expect, tap } from '@pushrocks/tapbundle';
import * as smartpersona from '../ts/index';
import * as smartpersona from '../ts/index'
tap.test('first test', async () => {
smartpersona.Company;
console.log(smartpersona.standardExport)
})
tap.start();
tap.start()

View File

@ -1,5 +1,3 @@
export * from './smartpersona.classes.company';
export * from './smartpersona.classes.person';
export * from './smartpersona.classes.role';
export * from './smartpersonal.classes.session';
export * from './smartpersona.classes.sessionhistory';
import * as plugins from './smartpersona.plugins';
export let standardExport = 'Hi there! :) This is an exported string';

View File

@ -1,23 +0,0 @@
import * as plugins from './smartpersona.plugins';
import { foldDec } from '@pushrocks/smartjson';
export class Company extends plugins.smartjson.Smartjson implements plugins.tsclass.ICompany {
@foldDec()
public foundedDate: plugins.tsclass.IDate;
@foldDec()
public closedDate: plugins.tsclass.IDate;
@foldDec()
public name: string;
@foldDec()
public status: plugins.tsclass.TCompanyStatus;
@foldDec()
public contact: plugins.tsclass.IContact;
constructor() {
super();
}
}

View File

@ -1,5 +1 @@
import * as plugins from './smartpersona.plugins';
export class Role {
};

View File

@ -1,8 +0,0 @@
import * as plugins from './smartpersona.plugins';
export class Person extends plugins.smartjson.Smartjson implements plugins.tsclass.IPerson {
public name: string;
public sex: 'male' | 'female';
public surname: string;
public title: string;
}

View File

@ -1 +0,0 @@
export class SessionHistory {}

View File

@ -1,13 +1,5 @@
// @tsclass scope
import * as tsclass from '@tsclass/tsclass';
export {
tsclass
};
// @pushrocks scope
import * as smartjson from '@pushrocks/smartjson';
export {
smartjson
};

View File

@ -1,3 +0,0 @@
export class Session {
}

View File

@ -1,16 +0,0 @@
{
"compilerOptions": {
"target": "es2017",
"module": "es2015",
"moduleResolution": "node",
"lib": ["es2017", "dom"],
"declaration": true,
"inlineSources": true,
"inlineSourceMap": true,
"noUnusedLocals": true,
"noFallthroughCasesInSwitch": true,
"outDir": "dist/",
"skipLibCheck": true,
"experimentalDecorators": true
}
}

View File

@ -1,14 +0,0 @@
{
"compilerOptions": {
"experimentalDecorators": true,
"useDefineForClassFields": false,
"target": "ES2022",
"module": "NodeNext",
"moduleResolution": "NodeNext",
"esModuleInterop": true,
"verbatimModuleSyntax": true
},
"exclude": [
"dist_*/**/*.d.ts"
]
}

17
tslint.json Normal file
View File

@ -0,0 +1,17 @@
{
"extends": ["tslint:latest", "tslint-config-prettier"],
"rules": {
"semicolon": [true, "always"],
"no-console": false,
"ordered-imports": false,
"object-literal-sort-keys": false,
"member-ordering": {
"options":{
"order": [
"static-method"
]
}
}
},
"defaultSeverity": "warning"
}