automate the shit out of it

This commit is contained in:
Daniel Hübleitner
2019-09-21 00:10:31 +02:00
parent db9449aa2d
commit 6f51ee9813
4 changed files with 26 additions and 3 deletions
+22
View File
@@ -0,0 +1,22 @@
kind: pipeline
name: default
steps:
- name: npm install
image: node:12
commands:
- npm install
- name: npm run build
image: node:12
commands:
- npm run build
- name: npm publish
image: plugins/npm
settings:
username: frontwork
password:
from_secret: npm_password
email: frontwork.me@gmail.com
+1 -2
View File
@@ -1,4 +1,5 @@
node_modules node_modules
js
src/**/*.js src/**/*.js
src/**/*.d.ts src/**/*.d.ts
@@ -8,5 +9,3 @@ test/**/*.d.ts
*.d.ts *.d.ts
*.js *.js
lib
+1
View File
@@ -14,6 +14,7 @@ export class RPCSocket implements I.Socket{
private socket: I.Socket private socket: I.Socket
constructor(public port:number, private server: string, private tls: boolean = false){ constructor(public port:number, private server: string, private tls: boolean = false){
Object.defineProperty(this, 'socket', {value: undefined, writable: true})
} }
+1
View File
@@ -0,0 +1 @@
<script src="../js/Frontend.min.js"></script>