Skip to content

Commit

Permalink
Merge branch 'main' into multi-patterns
Browse files Browse the repository at this point in the history
  • Loading branch information
milotoor committed Dec 16, 2024
2 parents a6d1233 + d901d69 commit 045248a
Show file tree
Hide file tree
Showing 60 changed files with 14,457 additions and 8,987 deletions.
3 changes: 2 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"mobx/exhaustive-make-observable": "warn",
"mobx/unconditional-make-observable": "error",
"mobx/missing-make-observable": "error",
"mobx/missing-observer": "off"
"mobx/missing-observer": "off",
"import/no-cycle": "error"
},
"settings": {
"componentWrapperFunctions": ["observer"]
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,5 @@ jobs:
run: yarn
- name: build
run: yarn build
- name: lint
run: yarn lint
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
# dependencies
/node_modules
/.pnp
.pnp.js
.pnp.*
.yarn/*
!.yarn/releases
!.yarn/plugins

# testing
/coverage
Expand Down
934 changes: 934 additions & 0 deletions .yarn/releases/yarn-4.5.1.cjs

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-4.5.1.cjs
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ First, follow these one-time steps to install system-level dependencies:
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash
# use nvm to install the correct version of node
nvm install
# install yarn, our package manager of choice
brew install yarn
# install yarn, our package manager of choice, via corepack
corepack enable
```

Then whenever you want to run Conjurer, just run the following:
Expand All @@ -47,7 +47,7 @@ TURSO_DATABASE_URL=libsql://conjurer-db-secretfire.turso.io
TURSO_AUTH_TOKEN=******************************
```

Ask for credentials to the Turso dashboard to generate your own token.
Ask for credentials to the Turso dashboard to generate your own token. To download the database, run `yarn db:prod:download`. You will need to have the `turso` CLI installed. To install it, run `brew install tursodatabase/tap/turso`.

### General info / tips

Expand Down
3 changes: 3 additions & 0 deletions migrations/0004_recreate-experiences-table-constraints.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
CREATE UNIQUE INDEX `experiences_name_unique` ON `experiences` (`name`);
--> statement-breakpoint
CREATE INDEX `status_index` ON `experiences` (`status`);
1 change: 1 addition & 0 deletions migrations/0005_outgoing_hedge_knight.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ALTER TABLE `experiences` ADD `thumbnail_url` text DEFAULT '' NOT NULL;
Loading

0 comments on commit 045248a

Please sign in to comment.