This repository has been archived by the owner on Jan 27, 2025. It is now read-only.
forked from belgattitude/nextjs-monorepo-example
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
116 lines (116 loc) · 5.47 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
108
109
110
111
112
113
114
115
116
{
"name": "nextjs-monorepo-example",
"license": "MIT",
"private": true,
"homepage": "https://github.com/belgattitude/nextjs-monorepo-example",
"repository": {
"type": "git",
"url": "https://github.com/belgattitude/nextjs-monorepo-example"
},
"author": {
"name": "Vanvelthem Sébastien",
"url": "https://github.com/belgattitude"
},
"keywords": [
"example",
"monorepo",
"workspace",
"nextjs",
"vite",
"remix",
"eslint-plugin",
"playwright",
"storybook",
"prisma"
],
"workspaces": [
"apps/*",
"packages/*"
],
"scripts": {
"g:clean": "yarn clean:global-cache && yarn workspaces foreach -ptv run clean",
"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:test-unit": "yarn workspaces foreach -ptv run test-unit",
"g:test-unit-jest": "yarn workspaces foreach -ptv run test-unit-jest",
"g:test-e2e": "yarn workspaces foreach -tv run test-e2e",
"g:lint": "yarn workspaces foreach -ptv run lint --color",
"g:lint-styles": "yarn workspaces foreach -ptv run lint-styles --color",
"g:typecheck": "yarn workspaces foreach -ptv run typecheck",
"g:lint-staged-files": "lint-staged --allow-empty",
"g:fix-all-files": "yarn workspaces foreach -ptv run fix-all-files",
"g:changeset": "changeset",
"g:check-dist": "yarn workspaces foreach -ptv run check-dist",
"g:release": "yarn g:build && changeset publish",
"g:share-static-symlink": "yarn workspaces foreach -pv --include '*-app' run share-static-symlink",
"g:share-static-hardlink": "yarn workspaces foreach -pv --include '*-app' run share-static-hardlink",
"clean:global-cache": "rimraf --no-glob ./.cache",
"apps:build": "yarn workspaces foreach -ptv --include '*-app' run build",
"apps:clean": "yarn workspaces foreach -ptv --include '*-app' run clean",
"packages:build": "yarn workspaces foreach -ptv --include '@we-make-websites/*' run build",
"packages:test:unit": "yarn workspaces foreach -ptv --include '@we-make-websites/*' run test-unit",
"packages:lint": "yarn workspaces foreach -ptv --include '@we-make-websites/*' run lint",
"packages:typecheck": "yarn workspaces foreach -ptv --include '@we-make-websites/*' run typecheck",
"packages:clean": "yarn workspaces foreach -ptv --include '@we-make-websites/*' run clean",
"docker:prune-cache": "docker buildx prune",
"docker:nextjs-app:install": "docker buildx bake -f docker-compose.nextjs-app.yml --progress=tty deps",
"docker:nextjs-app:develop": "cross-env DOCKER_BUILDKIT=1 docker-compose -f ./docker-compose.yml -f docker-compose.nextjs-app.yml up develop main-db",
"docker:nextjs-app:develop:reinstall": "cross-env DOCKER_BUILDKIT=1 docker-compose -f docker-compose.nextjs-app.yml build --progress=tty --no-cache --force-rm develop",
"docker:nextjs-app:build": "cross-env DOCKER_BUILDKIT=1 docker-compose -f docker-compose.nextjs-app.yml build --progress=tty runner",
"docker:nextjs-app:serve": "docker-compose -f docker-compose.nextjs-app.yml --env-file ./apps/nextjs-app/.env.local up runner",
"docker:up:main-db": "docker-compose up -d main-db",
"docker:down": "docker-compose down",
"docker:nuke-all": "npm-run-all --sequential --continue-on-error --print-label \"docker:nuke:*\"",
"docker:nuke:images": "docker image rm -f $(docker image ls -q)",
"docker:nuke:containers": "docker container rm -f $(docker container ls -qa)",
"docker:nuke:volumes": "docker volume rm $(docker volume ls -q)",
"docker:nuke:prune-cachemount": "docker builder prune --filter type=exec.cachemount",
"docker:nuke:prune-buildx": "docker buildx prune",
"nuke:node_modules": "rimraf '**/node_modules'",
"deps:check": "yarn dlx npm-check-updates@latest --configFileName ncurc.yml --deep --mergeConfig",
"deps:update": "yarn dlx npm-check-updates@latest --configFileName ncurc.yml -u --deep --mergeConfig",
"check:install": "yarn dlx @yarnpkg/[email protected] .",
"check:renovate:config": "docker run -v renovate.json5:/usr/src/app/renovate.json5 -it renovate/renovate renovate-config-validator",
"install:playwright": "playwright install",
"install:shopify": "npm install -g @shopify/cli @shopify/theme",
"update:shopify": "npm update -g @shopify/cli @shopify/theme",
"postinstall": "is-ci || yarn husky install"
},
"helpResolutions": {
"i18next": "https://github.com/i18next/next-i18next/pull/1966",
"@graphql-inspector/core": "https://github.com/kamilkisiela/graphql-inspector/issues/2175"
},
"resolutions": {
"@graphql-inspector/core": "3.3.0",
"i18next": "^22.0.0"
},
"dependencies": {
"cross-env": "7.0.3"
},
"devDependencies": {
"@changesets/changelog-github": "0.4.7",
"@changesets/cli": "2.25.2",
"@commitlint/cli": "17.2.0",
"@commitlint/config-conventional": "17.2.0",
"@playwright/test": "1.27.1",
"@types/prettier": "2.7.1",
"@types/shell-quote": "1.7.1",
"@we-make-websites/eslint-config-bases": "workspace:^",
"eslint": "8.27.0",
"husky": "8.0.2",
"is-ci": "3.0.1",
"lint-staged": "13.0.3",
"npm-run-all": "4.1.5",
"prettier": "2.7.1",
"rimraf": "3.0.2",
"shell-quote": "1.7.4",
"typescript": "4.8.4",
"vite-plugin-shopify": "0.0.7"
},
"engines": {
"node": "^14.13.1 || >=16.0.0",
"yarn": ">=1.22.0",
"npm": "please-use-yarn"
},
"packageManager": "[email protected]"
}