Merge pull request #37 from hecrj/use-bash
Replace TypeScript hell with simple Bash script 🎉
			
			
This commit is contained in:
		@@ -1,10 +1,11 @@
 | 
			
		||||
name: Integration
 | 
			
		||||
name: Test
 | 
			
		||||
on:
 | 
			
		||||
  push: {}
 | 
			
		||||
  push:
 | 
			
		||||
    branches: '*'
 | 
			
		||||
  schedule:
 | 
			
		||||
    - cron: '0 0 * * *'
 | 
			
		||||
jobs:
 | 
			
		||||
  test:
 | 
			
		||||
  setup:
 | 
			
		||||
    runs-on: ${{ matrix.os }}
 | 
			
		||||
    strategy:
 | 
			
		||||
      matrix:
 | 
			
		||||
@@ -12,26 +13,26 @@ jobs:
 | 
			
		||||
        rust: [stable, nightly]
 | 
			
		||||
        include:
 | 
			
		||||
          - os: macOS-latest
 | 
			
		||||
            rust: 'stable'
 | 
			
		||||
            components: 'rustfmt, clippy'
 | 
			
		||||
            targets: 'x86_64-apple-darwin'
 | 
			
		||||
            rust: stable
 | 
			
		||||
            components: rustfmt, clippy
 | 
			
		||||
            targets: x86_64-apple-darwin
 | 
			
		||||
          - os: windows-latest
 | 
			
		||||
            rust: 'stable'
 | 
			
		||||
            components: 'rustfmt, clippy'
 | 
			
		||||
            targets: 'x86_64-pc-windows-msvc'
 | 
			
		||||
            rust: stable
 | 
			
		||||
            components: rustfmt, clippy
 | 
			
		||||
            targets: x86_64-pc-windows-msvc
 | 
			
		||||
          - os: ubuntu-latest
 | 
			
		||||
            rust: 'stable'
 | 
			
		||||
            components: 'rustfmt, clippy'
 | 
			
		||||
            targets: 'x86_64-unknown-linux-musl'
 | 
			
		||||
            rust: stable
 | 
			
		||||
            components: rustfmt, clippy
 | 
			
		||||
            targets: x86_64-unknown-linux-musl
 | 
			
		||||
    steps:
 | 
			
		||||
    - uses: hecrj/setup-rust-action@master
 | 
			
		||||
      with:
 | 
			
		||||
        rust-version: ${{ matrix.rust }}
 | 
			
		||||
        components: ${{ matrix.components || '' }}
 | 
			
		||||
        targets: ${{ matrix.targets || '' }}
 | 
			
		||||
    - name: Check Cargo availability
 | 
			
		||||
    - name: Check cargo availability
 | 
			
		||||
      run: cargo --version
 | 
			
		||||
    - name: Check Rustup default toolchain
 | 
			
		||||
    - name: Check rustup default toolchain
 | 
			
		||||
      run: rustup default | grep '${{ matrix.rust }}'
 | 
			
		||||
    - name: Check rustfmt and clippy are available on MacOS
 | 
			
		||||
      if: matrix.os == 'macOS-latest' && matrix.rust == 'stable'
 | 
			
		||||
@@ -22,7 +22,7 @@ jobs:
 | 
			
		||||
        rust: [stable, nightly]
 | 
			
		||||
 | 
			
		||||
    steps:
 | 
			
		||||
    - uses: hecrj/setup-rust-action@v1
 | 
			
		||||
    - uses: hecrj/setup-rust-action@v2
 | 
			
		||||
      with:
 | 
			
		||||
        rust-version: ${{ matrix.rust }}
 | 
			
		||||
    - uses: actions/checkout@master
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										39
									
								
								action.yml
									
									
									
									
									
								
							
							
						
						
									
										39
									
								
								action.yml
									
									
									
									
									
								
							@@ -1,19 +1,30 @@
 | 
			
		||||
name: 'Set up a Rust toolchain'
 | 
			
		||||
description: 'Install a specific Rust toolchain and add it to the PATH'
 | 
			
		||||
author: 'Héctor Ramón'
 | 
			
		||||
name: Set up a Rust toolchain
 | 
			
		||||
description: Install a specific Rust toolchain and add it to the PATH
 | 
			
		||||
author: Héctor Ramón Jiménez <hector@hecrj.dev>
 | 
			
		||||
branding:
 | 
			
		||||
  icon: package
 | 
			
		||||
  color: blue
 | 
			
		||||
inputs:
 | 
			
		||||
  rust-version:
 | 
			
		||||
    description: 'The toolchain name, such as stable, nightly, or 1.8.0'
 | 
			
		||||
    default: 'stable'
 | 
			
		||||
    description: The toolchain version; such as stable, nightly, or 1.8.0
 | 
			
		||||
    default: stable
 | 
			
		||||
  profile:
 | 
			
		||||
    description: The toolchain profile to install
 | 
			
		||||
    default: default
 | 
			
		||||
  components:
 | 
			
		||||
    description: 'The toolchain components to install, comma-separated'
 | 
			
		||||
    default: ''
 | 
			
		||||
    description: The toolchain components to install, comma-separated
 | 
			
		||||
    default: ""
 | 
			
		||||
  targets:
 | 
			
		||||
    description: 'The toolchain targets to add, comma-separated'
 | 
			
		||||
    default: ''
 | 
			
		||||
    description: The toolchain targets to add, comma-separated
 | 
			
		||||
    default: ""
 | 
			
		||||
runs:
 | 
			
		||||
  using: 'node16'
 | 
			
		||||
  main: 'dist/index.js'
 | 
			
		||||
branding:
 | 
			
		||||
  icon: 'download'
 | 
			
		||||
  color: 'blue'
 | 
			
		||||
  using: composite
 | 
			
		||||
  steps:
 | 
			
		||||
    - id: setup
 | 
			
		||||
      run: '"${GITHUB_ACTION_PATH%/}/setup.sh"'
 | 
			
		||||
      shell: bash
 | 
			
		||||
      env:
 | 
			
		||||
        INPUT_RUST_VERSION: ${{ inputs.rust-version }}
 | 
			
		||||
        INPUT_PROFILE: ${{ inputs.profile }}
 | 
			
		||||
        INPUT_COMPONENTS: ${{ inputs.components }}
 | 
			
		||||
        INPUT_TARGETS: ${{ inputs.targets }}
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										1
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								dist/unzip
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								dist/unzip
									
									
									
									
										vendored
									
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										632
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										632
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							@@ -1,632 +0,0 @@
 | 
			
		||||
{
 | 
			
		||||
  "name": "setup-rust-action",
 | 
			
		||||
  "version": "0.0.0",
 | 
			
		||||
  "lockfileVersion": 2,
 | 
			
		||||
  "requires": true,
 | 
			
		||||
  "packages": {
 | 
			
		||||
    "": {
 | 
			
		||||
      "name": "setup-rust-action",
 | 
			
		||||
      "version": "0.0.0",
 | 
			
		||||
      "license": "MIT",
 | 
			
		||||
      "dependencies": {
 | 
			
		||||
        "@actions/core": "^1.2.6",
 | 
			
		||||
        "@actions/exec": "^1.0.4",
 | 
			
		||||
        "@actions/github": "^5.1.1",
 | 
			
		||||
        "@actions/io": "^1.0.0",
 | 
			
		||||
        "@actions/tool-cache": "^2.0.1",
 | 
			
		||||
        "semver": "^7.3.8"
 | 
			
		||||
      },
 | 
			
		||||
      "devDependencies": {
 | 
			
		||||
        "@types/node": "^18.11.9",
 | 
			
		||||
        "@types/semver": "^7.3.13",
 | 
			
		||||
        "@zeit/ncc": "^0.22.3",
 | 
			
		||||
        "typescript": "^4.8.4"
 | 
			
		||||
      }
 | 
			
		||||
    },
 | 
			
		||||
    "node_modules/@actions/core": {
 | 
			
		||||
      "version": "1.10.0",
 | 
			
		||||
      "resolved": "https://registry.npmjs.org/@actions/core/-/core-1.10.0.tgz",
 | 
			
		||||
      "integrity": "sha512-2aZDDa3zrrZbP5ZYg159sNoLRb61nQ7awl5pSvIq5Qpj81vwDzdMRKzkWJGJuwVvWpvZKx7vspJALyvaaIQyug==",
 | 
			
		||||
      "dependencies": {
 | 
			
		||||
        "@actions/http-client": "^2.0.1",
 | 
			
		||||
        "uuid": "^8.3.2"
 | 
			
		||||
      }
 | 
			
		||||
    },
 | 
			
		||||
    "node_modules/@actions/exec": {
 | 
			
		||||
      "version": "1.1.1",
 | 
			
		||||
      "resolved": "https://registry.npmjs.org/@actions/exec/-/exec-1.1.1.tgz",
 | 
			
		||||
      "integrity": "sha512-+sCcHHbVdk93a0XT19ECtO/gIXoxvdsgQLzb2fE2/5sIZmWQuluYyjPQtrtTHdU1YzTZ7bAPN4sITq2xi1679w==",
 | 
			
		||||
      "dependencies": {
 | 
			
		||||
        "@actions/io": "^1.0.1"
 | 
			
		||||
      }
 | 
			
		||||
    },
 | 
			
		||||
    "node_modules/@actions/github": {
 | 
			
		||||
      "version": "5.1.1",
 | 
			
		||||
      "resolved": "https://registry.npmjs.org/@actions/github/-/github-5.1.1.tgz",
 | 
			
		||||
      "integrity": "sha512-Nk59rMDoJaV+mHCOJPXuvB1zIbomlKS0dmSIqPGxd0enAXBnOfn4VWF+CGtRCwXZG9Epa54tZA7VIRlJDS8A6g==",
 | 
			
		||||
      "dependencies": {
 | 
			
		||||
        "@actions/http-client": "^2.0.1",
 | 
			
		||||
        "@octokit/core": "^3.6.0",
 | 
			
		||||
        "@octokit/plugin-paginate-rest": "^2.17.0",
 | 
			
		||||
        "@octokit/plugin-rest-endpoint-methods": "^5.13.0"
 | 
			
		||||
      }
 | 
			
		||||
    },
 | 
			
		||||
    "node_modules/@actions/http-client": {
 | 
			
		||||
      "version": "2.0.1",
 | 
			
		||||
      "resolved": "https://registry.npmjs.org/@actions/http-client/-/http-client-2.0.1.tgz",
 | 
			
		||||
      "integrity": "sha512-PIXiMVtz6VvyaRsGY268qvj57hXQEpsYogYOu2nrQhlf+XCGmZstmuZBbAybUl1nQGnvS1k1eEsQ69ZoD7xlSw==",
 | 
			
		||||
      "dependencies": {
 | 
			
		||||
        "tunnel": "^0.0.6"
 | 
			
		||||
      }
 | 
			
		||||
    },
 | 
			
		||||
    "node_modules/@actions/io": {
 | 
			
		||||
      "version": "1.1.2",
 | 
			
		||||
      "resolved": "https://registry.npmjs.org/@actions/io/-/io-1.1.2.tgz",
 | 
			
		||||
      "integrity": "sha512-d+RwPlMp+2qmBfeLYPLXuSRykDIFEwdTA0MMxzS9kh4kvP1ftrc/9fzy6pX6qAjthdXruHQ6/6kjT/DNo5ALuw=="
 | 
			
		||||
    },
 | 
			
		||||
    "node_modules/@actions/tool-cache": {
 | 
			
		||||
      "version": "2.0.1",
 | 
			
		||||
      "resolved": "https://registry.npmjs.org/@actions/tool-cache/-/tool-cache-2.0.1.tgz",
 | 
			
		||||
      "integrity": "sha512-iPU+mNwrbA8jodY8eyo/0S/QqCKDajiR8OxWTnSk/SnYg0sj8Hp4QcUEVC1YFpHWXtrfbQrE13Jz4k4HXJQKcA==",
 | 
			
		||||
      "dependencies": {
 | 
			
		||||
        "@actions/core": "^1.2.6",
 | 
			
		||||
        "@actions/exec": "^1.0.0",
 | 
			
		||||
        "@actions/http-client": "^2.0.1",
 | 
			
		||||
        "@actions/io": "^1.1.1",
 | 
			
		||||
        "semver": "^6.1.0",
 | 
			
		||||
        "uuid": "^3.3.2"
 | 
			
		||||
      }
 | 
			
		||||
    },
 | 
			
		||||
    "node_modules/@actions/tool-cache/node_modules/semver": {
 | 
			
		||||
      "version": "6.3.0",
 | 
			
		||||
      "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",
 | 
			
		||||
      "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==",
 | 
			
		||||
      "bin": {
 | 
			
		||||
        "semver": "bin/semver.js"
 | 
			
		||||
      }
 | 
			
		||||
    },
 | 
			
		||||
    "node_modules/@actions/tool-cache/node_modules/uuid": {
 | 
			
		||||
      "version": "3.4.0",
 | 
			
		||||
      "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz",
 | 
			
		||||
      "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==",
 | 
			
		||||
      "deprecated": "Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.",
 | 
			
		||||
      "bin": {
 | 
			
		||||
        "uuid": "bin/uuid"
 | 
			
		||||
      }
 | 
			
		||||
    },
 | 
			
		||||
    "node_modules/@octokit/auth-token": {
 | 
			
		||||
      "version": "2.5.0",
 | 
			
		||||
      "resolved": "https://registry.npmjs.org/@octokit/auth-token/-/auth-token-2.5.0.tgz",
 | 
			
		||||
      "integrity": "sha512-r5FVUJCOLl19AxiuZD2VRZ/ORjp/4IN98Of6YJoJOkY75CIBuYfmiNHGrDwXr+aLGG55igl9QrxX3hbiXlLb+g==",
 | 
			
		||||
      "dependencies": {
 | 
			
		||||
        "@octokit/types": "^6.0.3"
 | 
			
		||||
      }
 | 
			
		||||
    },
 | 
			
		||||
    "node_modules/@octokit/core": {
 | 
			
		||||
      "version": "3.6.0",
 | 
			
		||||
      "resolved": "https://registry.npmjs.org/@octokit/core/-/core-3.6.0.tgz",
 | 
			
		||||
      "integrity": "sha512-7RKRKuA4xTjMhY+eG3jthb3hlZCsOwg3rztWh75Xc+ShDWOfDDATWbeZpAHBNRpm4Tv9WgBMOy1zEJYXG6NJ7Q==",
 | 
			
		||||
      "dependencies": {
 | 
			
		||||
        "@octokit/auth-token": "^2.4.4",
 | 
			
		||||
        "@octokit/graphql": "^4.5.8",
 | 
			
		||||
        "@octokit/request": "^5.6.3",
 | 
			
		||||
        "@octokit/request-error": "^2.0.5",
 | 
			
		||||
        "@octokit/types": "^6.0.3",
 | 
			
		||||
        "before-after-hook": "^2.2.0",
 | 
			
		||||
        "universal-user-agent": "^6.0.0"
 | 
			
		||||
      }
 | 
			
		||||
    },
 | 
			
		||||
    "node_modules/@octokit/endpoint": {
 | 
			
		||||
      "version": "6.0.12",
 | 
			
		||||
      "resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-6.0.12.tgz",
 | 
			
		||||
      "integrity": "sha512-lF3puPwkQWGfkMClXb4k/eUT/nZKQfxinRWJrdZaJO85Dqwo/G0yOC434Jr2ojwafWJMYqFGFa5ms4jJUgujdA==",
 | 
			
		||||
      "dependencies": {
 | 
			
		||||
        "@octokit/types": "^6.0.3",
 | 
			
		||||
        "is-plain-object": "^5.0.0",
 | 
			
		||||
        "universal-user-agent": "^6.0.0"
 | 
			
		||||
      }
 | 
			
		||||
    },
 | 
			
		||||
    "node_modules/@octokit/graphql": {
 | 
			
		||||
      "version": "4.8.0",
 | 
			
		||||
      "resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-4.8.0.tgz",
 | 
			
		||||
      "integrity": "sha512-0gv+qLSBLKF0z8TKaSKTsS39scVKF9dbMxJpj3U0vC7wjNWFuIpL/z76Qe2fiuCbDRcJSavkXsVtMS6/dtQQsg==",
 | 
			
		||||
      "dependencies": {
 | 
			
		||||
        "@octokit/request": "^5.6.0",
 | 
			
		||||
        "@octokit/types": "^6.0.3",
 | 
			
		||||
        "universal-user-agent": "^6.0.0"
 | 
			
		||||
      }
 | 
			
		||||
    },
 | 
			
		||||
    "node_modules/@octokit/openapi-types": {
 | 
			
		||||
      "version": "12.11.0",
 | 
			
		||||
      "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-12.11.0.tgz",
 | 
			
		||||
      "integrity": "sha512-VsXyi8peyRq9PqIz/tpqiL2w3w80OgVMwBHltTml3LmVvXiphgeqmY9mvBw9Wu7e0QWk/fqD37ux8yP5uVekyQ=="
 | 
			
		||||
    },
 | 
			
		||||
    "node_modules/@octokit/plugin-paginate-rest": {
 | 
			
		||||
      "version": "2.21.3",
 | 
			
		||||
      "resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-2.21.3.tgz",
 | 
			
		||||
      "integrity": "sha512-aCZTEf0y2h3OLbrgKkrfFdjRL6eSOo8komneVQJnYecAxIej7Bafor2xhuDJOIFau4pk0i/P28/XgtbyPF0ZHw==",
 | 
			
		||||
      "dependencies": {
 | 
			
		||||
        "@octokit/types": "^6.40.0"
 | 
			
		||||
      },
 | 
			
		||||
      "peerDependencies": {
 | 
			
		||||
        "@octokit/core": ">=2"
 | 
			
		||||
      }
 | 
			
		||||
    },
 | 
			
		||||
    "node_modules/@octokit/plugin-rest-endpoint-methods": {
 | 
			
		||||
      "version": "5.16.2",
 | 
			
		||||
      "resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-5.16.2.tgz",
 | 
			
		||||
      "integrity": "sha512-8QFz29Fg5jDuTPXVtey05BLm7OB+M8fnvE64RNegzX7U+5NUXcOcnpTIK0YfSHBg8gYd0oxIq3IZTe9SfPZiRw==",
 | 
			
		||||
      "dependencies": {
 | 
			
		||||
        "@octokit/types": "^6.39.0",
 | 
			
		||||
        "deprecation": "^2.3.1"
 | 
			
		||||
      },
 | 
			
		||||
      "peerDependencies": {
 | 
			
		||||
        "@octokit/core": ">=3"
 | 
			
		||||
      }
 | 
			
		||||
    },
 | 
			
		||||
    "node_modules/@octokit/request": {
 | 
			
		||||
      "version": "5.6.3",
 | 
			
		||||
      "resolved": "https://registry.npmjs.org/@octokit/request/-/request-5.6.3.tgz",
 | 
			
		||||
      "integrity": "sha512-bFJl0I1KVc9jYTe9tdGGpAMPy32dLBXXo1dS/YwSCTL/2nd9XeHsY616RE3HPXDVk+a+dBuzyz5YdlXwcDTr2A==",
 | 
			
		||||
      "dependencies": {
 | 
			
		||||
        "@octokit/endpoint": "^6.0.1",
 | 
			
		||||
        "@octokit/request-error": "^2.1.0",
 | 
			
		||||
        "@octokit/types": "^6.16.1",
 | 
			
		||||
        "is-plain-object": "^5.0.0",
 | 
			
		||||
        "node-fetch": "^2.6.7",
 | 
			
		||||
        "universal-user-agent": "^6.0.0"
 | 
			
		||||
      }
 | 
			
		||||
    },
 | 
			
		||||
    "node_modules/@octokit/request-error": {
 | 
			
		||||
      "version": "2.1.0",
 | 
			
		||||
      "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-2.1.0.tgz",
 | 
			
		||||
      "integrity": "sha512-1VIvgXxs9WHSjicsRwq8PlR2LR2x6DwsJAaFgzdi0JfJoGSO8mYI/cHJQ+9FbN21aa+DrgNLnwObmyeSC8Rmpg==",
 | 
			
		||||
      "dependencies": {
 | 
			
		||||
        "@octokit/types": "^6.0.3",
 | 
			
		||||
        "deprecation": "^2.0.0",
 | 
			
		||||
        "once": "^1.4.0"
 | 
			
		||||
      }
 | 
			
		||||
    },
 | 
			
		||||
    "node_modules/@octokit/types": {
 | 
			
		||||
      "version": "6.41.0",
 | 
			
		||||
      "resolved": "https://registry.npmjs.org/@octokit/types/-/types-6.41.0.tgz",
 | 
			
		||||
      "integrity": "sha512-eJ2jbzjdijiL3B4PrSQaSjuF2sPEQPVCPzBvTHJD9Nz+9dw2SGH4K4xeQJ77YfTq5bRQ+bD8wT11JbeDPmxmGg==",
 | 
			
		||||
      "dependencies": {
 | 
			
		||||
        "@octokit/openapi-types": "^12.11.0"
 | 
			
		||||
      }
 | 
			
		||||
    },
 | 
			
		||||
    "node_modules/@types/node": {
 | 
			
		||||
      "version": "18.11.9",
 | 
			
		||||
      "resolved": "https://registry.npmjs.org/@types/node/-/node-18.11.9.tgz",
 | 
			
		||||
      "integrity": "sha512-CRpX21/kGdzjOpFsZSkcrXMGIBWMGNIHXXBVFSH+ggkftxg+XYP20TESbh+zFvFj3EQOl5byk0HTRn1IL6hbqg==",
 | 
			
		||||
      "dev": true
 | 
			
		||||
    },
 | 
			
		||||
    "node_modules/@types/semver": {
 | 
			
		||||
      "version": "7.3.13",
 | 
			
		||||
      "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.3.13.tgz",
 | 
			
		||||
      "integrity": "sha512-21cFJr9z3g5dW8B0CVI9g2O9beqaThGQ6ZFBqHfwhzLDKUxaqTIy3vnfah/UPkfOiF2pLq+tGz+W8RyCskuslw==",
 | 
			
		||||
      "dev": true
 | 
			
		||||
    },
 | 
			
		||||
    "node_modules/@zeit/ncc": {
 | 
			
		||||
      "version": "0.22.3",
 | 
			
		||||
      "resolved": "https://registry.npmjs.org/@zeit/ncc/-/ncc-0.22.3.tgz",
 | 
			
		||||
      "integrity": "sha512-jnCLpLXWuw/PAiJiVbLjA8WBC0IJQbFeUwF4I9M+23MvIxTxk5pD4Q8byQBSPmHQjz5aBoA7AKAElQxMpjrCLQ==",
 | 
			
		||||
      "deprecated": "@zeit/ncc is no longer maintained. Please use @vercel/ncc instead.",
 | 
			
		||||
      "dev": true,
 | 
			
		||||
      "bin": {
 | 
			
		||||
        "ncc": "dist/ncc/cli.js"
 | 
			
		||||
      }
 | 
			
		||||
    },
 | 
			
		||||
    "node_modules/before-after-hook": {
 | 
			
		||||
      "version": "2.2.3",
 | 
			
		||||
      "resolved": "https://registry.npmjs.org/before-after-hook/-/before-after-hook-2.2.3.tgz",
 | 
			
		||||
      "integrity": "sha512-NzUnlZexiaH/46WDhANlyR2bXRopNg4F/zuSA3OpZnllCUgRaOF2znDioDWrmbNVsuZk6l9pMquQB38cfBZwkQ=="
 | 
			
		||||
    },
 | 
			
		||||
    "node_modules/deprecation": {
 | 
			
		||||
      "version": "2.3.1",
 | 
			
		||||
      "resolved": "https://registry.npmjs.org/deprecation/-/deprecation-2.3.1.tgz",
 | 
			
		||||
      "integrity": "sha512-xmHIy4F3scKVwMsQ4WnVaS8bHOx0DmVwRywosKhaILI0ywMDWPtBSku2HNxRvF7jtwDRsoEwYQSfbxj8b7RlJQ=="
 | 
			
		||||
    },
 | 
			
		||||
    "node_modules/is-plain-object": {
 | 
			
		||||
      "version": "5.0.0",
 | 
			
		||||
      "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-5.0.0.tgz",
 | 
			
		||||
      "integrity": "sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q==",
 | 
			
		||||
      "engines": {
 | 
			
		||||
        "node": ">=0.10.0"
 | 
			
		||||
      }
 | 
			
		||||
    },
 | 
			
		||||
    "node_modules/lru-cache": {
 | 
			
		||||
      "version": "6.0.0",
 | 
			
		||||
      "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz",
 | 
			
		||||
      "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==",
 | 
			
		||||
      "dependencies": {
 | 
			
		||||
        "yallist": "^4.0.0"
 | 
			
		||||
      },
 | 
			
		||||
      "engines": {
 | 
			
		||||
        "node": ">=10"
 | 
			
		||||
      }
 | 
			
		||||
    },
 | 
			
		||||
    "node_modules/node-fetch": {
 | 
			
		||||
      "version": "2.6.7",
 | 
			
		||||
      "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz",
 | 
			
		||||
      "integrity": "sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==",
 | 
			
		||||
      "dependencies": {
 | 
			
		||||
        "whatwg-url": "^5.0.0"
 | 
			
		||||
      },
 | 
			
		||||
      "engines": {
 | 
			
		||||
        "node": "4.x || >=6.0.0"
 | 
			
		||||
      },
 | 
			
		||||
      "peerDependencies": {
 | 
			
		||||
        "encoding": "^0.1.0"
 | 
			
		||||
      },
 | 
			
		||||
      "peerDependenciesMeta": {
 | 
			
		||||
        "encoding": {
 | 
			
		||||
          "optional": true
 | 
			
		||||
        }
 | 
			
		||||
      }
 | 
			
		||||
    },
 | 
			
		||||
    "node_modules/once": {
 | 
			
		||||
      "version": "1.4.0",
 | 
			
		||||
      "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
 | 
			
		||||
      "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==",
 | 
			
		||||
      "dependencies": {
 | 
			
		||||
        "wrappy": "1"
 | 
			
		||||
      }
 | 
			
		||||
    },
 | 
			
		||||
    "node_modules/semver": {
 | 
			
		||||
      "version": "7.3.8",
 | 
			
		||||
      "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz",
 | 
			
		||||
      "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==",
 | 
			
		||||
      "dependencies": {
 | 
			
		||||
        "lru-cache": "^6.0.0"
 | 
			
		||||
      },
 | 
			
		||||
      "bin": {
 | 
			
		||||
        "semver": "bin/semver.js"
 | 
			
		||||
      },
 | 
			
		||||
      "engines": {
 | 
			
		||||
        "node": ">=10"
 | 
			
		||||
      }
 | 
			
		||||
    },
 | 
			
		||||
    "node_modules/tr46": {
 | 
			
		||||
      "version": "0.0.3",
 | 
			
		||||
      "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz",
 | 
			
		||||
      "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw=="
 | 
			
		||||
    },
 | 
			
		||||
    "node_modules/tunnel": {
 | 
			
		||||
      "version": "0.0.6",
 | 
			
		||||
      "resolved": "https://registry.npmjs.org/tunnel/-/tunnel-0.0.6.tgz",
 | 
			
		||||
      "integrity": "sha512-1h/Lnq9yajKY2PEbBadPXj3VxsDDu844OnaAo52UVmIzIvwwtBPIuNvkjuzBlTWpfJyUbG3ez0KSBibQkj4ojg==",
 | 
			
		||||
      "engines": {
 | 
			
		||||
        "node": ">=0.6.11 <=0.7.0 || >=0.7.3"
 | 
			
		||||
      }
 | 
			
		||||
    },
 | 
			
		||||
    "node_modules/typescript": {
 | 
			
		||||
      "version": "4.8.4",
 | 
			
		||||
      "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.8.4.tgz",
 | 
			
		||||
      "integrity": "sha512-QCh+85mCy+h0IGff8r5XWzOVSbBO+KfeYrMQh7NJ58QujwcE22u+NUSmUxqF+un70P9GXKxa2HCNiTTMJknyjQ==",
 | 
			
		||||
      "dev": true,
 | 
			
		||||
      "bin": {
 | 
			
		||||
        "tsc": "bin/tsc",
 | 
			
		||||
        "tsserver": "bin/tsserver"
 | 
			
		||||
      },
 | 
			
		||||
      "engines": {
 | 
			
		||||
        "node": ">=4.2.0"
 | 
			
		||||
      }
 | 
			
		||||
    },
 | 
			
		||||
    "node_modules/universal-user-agent": {
 | 
			
		||||
      "version": "6.0.0",
 | 
			
		||||
      "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-6.0.0.tgz",
 | 
			
		||||
      "integrity": "sha512-isyNax3wXoKaulPDZWHQqbmIx1k2tb9fb3GGDBRxCscfYV2Ch7WxPArBsFEG8s/safwXTT7H4QGhaIkTp9447w=="
 | 
			
		||||
    },
 | 
			
		||||
    "node_modules/uuid": {
 | 
			
		||||
      "version": "8.3.2",
 | 
			
		||||
      "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz",
 | 
			
		||||
      "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==",
 | 
			
		||||
      "bin": {
 | 
			
		||||
        "uuid": "dist/bin/uuid"
 | 
			
		||||
      }
 | 
			
		||||
    },
 | 
			
		||||
    "node_modules/webidl-conversions": {
 | 
			
		||||
      "version": "3.0.1",
 | 
			
		||||
      "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz",
 | 
			
		||||
      "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ=="
 | 
			
		||||
    },
 | 
			
		||||
    "node_modules/whatwg-url": {
 | 
			
		||||
      "version": "5.0.0",
 | 
			
		||||
      "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz",
 | 
			
		||||
      "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==",
 | 
			
		||||
      "dependencies": {
 | 
			
		||||
        "tr46": "~0.0.3",
 | 
			
		||||
        "webidl-conversions": "^3.0.0"
 | 
			
		||||
      }
 | 
			
		||||
    },
 | 
			
		||||
    "node_modules/wrappy": {
 | 
			
		||||
      "version": "1.0.2",
 | 
			
		||||
      "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
 | 
			
		||||
      "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ=="
 | 
			
		||||
    },
 | 
			
		||||
    "node_modules/yallist": {
 | 
			
		||||
      "version": "4.0.0",
 | 
			
		||||
      "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
 | 
			
		||||
      "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A=="
 | 
			
		||||
    }
 | 
			
		||||
  },
 | 
			
		||||
  "dependencies": {
 | 
			
		||||
    "@actions/core": {
 | 
			
		||||
      "version": "1.10.0",
 | 
			
		||||
      "resolved": "https://registry.npmjs.org/@actions/core/-/core-1.10.0.tgz",
 | 
			
		||||
      "integrity": "sha512-2aZDDa3zrrZbP5ZYg159sNoLRb61nQ7awl5pSvIq5Qpj81vwDzdMRKzkWJGJuwVvWpvZKx7vspJALyvaaIQyug==",
 | 
			
		||||
      "requires": {
 | 
			
		||||
        "@actions/http-client": "^2.0.1",
 | 
			
		||||
        "uuid": "^8.3.2"
 | 
			
		||||
      }
 | 
			
		||||
    },
 | 
			
		||||
    "@actions/exec": {
 | 
			
		||||
      "version": "1.1.1",
 | 
			
		||||
      "resolved": "https://registry.npmjs.org/@actions/exec/-/exec-1.1.1.tgz",
 | 
			
		||||
      "integrity": "sha512-+sCcHHbVdk93a0XT19ECtO/gIXoxvdsgQLzb2fE2/5sIZmWQuluYyjPQtrtTHdU1YzTZ7bAPN4sITq2xi1679w==",
 | 
			
		||||
      "requires": {
 | 
			
		||||
        "@actions/io": "^1.0.1"
 | 
			
		||||
      }
 | 
			
		||||
    },
 | 
			
		||||
    "@actions/github": {
 | 
			
		||||
      "version": "5.1.1",
 | 
			
		||||
      "resolved": "https://registry.npmjs.org/@actions/github/-/github-5.1.1.tgz",
 | 
			
		||||
      "integrity": "sha512-Nk59rMDoJaV+mHCOJPXuvB1zIbomlKS0dmSIqPGxd0enAXBnOfn4VWF+CGtRCwXZG9Epa54tZA7VIRlJDS8A6g==",
 | 
			
		||||
      "requires": {
 | 
			
		||||
        "@actions/http-client": "^2.0.1",
 | 
			
		||||
        "@octokit/core": "^3.6.0",
 | 
			
		||||
        "@octokit/plugin-paginate-rest": "^2.17.0",
 | 
			
		||||
        "@octokit/plugin-rest-endpoint-methods": "^5.13.0"
 | 
			
		||||
      }
 | 
			
		||||
    },
 | 
			
		||||
    "@actions/http-client": {
 | 
			
		||||
      "version": "2.0.1",
 | 
			
		||||
      "resolved": "https://registry.npmjs.org/@actions/http-client/-/http-client-2.0.1.tgz",
 | 
			
		||||
      "integrity": "sha512-PIXiMVtz6VvyaRsGY268qvj57hXQEpsYogYOu2nrQhlf+XCGmZstmuZBbAybUl1nQGnvS1k1eEsQ69ZoD7xlSw==",
 | 
			
		||||
      "requires": {
 | 
			
		||||
        "tunnel": "^0.0.6"
 | 
			
		||||
      }
 | 
			
		||||
    },
 | 
			
		||||
    "@actions/io": {
 | 
			
		||||
      "version": "1.1.2",
 | 
			
		||||
      "resolved": "https://registry.npmjs.org/@actions/io/-/io-1.1.2.tgz",
 | 
			
		||||
      "integrity": "sha512-d+RwPlMp+2qmBfeLYPLXuSRykDIFEwdTA0MMxzS9kh4kvP1ftrc/9fzy6pX6qAjthdXruHQ6/6kjT/DNo5ALuw=="
 | 
			
		||||
    },
 | 
			
		||||
    "@actions/tool-cache": {
 | 
			
		||||
      "version": "2.0.1",
 | 
			
		||||
      "resolved": "https://registry.npmjs.org/@actions/tool-cache/-/tool-cache-2.0.1.tgz",
 | 
			
		||||
      "integrity": "sha512-iPU+mNwrbA8jodY8eyo/0S/QqCKDajiR8OxWTnSk/SnYg0sj8Hp4QcUEVC1YFpHWXtrfbQrE13Jz4k4HXJQKcA==",
 | 
			
		||||
      "requires": {
 | 
			
		||||
        "@actions/core": "^1.2.6",
 | 
			
		||||
        "@actions/exec": "^1.0.0",
 | 
			
		||||
        "@actions/http-client": "^2.0.1",
 | 
			
		||||
        "@actions/io": "^1.1.1",
 | 
			
		||||
        "semver": "^6.1.0",
 | 
			
		||||
        "uuid": "^3.3.2"
 | 
			
		||||
      },
 | 
			
		||||
      "dependencies": {
 | 
			
		||||
        "semver": {
 | 
			
		||||
          "version": "6.3.0",
 | 
			
		||||
          "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",
 | 
			
		||||
          "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw=="
 | 
			
		||||
        },
 | 
			
		||||
        "uuid": {
 | 
			
		||||
          "version": "3.4.0",
 | 
			
		||||
          "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz",
 | 
			
		||||
          "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A=="
 | 
			
		||||
        }
 | 
			
		||||
      }
 | 
			
		||||
    },
 | 
			
		||||
    "@octokit/auth-token": {
 | 
			
		||||
      "version": "2.5.0",
 | 
			
		||||
      "resolved": "https://registry.npmjs.org/@octokit/auth-token/-/auth-token-2.5.0.tgz",
 | 
			
		||||
      "integrity": "sha512-r5FVUJCOLl19AxiuZD2VRZ/ORjp/4IN98Of6YJoJOkY75CIBuYfmiNHGrDwXr+aLGG55igl9QrxX3hbiXlLb+g==",
 | 
			
		||||
      "requires": {
 | 
			
		||||
        "@octokit/types": "^6.0.3"
 | 
			
		||||
      }
 | 
			
		||||
    },
 | 
			
		||||
    "@octokit/core": {
 | 
			
		||||
      "version": "3.6.0",
 | 
			
		||||
      "resolved": "https://registry.npmjs.org/@octokit/core/-/core-3.6.0.tgz",
 | 
			
		||||
      "integrity": "sha512-7RKRKuA4xTjMhY+eG3jthb3hlZCsOwg3rztWh75Xc+ShDWOfDDATWbeZpAHBNRpm4Tv9WgBMOy1zEJYXG6NJ7Q==",
 | 
			
		||||
      "requires": {
 | 
			
		||||
        "@octokit/auth-token": "^2.4.4",
 | 
			
		||||
        "@octokit/graphql": "^4.5.8",
 | 
			
		||||
        "@octokit/request": "^5.6.3",
 | 
			
		||||
        "@octokit/request-error": "^2.0.5",
 | 
			
		||||
        "@octokit/types": "^6.0.3",
 | 
			
		||||
        "before-after-hook": "^2.2.0",
 | 
			
		||||
        "universal-user-agent": "^6.0.0"
 | 
			
		||||
      }
 | 
			
		||||
    },
 | 
			
		||||
    "@octokit/endpoint": {
 | 
			
		||||
      "version": "6.0.12",
 | 
			
		||||
      "resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-6.0.12.tgz",
 | 
			
		||||
      "integrity": "sha512-lF3puPwkQWGfkMClXb4k/eUT/nZKQfxinRWJrdZaJO85Dqwo/G0yOC434Jr2ojwafWJMYqFGFa5ms4jJUgujdA==",
 | 
			
		||||
      "requires": {
 | 
			
		||||
        "@octokit/types": "^6.0.3",
 | 
			
		||||
        "is-plain-object": "^5.0.0",
 | 
			
		||||
        "universal-user-agent": "^6.0.0"
 | 
			
		||||
      }
 | 
			
		||||
    },
 | 
			
		||||
    "@octokit/graphql": {
 | 
			
		||||
      "version": "4.8.0",
 | 
			
		||||
      "resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-4.8.0.tgz",
 | 
			
		||||
      "integrity": "sha512-0gv+qLSBLKF0z8TKaSKTsS39scVKF9dbMxJpj3U0vC7wjNWFuIpL/z76Qe2fiuCbDRcJSavkXsVtMS6/dtQQsg==",
 | 
			
		||||
      "requires": {
 | 
			
		||||
        "@octokit/request": "^5.6.0",
 | 
			
		||||
        "@octokit/types": "^6.0.3",
 | 
			
		||||
        "universal-user-agent": "^6.0.0"
 | 
			
		||||
      }
 | 
			
		||||
    },
 | 
			
		||||
    "@octokit/openapi-types": {
 | 
			
		||||
      "version": "12.11.0",
 | 
			
		||||
      "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-12.11.0.tgz",
 | 
			
		||||
      "integrity": "sha512-VsXyi8peyRq9PqIz/tpqiL2w3w80OgVMwBHltTml3LmVvXiphgeqmY9mvBw9Wu7e0QWk/fqD37ux8yP5uVekyQ=="
 | 
			
		||||
    },
 | 
			
		||||
    "@octokit/plugin-paginate-rest": {
 | 
			
		||||
      "version": "2.21.3",
 | 
			
		||||
      "resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-2.21.3.tgz",
 | 
			
		||||
      "integrity": "sha512-aCZTEf0y2h3OLbrgKkrfFdjRL6eSOo8komneVQJnYecAxIej7Bafor2xhuDJOIFau4pk0i/P28/XgtbyPF0ZHw==",
 | 
			
		||||
      "requires": {
 | 
			
		||||
        "@octokit/types": "^6.40.0"
 | 
			
		||||
      }
 | 
			
		||||
    },
 | 
			
		||||
    "@octokit/plugin-rest-endpoint-methods": {
 | 
			
		||||
      "version": "5.16.2",
 | 
			
		||||
      "resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-5.16.2.tgz",
 | 
			
		||||
      "integrity": "sha512-8QFz29Fg5jDuTPXVtey05BLm7OB+M8fnvE64RNegzX7U+5NUXcOcnpTIK0YfSHBg8gYd0oxIq3IZTe9SfPZiRw==",
 | 
			
		||||
      "requires": {
 | 
			
		||||
        "@octokit/types": "^6.39.0",
 | 
			
		||||
        "deprecation": "^2.3.1"
 | 
			
		||||
      }
 | 
			
		||||
    },
 | 
			
		||||
    "@octokit/request": {
 | 
			
		||||
      "version": "5.6.3",
 | 
			
		||||
      "resolved": "https://registry.npmjs.org/@octokit/request/-/request-5.6.3.tgz",
 | 
			
		||||
      "integrity": "sha512-bFJl0I1KVc9jYTe9tdGGpAMPy32dLBXXo1dS/YwSCTL/2nd9XeHsY616RE3HPXDVk+a+dBuzyz5YdlXwcDTr2A==",
 | 
			
		||||
      "requires": {
 | 
			
		||||
        "@octokit/endpoint": "^6.0.1",
 | 
			
		||||
        "@octokit/request-error": "^2.1.0",
 | 
			
		||||
        "@octokit/types": "^6.16.1",
 | 
			
		||||
        "is-plain-object": "^5.0.0",
 | 
			
		||||
        "node-fetch": "^2.6.7",
 | 
			
		||||
        "universal-user-agent": "^6.0.0"
 | 
			
		||||
      }
 | 
			
		||||
    },
 | 
			
		||||
    "@octokit/request-error": {
 | 
			
		||||
      "version": "2.1.0",
 | 
			
		||||
      "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-2.1.0.tgz",
 | 
			
		||||
      "integrity": "sha512-1VIvgXxs9WHSjicsRwq8PlR2LR2x6DwsJAaFgzdi0JfJoGSO8mYI/cHJQ+9FbN21aa+DrgNLnwObmyeSC8Rmpg==",
 | 
			
		||||
      "requires": {
 | 
			
		||||
        "@octokit/types": "^6.0.3",
 | 
			
		||||
        "deprecation": "^2.0.0",
 | 
			
		||||
        "once": "^1.4.0"
 | 
			
		||||
      }
 | 
			
		||||
    },
 | 
			
		||||
    "@octokit/types": {
 | 
			
		||||
      "version": "6.41.0",
 | 
			
		||||
      "resolved": "https://registry.npmjs.org/@octokit/types/-/types-6.41.0.tgz",
 | 
			
		||||
      "integrity": "sha512-eJ2jbzjdijiL3B4PrSQaSjuF2sPEQPVCPzBvTHJD9Nz+9dw2SGH4K4xeQJ77YfTq5bRQ+bD8wT11JbeDPmxmGg==",
 | 
			
		||||
      "requires": {
 | 
			
		||||
        "@octokit/openapi-types": "^12.11.0"
 | 
			
		||||
      }
 | 
			
		||||
    },
 | 
			
		||||
    "@types/node": {
 | 
			
		||||
      "version": "18.11.9",
 | 
			
		||||
      "resolved": "https://registry.npmjs.org/@types/node/-/node-18.11.9.tgz",
 | 
			
		||||
      "integrity": "sha512-CRpX21/kGdzjOpFsZSkcrXMGIBWMGNIHXXBVFSH+ggkftxg+XYP20TESbh+zFvFj3EQOl5byk0HTRn1IL6hbqg==",
 | 
			
		||||
      "dev": true
 | 
			
		||||
    },
 | 
			
		||||
    "@types/semver": {
 | 
			
		||||
      "version": "7.3.13",
 | 
			
		||||
      "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.3.13.tgz",
 | 
			
		||||
      "integrity": "sha512-21cFJr9z3g5dW8B0CVI9g2O9beqaThGQ6ZFBqHfwhzLDKUxaqTIy3vnfah/UPkfOiF2pLq+tGz+W8RyCskuslw==",
 | 
			
		||||
      "dev": true
 | 
			
		||||
    },
 | 
			
		||||
    "@zeit/ncc": {
 | 
			
		||||
      "version": "0.22.3",
 | 
			
		||||
      "resolved": "https://registry.npmjs.org/@zeit/ncc/-/ncc-0.22.3.tgz",
 | 
			
		||||
      "integrity": "sha512-jnCLpLXWuw/PAiJiVbLjA8WBC0IJQbFeUwF4I9M+23MvIxTxk5pD4Q8byQBSPmHQjz5aBoA7AKAElQxMpjrCLQ==",
 | 
			
		||||
      "dev": true
 | 
			
		||||
    },
 | 
			
		||||
    "before-after-hook": {
 | 
			
		||||
      "version": "2.2.3",
 | 
			
		||||
      "resolved": "https://registry.npmjs.org/before-after-hook/-/before-after-hook-2.2.3.tgz",
 | 
			
		||||
      "integrity": "sha512-NzUnlZexiaH/46WDhANlyR2bXRopNg4F/zuSA3OpZnllCUgRaOF2znDioDWrmbNVsuZk6l9pMquQB38cfBZwkQ=="
 | 
			
		||||
    },
 | 
			
		||||
    "deprecation": {
 | 
			
		||||
      "version": "2.3.1",
 | 
			
		||||
      "resolved": "https://registry.npmjs.org/deprecation/-/deprecation-2.3.1.tgz",
 | 
			
		||||
      "integrity": "sha512-xmHIy4F3scKVwMsQ4WnVaS8bHOx0DmVwRywosKhaILI0ywMDWPtBSku2HNxRvF7jtwDRsoEwYQSfbxj8b7RlJQ=="
 | 
			
		||||
    },
 | 
			
		||||
    "is-plain-object": {
 | 
			
		||||
      "version": "5.0.0",
 | 
			
		||||
      "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-5.0.0.tgz",
 | 
			
		||||
      "integrity": "sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q=="
 | 
			
		||||
    },
 | 
			
		||||
    "lru-cache": {
 | 
			
		||||
      "version": "6.0.0",
 | 
			
		||||
      "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz",
 | 
			
		||||
      "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==",
 | 
			
		||||
      "requires": {
 | 
			
		||||
        "yallist": "^4.0.0"
 | 
			
		||||
      }
 | 
			
		||||
    },
 | 
			
		||||
    "node-fetch": {
 | 
			
		||||
      "version": "2.6.7",
 | 
			
		||||
      "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz",
 | 
			
		||||
      "integrity": "sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==",
 | 
			
		||||
      "requires": {
 | 
			
		||||
        "whatwg-url": "^5.0.0"
 | 
			
		||||
      }
 | 
			
		||||
    },
 | 
			
		||||
    "once": {
 | 
			
		||||
      "version": "1.4.0",
 | 
			
		||||
      "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
 | 
			
		||||
      "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==",
 | 
			
		||||
      "requires": {
 | 
			
		||||
        "wrappy": "1"
 | 
			
		||||
      }
 | 
			
		||||
    },
 | 
			
		||||
    "semver": {
 | 
			
		||||
      "version": "7.3.8",
 | 
			
		||||
      "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz",
 | 
			
		||||
      "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==",
 | 
			
		||||
      "requires": {
 | 
			
		||||
        "lru-cache": "^6.0.0"
 | 
			
		||||
      }
 | 
			
		||||
    },
 | 
			
		||||
    "tr46": {
 | 
			
		||||
      "version": "0.0.3",
 | 
			
		||||
      "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz",
 | 
			
		||||
      "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw=="
 | 
			
		||||
    },
 | 
			
		||||
    "tunnel": {
 | 
			
		||||
      "version": "0.0.6",
 | 
			
		||||
      "resolved": "https://registry.npmjs.org/tunnel/-/tunnel-0.0.6.tgz",
 | 
			
		||||
      "integrity": "sha512-1h/Lnq9yajKY2PEbBadPXj3VxsDDu844OnaAo52UVmIzIvwwtBPIuNvkjuzBlTWpfJyUbG3ez0KSBibQkj4ojg=="
 | 
			
		||||
    },
 | 
			
		||||
    "typescript": {
 | 
			
		||||
      "version": "4.8.4",
 | 
			
		||||
      "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.8.4.tgz",
 | 
			
		||||
      "integrity": "sha512-QCh+85mCy+h0IGff8r5XWzOVSbBO+KfeYrMQh7NJ58QujwcE22u+NUSmUxqF+un70P9GXKxa2HCNiTTMJknyjQ==",
 | 
			
		||||
      "dev": true
 | 
			
		||||
    },
 | 
			
		||||
    "universal-user-agent": {
 | 
			
		||||
      "version": "6.0.0",
 | 
			
		||||
      "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-6.0.0.tgz",
 | 
			
		||||
      "integrity": "sha512-isyNax3wXoKaulPDZWHQqbmIx1k2tb9fb3GGDBRxCscfYV2Ch7WxPArBsFEG8s/safwXTT7H4QGhaIkTp9447w=="
 | 
			
		||||
    },
 | 
			
		||||
    "uuid": {
 | 
			
		||||
      "version": "8.3.2",
 | 
			
		||||
      "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz",
 | 
			
		||||
      "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg=="
 | 
			
		||||
    },
 | 
			
		||||
    "webidl-conversions": {
 | 
			
		||||
      "version": "3.0.1",
 | 
			
		||||
      "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz",
 | 
			
		||||
      "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ=="
 | 
			
		||||
    },
 | 
			
		||||
    "whatwg-url": {
 | 
			
		||||
      "version": "5.0.0",
 | 
			
		||||
      "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz",
 | 
			
		||||
      "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==",
 | 
			
		||||
      "requires": {
 | 
			
		||||
        "tr46": "~0.0.3",
 | 
			
		||||
        "webidl-conversions": "^3.0.0"
 | 
			
		||||
      }
 | 
			
		||||
    },
 | 
			
		||||
    "wrappy": {
 | 
			
		||||
      "version": "1.0.2",
 | 
			
		||||
      "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
 | 
			
		||||
      "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ=="
 | 
			
		||||
    },
 | 
			
		||||
    "yallist": {
 | 
			
		||||
      "version": "4.0.0",
 | 
			
		||||
      "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
 | 
			
		||||
      "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A=="
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										36
									
								
								package.json
									
									
									
									
									
								
							
							
						
						
									
										36
									
								
								package.json
									
									
									
									
									
								
							@@ -1,36 +0,0 @@
 | 
			
		||||
{
 | 
			
		||||
  "name": "setup-rust-action",
 | 
			
		||||
  "version": "0.0.0",
 | 
			
		||||
  "private": true,
 | 
			
		||||
  "description": "Set up a specific Rust toolchain in your Github Actions workflows",
 | 
			
		||||
  "main": "lib/main.js",
 | 
			
		||||
  "scripts": {
 | 
			
		||||
    "build": "ncc build src/main.ts --minify"
 | 
			
		||||
  },
 | 
			
		||||
  "repository": {
 | 
			
		||||
    "type": "git",
 | 
			
		||||
    "url": "git+https://github.com/hecrj/setup-rust-action.git"
 | 
			
		||||
  },
 | 
			
		||||
  "keywords": [
 | 
			
		||||
    "github",
 | 
			
		||||
    "actions",
 | 
			
		||||
    "rust",
 | 
			
		||||
    "setup"
 | 
			
		||||
  ],
 | 
			
		||||
  "author": "Héctor Ramón",
 | 
			
		||||
  "license": "MIT",
 | 
			
		||||
  "dependencies": {
 | 
			
		||||
    "@actions/core": "^1.2.6",
 | 
			
		||||
    "@actions/exec": "^1.0.4",
 | 
			
		||||
    "@actions/github": "^5.1.1",
 | 
			
		||||
    "@actions/io": "^1.0.0",
 | 
			
		||||
    "@actions/tool-cache": "^2.0.1",
 | 
			
		||||
    "semver": "^7.3.8"
 | 
			
		||||
  },
 | 
			
		||||
  "devDependencies": {
 | 
			
		||||
    "@types/node": "^18.11.9",
 | 
			
		||||
    "@types/semver": "^7.3.13",
 | 
			
		||||
    "@zeit/ncc": "^0.22.3",
 | 
			
		||||
    "typescript": "^4.8.4"
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										23
									
								
								setup.sh
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										23
									
								
								setup.sh
									
									
									
									
									
										Executable file
									
								
							@@ -0,0 +1,23 @@
 | 
			
		||||
#!/bin/bash
 | 
			
		||||
set -e
 | 
			
		||||
 | 
			
		||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain none --profile minimal
 | 
			
		||||
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
 | 
			
		||||
 | 
			
		||||
args=()
 | 
			
		||||
 | 
			
		||||
# shellcheck disable=SC2206
 | 
			
		||||
[[ -n "${INPUT_COMPONENTS}" ]] && args+=(-c "${INPUT_COMPONENTS// /}")
 | 
			
		||||
 | 
			
		||||
# shellcheck disable=SC2206
 | 
			
		||||
[[ -n "${INPUT_TARGETS}" ]] && args+=(-t "${INPUT_TARGETS// /}")
 | 
			
		||||
 | 
			
		||||
rustup toolchain install "${INPUT_RUST_VERSION}" --profile "${INPUT_PROFILE}" "${args[@]}"
 | 
			
		||||
rustup default "${INPUT_RUST_VERSION}"
 | 
			
		||||
 | 
			
		||||
# shellcheck disable=SC2129
 | 
			
		||||
echo "rustup_version=$(rustup --version)" >> $GITHUB_OUTPUT
 | 
			
		||||
echo "cargo_version=$(cargo --version)" >> $GITHUB_OUTPUT
 | 
			
		||||
echo "rustc_version=$(rustc --version)" >> $GITHUB_OUTPUT
 | 
			
		||||
 | 
			
		||||
echo "::add-matcher::${GITHUB_ACTION_PATH%/}/matcher.json"
 | 
			
		||||
							
								
								
									
										37
									
								
								src/main.ts
									
									
									
									
									
								
							
							
						
						
									
										37
									
								
								src/main.ts
									
									
									
									
									
								
							@@ -1,37 +0,0 @@
 | 
			
		||||
import * as core from '@actions/core';
 | 
			
		||||
import * as exec from '@actions/exec';
 | 
			
		||||
import * as rustup from './rustup';
 | 
			
		||||
import * as path from 'path';
 | 
			
		||||
 | 
			
		||||
async function run() {
 | 
			
		||||
  const version = core.getInput('rust-version');
 | 
			
		||||
 | 
			
		||||
  const components = core.getInput('components')
 | 
			
		||||
    .split(',')
 | 
			
		||||
    .map((component) => component.trim())
 | 
			
		||||
    .filter((component) => component.length > 0);
 | 
			
		||||
 | 
			
		||||
  const targets = core.getInput('targets')
 | 
			
		||||
    .split(',')
 | 
			
		||||
    .map((target) => target.trim())
 | 
			
		||||
    .filter((target) => target.length > 0);
 | 
			
		||||
 | 
			
		||||
  if(version) {
 | 
			
		||||
    await rustup.install();
 | 
			
		||||
 | 
			
		||||
    await exec.exec(
 | 
			
		||||
      'rustup',
 | 
			
		||||
      ['toolchain', 'install', version,
 | 
			
		||||
        ...(components.length > 0 ? ['-c', ...components] : []),
 | 
			
		||||
        ...(targets.length > 0 ? ['-t', ...targets] : []),
 | 
			
		||||
      ]
 | 
			
		||||
    );
 | 
			
		||||
 | 
			
		||||
    await exec.exec('rustup', ['default', version]);
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  const matchersPath = path.join(__dirname, '..', '.github');
 | 
			
		||||
  console.log(`##[add-matcher]${path.join(matchersPath, 'rust.json')}`);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
run();
 | 
			
		||||
@@ -1,56 +0,0 @@
 | 
			
		||||
import * as core from '@actions/core';
 | 
			
		||||
import * as exec from '@actions/exec';
 | 
			
		||||
import * as toolCache from '@actions/tool-cache';
 | 
			
		||||
import * as path from 'path';
 | 
			
		||||
import * as os from 'os';
 | 
			
		||||
import {chmodSync, renameSync, existsSync, appendFileSync} from 'fs';
 | 
			
		||||
 | 
			
		||||
let tempDirectory = process.env['RUNNER_TEMPDIRECTORY'] || '';
 | 
			
		||||
 | 
			
		||||
export async function install() {
 | 
			
		||||
  // `rustup` is already installed on Linux and Windows platforms
 | 
			
		||||
  if (os.platform() == 'darwin') {
 | 
			
		||||
    let toolPath = await installOnUnix();
 | 
			
		||||
 | 
			
		||||
    core.debug('rustup is located under: ' + toolPath);
 | 
			
		||||
    core.addPath(path.join(toolPath, 'bin'));
 | 
			
		||||
  } else {
 | 
			
		||||
    // Update the GitHub managed VM version of rustup
 | 
			
		||||
    // to leverage newer features like "latest latest compatible nightly"
 | 
			
		||||
    await exec.exec('rustup', ['self', 'update']);
 | 
			
		||||
 | 
			
		||||
    await exec.exec('rustup', ['set', 'profile', 'minimal']);
 | 
			
		||||
 | 
			
		||||
    if (os.platform() == 'win32') {
 | 
			
		||||
      let cargoPath = '';
 | 
			
		||||
      {
 | 
			
		||||
        const options = {
 | 
			
		||||
          listeners: {
 | 
			
		||||
            stdout: (data: Buffer) => {
 | 
			
		||||
              cargoPath += data.toString();
 | 
			
		||||
            }
 | 
			
		||||
          }
 | 
			
		||||
        };
 | 
			
		||||
        await exec.exec('where', ['rustup.exe'], options);
 | 
			
		||||
      }
 | 
			
		||||
      let rustupPath = cargoPath.split('\\').slice(0, -3).concat([".rustup"]).join("\\");
 | 
			
		||||
      let defaultClearedFilePath = `${rustupPath}\\default_cleared`;
 | 
			
		||||
 | 
			
		||||
      if (!existsSync(defaultClearedFilePath)) {
 | 
			
		||||
        // Github's default Windows install comes with rustup pre-installed with stable, including
 | 
			
		||||
        // rust-docs. This removes the default stable install so that it doesn't update rust-docs.
 | 
			
		||||
        renameSync(`${rustupPath}\\toolchains`, `${rustupPath}\\_toolchains`);
 | 
			
		||||
        appendFileSync(defaultClearedFilePath, '');
 | 
			
		||||
      }
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
async function installOnUnix(): Promise<string> {
 | 
			
		||||
  let script = await toolCache.downloadTool("https://sh.rustup.rs");
 | 
			
		||||
 | 
			
		||||
  chmodSync(script, '777');
 | 
			
		||||
  await exec.exec(`"${script}"`, ['-y', '--default-toolchain', 'none', '--profile=minimal']);
 | 
			
		||||
 | 
			
		||||
  return path.join(process.env['HOME'] || '', '.cargo');
 | 
			
		||||
}
 | 
			
		||||
@@ -1,63 +0,0 @@
 | 
			
		||||
{
 | 
			
		||||
  "compilerOptions": {
 | 
			
		||||
    /* Basic Options */
 | 
			
		||||
    // "incremental": true,                   /* Enable incremental compilation */
 | 
			
		||||
    "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'. */
 | 
			
		||||
    // "allowJs": true,                       /* Allow javascript files to be compiled. */
 | 
			
		||||
    // "checkJs": true,                       /* Report errors in .js files. */
 | 
			
		||||
    // "jsx": "preserve",                     /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */
 | 
			
		||||
    // "declaration": true,                   /* Generates corresponding '.d.ts' file. */
 | 
			
		||||
    // "declarationMap": true,                /* Generates a sourcemap for each corresponding '.d.ts' file. */
 | 
			
		||||
    // "sourceMap": true,                     /* Generates corresponding '.map' file. */
 | 
			
		||||
    // "outFile": "./",                       /* Concatenate and emit output to single file. */
 | 
			
		||||
    "outDir": "./lib",                        /* Redirect output structure to the directory. */
 | 
			
		||||
    "rootDir": "./src",                       /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
 | 
			
		||||
    // "composite": true,                     /* Enable project compilation */
 | 
			
		||||
    // "tsBuildInfoFile": "./",               /* Specify file to store incremental compilation information */
 | 
			
		||||
    // "removeComments": true,                /* Do not emit comments to output. */
 | 
			
		||||
    // "noEmit": true,                        /* Do not emit outputs. */
 | 
			
		||||
    // "importHelpers": true,                 /* Import emit helpers from 'tslib'. */
 | 
			
		||||
    // "downlevelIteration": true,            /* Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'. */
 | 
			
		||||
    // "isolatedModules": true,               /* Transpile each file as a separate module (similar to 'ts.transpileModule'). */
 | 
			
		||||
 | 
			
		||||
    /* Strict Type-Checking Options */
 | 
			
		||||
    "strict": true,                           /* Enable all strict type-checking options. */
 | 
			
		||||
    "noImplicitAny": false,                 /* Raise error on expressions and declarations with an implied 'any' type. */
 | 
			
		||||
    // "strictNullChecks": true,              /* Enable strict null checks. */
 | 
			
		||||
    // "strictFunctionTypes": true,           /* Enable strict checking of function types. */
 | 
			
		||||
    // "strictBindCallApply": true,           /* Enable strict 'bind', 'call', and 'apply' methods on functions. */
 | 
			
		||||
    // "strictPropertyInitialization": true,  /* Enable strict checking of property initialization in classes. */
 | 
			
		||||
    // "noImplicitThis": true,                /* Raise error on 'this' expressions with an implied 'any' type. */
 | 
			
		||||
    // "alwaysStrict": true,                  /* Parse in strict mode and emit "use strict" for each source file. */
 | 
			
		||||
 | 
			
		||||
    /* Additional Checks */
 | 
			
		||||
    // "noUnusedLocals": true,                /* Report errors on unused locals. */
 | 
			
		||||
    // "noUnusedParameters": true,            /* Report errors on unused parameters. */
 | 
			
		||||
    // "noImplicitReturns": true,             /* Report error when not all code paths in function return a value. */
 | 
			
		||||
    // "noFallthroughCasesInSwitch": true,    /* Report errors for fallthrough cases in switch statement. */
 | 
			
		||||
 | 
			
		||||
    /* Module Resolution Options */
 | 
			
		||||
    // "moduleResolution": "node",            /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */
 | 
			
		||||
    // "baseUrl": "./",                       /* Base directory to resolve non-absolute module names. */
 | 
			
		||||
    // "paths": {},                           /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */
 | 
			
		||||
    // "rootDirs": [],                        /* List of root folders whose combined content represents the structure of the project at runtime. */
 | 
			
		||||
    // "typeRoots": [],                       /* List of folders to include type definitions from. */
 | 
			
		||||
    // "types": [],                           /* Type declaration files to be included in compilation. */
 | 
			
		||||
    // "allowSyntheticDefaultImports": true,  /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */
 | 
			
		||||
    "esModuleInterop": true                   /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
 | 
			
		||||
    // "preserveSymlinks": true,              /* Do not resolve the real path of symlinks. */
 | 
			
		||||
    // "allowUmdGlobalAccess": true,          /* Allow accessing UMD globals from modules. */
 | 
			
		||||
 | 
			
		||||
    /* Source Map Options */
 | 
			
		||||
    // "sourceRoot": "",                      /* Specify the location where debugger should locate TypeScript files instead of source locations. */
 | 
			
		||||
    // "mapRoot": "",                         /* Specify the location where debugger should locate map files instead of generated locations. */
 | 
			
		||||
    // "inlineSourceMap": true,               /* Emit a single file with source maps instead of having a separate file. */
 | 
			
		||||
    // "inlineSources": true,                 /* Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set. */
 | 
			
		||||
 | 
			
		||||
    /* Experimental Options */
 | 
			
		||||
    // "experimentalDecorators": true,        /* Enables experimental support for ES7 decorators. */
 | 
			
		||||
    // "emitDecoratorMetadata": true,         /* Enables experimental support for emitting type metadata for decorators. */
 | 
			
		||||
  },
 | 
			
		||||
  "exclude": ["node_modules", "**/*.test.ts"]
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user