diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..b85cb2f --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2018 GitHub, Inc. and contributors + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. \ No newline at end of file diff --git a/dist/index.js b/dist/index.js index ee51819..b627281 100644 --- a/dist/index.js +++ b/dist/index.js @@ -34,7 +34,7 @@ module.exports = /******/ // the startup function /******/ function startup() { /******/ // Load entry module and return exports -/******/ return __webpack_require__(576); +/******/ return __webpack_require__(578); /******/ }; /******/ /******/ // run startup @@ -4596,7 +4596,7 @@ exports.HttpClient = HttpClient; /***/ }), -/***/ 576: +/***/ 578: /***/ (function(__unusedmodule, exports, __webpack_require__) { "use strict"; @@ -4618,6 +4618,27 @@ var __importStar = (this && this.__importStar) || function (mod) { return result; }; Object.defineProperty(exports, "__esModule", { value: true }); +/******************************************************************************* + * Copyright (c) 2020, 2020 IBM Corp. and others + * + * This program and the accompanying materials are made available under + * the terms of the Eclipse Public License 2.0 which accompanies this + * distribution and is available at https://www.eclipse.org/legal/epl-2.0/ + * or the Apache License, Version 2.0 which accompanies this distribution and + * is available at https://www.apache.org/licenses/LICENSE-2.0. + * + * This Source Code may also be made available under the following + * Secondary Licenses when the conditions for such availability set + * forth in the Eclipse Public License, v. 2.0 are satisfied: GNU + * General Public License, version 2 with the GNU Classpath + * Exception [1] and GNU General Public License, version 2 with the + * OpenJDK Assembly Exception [2]. + * + * [1] https://www.gnu.org/software/classpath/license.html + * [2] http://openjdk.java.net/legal/assembly-exception.html + * + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 OR LicenseRef-GPL-2.0 WITH Assembly-exception + *******************************************************************************/ const core = __importStar(__webpack_require__(470)); const builder = __importStar(__webpack_require__(532)); function run() { diff --git a/package.json b/package.json new file mode 100644 index 0000000..4cb9b45 --- /dev/null +++ b/package.json @@ -0,0 +1,47 @@ +{ + "name": "typescript-action", + "version": "0.0.0", + "private": true, + "description": "TypeScript template action", + "main": "lib/build-openj9.js", + "scripts": { + "build": "tsc", + "format": "prettier --write **/*.ts", + "format-check": "prettier --check **/*.ts", + "lint": "eslint src/**/*.ts", + "pack": "ncc build", + "test": "jest", + "all": "npm run build && npm run format && npm run lint && npm run pack && npm test" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/actions/typescript-action.git" + }, + "keywords": [ + "actions", + "node", + "setup" + ], + "author": "YourNameOrOrganization", + "license": "MIT", + "dependencies": { + "@actions/core": "^1.2.0", + "@actions/exec": "^1.0.3", + "@actions/tool-cache": "^1.3.3" + }, + "devDependencies": { + "@types/jest": "^24.0.23", + "@types/node": "^12.7.12", + "@typescript-eslint/parser": "^2.8.0", + "@zeit/ncc": "^0.20.5", + "eslint": "^5.16.0", + "eslint-plugin-github": "^2.0.0", + "eslint-plugin-jest": "^22.21.0", + "jest": "^24.9.0", + "jest-circus": "^24.9.0", + "js-yaml": "^3.13.1", + "prettier": "^1.19.1", + "ts-jest": "^24.2.0", + "typescript": "^3.6.4" + } +}