Skip to content

Commit

Permalink
deps and docs
Browse files Browse the repository at this point in the history
  • Loading branch information
lostfictions committed Oct 1, 2021
1 parent f557e6e commit a0a681d
Show file tree
Hide file tree
Showing 3 changed files with 247 additions and 340 deletions.
15 changes: 10 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,15 @@ i unfortunately haven't documented this approach very well yet. for now, you can
look at the environment variables (required and optional) in
[env.ts](src/env.ts).

this is also more of a note to self than a proper piece of documentation now,
but: to regenerate the disjoint git branch that the unused concept list is
stored in, make sure you're on a clone with the remote set correctly and that
the file `persist/unused_concepts.json` exists locally (you may have to run
`yarn dev`). then run `npx gh-pages -d persist -b data`.
> as part of this approach, you'll need an "orphan" git branch (one that doesn't
> share any history with the main branch) in the same repo. this is where state
> that's persisted across bot runs is stored (the branch is appropriately named
> "data"). if you've forked this repo with all its branches, this should already
> exist.
>
> if not -- well, it's a bit clunky to create. for now, the recommended approach
> is to make sure you're on a clone with the remote set correctly and that the
> file `persist/unused_concepts.json` exists locally (you may have to run `yarn
> dev`). then run `npx gh-pages -d persist -b data`.
###### [more bots?](https://github.com/lostfictions?tab=repositories&q=botally)
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,24 +17,24 @@
"author": "s <https://github.com/lostfictions>",
"license": "AGPL-3.0",
"dependencies": {
"@sentry/integrations": "^6.13.1",
"@sentry/node": "^6.13.1",
"@sentry/integrations": "^6.13.2",
"@sentry/node": "^6.13.2",
"async-retry": "^1.3.3",
"axios": "^0.21.4",
"canvas": "^2.7.0",
"axios": "^0.22.0",
"canvas": "^2.8.0",
"cheerio": "^0.22.0",
"envalid": "^6.0.2",
"masto": "^4.1.14",
"nanoid": "^3.1.25",
"masto": "^4.1.16",
"nanoid": "^3.1.28",
"source-map-support": "^0.5.20",
"twitter-api-client": "^1.3.8"
},
"devDependencies": {
"@types/async-retry": "^1.4.3",
"@types/cheerio": "^0.22.23",
"@types/node": "^16.9.4",
"@types/node": "^16.10.2",
"eslint": "^7.32.0",
"eslint-config-lostfictions": "^1.3.0",
"eslint-config-lostfictions": "^1.4.1",
"npm-run-all": "^4.1.5",
"prettier": "^2.4.1",
"ts-node": "^10.2.1",
Expand Down
Loading

0 comments on commit a0a681d

Please sign in to comment.