Skip to content

Commit

Permalink
Move migrator into tools (#708)
Browse files Browse the repository at this point in the history
I think adding a tools folder to the top level makes sense. This will be
things that are meant to be ran locally and not deployed anywhere
(unlike apps)

Didn't touch sanity since it's going bye bye soon

Interested in hearing what you think @henrikskog @NjaalSoerland @kharann
  • Loading branch information
junlarsen authored Nov 9, 2023
1 parent d78d0bf commit b4038db
Show file tree
Hide file tree
Showing 25 changed files with 57 additions and 57 deletions.
2 changes: 1 addition & 1 deletion .github/renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"extends": ["config:base"],
"packageRules": [
{
"matchPackagePatterns": ["^@dotkomonline/", "web", "monorepo", "onlineweb-cms", "db-migrator"],
"matchPackagePatterns": ["^@dotkomonline/"],
"enabled": false
},
{
Expand Down
1 change: 0 additions & 1 deletion apps/db-migrator/README.md

This file was deleted.

104 changes: 52 additions & 52 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pnpm-workspace.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
packages:
- apps/*
- packages/*
- "!apps/docs"
- tools/*
1 change: 1 addition & 0 deletions tools/migrator/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@dotkomonline/db-migrator",
"name": "@dotkomonline/migrator",
"type": "module",
"dependencies": {
"@dotkomonline/env": "workspace:*",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"allowSyntheticDefaultImports": true,
"types": ["vitest/globals"]
},
"include": ["apps/", "packages/"],
"include": ["apps/", "packages/", "tools/"],
"types": ["vitest/globals"],
"noErrorTruncation": true
}

2 comments on commit b4038db

@vercel
Copy link

@vercel vercel bot commented on b4038db Nov 9, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

rif – ./apps/rif

rif-dotkom.vercel.app
rif-git-main-dotkom.vercel.app
rif-two.vercel.app
dev.interesse.online.ntnu.no

@vercel
Copy link

@vercel vercel bot commented on b4038db Nov 9, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

web – ./apps/web

web-dotkom.vercel.app
dev.web.online.ntnu.no
web-pi-umber.vercel.app
web-git-main-dotkom.vercel.app

Please sign in to comment.