Split action, step 1

This commit is contained in:
Paul Merlin 2020-06-13 13:30:20 +02:00
parent b55d63f1f8
commit 9cc76cdea7
4 changed files with 523 additions and 524 deletions

View file

@ -27,7 +27,7 @@ outputs:
runs: runs:
using: 'node12' using: 'node12'
main: 'lib/main.js' main: 'dist/main/index.js'
branding: branding:
icon: 'box' icon: 'box'

File diff suppressed because it is too large Load diff

View file

@ -3,13 +3,12 @@
"version": "1.0.0", "version": "1.0.0",
"private": true, "private": true,
"description": "Execute Gradle Command Line", "description": "Execute Gradle Command Line",
"main": "lib/main.js",
"scripts": { "scripts": {
"build": "tsc", "build": "tsc",
"format": "prettier --write **/*.ts", "format": "prettier --write **/*.ts",
"format-check": "prettier --check **/*.ts", "format-check": "prettier --check **/*.ts",
"lint": "eslint src/**/*.ts", "lint": "eslint src/**/*.ts",
"pack": "ncc build", "pack": "ncc build src/main.ts --out dist/main",
"test": "jest", "test": "jest",
"all": "npm run build && npm run pack && npm test" "all": "npm run build && npm run pack && npm test"
}, },

View file

@ -1,7 +1,7 @@
{ {
"compilerOptions": { "compilerOptions": {
/* Basic Options */ /* Basic Options */
"incremental": true, /* Enable incremental compilation */ "incremental": false, /* Enable incremental compilation */
"target": "es6", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */ "target": "es6", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */
"module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */ "module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */
// "allowJs": true, /* Allow javascript files to be compiled. */ // "allowJs": true, /* Allow javascript files to be compiled. */