# @mtyk/dev

> # Some actions are easily reversable, can be time travelled.

Latest version **0.1.6** (published 2023-02-10) · 0 weekly downloads

## Install

```sh
npm install @mtyk/dev
pnpm add @mtyk/dev
yarn add @mtyk/dev
bun add @mtyk/dev
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads; large bundle; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.6 |
| Published | 2023-02-10 |
| First published | 2022-08-17 |
| Weekly downloads | 0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 3 |
| Unpacked size | 84.4 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | MTYK |
| Maintainers | mtyk |

## Links

- npm: https://www.npmjs.com/package/@mtyk/dev
- Repository: https://github.com/morethanyouknowltd/dev
- Homepage: https://github.com/morethanyouknowltd/dev#readme
- Issues: https://github.com/morethanyouknowltd/dev/issues
- npm.io page: https://npm.io/package/@mtyk/dev

## Dependencies (3)

- [@mtyk/dash](https://npm.io/package/@mtyk/dash.md) ^0.1.5
- [@mtyk/types](https://npm.io/package/@mtyk/types.md) ^1.0.15
- [@mtyk/events](https://npm.io/package/@mtyk/events.md) ^2.0.15

## Recent versions

- 0.1.6 (latest) — 2023-02-10
- 0.1.5 — 2022-09-23
- 0.1.4 — 2022-09-02
- 0.1.3 — 2022-08-26
- 0.1.2 — 2022-08-18
- 0.1.1 — 2022-08-17

## README

# Everything is an action

# Some actions are easily reversable, can be time travelled.

# Others are one-way

# State can always be created from the beginning

# Any "action-ish" part of an app, backend or frontend should be abstracted into an action that can be re-run at any time

# Auth support, only run certain commaif authorised

# Mongoose/File

# Errors

When errors come through, we can automatically find relevant search results or suggest a solution.

# Currently running

Show all processes that are currently running

# Plugins

- Mongo plugin, watches mongo queries/inserts/updates and converts into actions

Ideally we want to save to a file so that we can store actions inside
a repository ready to use by whoever uses it. Maybe mongoose isn't the right choice,
but a giant json file is also not very fun. JUST USE JSON FOR NOW

-- Saved actions (CompoundAction)
-- Name
-- Actions: BaseActionspec[]

@mtyk/dev-client fetches mongoose actions
@mtyk/dev-server has a basic web interface, just use nextjs?
-- show current recorded actions
-- edit recorded actions, remove steps, playback etc
-- save

# CLI

dev = yarn exec @mtyk/dev

dev list
dev find

dev [action]
Will search for [action] and run if possible, otherwise find nearby names. Similar to yarn run

dev record

dev stop
Will prompt for a name to save

Saves to project-folder/.mtyk/dev/actions.json

---
_Source: https://npm.io/package/@mtyk/dev · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
