Compare commits

..

5 Commits

Author SHA1 Message Date
265662ce90 v3 2019-10-03 17:32:51 +02:00
ba979b5e7d fix #5: set max-jobs = auto 2019-10-03 17:23:24 +02:00
67bd092214 bump 2019-10-02 17:38:16 +02:00
f104d5a8aa Merge pull request #4 from cachix/fix-build-check
test that build produces no diff
2019-10-02 16:49:24 +02:00
d266f22fdb test that build produces no diff 2019-10-02 16:39:06 +02:00
28 changed files with 684 additions and 987 deletions

View File

@ -12,6 +12,8 @@ jobs:
- uses: actions/checkout@v1 - uses: actions/checkout@v1
- run: yarn install --frozen-lockfile - run: yarn install --frozen-lockfile
- run: yarn build - run: yarn build
# TODO: just commit it using github
- run: git diff --exit-code
- run: yarn test - run: yarn test
- name: Install Nix - name: Install Nix
uses: ./ uses: ./

View File

@ -30,7 +30,9 @@ function run() {
const CERTS_PATH = home + '/.nix-profile/etc/ssl/certs/ca-bundle.crt'; const CERTS_PATH = home + '/.nix-profile/etc/ssl/certs/ca-bundle.crt';
// Workaround a segfault: https://github.com/NixOS/nix/issues/2733 // Workaround a segfault: https://github.com/NixOS/nix/issues/2733
yield exec.exec("sudo", ["mkdir", "-p", "/etc/nix"]); yield exec.exec("sudo", ["mkdir", "-p", "/etc/nix"]);
yield exec.exec("sudo", ["echo", "http2 = false", ">>", "/etc/nix/nix.conf"]); yield exec.exec("sudo", ["sh", "-c", "echo http2 = false >> /etc/nix/nix.conf"]);
// Set jobs to number of cores
yield exec.exec("sudo", ["sh", "-c", "echo max-jobs = auto >> /etc/nix/nix.conf"]);
// TODO: retry due to all the things that go wrong // TODO: retry due to all the things that go wrong
const nixInstall = yield tc.downloadTool('https://nixos.org/nix/install'); const nixInstall = yield tc.downloadTool('https://nixos.org/nix/install');
yield exec.exec("sh", [nixInstall]); yield exec.exec("sh", [nixInstall]);

2
node_modules/.bin/semver generated vendored
View File

@ -1 +1 @@
../semver/bin/semver.js ../@actions/tool-cache/node_modules/semver/bin/semver.js

202
node_modules/@actions/core/README.md generated vendored
View File

@ -1,107 +1,97 @@
# `@actions/core` # `@actions/core`
> Core functions for setting results, logging, registering secrets and exporting variables across actions > Core functions for setting results, logging, registering secrets and exporting variables across actions
## Usage ## Usage
### Import the package #### Inputs/Outputs
```js You can use this library to get inputs or set outputs:
// javascript
const core = require('@actions/core'); ```js
const core = require('@actions/core');
// typescript
import * as core from '@actions/core'; const myInput = core.getInput('inputName', { required: true });
```
// Do stuff
#### Inputs/Outputs
core.setOutput('outputKey', 'outputVal');
Action inputs can be read with `getInput`. Outputs can be set with `setOutput` which makes them available to be mapped into inputs of other actions to ensure they are decoupled. ```
```js #### Exporting variables
const myInput = core.getInput('inputName', { required: true });
You can also export variables for future steps. Variables get set in the environment.
core.setOutput('outputKey', 'outputVal');
``` ```js
const core = require('@actions/core');
#### Exporting variables
// Do stuff
Since each step runs in a separate process, you can use `exportVariable` to add it to this step and future steps environment blocks.
core.exportVariable('envVar', 'Val');
```js ```
core.exportVariable('envVar', 'Val');
``` #### PATH Manipulation
#### Setting a secret You can explicitly add items to the path for all remaining steps in a workflow:
Setting a secret registers the secret with the runner to ensure it is masked in logs. ```js
const core = require('@actions/core');
```js
core.setSecret('myPassword'); core.addPath('pathToTool');
``` ```
#### PATH Manipulation #### Exit codes
To make a tool's path available in the path for the remainder of the job (without altering the machine or containers state), use `addPath`. The runner will prepend the path given to the jobs PATH. You should use this library to set the failing exit code for your action:
```js ```js
core.addPath('/path/to/mytool'); const core = require('@actions/core');
```
try {
#### Exit codes // Do stuff
}
You should use this library to set the failing exit code for your action. If status is not set and the script runs to completion, that will lead to a success. catch (err) {
// setFailed logs the message and sets a failing exit code
```js core.setFailed(`Action failed with error ${err}`);
const core = require('@actions/core'); }
try { ```
// Do stuff
} #### Logging
catch (err) {
// setFailed logs the message and sets a failing exit code Finally, this library provides some utilities for logging. Note that debug logging is hidden from the logs by default. This behavior can be toggled by enabling the [Step Debug Logs](../../docs/action-debugging.md#step-debug-logs).
core.setFailed(`Action failed with error ${err}`);
} ```js
const core = require('@actions/core');
Note that `setNeutral` is not yet implemented in actions V2 but equivalent functionality is being planned.
const myInput = core.getInput('input');
``` try {
core.debug('Inside try block');
#### Logging
if (!myInput) {
Finally, this library provides some utilities for logging. Note that debug logging is hidden from the logs by default. This behavior can be toggled by enabling the [Step Debug Logs](../../docs/action-debugging.md#step-debug-logs). core.warning('myInput was not set');
}
```js
const core = require('@actions/core'); // Do stuff
}
const myInput = core.getInput('input'); catch (err) {
try { core.error(`Error ${err}, action may still succeed though`);
core.debug('Inside try block'); }
```
if (!myInput) {
core.warning('myInput was not set'); This library can also wrap chunks of output in foldable groups.
}
```js
// Do stuff const core = require('@actions/core')
}
catch (err) { // Manually wrap output
core.error(`Error ${err}, action may still succeed though`); core.startGroup('Do some function')
} doSomeFunction()
``` core.endGroup()
This library can also wrap chunks of output in foldable groups. // Wrap an asynchronous function call
const result = await core.group('Do something async', async () => {
```js const response = await doSomeHTTPRequest()
const core = require('@actions/core') return response
})
// Manually wrap output
core.startGroup('Do some function')
doSomeFunction()
core.endGroup()
// Wrap an asynchronous function call
const result = await core.group('Do something async', async () => {
const response = await doSomeHTTPRequest()
return response
})
``` ```

View File

@ -1,16 +1,16 @@
interface CommandProperties { interface CommandProperties {
[key: string]: string; [key: string]: string;
} }
/** /**
* Commands * Commands
* *
* Command Format: * Command Format:
* ##[name key=value;key=value]message * ##[name key=value;key=value]message
* *
* Examples: * Examples:
* ##[warning]This is the user warning message * ##[warning]This is the user warning message
* ##[set-secret name=mypassword]definitelyNotAPassword! * ##[set-secret name=mypassword]definitelyNotAPassword!
*/ */
export declare function issueCommand(command: string, properties: CommandProperties, message: string): void; export declare function issueCommand(command: string, properties: CommandProperties, message: string): void;
export declare function issue(name: string, message?: string): void; export declare function issue(name: string, message?: string): void;
export {}; export {};

View File

@ -1,66 +1,66 @@
"use strict"; "use strict";
Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "__esModule", { value: true });
const os = require("os"); const os = require("os");
/** /**
* Commands * Commands
* *
* Command Format: * Command Format:
* ##[name key=value;key=value]message * ##[name key=value;key=value]message
* *
* Examples: * Examples:
* ##[warning]This is the user warning message * ##[warning]This is the user warning message
* ##[set-secret name=mypassword]definitelyNotAPassword! * ##[set-secret name=mypassword]definitelyNotAPassword!
*/ */
function issueCommand(command, properties, message) { function issueCommand(command, properties, message) {
const cmd = new Command(command, properties, message); const cmd = new Command(command, properties, message);
process.stdout.write(cmd.toString() + os.EOL); process.stdout.write(cmd.toString() + os.EOL);
} }
exports.issueCommand = issueCommand; exports.issueCommand = issueCommand;
function issue(name, message = '') { function issue(name, message = '') {
issueCommand(name, {}, message); issueCommand(name, {}, message);
} }
exports.issue = issue; exports.issue = issue;
const CMD_STRING = '::'; const CMD_STRING = '::';
class Command { class Command {
constructor(command, properties, message) { constructor(command, properties, message) {
if (!command) { if (!command) {
command = 'missing.command'; command = 'missing.command';
} }
this.command = command; this.command = command;
this.properties = properties; this.properties = properties;
this.message = message; this.message = message;
} }
toString() { toString() {
let cmdStr = CMD_STRING + this.command; let cmdStr = CMD_STRING + this.command;
if (this.properties && Object.keys(this.properties).length > 0) { if (this.properties && Object.keys(this.properties).length > 0) {
cmdStr += ' '; cmdStr += ' ';
for (const key in this.properties) { for (const key in this.properties) {
if (this.properties.hasOwnProperty(key)) { if (this.properties.hasOwnProperty(key)) {
const val = this.properties[key]; const val = this.properties[key];
if (val) { if (val) {
// safely append the val - avoid blowing up when attempting to // safely append the val - avoid blowing up when attempting to
// call .replace() if message is not a string for some reason // call .replace() if message is not a string for some reason
cmdStr += `${key}=${escape(`${val || ''}`)},`; cmdStr += `${key}=${escape(`${val || ''}`)},`;
} }
} }
} }
} }
cmdStr += CMD_STRING; cmdStr += CMD_STRING;
// safely append the message - avoid blowing up when attempting to // safely append the message - avoid blowing up when attempting to
// call .replace() if message is not a string for some reason // call .replace() if message is not a string for some reason
const message = `${this.message || ''}`; const message = `${this.message || ''}`;
cmdStr += escapeData(message); cmdStr += escapeData(message);
return cmdStr; return cmdStr;
} }
} }
function escapeData(s) { function escapeData(s) {
return s.replace(/\r/g, '%0D').replace(/\n/g, '%0A'); return s.replace(/\r/g, '%0D').replace(/\n/g, '%0A');
} }
function escape(s) { function escape(s) {
return s return s
.replace(/\r/g, '%0D') .replace(/\r/g, '%0D')
.replace(/\n/g, '%0A') .replace(/\n/g, '%0A')
.replace(/]/g, '%5D') .replace(/]/g, '%5D')
.replace(/;/g, '%3B'); .replace(/;/g, '%3B');
} }
//# sourceMappingURL=command.js.map //# sourceMappingURL=command.js.map

View File

@ -1,98 +1,99 @@
/** /**
* Interface for getInput options * Interface for getInput options
*/ */
export interface InputOptions { export interface InputOptions {
/** Optional. Whether the input is required. If required and not present, will throw. Defaults to false */ /** Optional. Whether the input is required. If required and not present, will throw. Defaults to false */
required?: boolean; required?: boolean;
} }
/** /**
* The code to exit an action * The code to exit an action
*/ */
export declare enum ExitCode { export declare enum ExitCode {
/** /**
* A code indicating that the action was successful * A code indicating that the action was successful
*/ */
Success = 0, Success = 0,
/** /**
* A code indicating that the action was a failure * A code indicating that the action was a failure
*/ */
Failure = 1 Failure = 1
} }
/** /**
* Sets env variable for this action and future actions in the job * sets env variable for this action and future actions in the job
* @param name the name of the variable to set * @param name the name of the variable to set
* @param val the value of the variable * @param val the value of the variable
*/ */
export declare function exportVariable(name: string, val: string): void; export declare function exportVariable(name: string, val: string): void;
/** /**
* Registers a secret which will get masked from logs * exports the variable and registers a secret which will get masked from logs
* @param secret value of the secret * @param name the name of the variable to set
*/ * @param val value of the secret
export declare function setSecret(secret: string): void; */
/** export declare function exportSecret(name: string, val: string): void;
* Prepends inputPath to the PATH (for this action and future actions) /**
* @param inputPath * Prepends inputPath to the PATH (for this action and future actions)
*/ * @param inputPath
export declare function addPath(inputPath: string): void; */
/** export declare function addPath(inputPath: string): void;
* Gets the value of an input. The value is also trimmed. /**
* * Gets the value of an input. The value is also trimmed.
* @param name name of the input to get *
* @param options optional. See InputOptions. * @param name name of the input to get
* @returns string * @param options optional. See InputOptions.
*/ * @returns string
export declare function getInput(name: string, options?: InputOptions): string; */
/** export declare function getInput(name: string, options?: InputOptions): string;
* Sets the value of an output. /**
* * Sets the value of an output.
* @param name name of the output to set *
* @param value value to store * @param name name of the output to set
*/ * @param value value to store
export declare function setOutput(name: string, value: string): void; */
/** export declare function setOutput(name: string, value: string): void;
* Sets the action status to failed. /**
* When the action exits it will be with an exit code of 1 * Sets the action status to failed.
* @param message add error issue message * When the action exits it will be with an exit code of 1
*/ * @param message add error issue message
export declare function setFailed(message: string): void; */
/** export declare function setFailed(message: string): void;
* Writes debug message to user log /**
* @param message debug message * Writes debug message to user log
*/ * @param message debug message
export declare function debug(message: string): void; */
/** export declare function debug(message: string): void;
* Adds an error issue /**
* @param message error issue message * Adds an error issue
*/ * @param message error issue message
export declare function error(message: string): void; */
/** export declare function error(message: string): void;
* Adds an warning issue /**
* @param message warning issue message * Adds an warning issue
*/ * @param message warning issue message
export declare function warning(message: string): void; */
/** export declare function warning(message: string): void;
* Writes info to log with console.log. /**
* @param message info message * Writes info to log with console.log.
*/ * @param message info message
export declare function info(message: string): void; */
/** export declare function info(message: string): void;
* Begin an output group. /**
* * Begin an output group.
* Output until the next `groupEnd` will be foldable in this group *
* * Output until the next `groupEnd` will be foldable in this group
* @param name The name of the output group *
*/ * @param name The name of the output group
export declare function startGroup(name: string): void; */
/** export declare function startGroup(name: string): void;
* End an output group. /**
*/ * End an output group.
export declare function endGroup(): void; */
/** export declare function endGroup(): void;
* Wrap an asynchronous function call in a group. /**
* * Wrap an asynchronous function call in a group.
* Returns the same type as the function itself. *
* * Returns the same type as the function itself.
* @param name The name of the group *
* @param fn The function to wrap in the group * @param name The name of the group
*/ * @param fn The function to wrap in the group
export declare function group<T>(name: string, fn: () => Promise<T>): Promise<T>; */
export declare function group<T>(name: string, fn: () => Promise<T>): Promise<T>;

View File

@ -1,172 +1,177 @@
"use strict"; "use strict";
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) { return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next()); step((generator = generator.apply(thisArg, _arguments || [])).next());
}); });
}; };
Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "__esModule", { value: true });
const command_1 = require("./command"); const command_1 = require("./command");
const os = require("os"); const os = require("os");
const path = require("path"); const path = require("path");
/** /**
* The code to exit an action * The code to exit an action
*/ */
var ExitCode; var ExitCode;
(function (ExitCode) { (function (ExitCode) {
/** /**
* A code indicating that the action was successful * A code indicating that the action was successful
*/ */
ExitCode[ExitCode["Success"] = 0] = "Success"; ExitCode[ExitCode["Success"] = 0] = "Success";
/** /**
* A code indicating that the action was a failure * A code indicating that the action was a failure
*/ */
ExitCode[ExitCode["Failure"] = 1] = "Failure"; ExitCode[ExitCode["Failure"] = 1] = "Failure";
})(ExitCode = exports.ExitCode || (exports.ExitCode = {})); })(ExitCode = exports.ExitCode || (exports.ExitCode = {}));
//----------------------------------------------------------------------- //-----------------------------------------------------------------------
// Variables // Variables
//----------------------------------------------------------------------- //-----------------------------------------------------------------------
/** /**
* Sets env variable for this action and future actions in the job * sets env variable for this action and future actions in the job
* @param name the name of the variable to set * @param name the name of the variable to set
* @param val the value of the variable * @param val the value of the variable
*/ */
function exportVariable(name, val) { function exportVariable(name, val) {
process.env[name] = val; process.env[name] = val;
command_1.issueCommand('set-env', { name }, val); command_1.issueCommand('set-env', { name }, val);
} }
exports.exportVariable = exportVariable; exports.exportVariable = exportVariable;
/** /**
* Registers a secret which will get masked from logs * exports the variable and registers a secret which will get masked from logs
* @param secret value of the secret * @param name the name of the variable to set
*/ * @param val value of the secret
function setSecret(secret) { */
command_1.issueCommand('add-mask', {}, secret); function exportSecret(name, val) {
} exportVariable(name, val);
exports.setSecret = setSecret; // the runner will error with not implemented
/** // leaving the function but raising the error earlier
* Prepends inputPath to the PATH (for this action and future actions) command_1.issueCommand('set-secret', {}, val);
* @param inputPath throw new Error('Not implemented.');
*/ }
function addPath(inputPath) { exports.exportSecret = exportSecret;
command_1.issueCommand('add-path', {}, inputPath); /**
process.env['PATH'] = `${inputPath}${path.delimiter}${process.env['PATH']}`; * Prepends inputPath to the PATH (for this action and future actions)
} * @param inputPath
exports.addPath = addPath; */
/** function addPath(inputPath) {
* Gets the value of an input. The value is also trimmed. command_1.issueCommand('add-path', {}, inputPath);
* process.env['PATH'] = `${inputPath}${path.delimiter}${process.env['PATH']}`;
* @param name name of the input to get }
* @param options optional. See InputOptions. exports.addPath = addPath;
* @returns string /**
*/ * Gets the value of an input. The value is also trimmed.
function getInput(name, options) { *
const val = process.env[`INPUT_${name.replace(/ /g, '_').toUpperCase()}`] || ''; * @param name name of the input to get
if (options && options.required && !val) { * @param options optional. See InputOptions.
throw new Error(`Input required and not supplied: ${name}`); * @returns string
} */
return val.trim(); function getInput(name, options) {
} const val = process.env[`INPUT_${name.replace(/ /g, '_').toUpperCase()}`] || '';
exports.getInput = getInput; if (options && options.required && !val) {
/** throw new Error(`Input required and not supplied: ${name}`);
* Sets the value of an output. }
* return val.trim();
* @param name name of the output to set }
* @param value value to store exports.getInput = getInput;
*/ /**
function setOutput(name, value) { * Sets the value of an output.
command_1.issueCommand('set-output', { name }, value); *
} * @param name name of the output to set
exports.setOutput = setOutput; * @param value value to store
//----------------------------------------------------------------------- */
// Results function setOutput(name, value) {
//----------------------------------------------------------------------- command_1.issueCommand('set-output', { name }, value);
/** }
* Sets the action status to failed. exports.setOutput = setOutput;
* When the action exits it will be with an exit code of 1 //-----------------------------------------------------------------------
* @param message add error issue message // Results
*/ //-----------------------------------------------------------------------
function setFailed(message) { /**
process.exitCode = ExitCode.Failure; * Sets the action status to failed.
error(message); * When the action exits it will be with an exit code of 1
} * @param message add error issue message
exports.setFailed = setFailed; */
//----------------------------------------------------------------------- function setFailed(message) {
// Logging Commands process.exitCode = ExitCode.Failure;
//----------------------------------------------------------------------- error(message);
/** }
* Writes debug message to user log exports.setFailed = setFailed;
* @param message debug message //-----------------------------------------------------------------------
*/ // Logging Commands
function debug(message) { //-----------------------------------------------------------------------
command_1.issueCommand('debug', {}, message); /**
} * Writes debug message to user log
exports.debug = debug; * @param message debug message
/** */
* Adds an error issue function debug(message) {
* @param message error issue message command_1.issueCommand('debug', {}, message);
*/ }
function error(message) { exports.debug = debug;
command_1.issue('error', message); /**
} * Adds an error issue
exports.error = error; * @param message error issue message
/** */
* Adds an warning issue function error(message) {
* @param message warning issue message command_1.issue('error', message);
*/ }
function warning(message) { exports.error = error;
command_1.issue('warning', message); /**
} * Adds an warning issue
exports.warning = warning; * @param message warning issue message
/** */
* Writes info to log with console.log. function warning(message) {
* @param message info message command_1.issue('warning', message);
*/ }
function info(message) { exports.warning = warning;
process.stdout.write(message + os.EOL); /**
} * Writes info to log with console.log.
exports.info = info; * @param message info message
/** */
* Begin an output group. function info(message) {
* process.stdout.write(message + os.EOL);
* Output until the next `groupEnd` will be foldable in this group }
* exports.info = info;
* @param name The name of the output group /**
*/ * Begin an output group.
function startGroup(name) { *
command_1.issue('group', name); * Output until the next `groupEnd` will be foldable in this group
} *
exports.startGroup = startGroup; * @param name The name of the output group
/** */
* End an output group. function startGroup(name) {
*/ command_1.issue('group', name);
function endGroup() { }
command_1.issue('endgroup'); exports.startGroup = startGroup;
} /**
exports.endGroup = endGroup; * End an output group.
/** */
* Wrap an asynchronous function call in a group. function endGroup() {
* command_1.issue('endgroup');
* Returns the same type as the function itself. }
* exports.endGroup = endGroup;
* @param name The name of the group /**
* @param fn The function to wrap in the group * Wrap an asynchronous function call in a group.
*/ *
function group(name, fn) { * Returns the same type as the function itself.
return __awaiter(this, void 0, void 0, function* () { *
startGroup(name); * @param name The name of the group
let result; * @param fn The function to wrap in the group
try { */
result = yield fn(); function group(name, fn) {
} return __awaiter(this, void 0, void 0, function* () {
finally { startGroup(name);
endGroup(); let result;
} try {
return result; result = yield fn();
}); }
} finally {
exports.group = group; endGroup();
}
return result;
});
}
exports.group = group;
//# sourceMappingURL=core.js.map //# sourceMappingURL=core.js.map

View File

@ -1 +1 @@
{"version":3,"file":"core.js","sourceRoot":"","sources":["../src/core.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,uCAA6C;AAE7C,yBAAwB;AACxB,6BAA4B;AAU5B;;GAEG;AACH,IAAY,QAUX;AAVD,WAAY,QAAQ;IAClB;;OAEG;IACH,6CAAW,CAAA;IAEX;;OAEG;IACH,6CAAW,CAAA;AACb,CAAC,EAVW,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAUnB;AAED,yEAAyE;AACzE,YAAY;AACZ,yEAAyE;AAEzE;;;;GAIG;AACH,SAAgB,cAAc,CAAC,IAAY,EAAE,GAAW;IACtD,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,GAAG,CAAA;IACvB,sBAAY,CAAC,SAAS,EAAE,EAAC,IAAI,EAAC,EAAE,GAAG,CAAC,CAAA;AACtC,CAAC;AAHD,wCAGC;AAED;;;GAGG;AACH,SAAgB,SAAS,CAAC,MAAc;IACtC,sBAAY,CAAC,UAAU,EAAE,EAAE,EAAE,MAAM,CAAC,CAAA;AACtC,CAAC;AAFD,8BAEC;AAED;;;GAGG;AACH,SAAgB,OAAO,CAAC,SAAiB;IACvC,sBAAY,CAAC,UAAU,EAAE,EAAE,EAAE,SAAS,CAAC,CAAA;IACvC,OAAO,CAA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/core",
[ "version": "1.1.1",
"@actions/core@1.1.3", "description": "Actions core lib",
"/home/ielectric/dev/cachix/nix-action" "keywords": [
] "github",
], "actions",
"_from": "@actions/core@1.1.3", "core"
"_id": "@actions/core@1.1.3", ],
"_inBundle": false, "homepage": "https://github.com/actions/toolkit/tree/master/packages/core",
"_integrity": "sha512-2BIib53Jh4Cfm+1XNuZYYGTeRo8yiWEAUMoliMh1qQGMaqTF4VUlhhcsBylTu4qWmUx45DrY0y0XskimAHSqhw==", "license": "MIT",
"_location": "/@actions/core", "main": "lib/core.js",
"_phantomChildren": {}, "directories": {
"_requested": { "lib": "lib",
"type": "version", "test": "__tests__"
"registry": true, },
"raw": "@actions/core@1.1.3", "files": [
"name": "@actions/core", "lib"
"escapedName": "@actions%2fcore", ],
"scope": "@actions", "publishConfig": {
"rawSpec": "1.1.3", "access": "public"
"saveSpec": null, },
"fetchSpec": "1.1.3" "repository": {
}, "type": "git",
"_requiredBy": [ "url": "git+https://github.com/actions/toolkit.git"
"/", },
"/@actions/tool-cache" "scripts": {
], "test": "echo \"Error: run tests from root\" && exit 1",
"_resolved": "https://registry.npmjs.org/@actions/core/-/core-1.1.3.tgz", "tsc": "tsc"
"_spec": "1.1.3", },
"_where": "/home/ielectric/dev/cachix/nix-action", "bugs": {
"bugs": { "url": "https://github.com/actions/toolkit/issues"
"url": "https://github.com/actions/toolkit/issues" },
}, "devDependencies": {
"description": "Actions core lib", "@types/node": "^12.0.2"
"devDependencies": { }
"@types/node": "^12.0.2" }
},
"directories": {
"lib": "lib",
"test": "__tests__"
},
"files": [
"lib"
],
"homepage": "https://github.com/actions/toolkit/tree/master/packages/core",
"keywords": [
"github",
"actions",
"core"
],
"license": "MIT",
"main": "lib/core.js",
"name": "@actions/core",
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/actions/toolkit.git",
"directory": "packages/core"
},
"scripts": {
"test": "echo \"Error: run tests from root\" && exit 1",
"tsc": "tsc"
},
"version": "1.1.3"
}

View File

@ -1,41 +1,15 @@
{ {
"_args": [ "name": "@actions/exec",
[ "version": "1.0.1",
"@actions/exec@1.0.1",
"/home/ielectric/dev/cachix/nix-action"
]
],
"_from": "@actions/exec@1.0.1",
"_id": "@actions/exec@1.0.1",
"_inBundle": false,
"_integrity": "sha512-nvFkxwiicvpzNiCBF4wFBDfnBvi7xp/as7LE1hBxBxKG2L29+gkIPBiLKMVORL+Hg3JNf07AKRfl0V5djoypjQ==",
"_location": "/@actions/exec",
"_phantomChildren": {},
"_requested": {
"type": "version",
"registry": true,
"raw": "@actions/exec@1.0.1",
"name": "@actions/exec",
"escapedName": "@actions%2fexec",
"scope": "@actions",
"rawSpec": "1.0.1",
"saveSpec": null,
"fetchSpec": "1.0.1"
},
"_requiredBy": [
"/",
"/@actions/tool-cache"
],
"_resolved": "https://registry.npmjs.org/@actions/exec/-/exec-1.0.1.tgz",
"_spec": "1.0.1",
"_where": "/home/ielectric/dev/cachix/nix-action",
"bugs": {
"url": "https://github.com/actions/toolkit/issues"
},
"description": "Actions exec lib", "description": "Actions exec lib",
"devDependencies": { "keywords": [
"@actions/io": "^1.0.1" "github",
}, "actions",
"exec"
],
"homepage": "https://github.com/actions/toolkit/tree/master/packages/exec",
"license": "MIT",
"main": "lib/exec.js",
"directories": { "directories": {
"lib": "lib", "lib": "lib",
"test": "__tests__" "test": "__tests__"
@ -43,16 +17,6 @@
"files": [ "files": [
"lib" "lib"
], ],
"gitHead": "a2ab4bcf78e4f7080f0d45856e6eeba16f0bbc52",
"homepage": "https://github.com/actions/toolkit/tree/master/packages/exec",
"keywords": [
"github",
"actions",
"exec"
],
"license": "MIT",
"main": "lib/exec.js",
"name": "@actions/exec",
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"
}, },
@ -64,5 +28,11 @@
"test": "echo \"Error: run tests from root\" && exit 1", "test": "echo \"Error: run tests from root\" && exit 1",
"tsc": "tsc" "tsc": "tsc"
}, },
"version": "1.0.1" "bugs": {
"url": "https://github.com/actions/toolkit/issues"
},
"devDependencies": {
"@actions/io": "^1.0.1"
},
"gitHead": "a2ab4bcf78e4f7080f0d45856e6eeba16f0bbc52"
} }

View File

@ -1,37 +1,15 @@
{ {
"_args": [ "name": "@actions/io",
[ "version": "1.0.1",
"@actions/io@1.0.1",
"/home/ielectric/dev/cachix/nix-action"
]
],
"_from": "@actions/io@1.0.1",
"_id": "@actions/io@1.0.1",
"_inBundle": false,
"_integrity": "sha512-rhq+tfZukbtaus7xyUtwKfuiCRXd1hWSfmJNEpFgBQJ4woqPEpsBw04awicjwz9tyG2/MVhAEMfVn664Cri5zA==",
"_location": "/@actions/io",
"_phantomChildren": {},
"_requested": {
"type": "version",
"registry": true,
"raw": "@actions/io@1.0.1",
"name": "@actions/io",
"escapedName": "@actions%2fio",
"scope": "@actions",
"rawSpec": "1.0.1",
"saveSpec": null,
"fetchSpec": "1.0.1"
},
"_requiredBy": [
"/@actions/tool-cache"
],
"_resolved": "https://registry.npmjs.org/@actions/io/-/io-1.0.1.tgz",
"_spec": "1.0.1",
"_where": "/home/ielectric/dev/cachix/nix-action",
"bugs": {
"url": "https://github.com/actions/toolkit/issues"
},
"description": "Actions io lib", "description": "Actions io lib",
"keywords": [
"github",
"actions",
"io"
],
"homepage": "https://github.com/actions/toolkit/tree/master/packages/io",
"license": "MIT",
"main": "lib/io.js",
"directories": { "directories": {
"lib": "lib", "lib": "lib",
"test": "__tests__" "test": "__tests__"
@ -39,16 +17,6 @@
"files": [ "files": [
"lib" "lib"
], ],
"gitHead": "a2ab4bcf78e4f7080f0d45856e6eeba16f0bbc52",
"homepage": "https://github.com/actions/toolkit/tree/master/packages/io",
"keywords": [
"github",
"actions",
"io"
],
"license": "MIT",
"main": "lib/io.js",
"name": "@actions/io",
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"
}, },
@ -60,5 +28,8 @@
"test": "echo \"Error: run tests from root\" && exit 1", "test": "echo \"Error: run tests from root\" && exit 1",
"tsc": "tsc" "tsc": "tsc"
}, },
"version": "1.0.1" "bugs": {
"url": "https://github.com/actions/toolkit/issues"
},
"gitHead": "a2ab4bcf78e4f7080f0d45856e6eeba16f0bbc52"
} }

View File

@ -0,0 +1 @@
../semver/bin/semver.js

1
node_modules/@actions/tool-cache/node_modules/.bin/uuid generated vendored Symbolic link
View File

@ -0,0 +1 @@
../../../../uuid/bin/uuid

View File

@ -0,0 +1,28 @@
{
"name": "semver",
"version": "6.3.0",
"description": "The semantic version parser used by npm.",
"main": "semver.js",
"scripts": {
"test": "tap",
"preversion": "npm test",
"postversion": "npm publish",
"postpublish": "git push origin --follow-tags"
},
"devDependencies": {
"tap": "^14.3.1"
},
"license": "ISC",
"repository": "https://github.com/npm/node-semver",
"bin": {
"semver": "./bin/semver.js"
},
"files": [
"bin",
"range.bnf",
"semver.js"
],
"tap": {
"check-coverage": true
}
}

View File

@ -1,51 +1,15 @@
{ {
"_args": [ "name": "@actions/tool-cache",
[ "version": "1.1.2",
"@actions/tool-cache@1.1.2",
"/home/ielectric/dev/cachix/nix-action"
]
],
"_from": "@actions/tool-cache@1.1.2",
"_id": "@actions/tool-cache@1.1.2",
"_inBundle": false,
"_integrity": "sha512-IJczPaZr02ECa3Lgws/TJEVco9tjOujiQSZbO3dHuXXjhd5vrUtfOgGwhmz3/f97L910OraPZ8SknofUk6RvOQ==",
"_location": "/@actions/tool-cache",
"_phantomChildren": {},
"_requested": {
"type": "version",
"registry": true,
"raw": "@actions/tool-cache@1.1.2",
"name": "@actions/tool-cache",
"escapedName": "@actions%2ftool-cache",
"scope": "@actions",
"rawSpec": "1.1.2",
"saveSpec": null,
"fetchSpec": "1.1.2"
},
"_requiredBy": [
"/"
],
"_resolved": "https://registry.npmjs.org/@actions/tool-cache/-/tool-cache-1.1.2.tgz",
"_spec": "1.1.2",
"_where": "/home/ielectric/dev/cachix/nix-action",
"bugs": {
"url": "https://github.com/actions/toolkit/issues"
},
"dependencies": {
"@actions/core": "^1.1.0",
"@actions/exec": "^1.0.1",
"@actions/io": "^1.0.1",
"semver": "^6.1.0",
"typed-rest-client": "^1.4.0",
"uuid": "^3.3.2"
},
"description": "Actions tool-cache lib", "description": "Actions tool-cache lib",
"devDependencies": { "keywords": [
"@types/nock": "^10.0.3", "github",
"@types/semver": "^6.0.0", "actions",
"@types/uuid": "^3.4.4", "exec"
"nock": "^10.0.6" ],
}, "homepage": "https://github.com/actions/toolkit/tree/master/packages/exec",
"license": "MIT",
"main": "lib/tool-cache.js",
"directories": { "directories": {
"lib": "lib", "lib": "lib",
"test": "__tests__" "test": "__tests__"
@ -54,15 +18,6 @@
"lib", "lib",
"scripts" "scripts"
], ],
"homepage": "https://github.com/actions/toolkit/tree/master/packages/exec",
"keywords": [
"github",
"actions",
"exec"
],
"license": "MIT",
"main": "lib/tool-cache.js",
"name": "@actions/tool-cache",
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"
}, },
@ -74,5 +29,21 @@
"test": "echo \"Error: run tests from root\" && exit 1", "test": "echo \"Error: run tests from root\" && exit 1",
"tsc": "tsc" "tsc": "tsc"
}, },
"version": "1.1.2" "bugs": {
"url": "https://github.com/actions/toolkit/issues"
},
"dependencies": {
"@actions/core": "^1.1.0",
"@actions/exec": "^1.0.1",
"@actions/io": "^1.0.1",
"semver": "^6.1.0",
"typed-rest-client": "^1.4.0",
"uuid": "^3.3.2"
},
"devDependencies": {
"@types/nock": "^10.0.3",
"@types/semver": "^6.0.0",
"@types/uuid": "^3.4.4",
"nock": "^10.0.6"
}
} }

65
node_modules/semver/package.json generated vendored
View File

@ -1,65 +0,0 @@
{
"_args": [
[
"semver@6.3.0",
"/home/ielectric/dev/cachix/nix-action"
]
],
"_from": "semver@6.3.0",
"_id": "semver@6.3.0",
"_inBundle": false,
"_integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==",
"_location": "/semver",
"_phantomChildren": {},
"_requested": {
"type": "version",
"registry": true,
"raw": "semver@6.3.0",
"name": "semver",
"escapedName": "semver",
"rawSpec": "6.3.0",
"saveSpec": null,
"fetchSpec": "6.3.0"
},
"_requiredBy": [
"/@actions/tool-cache",
"/istanbul-lib-instrument",
"/jest-snapshot"
],
"_resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",
"_spec": "6.3.0",
"_where": "/home/ielectric/dev/cachix/nix-action",
"bin": {
"semver": "./bin/semver.js"
},
"bugs": {
"url": "https://github.com/npm/node-semver/issues"
},
"description": "The semantic version parser used by npm.",
"devDependencies": {
"tap": "^14.3.1"
},
"files": [
"bin",
"range.bnf",
"semver.js"
],
"homepage": "https://github.com/npm/node-semver#readme",
"license": "ISC",
"main": "semver.js",
"name": "semver",
"repository": {
"type": "git",
"url": "git+https://github.com/npm/node-semver.git"
},
"scripts": {
"postpublish": "git push origin --follow-tags",
"postversion": "npm publish",
"preversion": "npm test",
"test": "tap"
},
"tap": {
"check-coverage": true
},
"version": "6.3.0"
}

65
node_modules/tunnel/package.json generated vendored
View File

@ -1,51 +1,7 @@
{ {
"_args": [ "name": "tunnel",
[ "version": "0.0.4",
"tunnel@0.0.4",
"/home/ielectric/dev/cachix/nix-action"
]
],
"_from": "tunnel@0.0.4",
"_id": "tunnel@0.0.4",
"_inBundle": false,
"_integrity": "sha1-LTeFoVjBdMmhbcLARuxfxfF0IhM=",
"_location": "/tunnel",
"_phantomChildren": {},
"_requested": {
"type": "version",
"registry": true,
"raw": "tunnel@0.0.4",
"name": "tunnel",
"escapedName": "tunnel",
"rawSpec": "0.0.4",
"saveSpec": null,
"fetchSpec": "0.0.4"
},
"_requiredBy": [
"/typed-rest-client"
],
"_resolved": "https://registry.npmjs.org/tunnel/-/tunnel-0.0.4.tgz",
"_spec": "0.0.4",
"_where": "/home/ielectric/dev/cachix/nix-action",
"author": {
"name": "Koichi Kobayashi",
"email": "koichik@improvement.jp"
},
"bugs": {
"url": "https://github.com/koichik/node-tunnel/issues"
},
"description": "Node HTTP/HTTPS Agents for tunneling proxies", "description": "Node HTTP/HTTPS Agents for tunneling proxies",
"devDependencies": {
"mocha": "*",
"should": "*"
},
"directories": {
"lib": "./lib"
},
"engines": {
"node": ">=0.6.11 <=0.7.0 || >=0.7.3"
},
"homepage": "https://github.com/koichik/node-tunnel/",
"keywords": [ "keywords": [
"http", "http",
"https", "https",
@ -53,15 +9,26 @@
"proxy", "proxy",
"tunnel" "tunnel"
], ],
"homepage": "https://github.com/koichik/node-tunnel/",
"bugs": "https://github.com/koichik/node-tunnel/issues",
"license": "MIT", "license": "MIT",
"author": "Koichi Kobayashi <koichik@improvement.jp>",
"main": "./index.js", "main": "./index.js",
"name": "tunnel", "directories": {
"lib": "./lib"
},
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git+https://github.com/koichik/node-tunnel.git" "url": "https://github.com/koichik/node-tunnel.git"
}, },
"scripts": { "scripts": {
"test": "./node_modules/mocha/bin/mocha" "test": "./node_modules/mocha/bin/mocha"
}, },
"version": "0.0.4" "devDependencies": {
"mocha": "*",
"should": "*"
},
"engines": {
"node": ">=0.6.11 <=0.7.0 || >=0.7.3"
}
} }

View File

@ -1,55 +1,20 @@
{ {
"_args": [ "name": "typed-rest-client",
[ "version": "1.5.0",
"typed-rest-client@1.5.0",
"/home/ielectric/dev/cachix/nix-action"
]
],
"_from": "typed-rest-client@1.5.0",
"_id": "typed-rest-client@1.5.0",
"_inBundle": false,
"_integrity": "sha512-DVZRlmsfnTjp6ZJaatcdyvvwYwbWvR4YDNFDqb+qdTxpvaVP99YCpBkA8rxsLtAPjBVoDe4fNsnMIdZTiPuKWg==",
"_location": "/typed-rest-client",
"_phantomChildren": {},
"_requested": {
"type": "version",
"registry": true,
"raw": "typed-rest-client@1.5.0",
"name": "typed-rest-client",
"escapedName": "typed-rest-client",
"rawSpec": "1.5.0",
"saveSpec": null,
"fetchSpec": "1.5.0"
},
"_requiredBy": [
"/@actions/tool-cache"
],
"_resolved": "https://registry.npmjs.org/typed-rest-client/-/typed-rest-client-1.5.0.tgz",
"_spec": "1.5.0",
"_where": "/home/ielectric/dev/cachix/nix-action",
"author": {
"name": "Microsoft Corporation"
},
"bugs": {
"url": "https://github.com/Microsoft/typed-rest-client/issues"
},
"dependencies": {
"tunnel": "0.0.4",
"underscore": "1.8.3"
},
"description": "Node Rest and Http Clients for use with TypeScript", "description": "Node Rest and Http Clients for use with TypeScript",
"devDependencies": { "main": "./RestClient.js",
"@types/mocha": "^2.2.44", "scripts": {
"@types/node": "^6.0.92", "build": "node make.js build",
"@types/shelljs": "0.7.4", "test": "node make.js test",
"mocha": "^3.5.3", "bt": "node make.js buildtest",
"nock": "9.6.1", "samples": "node make.js samples",
"react-scripts": "1.1.5", "units": "node make.js units",
"semver": "4.3.3", "validate": "node make.js validate"
"shelljs": "0.7.6", },
"typescript": "3.1.5" "repository": {
"type": "git",
"url": "git+https://github.com/Microsoft/typed-rest-client.git"
}, },
"homepage": "https://github.com/Microsoft/typed-rest-client#readme",
"keywords": [ "keywords": [
"rest", "rest",
"http", "http",
@ -57,20 +22,25 @@
"typescript", "typescript",
"node" "node"
], ],
"author": "Microsoft Corporation",
"license": "MIT", "license": "MIT",
"main": "./RestClient.js", "bugs": {
"name": "typed-rest-client", "url": "https://github.com/Microsoft/typed-rest-client/issues"
"repository": {
"type": "git",
"url": "git+https://github.com/Microsoft/typed-rest-client.git"
}, },
"scripts": { "homepage": "https://github.com/Microsoft/typed-rest-client#readme",
"bt": "node make.js buildtest", "devDependencies": {
"build": "node make.js build", "@types/mocha": "^2.2.44",
"samples": "node make.js samples", "@types/node": "^6.0.92",
"test": "node make.js test", "@types/shelljs": "0.7.4",
"units": "node make.js units", "mocha": "^3.5.3",
"validate": "node make.js validate" "nock": "9.6.1",
"react-scripts": "1.1.5",
"shelljs": "0.7.6",
"semver": "4.3.3",
"typescript": "3.1.5"
}, },
"version": "1.5.0" "dependencies": {
"tunnel": "0.0.4",
"underscore": "1.8.3"
}
} }

86
node_modules/underscore/package.json generated vendored
View File

@ -1,54 +1,6 @@
{ {
"_args": [ "name": "underscore",
[
"underscore@1.8.3",
"/home/ielectric/dev/cachix/nix-action"
]
],
"_from": "underscore@1.8.3",
"_id": "underscore@1.8.3",
"_inBundle": false,
"_integrity": "sha1-Tz+1OxBuYJf8+ctBCfKl6b36UCI=",
"_location": "/underscore",
"_phantomChildren": {},
"_requested": {
"type": "version",
"registry": true,
"raw": "underscore@1.8.3",
"name": "underscore",
"escapedName": "underscore",
"rawSpec": "1.8.3",
"saveSpec": null,
"fetchSpec": "1.8.3"
},
"_requiredBy": [
"/typed-rest-client"
],
"_resolved": "https://registry.npmjs.org/underscore/-/underscore-1.8.3.tgz",
"_spec": "1.8.3",
"_where": "/home/ielectric/dev/cachix/nix-action",
"author": {
"name": "Jeremy Ashkenas",
"email": "jeremy@documentcloud.org"
},
"bugs": {
"url": "https://github.com/jashkenas/underscore/issues"
},
"description": "JavaScript's functional programming helper library.", "description": "JavaScript's functional programming helper library.",
"devDependencies": {
"docco": "*",
"eslint": "0.6.x",
"karma": "~0.12.31",
"karma-qunit": "~0.1.4",
"qunit-cli": "~0.2.0",
"uglify-js": "2.4.x"
},
"files": [
"underscore.js",
"underscore-min.js",
"underscore-min.map",
"LICENSE"
],
"homepage": "http://underscorejs.org", "homepage": "http://underscorejs.org",
"keywords": [ "keywords": [
"util", "util",
@ -57,20 +9,34 @@
"client", "client",
"browser" "browser"
], ],
"license": "MIT", "author": "Jeremy Ashkenas <jeremy@documentcloud.org>",
"main": "underscore.js",
"name": "underscore",
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git://github.com/jashkenas/underscore.git" "url": "git://github.com/jashkenas/underscore.git"
}, },
"scripts": { "main": "underscore.js",
"build": "uglifyjs underscore.js -c \"evaluate=false\" --comments \"/ .*/\" -m --source-map underscore-min.map -o underscore-min.js", "version": "1.8.3",
"doc": "docco underscore.js", "devDependencies": {
"lint": "eslint underscore.js test/*.js", "docco": "*",
"test": "npm run test-node && npm run lint", "eslint": "0.6.x",
"test-browser": "npm i karma-phantomjs-launcher && ./node_modules/karma/bin/karma start", "karma": "~0.12.31",
"test-node": "qunit-cli test/*.js" "karma-qunit": "~0.1.4",
"qunit-cli": "~0.2.0",
"uglify-js": "2.4.x"
}, },
"version": "1.8.3" "scripts": {
"test": "npm run test-node && npm run lint",
"lint": "eslint underscore.js test/*.js",
"test-node": "qunit-cli test/*.js",
"test-browser": "npm i karma-phantomjs-launcher && ./node_modules/karma/bin/karma start",
"build": "uglifyjs underscore.js -c \"evaluate=false\" --comments \"/ .*/\" -m --source-map underscore-min.map -o underscore-min.js",
"doc": "docco underscore.js"
},
"license": "MIT",
"files": [
"underscore.js",
"underscore-min.js",
"underscore-min.map",
"LICENSE"
]
} }

99
node_modules/uuid/package.json generated vendored
View File

@ -1,72 +1,21 @@
{ {
"_args": [ "name": "uuid",
[ "version": "3.3.3",
"uuid@3.3.3", "description": "RFC4122 (v1, v4, and v5) UUIDs",
"/home/ielectric/dev/cachix/nix-action"
]
],
"_from": "uuid@3.3.3",
"_id": "uuid@3.3.3",
"_inBundle": false,
"_integrity": "sha512-pW0No1RGHgzlpHJO1nsVrHKpOEIxkGg1xB+v0ZmdNH5OAeAwzAVrCnI2/6Mtx+Uys6iaylxa+D3g4j63IKKjSQ==",
"_location": "/uuid",
"_phantomChildren": {},
"_requested": {
"type": "version",
"registry": true,
"raw": "uuid@3.3.3",
"name": "uuid",
"escapedName": "uuid",
"rawSpec": "3.3.3",
"saveSpec": null,
"fetchSpec": "3.3.3"
},
"_requiredBy": [
"/@actions/tool-cache",
"/request"
],
"_resolved": "https://registry.npmjs.org/uuid/-/uuid-3.3.3.tgz",
"_spec": "3.3.3",
"_where": "/home/ielectric/dev/cachix/nix-action",
"bin": {
"uuid": "./bin/uuid"
},
"browser": {
"./lib/rng.js": "./lib/rng-browser.js",
"./lib/sha1.js": "./lib/sha1-browser.js",
"./lib/md5.js": "./lib/md5-browser.js"
},
"bugs": {
"url": "https://github.com/kelektiv/node-uuid/issues"
},
"commitlint": { "commitlint": {
"extends": [ "extends": [
"@commitlint/config-conventional" "@commitlint/config-conventional"
] ]
}, },
"contributors": [ "keywords": [
{ "uuid",
"name": "Robert Kieffer", "guid",
"email": "robert@broofa.com" "rfc4122"
},
{
"name": "Christoph Tavan",
"email": "dev@tavan.de"
},
{
"name": "AJ ONeal",
"email": "coolaj86@gmail.com"
},
{
"name": "Vincent Voyer",
"email": "vincent@zeroload.net"
},
{
"name": "Roman Shtylman",
"email": "shtylman@gmail.com"
}
], ],
"description": "RFC4122 (v1, v4, and v5) UUIDs", "license": "MIT",
"bin": {
"uuid": "./bin/uuid"
},
"devDependencies": { "devDependencies": {
"@commitlint/cli": "8.1.0", "@commitlint/cli": "8.1.0",
"@commitlint/config-conventional": "8.1.0", "@commitlint/config-conventional": "8.1.0",
@ -76,24 +25,20 @@
"runmd": "1.2.1", "runmd": "1.2.1",
"standard-version": "7.0.0" "standard-version": "7.0.0"
}, },
"homepage": "https://github.com/kelektiv/node-uuid#readme",
"keywords": [
"uuid",
"guid",
"rfc4122"
],
"license": "MIT",
"name": "uuid",
"repository": {
"type": "git",
"url": "git+https://github.com/kelektiv/node-uuid.git"
},
"scripts": { "scripts": {
"commitmsg": "commitlint -E HUSKY_GIT_PARAMS", "commitmsg": "commitlint -E HUSKY_GIT_PARAMS",
"test": "mocha test/test.js",
"md": "runmd --watch --output=README.md README_js.md", "md": "runmd --watch --output=README.md README_js.md",
"prepare": "runmd --output=README.md README_js.md",
"release": "standard-version", "release": "standard-version",
"test": "mocha test/test.js" "prepare": "runmd --output=README.md README_js.md"
}, },
"version": "3.3.3" "browser": {
"./lib/rng.js": "./lib/rng-browser.js",
"./lib/sha1.js": "./lib/sha1-browser.js",
"./lib/md5.js": "./lib/md5-browser.js"
},
"repository": {
"type": "git",
"url": "https://github.com/kelektiv/node-uuid.git"
}
} }

View File

@ -13,7 +13,10 @@ async function run() {
// Workaround a segfault: https://github.com/NixOS/nix/issues/2733 // Workaround a segfault: https://github.com/NixOS/nix/issues/2733
await exec.exec("sudo", ["mkdir", "-p", "/etc/nix"]); await exec.exec("sudo", ["mkdir", "-p", "/etc/nix"]);
await exec.exec("sudo", ["echo", "http2 = false", ">>", "/etc/nix/nix.conf"]); await exec.exec("sudo", ["sh", "-c", "echo http2 = false >> /etc/nix/nix.conf"]);
// Set jobs to number of cores
await exec.exec("sudo", ["sh", "-c", "echo max-jobs = auto >> /etc/nix/nix.conf"]);
// TODO: retry due to all the things that go wrong // TODO: retry due to all the things that go wrong
const nixInstall = await tc.downloadTool('https://nixos.org/nix/install'); const nixInstall = await tc.downloadTool('https://nixos.org/nix/install');