Skip to content

Commit

Permalink
⬆️ upgrade packages (#245)
Browse files Browse the repository at this point in the history
* ⬆️ upgrade packages

* 🚨 Lints after package upgrades
  • Loading branch information
ianhomer authored Jul 27, 2024
1 parent fcd8602 commit a6cdb02
Show file tree
Hide file tree
Showing 4 changed files with 504 additions and 152 deletions.
34 changes: 17 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@
"homepage": "https://github.com/ianhomer/digital-garden#readme",
"scripts": {
"build": "pnpm --filter @garden/site build",
"build:crypt": "pnpm --filter @garden/site build:prepare-and-crypt",
"build:demo": "GARDENS_DIRECTORY=../demo-gardens/content pnpm --filter @garden/site build",
"build:packages": "pnpm --filter !{packages/site} build",
"build:prepare": "pnpm --filter @garden/site build:prepare",
"build:prepare:demo": "GARDENS_DIRECTORY=../demo-gardens/content pnpm --filter @garden/site build:prepare",
"build:static": "pnpm --filter @garden/site build:prepare-and-static",
"build:crypt": "pnpm --filter @garden/site build:prepare-and-crypt",
"clean": "pnpm --filter {packages/**} clean",
"clean:full": "pnpm clean && rimraf -g ./**/node_modules",
"dev": "pnpm --filter @garden/site dev",
Expand All @@ -33,9 +33,9 @@
"prepare": "husky install",
"prettier": "npx prettier --check .",
"prettier:fix": "npx prettier --write .",
"start": "pnpm --filter @garden/site start",
"serve": "pnpm --filter @garden/site serve",
"serve:crypt": "pnpm --filter @garden/site serve:crypt",
"start": "pnpm --filter @garden/site start",
"test": "pnpm --filter {packages/**} test",
"test:build": "pnpm --filter @garden/site test:build",
"test:build-and-e2e": "pnpm build:prepare && pnpm test:build && pnpm test:e2e",
Expand All @@ -45,29 +45,29 @@
"test:packages": "pnpm --filter {packages/**} test:package",
"test:since-main": "pnpm --filter '...[origin/main]' test"
},
"pnpm": {
"updateConfig": {
"ignoreDependencies": [
"eslint",
"eslint-plugin-sonarjs"
]
}
},
"devDependencies": {
"@types/node": "^20.14.10",
"@typescript-eslint/eslint-plugin": "^7.15.0",
"@typescript-eslint/parser": "^7.15.0",
"@types/node": "^20.14.12",
"@typescript-eslint/eslint-plugin": "^7.17.0",
"@typescript-eslint/parser": "^7.17.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-no-only-tests": "^3.1.0",
"eslint-plugin-simple-import-sort": "^12.1.1",
"eslint-plugin-sonarjs": "^0.24.0",
"format-package": "^7.0.0",
"husky": "^9.0.11",
"husky": "^9.1.3",
"lint-staged": "^15.2.7",
"prettier": "^3.3.2",
"rimraf": "5.0.8",
"prettier": "^3.3.3",
"rimraf": "6.0.1",
"start-server-and-test": "^2.0.4",
"typescript": "^5.5.3"
},
"pnpm": {
"updateConfig": {
"ignoreDependencies": [
"eslint",
"eslint-plugin-sonarjs"
]
}
"typescript": "^5.5.4"
}
}
2 changes: 1 addition & 1 deletion packages/garden/src/garden.ts
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ const reduceAliases = (meta: Items): Items => {
],
links: links.map(({ name, type, value }) => ({
name: reducibleAliasLookup.has(name)
? reducibleAliasLookup.get(name) ?? name
? (reducibleAliasLookup.get(name) ?? name)
: name,
type,
value,
Expand Down
6 changes: 3 additions & 3 deletions packages/site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
"type": "module",
"scripts": {
"build": "next build",
"build:static": "GARDEN_STATIC=true next build",
"build:prepare-and-static": "pnpm build:prepare && pnpm build:static",
"build:prepare-and-crypt": "pnpm build:prepare-and-static && pnpm crypt",
"build:prepare": "node --experimental-specifier-resolution=node --loader ts-node/esm src/scripts/pre-build.ts",
"build:prepare-and-crypt": "pnpm build:prepare-and-static && pnpm crypt",
"build:prepare-and-static": "pnpm build:prepare && pnpm build:static",
"build:static": "GARDEN_STATIC=true next build",
"clean": "rimraf out encrypted .next .gardem-meta.json",
"crypt": "staticrypt out -r && pnpm rimraf encrypted/out/_next/data",
"dev": "next dev",
Expand Down
Loading

0 comments on commit a6cdb02

Please sign in to comment.