-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
86 lines (86 loc) · 4.77 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
{
"name": "churros",
"type": "module",
"devDependencies": {
"@changesets/changelog-git": "^0.2.0",
"@changesets/cli": "^2.27.10",
"@commitlint/cli": "^19.6.0",
"@commitlint/config-conventional": "^19.6.0",
"@types/lodash": "^4.17.13",
"@types/lodash.uniqby": "^4.7.9",
"@types/pdfmake": "patch:@types/pdfmake@npm%3A0.2.8#~/.yarn/patches/@types-pdfmake-npm-0.2.8-22a107c1c7.patch",
"@typescript-eslint/eslint-plugin": "^8.18.0",
"@typescript-eslint/parser": "^8.18.0",
"changesets-gitlab": "^0.12.1",
"chokidar": "^4.0.1",
"concurrently": "^9.1.0",
"dotenv-cli": "^7.4.4",
"dotenv-parser-serializer": "patch:dotenv-parser-serializer@npm%3A1.0.2#~/.yarn/patches/dotenv-parser-serializer-npm-1.0.2-e32bb8ac9d.patch",
"eslint": "^8.57.1",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-svelte": "^2.46.1",
"eslint-plugin-unicorn": "^56.0.1",
"execa": "^9.5.2",
"husky": "^9.1.7",
"kleur": "^4.1.5",
"lint-staged": "^15.2.10",
"npm-run-all2": "^7.0.1",
"npm-upgrade": "^3.1.0",
"postcss-html": "^1.7.0",
"prettier": "^3.4.2",
"prettier-plugin-jsdoc": "^1.3.0",
"prettier-plugin-organize-imports": "^4.1.0",
"prettier-plugin-svelte": "^3.3.2",
"stylelint": "^16.11.0",
"stylelint-config-html": "^1.1.0",
"stylelint-config-prettier": "^9.0.5",
"stylelint-config-recess-order": "^5.1.1",
"stylelint-config-standard": "^36.0.1",
"stylelint-config-standard-scss": "^14.0.0",
"svelte": "^4.2.19",
"tsx": "^4.19.2",
"typescript": "^5.7.2"
},
"license": "AGPL-3.0-only",
"packageManager": "[email protected]",
"private": true,
"scripts": {
"@app": "yarn workspace @churros/app",
"@api": "yarn workspace @churros/api",
"build": "yarn cp-env && yarn generate-buildinfo && yarn workspaces foreach --exclude @churros/docs --interlaced --topological-dev -Apv run build",
"check": "yarn cp-env && yarn generate-buildinfo --stub && yarn workspaces foreach --exclude @churros/docs --interlaced --topological-dev -Apv run check",
"cp-env": "test -f .env || cp .env.example .env && cp .env packages/api/ && cp .env packages/app/ && cp .env packages/db/",
"pre:dev": "yarn sync-with-example-dotenv && yarn cp-env && docker compose up -d",
"dev:env": "yarn tsx scripts/watch-env.ts",
"dev": "yarn pre:dev && yarn dotenv -- yarn workspaces foreach -Apiv run dev",
"format": "prettier . --write --ignore-unknown",
"lint": "eslint . --cache=true & stylelint '**/*.{css,scss,svelte}' &",
"lintfix": "eslint --fix --cache=true . & stylelint --fix '**/*.{css,scss,svelte}' &",
"migration": "bash -c 'docker compose up -d && yarn prisma migrate dev --name $0 && yarn @api build:typenames'",
"postinstall": "husky install",
"prisma": "yarn workspace @churros/db run prisma",
"reset": "docker compose up -d && NODE_ENV=development yarn prisma migrate reset --force",
"start": "docker compose up -d && yarn workspaces foreach -Apiv run start",
"triage": "xdg-open 'https://git.inpt.fr/churros/churros/-/issues/?sort=created_date&state=opened¬[label_name][]=importance:urgent¬[label_name][]=importance:high¬[label_name][]=importance:medium¬[label_name][]=importance:low¬[label_name][]=importance:rockbottom¬[label_name][]=difficulty:braindead¬[label_name][]=difficulty:easy¬[label_name][]=difficulty:moderate¬[label_name][]=difficulty:hard¬[label_name][]=difficulty:unknown'",
"candidaterelease": "release-it --preRelease=rc",
"generate-buildinfo": "yarn tsx scripts/generate-buildinfo.ts",
"sync-with-example-dotenv": "yarn tsx scripts/sync-with-example-dotenv.ts && yarn cp-env",
"update-versions": "changeset version && yarn install --mode update-lockfile",
"deps": "yarn workspaces foreach --all run npm-upgrade"
},
"volta": {
"node": "20.6.1",
"yarn": "4.5.3"
},
"workspaces": [
"packages/*"
],
"resolutions": {
"@graphql-tools/utils@npm:^10.0.13": "patch:@graphql-tools/utils@npm%3A10.5.4#~/.yarn/patches/@graphql-tools-utils-npm-10.5.4-34df6bb3a5.patch",
"@graphql-tools/utils@npm:^9.2.1": "patch:@graphql-tools/utils@npm%3A10.5.4#~/.yarn/patches/@graphql-tools-utils-npm-10.5.4-34df6bb3a5.patch",
"@graphql-tools/utils@npm:^10.0.0": "patch:@graphql-tools/utils@npm%3A10.5.4#~/.yarn/patches/@graphql-tools-utils-npm-10.5.4-34df6bb3a5.patch",
"@graphql-tools/utils@npm:^10.2.1": "patch:@graphql-tools/utils@npm%3A10.5.4#~/.yarn/patches/@graphql-tools-utils-npm-10.5.4-34df6bb3a5.patch",
"@graphql-tools/utils@npm:^10.2.3": "patch:@graphql-tools/utils@npm%3A10.5.4#~/.yarn/patches/@graphql-tools-utils-npm-10.5.4-34df6bb3a5.patch",
"@graphql-tools/utils@npm:^10.3.2": "patch:@graphql-tools/utils@npm%3A10.5.4#~/.yarn/patches/@graphql-tools-utils-npm-10.5.4-34df6bb3a5.patch"
}
}