forked from belgattitude/nextjs-monorepo-example
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
107 lines (107 loc) · 5.07 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
{
"name": "nextjs-monorepo-example",
"private": true,
"keywords": [
"eslint-plugin",
"example",
"monorepo",
"nextjs",
"playwright",
"prisma",
"remix",
"storybook",
"vite",
"workspace"
],
"author": {
"name": "Vanvelthem Sébastien",
"url": "https://github.com/belgattitude"
},
"license": "MIT",
"homepage": "https://github.com/belgattitude/nextjs-monorepo-example",
"repository": "belgattitude/nextjs-monorepo-example",
"scripts": {
"apps:build": "yarn workspaces foreach -ptv --include '*-app' run build",
"apps:clean": "yarn workspaces foreach -ptv --include '*-app' run clean",
"check:install": "yarn dlx @yarnpkg/[email protected] .",
"check:git-pristine": "./scripts/check-git-pristine.sh",
"check:renovate:config": "docker run -v renovate.json5:/usr/src/app/renovate.json5 -it renovate/renovate renovate-config-validator",
"clean:global-cache": "rimraf ./.cache",
"clean:turbo": "rimraf --glob '**/.turbo'",
"deps:check": "npx npm-check-updates@latest --configFileName ncurc.yml --workspaces --root --mergeConfig",
"deps:update": "npx npm-check-updates@latest --configFileName ncurc.yml -u --workspaces --root --mergeConfig",
"docker:down": "docker compose down",
"docker:nextjs-app:build": "docker compose -f docker-compose.nextjs-app.yml build --progress=tty runner",
"docker:nextjs-app:develop": "docker compose -f ./docker-compose.yml -f docker-compose.nextjs-app.yml up develop main-db",
"docker:nextjs-app:develop:reinstall": "docker compose -f docker-compose.nextjs-app.yml build --progress=tty --no-cache --force-rm develop",
"docker:nextjs-app:install": "docker buildx bake -f docker-compose.nextjs-app.yml --progress=tty deps",
"docker:nextjs-app:serve": "docker compose -f docker-compose.nextjs-app.yml --env-file ./apps/nextjs-app/.env.local up runner",
"docker:nuke-all": "npm-run-all --sequential --continue-on-error --print-label \"docker:nuke:*\"",
"docker:nuke:containers": "docker container rm -f $(docker container ls -qa)",
"docker:nuke:images": "docker image rm -f $(docker image ls -q)",
"docker:nuke:prune-buildx": "docker buildx prune",
"docker:nuke:prune-cachemount": "docker builder prune --filter type=exec.cachemount",
"docker:nuke:volumes": "docker volume rm $(docker volume ls -q)",
"docker:prune-cache": "docker buildx prune",
"docker:up:main-db": "docker compose up -d main-db",
"g:build": "yarn workspaces foreach -p --topological-dev -v run build",
"g:build-changed": "yarn workspaces foreach --topological-dev --no-private -v --since=origin/main run build",
"g:changeset": "changeset",
"g:check-dist": "yarn workspaces foreach -ptv run check-dist",
"g:clean": "yarn clean:global-cache && rimraf ./out && yarn workspaces foreach -ptv run clean",
"g:codegen": "yarn workspaces foreach -ptv run codegen",
"g:fix-all-files": "yarn workspaces foreach -ptv run fix-all-files",
"g:lint": "yarn workspaces foreach -ptv run lint --color",
"g:lint-staged-files": "lint-staged --allow-empty",
"g:lint-styles": "yarn workspaces foreach -ptv run lint-styles --color",
"g:release": "yarn g:build && changeset publish",
"g:share-static-hardlink": "yarn workspaces foreach -pv --include 'apps/*' run share-static-hardlink",
"g:share-static-symlink": "yarn workspaces foreach -pv --include 'apps/*' run share-static-symlink",
"g:test-e2e": "yarn workspaces foreach -tv run test-e2e",
"g:test-unit": "yarn workspaces foreach -ptv run test-unit",
"g:test-unit-jest": "yarn workspaces foreach -ptv run test-unit-jest",
"g:typecheck": "yarn workspaces foreach -ptv run typecheck",
"g:turbo": "turbo",
"install:playwright": "playwright install",
"nuke:node_modules": "rimraf --glob '**/node_modules'",
"packages:build": "yarn workspaces foreach -ptv --include 'packages/*' run build",
"packages:clean": "yarn workspaces foreach -ptv --include 'packages/*' run clean",
"packages:lint": "yarn workspaces foreach -ptv --include 'packages/*' run lint",
"packages:test:unit": "yarn workspaces foreach -ptv --include 'packages/*' run test-unit",
"packages:typecheck": "yarn workspaces foreach -ptv --include 'packages/*' run typecheck",
"postinstall": "is-ci || yarn husky install"
},
"dependencies": {
"cross-env": "7.0.3"
},
"devDependencies": {
"@changesets/changelog-github": "0.4.8",
"@changesets/cli": "2.26.1",
"@commitlint/cli": "17.6.3",
"@commitlint/config-conventional": "17.6.3",
"@types/prettier": "2.7.2",
"@types/shell-quote": "1.7.1",
"@your-org/eslint-config-bases": "workspace:^",
"eslint": "8.41.0",
"husky": "8.0.3",
"is-ci": "3.0.1",
"lint-staged": "13.2.2",
"npm-run-all": "4.1.5",
"prettier": "2.8.8",
"rimraf": "5.0.1",
"shell-quote": "1.8.1",
"syncpack": "9.8.6",
"turbo": "1.9.8",
"typescript": "5.0.4"
},
"engines": {
"node": "^14.18.3 || >=16.13.0",
"yarn": ">=1.22.0",
"npm": "please-use-yarn"
},
"packageManager": "[email protected]",
"workspaces": [
"apps/*",
"packages/*"
]
}