automate the shit out of it
This commit is contained in:
+22
@@ -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
|
||||||
|
|
||||||
+2
-3
@@ -1,4 +1,5 @@
|
|||||||
node_modules
|
node_modules
|
||||||
|
js
|
||||||
|
|
||||||
src/**/*.js
|
src/**/*.js
|
||||||
src/**/*.d.ts
|
src/**/*.d.ts
|
||||||
@@ -7,6 +8,4 @@ test/**/*.js
|
|||||||
test/**/*.d.ts
|
test/**/*.d.ts
|
||||||
|
|
||||||
*.d.ts
|
*.d.ts
|
||||||
*.js
|
*.js
|
||||||
|
|
||||||
lib
|
|
||||||
@@ -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})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
<script src="../js/Frontend.min.js"></script>
|
||||||
Reference in New Issue
Block a user