fix(core): update
This commit is contained in:
parent
3986c0a18b
commit
997d28239f
22
package-lock.json
generated
22
package-lock.json
generated
@ -199,7 +199,6 @@
|
||||
"version": "3.0.8",
|
||||
"resolved": "https://verdaccio.lossless.one/@pushrocks%2fsmartjson/-/smartjson-3.0.8.tgz",
|
||||
"integrity": "sha512-EjC3611RSZaZmK+nXxXrYDBxdxYWtrxjOrZtQzbYn0yM33KSCH0sLIAG8B2wYZVAOj4A2pC8mVxFSJ1w3iRFHg==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@types/fast-json-stable-stringify": "^2.0.0",
|
||||
"fast-json-stable-stringify": "^2.0.0",
|
||||
@ -325,9 +324,9 @@
|
||||
}
|
||||
},
|
||||
"@tsclass/tsclass": {
|
||||
"version": "2.0.6",
|
||||
"resolved": "https://verdaccio.lossless.one/@tsclass%2ftsclass/-/tsclass-2.0.6.tgz",
|
||||
"integrity": "sha512-D+qusqR6A8PBwkY68o082H5ba7VdwD/cJJ5e3QB2AF/Jov63t8m/NCEGQpSNRwFtmH189/wT5ih0AifbvgiFig=="
|
||||
"version": "2.0.9",
|
||||
"resolved": "https://verdaccio.lossless.one/@tsclass%2ftsclass/-/tsclass-2.0.9.tgz",
|
||||
"integrity": "sha512-IS3D3Fqso4/kSPuVnJuxF6rAU4yj1WuJL5++5A/LocGfaOTaP0WLBPaapuy/BHlPD3mPKY6KmGFXtV0iszu+eA=="
|
||||
},
|
||||
"@types/chai": {
|
||||
"version": "4.2.3",
|
||||
@ -366,8 +365,7 @@
|
||||
"@types/fast-json-stable-stringify": {
|
||||
"version": "2.0.0",
|
||||
"resolved": "https://verdaccio.lossless.one/@types%2ffast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz",
|
||||
"integrity": "sha512-mky/O83TXmGY39P1H9YbUpjV6l6voRYlufqfFCvel8l1phuy8HRjdWc1rrPuN53ITBJlbyMSV6z3niOySO5pgQ==",
|
||||
"dev": true
|
||||
"integrity": "sha512-mky/O83TXmGY39P1H9YbUpjV6l6voRYlufqfFCvel8l1phuy8HRjdWc1rrPuN53ITBJlbyMSV6z3niOySO5pgQ=="
|
||||
},
|
||||
"@types/figures": {
|
||||
"version": "3.0.1",
|
||||
@ -409,9 +407,9 @@
|
||||
"dev": true
|
||||
},
|
||||
"@types/node": {
|
||||
"version": "10.14.19",
|
||||
"resolved": "https://verdaccio.lossless.one/@types%2fnode/-/node-10.14.19.tgz",
|
||||
"integrity": "sha512-j6Sqt38ssdMKutXBUuAcmWF8QtHW1Fwz/mz4Y+Wd9mzpBiVFirjpNQf363hG5itkG+yGaD+oiLyb50HxJ36l9Q==",
|
||||
"version": "12.7.8",
|
||||
"resolved": "https://verdaccio.lossless.one/@types%2fnode/-/node-12.7.8.tgz",
|
||||
"integrity": "sha512-FMdVn84tJJdV+xe+53sYiZS4R5yn1mAIxfj+DVoNiQjTYz1+OYmjwEZr1ev9nU0axXwda0QDbYl06QHanRVH3A==",
|
||||
"dev": true
|
||||
},
|
||||
"@types/through2": {
|
||||
@ -766,8 +764,7 @@
|
||||
"fast-json-stable-stringify": {
|
||||
"version": "2.0.0",
|
||||
"resolved": "https://verdaccio.lossless.one/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz",
|
||||
"integrity": "sha1-1RQsDK7msRifh9OnYREGT4bIu/I=",
|
||||
"dev": true
|
||||
"integrity": "sha1-1RQsDK7msRifh9OnYREGT4bIu/I="
|
||||
},
|
||||
"figures": {
|
||||
"version": "3.0.0",
|
||||
@ -964,8 +961,7 @@
|
||||
"lodash.clonedeep": {
|
||||
"version": "4.5.0",
|
||||
"resolved": "https://verdaccio.lossless.one/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz",
|
||||
"integrity": "sha1-4j8/nE+Pvd6HJSnBBxhXoIblzO8=",
|
||||
"dev": true
|
||||
"integrity": "sha1-4j8/nE+Pvd6HJSnBBxhXoIblzO8="
|
||||
},
|
||||
"log-symbols": {
|
||||
"version": "2.2.0",
|
||||
|
@ -16,11 +16,12 @@
|
||||
"@gitzone/tsbuild": "^2.0.22",
|
||||
"@gitzone/tstest": "^1.0.15",
|
||||
"@pushrocks/tapbundle": "^3.0.7",
|
||||
"@types/node": "^10.11.7",
|
||||
"@types/node": "^12.7.8",
|
||||
"tslint": "^5.11.0",
|
||||
"tslint-config-prettier": "^1.15.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@tsclass/tsclass": "^2.0.6"
|
||||
"@pushrocks/smartjson": "^3.0.8",
|
||||
"@tsclass/tsclass": "^2.0.9"
|
||||
}
|
||||
}
|
||||
|
@ -1,3 +1,3 @@
|
||||
import * as plugins from './smartpersona.plugins';
|
||||
|
||||
export let standardExport = 'Hi there! :) This is an exported string';
|
||||
export * from './smartpersona.classes.company';
|
||||
export * from './smartpersona.classes.person';
|
||||
export * from './smartpersona.classes.role';
|
||||
|
23
ts/smartpersona.classes.company.ts
Normal file
23
ts/smartpersona.classes.company.ts
Normal file
@ -0,0 +1,23 @@
|
||||
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();
|
||||
}
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
import * as plugins from './smartpersona.plugins';
|
||||
|
||||
export class Person extends plugins.smartjson.Smartjson implements plugins.tsclass.IPerson {
|
||||
|
||||
}
|
@ -1 +1,5 @@
|
||||
import * as plugins from './smartpersona.plugins';
|
||||
|
||||
export class Role {
|
||||
|
||||
};
|
@ -1,5 +1,13 @@
|
||||
// @tsclass scope
|
||||
import * as tsclass from '@tsclass/tsclass';
|
||||
|
||||
export {
|
||||
tsclass
|
||||
};
|
||||
};
|
||||
|
||||
// @pushrocks scope
|
||||
import * as smartjson from '@pushrocks/smartjson';
|
||||
|
||||
export {
|
||||
smartjson
|
||||
};
|
||||
|
16
ts/tsconfig.json
Normal file
16
ts/tsconfig.json
Normal file
@ -0,0 +1,16 @@
|
||||
{
|
||||
"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
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user