Compare commits

..

22 Commits

Author SHA1 Message Date
bcomnes
6fcd2fe52c 1.1.11 2022-11-07 04:03:37 +00:00
Bret Comnes
523524ca70 Merge branch 'master' of github.com:bcomnes/deploy-to-neocities 2022-11-06 21:02:25 -07:00
Bret Comnes
8fae4b2c6c Print error cause no matter what
Ensure that we print the error cause when we catch an error
2022-11-06 21:02:11 -07:00
Bret Comnes
c907c30f9c Merge pull request #107 from lime360/master
the site is open-source again
2022-10-25 09:54:18 -06:00
Kiril Misnikov
c7b4dca027 Update README.md 2022-10-25 14:30:25 +03:00
Bret Comnes
f0f33d7da4 Merge pull request #104 from lime360/master
info
2022-10-18 11:09:08 -07:00
dependabot[bot]
69e8a94c47 chore(deps): bump bcomnes/npm-bump from 2.0.2 to 2.1.0 (#105)
Bumps [bcomnes/npm-bump](https://github.com/bcomnes/npm-bump) from 2.0.2 to 2.1.0.
- [Release notes](https://github.com/bcomnes/npm-bump/releases)
- [Changelog](https://github.com/bcomnes/npm-bump/blob/master/CHANGELOG.md)
- [Commits](https://github.com/bcomnes/npm-bump/compare/v2.0.2...v2.1.0)

---
updated-dependencies:
- dependency-name: bcomnes/npm-bump
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-17 03:03:39 +00:00
Kiril Misnikov
59a102c463 info
i removed my site from the list because many ppl (including me) are using neocities editor instead of this
2022-10-16 20:18:45 +03:00
bcomnes
4f62bb5b90 1.1.10 2022-10-03 15:57:03 +00:00
Bret Comnes
8f9be808b5 Bump async-neocities to 2.1.3 2022-10-03 09:55:25 -06:00
Bret Comnes
53bfeb132c Merge pull request #102 from bcomnes/dependabot/npm_and_yarn/actions/core-1.10.0
chore(deps): bump @actions/core from 1.9.1 to 1.10.0
2022-10-03 09:39:27 -06:00
Bret Comnes
853a9a7fe2 Merge pull request #103 from lime360/master
the site is open-source again
2022-10-03 09:38:56 -06:00
Kiril Misnikov
d98f2e152b the site is open-source again 2022-09-30 19:24:12 +00:00
dependabot[bot]
48b61f22d5 chore(deps): bump @actions/core from 1.9.1 to 1.10.0
Bumps [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core) from 1.9.1 to 1.10.0.
- [Release notes](https://github.com/actions/toolkit/releases)
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/core/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/core)

---
updated-dependencies:
- dependency-name: "@actions/core"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-30 03:08:21 +00:00
Bret Comnes
fe942e2bfe Merge pull request #100 from lime360/master
added notice about my site source code
2022-09-16 09:32:24 -06:00
Kiril Misnikov
de57ddf5ae added notice about my site source code 2022-09-16 09:09:15 +03:00
Bret Comnes
1f2e44c5ca Merge pull request #97 from lime360/master
Update README.md
2022-09-05 20:13:09 -06:00
Kiril Misnikov
f51969618c Update README.md 2022-09-05 12:28:08 +03:00
Bret Comnes
635243fdea Merge pull request #96 from bechnokid/patch-1 2022-08-24 14:42:38 -06:00
Bechno Kid
9808b8398b Add bechnokid.neocities.org to README.md
I can't even begin to tell you how useful this GitHub action has been to me. Thank you so much for making this!
2022-08-24 16:18:45 -04:00
Bret Comnes
cec985e2c2 Merge pull request #95 from ConorSheehan1/patch-1
add conorsheehan1.neocities.org
2022-08-14 18:23:34 -06:00
Conor Sheehan
90217b6969 add conorsheehan1.neocities.org 2022-08-14 23:09:27 +01:00
7 changed files with 322 additions and 49 deletions

View File

@@ -30,7 +30,7 @@ jobs:
registry-url: 'https://registry.npmjs.org'
- run: npm i
- run: npm test
- uses: bcomnes/npm-bump@v2.0.2
- uses: bcomnes/npm-bump@v2.1.0
with:
git_email: bcomnes@gmail.com
git_username: ${{ github.actor }}

View File

@@ -7,7 +7,36 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
## [v1.1.9](https://github.com/bcomnes/deploy-to-neocities/compare/v1.1.8...v1.1.9)
## [v1.1.11](https://github.com/bcomnes/deploy-to-neocities/compare/v1.1.10...v1.1.11)
### Merged
- the site is open-source again [`#107`](https://github.com/bcomnes/deploy-to-neocities/pull/107)
- info [`#104`](https://github.com/bcomnes/deploy-to-neocities/pull/104)
- chore(deps): bump bcomnes/npm-bump from 2.0.2 to 2.1.0 [`#105`](https://github.com/bcomnes/deploy-to-neocities/pull/105)
### Commits
- Print error cause no matter what [`8fae4b2`](https://github.com/bcomnes/deploy-to-neocities/commit/8fae4b2c6c1923355b43f7dcfd2efdad7279ffc1)
- Update README.md [`c7b4dca`](https://github.com/bcomnes/deploy-to-neocities/commit/c7b4dca027b41fa09bc9d92efa5489238bc98a5a)
## [v1.1.10](https://github.com/bcomnes/deploy-to-neocities/compare/v1.1.9...v1.1.10) - 2022-10-03
### Merged
- chore(deps): bump @actions/core from 1.9.1 to 1.10.0 [`#102`](https://github.com/bcomnes/deploy-to-neocities/pull/102)
- the site is open-source again [`#103`](https://github.com/bcomnes/deploy-to-neocities/pull/103)
- added notice about my site source code [`#100`](https://github.com/bcomnes/deploy-to-neocities/pull/100)
- Update README.md [`#97`](https://github.com/bcomnes/deploy-to-neocities/pull/97)
- add conorsheehan1.neocities.org [`#95`](https://github.com/bcomnes/deploy-to-neocities/pull/95)
### Commits
- Bump async-neocities to 2.1.3 [`8f9be80`](https://github.com/bcomnes/deploy-to-neocities/commit/8f9be808b5b4f9e1d9a316b391c7c21acfcba3ad)
- Merge pull request #96 from bechnokid/patch-1 [`635243f`](https://github.com/bcomnes/deploy-to-neocities/commit/635243fdea7e5d224675222008031a553bc142c3)
- Add bechnokid.neocities.org to README.md [`9808b83`](https://github.com/bcomnes/deploy-to-neocities/commit/9808b8398bf70ac8e2a41172c74eb9f66e7d0d89)
## [v1.1.9](https://github.com/bcomnes/deploy-to-neocities/compare/v1.1.8...v1.1.9) - 2022-08-10
### Commits
@@ -110,8 +139,8 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
### Commits
- Fix static deploy stuff with bandaid [`fea2d47`](https://github.com/bcomnes/deploy-to-neocities/commit/fea2d4780c7a98bcdf5738c1c259d66ff115326a)
- Update site build and ncc [`def67b4`](https://github.com/bcomnes/deploy-to-neocities/commit/def67b48c6e28d4544d8dd2bd92ab53f56856e40)
- Fix static deploy stuff with bandaid [`fea2d47`](https://github.com/bcomnes/deploy-to-neocities/commit/fea2d4780c7a98bcdf5738c1c259d66ff115326a)
## [v1.1.1](https://github.com/bcomnes/deploy-to-neocities/compare/v1.1.0...v1.1.1) - 2021-08-20

View File

@@ -136,8 +136,10 @@ None.
- https://andri.dk/blog/2021/deploy-static-websites-anywhere
- https://github.com/PersonMeetup/frontiercorps ([frontiercorps.neocities.org](https://frontiercorps.neocities.org/))
- https://github.com/riastrad/cyberbspace ([cyberb.space](https://cyberb.space))
- https://github.com/lime360/lime360.neocities.org ([lime360.neocities.org](https://lime360.neocities.org/))
- https://github.com/rogerahuntley/neocities-site ([stealdog.neocities.org](https://stealdog.neocities.org))
- https://github.com/ConorSheehan1/conorsheehan1.neocities.org ([conorsheehan1.neocities.org](https://conorsheehan1.neocities.org))
- https://github.com/bechnokid/neocities ([bechnokid.neocities.org](https://bechnokid.neocities.org))
- https://github.com/lime360/website ([lime360.neocities.org](https://lime360.neocities.org))
- ...PR your site when you set it up!
## See also

320
dist/index.js vendored
View File

@@ -140,7 +140,6 @@ const file_command_1 = __nccwpck_require__(717);
const utils_1 = __nccwpck_require__(5278);
const os = __importStar(__nccwpck_require__(2037));
const path = __importStar(__nccwpck_require__(1017));
const uuid_1 = __nccwpck_require__(5840);
const oidc_utils_1 = __nccwpck_require__(8041);
/**
* The code to exit an action
@@ -170,20 +169,9 @@ function exportVariable(name, val) {
process.env[name] = convertedVal;
const filePath = process.env['GITHUB_ENV'] || '';
if (filePath) {
const delimiter = `ghadelimiter_${uuid_1.v4()}`;
// These should realistically never happen, but just in case someone finds a way to exploit uuid generation let's not allow keys or values that contain the delimiter.
if (name.includes(delimiter)) {
throw new Error(`Unexpected input: name should not contain the delimiter "${delimiter}"`);
}
if (convertedVal.includes(delimiter)) {
throw new Error(`Unexpected input: value should not contain the delimiter "${delimiter}"`);
}
const commandValue = `${name}<<${delimiter}${os.EOL}${convertedVal}${os.EOL}${delimiter}`;
file_command_1.issueCommand('ENV', commandValue);
}
else {
command_1.issueCommand('set-env', { name }, convertedVal);
return file_command_1.issueFileCommand('ENV', file_command_1.prepareKeyValueMessage(name, val));
}
command_1.issueCommand('set-env', { name }, convertedVal);
}
exports.exportVariable = exportVariable;
/**
@@ -201,7 +189,7 @@ exports.setSecret = setSecret;
function addPath(inputPath) {
const filePath = process.env['GITHUB_PATH'] || '';
if (filePath) {
file_command_1.issueCommand('PATH', inputPath);
file_command_1.issueFileCommand('PATH', inputPath);
}
else {
command_1.issueCommand('add-path', {}, inputPath);
@@ -241,7 +229,10 @@ function getMultilineInput(name, options) {
const inputs = getInput(name, options)
.split('\n')
.filter(x => x !== '');
return inputs;
if (options && options.trimWhitespace === false) {
return inputs;
}
return inputs.map(input => input.trim());
}
exports.getMultilineInput = getMultilineInput;
/**
@@ -274,8 +265,12 @@ exports.getBooleanInput = getBooleanInput;
*/
// eslint-disable-next-line @typescript-eslint/no-explicit-any
function setOutput(name, value) {
const filePath = process.env['GITHUB_OUTPUT'] || '';
if (filePath) {
return file_command_1.issueFileCommand('OUTPUT', file_command_1.prepareKeyValueMessage(name, value));
}
process.stdout.write(os.EOL);
command_1.issueCommand('set-output', { name }, value);
command_1.issueCommand('set-output', { name }, utils_1.toCommandValue(value));
}
exports.setOutput = setOutput;
/**
@@ -404,7 +399,11 @@ exports.group = group;
*/
// eslint-disable-next-line @typescript-eslint/no-explicit-any
function saveState(name, value) {
command_1.issueCommand('save-state', { name }, value);
const filePath = process.env['GITHUB_STATE'] || '';
if (filePath) {
return file_command_1.issueFileCommand('STATE', file_command_1.prepareKeyValueMessage(name, value));
}
command_1.issueCommand('save-state', { name }, utils_1.toCommandValue(value));
}
exports.saveState = saveState;
/**
@@ -470,13 +469,14 @@ var __importStar = (this && this.__importStar) || function (mod) {
return result;
};
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.issueCommand = void 0;
exports.prepareKeyValueMessage = exports.issueFileCommand = void 0;
// We use any as a valid input type
/* eslint-disable @typescript-eslint/no-explicit-any */
const fs = __importStar(__nccwpck_require__(7147));
const os = __importStar(__nccwpck_require__(2037));
const uuid_1 = __nccwpck_require__(5840);
const utils_1 = __nccwpck_require__(5278);
function issueCommand(command, message) {
function issueFileCommand(command, message) {
const filePath = process.env[`GITHUB_${command}`];
if (!filePath) {
throw new Error(`Unable to find environment variable for file command ${command}`);
@@ -488,7 +488,22 @@ function issueCommand(command, message) {
encoding: 'utf8'
});
}
exports.issueCommand = issueCommand;
exports.issueFileCommand = issueFileCommand;
function prepareKeyValueMessage(key, value) {
const delimiter = `ghadelimiter_${uuid_1.v4()}`;
const convertedValue = utils_1.toCommandValue(value);
// These should realistically never happen, but just in case someone finds a
// way to exploit uuid generation let's not allow keys or values that contain
// the delimiter.
if (key.includes(delimiter)) {
throw new Error(`Unexpected input: name should not contain the delimiter "${delimiter}"`);
}
if (convertedValue.includes(delimiter)) {
throw new Error(`Unexpected input: value should not contain the delimiter "${delimiter}"`);
}
return `${key}<<${delimiter}${os.EOL}${convertedValue}${os.EOL}${delimiter}`;
}
exports.prepareKeyValueMessage = prepareKeyValueMessage;
//# sourceMappingURL=file-command.js.map
/***/ }),
@@ -1962,6 +1977,7 @@ const fetch = __nccwpck_require__(467)
const { URL } = __nccwpck_require__(7310)
const qs = __nccwpck_require__(3477)
const os = __nccwpck_require__(2037)
const { ErrorWithCause } = __nccwpck_require__(702)
const { neocitiesLocalDiff } = __nccwpck_require__(8140)
const pkg = __nccwpck_require__(926)
@@ -2162,13 +2178,12 @@ class NeocitiesAPIClient {
try {
const result = await fetch(url, reqOpts).then(handleResponse)
results.push(result)
} catch (e) {
throw new Error('Neocities API error', {
cause: {
error: e,
results
}
} catch (err) {
const wrappedError = new ErrorWithCause('Neocities API error', {
cause: err
})
wrappedError.results = results
throw wrappedError
} finally {
statsCb({ stage: ERROR, status: STOP })
}
@@ -2307,14 +2322,13 @@ class NeocitiesAPIClient {
try {
await Promise.all(work)
} catch (e) {
} catch (err) {
// Wrap error with stats so that we don't lose all that context
throw new Error('Error uploading files', {
cause: {
error: e,
stats: stats()
}
const wrappedError = new ErrorWithCause('Error uploading files', {
cause: err
})
wrappedError.stats = stats()
throw wrappedError
} finally {
statsCb({ stage: ERROR, status: STOP })
}
@@ -2381,7 +2395,7 @@ const crypto = __nccwpck_require__(6113)
const util = __nccwpck_require__(3837)
const fs = __nccwpck_require__(7147)
const ppump = util.promisify(__nccwpck_require__(8341))
const ppump = util.promisify(__nccwpck_require__(5952))
/**
* neocitiesLocalDiff returns an array of files to delete and update and some useful stats.
@@ -2645,7 +2659,7 @@ module.exports = statsHandler
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
const { Writable, Transform } = __nccwpck_require__(5147)
const pump = __nccwpck_require__(8341)
const pump = __nccwpck_require__(5952)
const pumpify = __nccwpck_require__(212)
async function getStreamsLength (readables) {
@@ -9033,6 +9047,221 @@ function onceStrict (fn) {
}
/***/ }),
/***/ 702:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
"use strict";
const { ErrorWithCause } = __nccwpck_require__(8341); // linemod-replace-with: export { ErrorWithCause } from './lib/error-with-cause.mjs';
const { // linemod-replace-with: export {
findCauseByReference,
getErrorCause,
messageWithCauses,
stackWithCauses,
} = __nccwpck_require__(7343); // linemod-replace-with: } from './lib/helpers.mjs';
module.exports = { // linemod-remove
ErrorWithCause, // linemod-remove
findCauseByReference, // linemod-remove
getErrorCause, // linemod-remove
stackWithCauses, // linemod-remove
messageWithCauses, // linemod-remove
}; // linemod-remove
/***/ }),
/***/ 8341:
/***/ ((module) => {
"use strict";
/** @template [T=undefined] */
class ErrorWithCause extends Error { // linemod-prefix-with: export
/**
* @param {string} message
* @param {{ cause?: T }} options
*/
constructor (message, { cause } = {}) {
super(message);
/** @type {string} */
this.name = ErrorWithCause.name;
if (cause) {
/** @type {T} */
this.cause = cause;
}
/** @type {string} */
this.message = message;
}
}
module.exports = { // linemod-remove
ErrorWithCause, // linemod-remove
}; // linemod-remove
/***/ }),
/***/ 7343:
/***/ ((module) => {
"use strict";
/**
* @template {Error} T
* @param {unknown} err
* @param {new(...args: any[]) => T} reference
* @returns {T|undefined}
*/
const findCauseByReference = (err, reference) => { // linemod-prefix-with: export
if (!err || !reference) return;
if (!(err instanceof Error)) return;
if (
!(reference.prototype instanceof Error) &&
// @ts-ignore
reference !== Error
) return;
/**
* Ensures we don't go circular
*
* @type {Set<Error>}
*/
const seen = new Set();
/** @type {Error|undefined} */
let currentErr = err;
while (currentErr && !seen.has(currentErr)) {
seen.add(currentErr);
if (currentErr instanceof reference) {
// @ts-ignore
return currentErr;
}
currentErr = getErrorCause(currentErr);
}
};
/**
* @param {Error|{ cause?: unknown|(()=>err)}} err
* @returns {Error|undefined}
*/
const getErrorCause = (err) => { // linemod-prefix-with: export
if (!err) return;
/** @type {unknown} */
// @ts-ignore
const cause = err.cause;
// VError / NError style causes
if (typeof cause === 'function') {
// @ts-ignore
const causeResult = err.cause();
return causeResult instanceof Error
? causeResult
: undefined;
} else {
return cause instanceof Error
? cause
: undefined;
}
};
/**
* Internal method that keeps a track of which error we have already added, to avoid circular recursion
*
* @private
* @param {Error} err
* @param {Set<Error>} seen
* @returns {string}
*/
const _stackWithCauses = (err, seen) => {
if (!(err instanceof Error)) return '';
const stack = err.stack || '';
// Ensure we don't go circular or crazily deep
if (seen.has(err)) {
return stack + '\ncauses have become circular...';
}
const cause = getErrorCause(err);
// TODO: Follow up in https://github.com/nodejs/node/issues/38725#issuecomment-920309092 on how to log stuff
if (cause) {
seen.add(err);
return (stack + '\ncaused by: ' + _stackWithCauses(cause, seen));
} else {
return stack;
}
};
/**
* @param {Error} err
* @returns {string}
*/
const stackWithCauses = (err) => _stackWithCauses(err, new Set()); // linemod-prefix-with: export
/**
* Internal method that keeps a track of which error we have already added, to avoid circular recursion
*
* @private
* @param {Error} err
* @param {Set<Error>} seen
* @param {boolean} [skip]
* @returns {string}
*/
const _messageWithCauses = (err, seen, skip) => {
if (!(err instanceof Error)) return '';
const message = skip ? '' : (err.message || '');
// Ensure we don't go circular or crazily deep
if (seen.has(err)) {
return message + ': ...';
}
const cause = getErrorCause(err);
if (cause) {
seen.add(err);
// @ts-ignore
const skipIfVErrorStyleCause = typeof err.cause === 'function';
return (message +
(skipIfVErrorStyleCause ? '' : ': ') +
_messageWithCauses(cause, seen, skipIfVErrorStyleCause));
} else {
return message;
}
};
/**
* @param {Error} err
* @returns {string}
*/
const messageWithCauses = (err) => _messageWithCauses(err, new Set()); // linemod-prefix-with: export
module.exports = { // linemod-remove
findCauseByReference, // linemod-remove
getErrorCause, // linemod-remove
stackWithCauses, // linemod-remove
messageWithCauses, // linemod-remove
}; // linemod-remove
/***/ }),
/***/ 5168:
@@ -9161,7 +9390,7 @@ module.exports = (number, options) => {
/***/ }),
/***/ 8341:
/***/ 5952:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
var once = __nccwpck_require__(1223)
@@ -9253,7 +9482,7 @@ module.exports = pump
/***/ 212:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
var pump = __nccwpck_require__(8341)
var pump = __nccwpck_require__(5952)
var inherits = __nccwpck_require__(4124)
var Duplexify = __nccwpck_require__(6599)
@@ -9318,9 +9547,19 @@ module.exports.ctor = define
/***/ }),
/***/ 5322:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
module.exports = (typeof process !== 'undefined' && typeof process.nextTick === 'function')
? process.nextTick.bind(process)
: __nccwpck_require__(1031)
/***/ }),
/***/ 1031:
/***/ ((module) => {
module.exports = process.nextTick.bind(process)
module.exports = typeof queueMicrotask === 'function' ? queueMicrotask : (fn) => Promise.resolve().then(fn)
/***/ }),
@@ -17293,7 +17532,7 @@ Object.defineProperty(exports, '__esModule', {value: true}).default = assert
/***/ ((module) => {
"use strict";
module.exports = JSON.parse('{"name":"async-neocities","description":"WIP - nothing to see here","version":"2.1.2","author":"Bret Comnes <bcomnes@gmail.com> (https://bret.io)","bugs":{"url":"https://github.com/bcomnes/async-neocities/issues"},"dependencies":{"async-folder-walker":"^2.0.1","fetch-errors":"^2.0.1","form-data":"^4.0.0","lodash.chunk":"^4.2.0","nanoassert":"^2.0.0","node-fetch":"^2.6.0","pretty-bytes":"^5.3.0","pump":"^3.0.0","pumpify":"^2.0.1","streamx":"^2.6.0"},"devDependencies":{"auto-changelog":"^2.2.0","dependency-check":"^4.1.0","gh-release":"^6.0.0","minimatch":"^5.0.0","npm-run-all":"^4.1.5","standard":"^17.0.0","tap":"^16.0.0"},"homepage":"https://github.com/bcomnes/async-neocities","keywords":["neocities","async","api client","static hosting"],"license":"MIT","main":"index.js","repository":{"type":"git","url":"https://github.com/bcomnes/async-neocities.git"},"scripts":{"prepublishOnly":"git push --follow-tags && gh-release -y","test":"run-s test:*","test:deps":"dependency-check . --no-dev --no-peer","test:standard":"standard","test:tape":"tap --no-check-coverage","version":"auto-changelog -p --template keepachangelog auto-changelog --breaking-pattern \'BREAKING CHANGE:\' && git add CHANGELOG.md"},"standard":{"ignore":["dist"]}}');
module.exports = JSON.parse('{"name":"async-neocities","description":"WIP - nothing to see here","version":"2.1.4","author":"Bret Comnes <bcomnes@gmail.com> (https://bret.io)","bugs":{"url":"https://github.com/bcomnes/async-neocities/issues"},"dependencies":{"async-folder-walker":"^2.0.1","fetch-errors":"^2.0.1","form-data":"^4.0.0","lodash.chunk":"^4.2.0","nanoassert":"^2.0.0","node-fetch":"^2.6.0","pony-cause":"^2.1.4","pretty-bytes":"^5.3.0","pump":"^3.0.0","pumpify":"^2.0.1","streamx":"^2.6.0"},"devDependencies":{"auto-changelog":"^2.2.0","dependency-check":"^4.1.0","gh-release":"^6.0.0","minimatch":"^5.0.0","npm-run-all":"^4.1.5","standard":"^17.0.0","tap":"^16.0.0"},"homepage":"https://github.com/bcomnes/async-neocities","keywords":["neocities","async","api client","static hosting"],"license":"MIT","main":"index.js","repository":{"type":"git","url":"https://github.com/bcomnes/async-neocities.git"},"scripts":{"prepublishOnly":"git push --follow-tags && gh-release -y","test":"run-s test:*","test:deps":"dependency-check . --no-dev --no-peer","test:standard":"standard","test:tape":"tap --no-check-coverage","version":"auto-changelog -p --template keepachangelog auto-changelog --breaking-pattern \'BREAKING CHANGE:\' && git add CHANGELOG.md"},"standard":{"ignore":["dist"]}}');
/***/ }),
@@ -17362,6 +17601,7 @@ const ms = __nccwpck_require__(900)
const assert = (__nccwpck_require__(3094)["default"])
const fsp = (__nccwpck_require__(7147).promises)
const minimatch = __nccwpck_require__(3973)
const { stackWithCauses } = __nccwpck_require__(702)
let cleanup
@@ -17397,7 +17637,7 @@ async function doDeploy () {
}
doDeploy().catch(err => {
console.error(err)
console.error(stackWithCauses(err))
if (err.stats) {
console.log('Files to upload: ')
console.dir(err.stats.filesToUpload, { colors: true, depth: 999 })

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@@ -6,6 +6,7 @@ const ms = require('ms')
const assert = require('webassert').default
const fsp = require('fs').promises
const minimatch = require('minimatch')
const { stackWithCauses } = require('pony-cause')
let cleanup
@@ -41,7 +42,7 @@ async function doDeploy () {
}
doDeploy().catch(err => {
console.error(err)
console.error(stackWithCauses(err))
if (err.stats) {
console.log('Files to upload: ')
console.dir(err.stats.filesToUpload, { colors: true, depth: 999 })

View File

@@ -1,16 +1,17 @@
{
"name": "deploy-to-neocities",
"description": "Github Action to deplpoy a folder to Neocities.org",
"version": "1.1.9",
"version": "1.1.11",
"author": "Bret Comnes <bcomnes@gmail.com> (https://bret.io/)",
"bugs": {
"url": "https://github.com/bcomnes/deploy-to-neocities/issues"
},
"dependencies": {
"@actions/core": "1.9.1",
"async-neocities": "2.1.2",
"@actions/core": "1.10.0",
"async-neocities": "2.1.4",
"minimatch": "5.1.0",
"ms": "2.1.3",
"pony-cause": "^2.1.4",
"webassert": "3.0.2"
},
"devDependencies": {