mirror of
https://github.com/bcomnes/deploy-to-neocities.git
synced 2026-01-21 08:51:54 +00:00
Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c50fdeb3e6 | ||
|
|
48d2e5e4e0 | ||
|
|
aaf8a90973 | ||
|
|
34601c4927 |
12
CHANGELOG.md
12
CHANGELOG.md
@@ -7,6 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
||||
|
||||
## [v0.0.7](https://github.com/bcomnes/deploy-to-neocities/compare/v0.0.6...v0.0.7) - 2020-02-13
|
||||
|
||||
### Commits
|
||||
|
||||
- refactor: Remove core calls [`48d2e5e`](https://github.com/bcomnes/deploy-to-neocities/commit/48d2e5e4e064176c8c4d27eddea40d0009446dba)
|
||||
|
||||
## [v0.0.6](https://github.com/bcomnes/deploy-to-neocities/compare/v0.0.5...v0.0.6) - 2020-02-13
|
||||
|
||||
### Commits
|
||||
|
||||
- bug: update async-neocities to 1.1.2 [`34601c4`](https://github.com/bcomnes/deploy-to-neocities/commit/34601c49277891d15395a79b28eeb21781a019da)
|
||||
|
||||
## [v0.0.5](https://github.com/bcomnes/deploy-to-neocities/compare/v0.0.4...v0.0.5) - 2020-02-13
|
||||
|
||||
### Commits
|
||||
|
||||
5
index.js
5
index.js
@@ -14,10 +14,10 @@ async function doDeploy () {
|
||||
|
||||
const client = new Neocities(token)
|
||||
|
||||
const stats = await core.group('Deploying to neocities', client.deploy(distDir, {
|
||||
const stats = await client.deploy(distDir, {
|
||||
cleanup,
|
||||
statsCb: Neocities.statsHandler()
|
||||
}))
|
||||
})
|
||||
|
||||
console.log(`Deployed to Neocities in ${prettyTime([0, stats.time])}:`)
|
||||
console.log(` Uploaded ${stats.filesToUpload.length} files`)
|
||||
@@ -26,5 +26,6 @@ async function doDeploy () {
|
||||
}
|
||||
|
||||
doDeploy().catch(err => {
|
||||
console.error(err)
|
||||
core.setFailed(err.message)
|
||||
})
|
||||
|
||||
6
node_modules/async-neocities/CHANGELOG.md
generated
vendored
6
node_modules/async-neocities/CHANGELOG.md
generated
vendored
@@ -7,6 +7,12 @@ 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.2](https://github.com/bcomnes/async-neocities/compare/v1.1.1...v1.1.2) - 2020-02-13
|
||||
|
||||
### Commits
|
||||
|
||||
- bug: Fix export name of statsHandler [`8958e5e`](https://github.com/bcomnes/async-neocities/commit/8958e5eeb947376690a1ce0cefe7cce3d59be5b8)
|
||||
|
||||
## [v1.1.1](https://github.com/bcomnes/async-neocities/compare/v1.1.0...v1.1.1) - 2020-02-13
|
||||
|
||||
### Commits
|
||||
|
||||
2
node_modules/async-neocities/index.js
generated
vendored
2
node_modules/async-neocities/index.js
generated
vendored
@@ -57,7 +57,7 @@ class NeocitiesAPIClient {
|
||||
return fetch(url, opts)
|
||||
}
|
||||
|
||||
static statsHanler (...args) { return statsHandler(...args) }
|
||||
static statsHandler (...args) { return statsHandler(...args) }
|
||||
|
||||
/**
|
||||
* Create an async-neocities api client.
|
||||
|
||||
20
node_modules/async-neocities/package.json
generated
vendored
20
node_modules/async-neocities/package.json
generated
vendored
@@ -1,26 +1,26 @@
|
||||
{
|
||||
"_from": "async-neocities@1.1.1",
|
||||
"_id": "async-neocities@1.1.1",
|
||||
"_from": "async-neocities@1.1.2",
|
||||
"_id": "async-neocities@1.1.2",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha512-iYSEfp6567pmuMXcHkm09zG/+jNBH1Bg0ThbvrJDX/PhxbttK5S66VX4M5BJbiEWEBDjrjcP+Km1eBM5DSeURQ==",
|
||||
"_integrity": "sha512-Pe7dwjZYb85T0g7YgPjbbhGUa5WlIVVwCrieoPj3urCIN1lVDWSu39OiBkG61Wbi+VDxoJqaa7qWoKC7etSVDw==",
|
||||
"_location": "/async-neocities",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "version",
|
||||
"registry": true,
|
||||
"raw": "async-neocities@1.1.1",
|
||||
"raw": "async-neocities@1.1.2",
|
||||
"name": "async-neocities",
|
||||
"escapedName": "async-neocities",
|
||||
"rawSpec": "1.1.1",
|
||||
"rawSpec": "1.1.2",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "1.1.1"
|
||||
"fetchSpec": "1.1.2"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/async-neocities/-/async-neocities-1.1.1.tgz",
|
||||
"_shasum": "cca697ff75ff70225fa7e10bd1b3bada555ef8bf",
|
||||
"_spec": "async-neocities@1.1.1",
|
||||
"_resolved": "https://registry.npmjs.org/async-neocities/-/async-neocities-1.1.2.tgz",
|
||||
"_shasum": "275c86c483cfb6360835ba792bc0ba985c9a889a",
|
||||
"_spec": "async-neocities@1.1.2",
|
||||
"_where": "/Users/bret/repos/deploy-to-neocities",
|
||||
"author": {
|
||||
"name": "Bret Comnes",
|
||||
@@ -80,5 +80,5 @@
|
||||
"dist"
|
||||
]
|
||||
},
|
||||
"version": "1.1.1"
|
||||
"version": "1.1.2"
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "deploy-to-neocities",
|
||||
"version": "0.0.5",
|
||||
"version": "0.0.7",
|
||||
"description": "Github Action to deplpoy a folder to Neocities.org",
|
||||
"main": "index.js",
|
||||
"private": true,
|
||||
@@ -39,7 +39,7 @@
|
||||
"dependencies": {
|
||||
"@actions/core": "1.2.2",
|
||||
"@actions/github": "2.1.0",
|
||||
"async-neocities": "1.1.1",
|
||||
"async-neocities": "1.1.2",
|
||||
"pretty-time": "1.1.0"
|
||||
},
|
||||
"standard": {
|
||||
|
||||
Reference in New Issue
Block a user