Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v7.1.0 #9245

Merged
merged 867 commits into from
Oct 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
867 commits
Select commit Hold shift + click to select a range
f17f587
fix merge mistakes
yuki-takei Oct 18, 2024
0145590
fix types
yuki-takei Oct 18, 2024
cc279f4
Merge pull request #9256 from weseek/feat/155763-automatic-thread-del…
mergify[bot] Oct 18, 2024
784a800
reorganize dependencies
yuki-takei Oct 18, 2024
8f35cc8
Merge branch 'master' into feat/155690-implement-openai-thread-model
miya Oct 21, 2024
72510b9
add remark-directive
reiji-h Oct 21, 2024
b798388
change directive name
reiji-h Oct 21, 2024
ee78c45
use lowercase node name
reiji-h Oct 21, 2024
47723ea
replacement directive plugin
reiji-h Oct 21, 2024
954d5c2
Refactor OpenaiService
miya Oct 21, 2024
d45df1d
Impliment oepnaiApiErrorHandler
miya Oct 21, 2024
886e7da
Use oepnaiApiErrorHandler
miya Oct 21, 2024
8b13820
use directiveGrowiText
reiji-h Oct 21, 2024
b146ffc
Merge pull request #9274 from weseek/dev/7.0.x
mergify[bot] Oct 21, 2024
f92be75
Release v7.0.22
mergify[bot] Oct 21, 2024
b617a73
Bump version
Oct 21, 2024
14fd449
Merge pull request #9286 from weseek/support/prepare-v7.0.23-RC.0
mergify[bot] Oct 21, 2024
80f6c8e
improve inline porps
yuki-takei Oct 21, 2024
cbfd89c
Add comment
miya Oct 21, 2024
9923283
Replace bs color
satof3 Oct 21, 2024
a6e710e
Apply dark theme
satof3 Oct 21, 2024
74cdd33
Merge pull request #9254 from weseek/feat/155690-implement-openai-thr…
yuki-takei Oct 21, 2024
df32f67
Merge pull request #9288 from weseek/fix/inline-code-block-with-growi…
yuki-takei Oct 21, 2024
25efe9d
Add codeBlock.sanitizeOption to the common sanitize option so that Co…
yuki-takei Oct 21, 2024
ee73049
Merge remote-tracking branch 'origin/master' into support/use-pnpm
yuki-takei Oct 21, 2024
6d04c1c
update pnpm-lock.yaml
yuki-takei Oct 21, 2024
e8bd3b3
fix lint errors
yuki-takei Oct 21, 2024
6313ebd
Merge branch 'master' into support/154673-github-alert-bs-color
satof3 Oct 21, 2024
e76a97d
add type packages
yuki-takei Oct 21, 2024
0e85694
rewrite without lodash
yuki-takei Oct 21, 2024
86bc27a
fix type errors
yuki-takei Oct 21, 2024
2dcdbfc
fix type errors
yuki-takei Oct 21, 2024
c602262
fix type errors
yuki-takei Oct 21, 2024
9eae82f
fix type errors
yuki-takei Oct 21, 2024
d7b1300
add katex
yuki-takei Oct 21, 2024
ae1e7a8
add prop-types
yuki-takei Oct 21, 2024
179ba25
fix indent
yuki-takei Oct 21, 2024
587692b
add uid-safe
yuki-takei Oct 21, 2024
5203e1d
omit alias-for-debug
yuki-takei Oct 21, 2024
06b78a1
update pnpm cache settings
yuki-takei Oct 21, 2024
f4e909f
remove `version: 9` to resolve "Multiple versions of pnpm specified"
yuki-takei Oct 21, 2024
c7eae49
change the branch reference for reusable workflows
yuki-takei Oct 21, 2024
f5c6c38
update documents
yuki-takei Oct 21, 2024
11da1ca
update version of check-node-version
yuki-takei Oct 21, 2024
c6b350a
show pnpm version instead of yarn
yuki-takei Oct 21, 2024
6ecdc22
update scripts
yuki-takei Oct 21, 2024
7abf162
improve error handling
miya Oct 22, 2024
2136dec
i18n
miya Oct 22, 2024
6f2631b
i18n for GROWI.cloud users
miya Oct 22, 2024
3d81df7
fix import line for dependency injection
yuki-takei Oct 22, 2024
4721f0d
Update docker-compose.dev.yml networks syntax
yuki-takei Oct 22, 2024
8094bb1
Fix import line for dependency injection
yuki-takei Oct 22, 2024
42fe91d
update workflows
yuki-takei Oct 22, 2024
48af566
remove --frozen-lockfile option to avoid ERR_PNPM_LOCKFILE_MISSING_DE…
yuki-takei Oct 22, 2024
75602d6
add --no-frozen-lockfile option to avoid ERR_PNPM_LOCKFILE_MISSING_DE…
yuki-takei Oct 22, 2024
5c89828
update SystemInfomationTable for pnpm
yuki-takei Oct 22, 2024
31a2690
fix Ts.ED version
yuki-takei Oct 22, 2024
66caac0
clean code
yuki-takei Oct 22, 2024
5316798
convert the authenticated user to POJO in access-token-parser
yuki-takei Oct 22, 2024
3ab4e86
WIP: typescriptize
yuki-takei Oct 22, 2024
09daea7
typescriptize access-token-parser
yuki-takei Oct 22, 2024
eb47497
refactor User model
yuki-takei Oct 22, 2024
616c15f
move modules
yuki-takei Oct 22, 2024
660a711
add test
yuki-takei Oct 22, 2024
982ed99
add test
yuki-takei Oct 22, 2024
77cb0b1
spy serializer
yuki-takei Oct 22, 2024
3d481f9
remove old test
yuki-takei Oct 22, 2024
ab672fd
replace named exported accessTokenParser instance
yuki-takei Oct 22, 2024
394225d
support retrieving accessTokenParser from other package
yuki-takei Oct 22, 2024
8c49522
update nodemon settings
yuki-takei Oct 22, 2024
4f4af39
replace yarn upgrade command with pnpm
yuki-takei Oct 22, 2024
f551ba7
Improve cron job
miya Oct 22, 2024
47f1e75
update version scripts
yuki-takei Oct 22, 2024
61e2780
Merge pull request #9289 from weseek/support/154673-github-alert-bs-c…
yuki-takei Oct 22, 2024
12f08ff
Merge remote-tracking branch 'origin/master' into support/use-pnpm
yuki-takei Oct 22, 2024
cdc14d1
remove yarn.lock
yuki-takei Oct 22, 2024
f1260b0
Merge pull request #9291 from weseek/imprv/155961-thread-deletion-cron
mergify[bot] Oct 22, 2024
e8ca460
update documents
yuki-takei Oct 22, 2024
0a25807
Refactoring of chank processing
miya Oct 22, 2024
0ad72ca
Merge pull request #9290 from weseek/imprv/155273-error-handling-for-…
mergify[bot] Oct 22, 2024
3b0f7cb
update dockerignore
yuki-takei Oct 22, 2024
90c0b6c
update Dockerfile
yuki-takei Oct 22, 2024
2a8da7b
update buildspec.yml
yuki-takei Oct 22, 2024
116bb78
remove cache
yuki-takei Oct 22, 2024
8d3b8b3
exclude cache dir with tar
yuki-takei Oct 23, 2024
05aecae
Replace the word ROM
satof3 Oct 23, 2024
1fc0cff
All errors with delta.event of 'thread.run.failed' are returned to th…
miya Oct 23, 2024
26adb51
Improve display of errors
miya Oct 23, 2024
438aa07
fix i18n
miya Oct 23, 2024
755e9d2
fix returned value
miya Oct 23, 2024
5525e11
mutate currentPage after fetching old revision data
yuki-takei Oct 23, 2024
25cea7a
Merge pull request #9295 from weseek/fix/156134-read-only-user-name
yuki-takei Oct 23, 2024
d7db3a1
Relocate Modules (packages/markdown-splitter -> features/openai)
miya Oct 23, 2024
8edc666
omit docs route
yuki-takei Oct 23, 2024
7fe6a5b
Implement getStreamErrorCode()
miya Oct 23, 2024
08edbae
clean code
miya Oct 23, 2024
e36cd8c
Merge pull request #9299 from weseek/support/omit-docs-route
mergify[bot] Oct 23, 2024
3f3a393
improve getStreamErrorCode()
miya Oct 23, 2024
d27db0e
Merge pull request #9296 from weseek/fix/show-old-revision
mergify[bot] Oct 23, 2024
b3a4068
move revision component schema under models dir
yuki-takei Oct 23, 2024
e8fc6ed
update url
yuki-takei Oct 23, 2024
a6379b4
update scripts
yuki-takei Oct 23, 2024
25af284
fix type
miya Oct 23, 2024
39ebec3
reorganize components schemas
yuki-takei Oct 23, 2024
c403c4e
generate specification with shell script
yuki-takei Oct 23, 2024
46db6b8
reorganize scripts
yuki-takei Oct 23, 2024
148ea07
Change to dynamic import
miya Oct 23, 2024
3a16b98
Merge branch 'dev/7.0.x'
yuki-takei Oct 23, 2024
b6446eb
remove unnecessary file
yuki-takei Oct 23, 2024
e1c29d0
upgrade packages
yuki-takei Oct 23, 2024
da0081e
Merge pull request #9302 from weseek/support/maintenance-api-docs
mergify[bot] Oct 23, 2024
f1a085a
Merge pull request #9294 from weseek/imprv/156111-error-handling-for-…
mergify[bot] Oct 23, 2024
bf96df4
Merge branch 'master' into fix/155877-155879-add-remark-directive
reiji-h Oct 24, 2024
9f9bdc6
update dependencies
reiji-h Oct 24, 2024
82e1305
Merge branch 'master' into feat/154783-create-vector-store-file-for-e…
miya Oct 24, 2024
c88656f
Merge remote-tracking branch 'origin/master' into support/use-pnpm
yuki-takei Oct 24, 2024
c575519
clean code
yuki-takei Oct 24, 2024
8125415
rewrite Dockerfile
yuki-takei Oct 24, 2024
944f39a
make it lightweight
yuki-takei Oct 24, 2024
309eb1c
remove wrong rm command
yuki-takei Oct 24, 2024
c45c609
compress artifacts
yuki-takei Oct 24, 2024
f2e55aa
install pnpm for node user
yuki-takei Oct 24, 2024
bb8be54
fix dependencies
yuki-takei Oct 24, 2024
e141fab
use pnpm deploy instead of turbo prune
yuki-takei Oct 24, 2024
ccfec82
fix dependencies
yuki-takei Oct 24, 2024
7fe9ad0
use pnpm deploy instead of turbo prune
yuki-takei Oct 24, 2024
ffcb885
Merge branch 'dev/7.0.x'
yuki-takei Oct 24, 2024
5886462
exclude apiv3 directory
yuki-takei Oct 24, 2024
401d168
fix openapi endpoint
yuki-takei Oct 24, 2024
51f4ac2
fix generate-spec-apiv1.sh
yuki-takei Oct 24, 2024
dcac87f
move remark-directive into dependencies
yuki-takei Oct 24, 2024
b53e6aa
update tags for swagger-jsdoc
yuki-takei Oct 24, 2024
89ac4b9
Merge pull request #9284 from weseek/fix/155877-155879-add-remark-dir…
mergify[bot] Oct 24, 2024
26c1ff5
reorganize tags
yuki-takei Oct 24, 2024
25917c4
fix eslint error
yuki-takei Oct 24, 2024
2d70d86
Merge pull request #9311 from weseek/imprv/jsdoc-for-openapi
yuki-takei Oct 24, 2024
75bc0de
Merge remote-tracking branch 'origin/master' into support/use-pnpm
yuki-takei Oct 24, 2024
246e0bd
add chown command to postCreateCommand.sh
yuki-takei Oct 24, 2024
9ee6c17
pnpm dedupe
yuki-takei Oct 24, 2024
c00ee63
upgrade mongodb
yuki-takei Oct 25, 2024
bea5a8b
revert the referenced branch for reusable workflow
yuki-takei Oct 25, 2024
7be9abd
remove volumes
yuki-takei Oct 25, 2024
1ded393
Merge pull request #9249 from weseek/support/use-pnpm
yuki-takei Oct 25, 2024
fd14bf7
update launch.json
yuki-takei Oct 25, 2024
a5e844e
remove remark-emoji
reiji-h Oct 25, 2024
58a6eb4
use emoji-mart for remark-emoji
reiji-h Oct 25, 2024
8f23380
delete emoji-mart/data version
reiji-h Oct 25, 2024
69b0873
Merge branch 'master' into feat/154783-create-vector-store-file-for-e…
miya Oct 25, 2024
e366115
revert
miya Oct 25, 2024
a811dc5
rm unnec package
miya Oct 25, 2024
b5bb9f8
Update dependencies
miya Oct 25, 2024
2c66291
Install dependencies
miya Oct 25, 2024
840057b
pencil to pencil2
reiji-h Oct 25, 2024
0befca5
add @cspell/dynamic-import
yuki-takei Oct 25, 2024
9056e66
impot ESM dynamically
yuki-takei Oct 25, 2024
15e7584
Execute fileUpload using splitMarkdownIntoChunks()
miya Oct 25, 2024
1ec3e52
ignore TS1343
miya Oct 26, 2024
f3b363c
Convert to CommonJS syntax
miya Oct 26, 2024
5e294a6
Revert "ignore TS1343"
miya Oct 26, 2024
161aa5f
Convert to CommonJS syntax (2)
miya Oct 26, 2024
d7a2667
Add trycatch
miya Oct 27, 2024
9cbbe10
Impl
miya Oct 27, 2024
a2964a1
imprv comment
miya Oct 27, 2024
9ce6f2f
Change default value of isAttachedToVectorStore to false
miya Oct 27, 2024
ab4d155
Merge pull request #9297 from weseek/feat/154783-create-vector-store-…
mergify[bot] Oct 27, 2024
3ca7d34
Merge branch 'master' into feat/156430-make-it-clear-whether-the-uplo…
miya Oct 27, 2024
bd7d6db
Merge branch 'master' into support/typescriptize-access-token-parser
yuki-takei Oct 28, 2024
304c593
Refactor mongoose connection to use async/await
yuki-takei Oct 28, 2024
fd398e4
Merge pull request #9320 from weseek/support/typescriptize-access-tok…
mergify[bot] Oct 28, 2024
8be16a1
Merge pull request #9318 from weseek/feat/156430-make-it-clear-whethe…
mergify[bot] Oct 28, 2024
4196589
fix Bundle Analyzing Report
yuki-takei Oct 28, 2024
011786d
Merge branch 'master' into fix/156012-156299-use-all-emoji
yuki-takei Oct 28, 2024
f5c10fc
rewrite reusable-app-prod.yml
yuki-takei Oct 28, 2024
455636f
rewrite ci-slackbot-proxy.yml
yuki-takei Oct 28, 2024
4b90a45
refer support/use-pnpm-deploy-instead-of-turbo-prune
yuki-takei Oct 28, 2024
4a1c8fe
fix job
yuki-takei Oct 28, 2024
874f507
Merge pull request #9317 from weseek/fix/156012-156299-use-all-emoji
mergify[bot] Oct 28, 2024
c921fb9
fix job
yuki-takei Oct 28, 2024
be6f648
fix job
yuki-takei Oct 28, 2024
6a16dfa
remove pruned directory before pnpm deploy
yuki-takei Oct 28, 2024
7bfb1ac
clean code
yuki-takei Oct 28, 2024
7ca7fd2
pull lfs files with turbo
yuki-takei Oct 28, 2024
c5d6bfe
stop pulling in actions/checkout
yuki-takei Oct 28, 2024
d6af789
add debug step
yuki-takei Oct 28, 2024
3f56582
Implement cron job template
miya Oct 28, 2024
2df6e42
Add deleteVectorStore() to deletegetor service
miya Oct 28, 2024
d2b9724
Add vectorStoreRelationId field
miya Oct 28, 2024
b69af66
Add isDeleted field
miya Oct 28, 2024
8d279e3
vectorStoreId -> vectorStoreRelationId
miya Oct 28, 2024
0385cd0
remove step for debug
yuki-takei Oct 28, 2024
95c3f6f
Modification due to schema change
miya Oct 28, 2024
72f8577
reorganize dependencies
yuki-takei Oct 28, 2024
d073193
Removed unique constraint on pageId
miya Oct 28, 2024
d393203
add tslib
yuki-takei Oct 28, 2024
a010608
add --frozen-lockfile option
yuki-takei Oct 28, 2024
9dd0f41
Imprv deleteVectorStoreFile()
miya Oct 28, 2024
94c1507
Impl deleteVectorStore()
miya Oct 28, 2024
48f884f
revert reference branch for reusable workflow
yuki-takei Oct 28, 2024
82be5a5
WIP: deleteObsoleteVectorStoreFile
miya Oct 28, 2024
fb98a3c
Merge pull request #9323 from weseek/support/use-pnpm-deploy-instead-…
mergify[bot] Oct 28, 2024
606cb0c
Pass vectorStoreId from outside
miya Oct 28, 2024
4f0d1f7
Impl deleteObsoleteVectorStoreFile()
miya Oct 28, 2024
6c10904
Merge pull request #9325 from weseek/support/pull-lfs-files-when-only…
yuki-takei Oct 28, 2024
e1eaf1c
test
yuki-takei Oct 28, 2024
8517c52
test
yuki-takei Oct 28, 2024
86f8635
fix run-playwright
yuki-takei Oct 28, 2024
d4b29dc
If the VectorStore entity does not exist, the delete flag is set to true
miya Oct 28, 2024
a38c300
Add await
miya Oct 28, 2024
cdfb9d9
simplify artifacts
yuki-takei Oct 28, 2024
7461036
If the VectorStore entity does not exist, the delete flag is set to t…
miya Oct 28, 2024
02591e8
imprv deleteObsoleteVectorStoreFile()
miya Oct 28, 2024
41a418e
fix typo (scorpe -> scope)
miya Oct 28, 2024
aaf9162
Improve error handling
miya Oct 28, 2024
dce0b91
revert ci-app-@prod.yml
yuki-takei Oct 28, 2024
fae7bdf
Merge pull request #9329 from weseek/support/playwright-test
yuki-takei Oct 28, 2024
7712580
Impl deleteDeletedVectorStoresWithoutVectorStoreFileRelations()
miya Oct 29, 2024
eb817ac
clean code
miya Oct 29, 2024
d6ed29c
clean code
miya Oct 29, 2024
b1f2373
Impl markAsDeleted()
miya Oct 29, 2024
0682370
Merge branch 'master' into feat/156485-deletion-of-existing-vector-st…
miya Oct 29, 2024
4458337
fix loginForm getter
yuki-takei Oct 29, 2024
8414d94
update instructions
yuki-takei Oct 29, 2024
51d4e94
Add OPENAI_ prefix
miya Oct 29, 2024
916759a
Change to compound unique index
miya Oct 29, 2024
4f28a39
update sandbox.md
yuki-takei Oct 29, 2024
e362822
update sandbox.md
yuki-takei Oct 29, 2024
78ae44c
tidy up sandbox
yuki-takei Oct 29, 2024
ec6b659
Merge pull request #9330 from weseek/imprv/sandbox
mergify[bot] Oct 29, 2024
8dbbdcb
Update default value for S3_OBJECT_ACL
yuki-takei Oct 29, 2024
244ce27
Merge pull request #9332 from weseek/improve/change-default-value-for…
mergify[bot] Oct 29, 2024
66ff3b3
update comment
yuki-takei Oct 29, 2024
b2d5e03
Refactor for deleteObsolatedVectorStoreRelations()
miya Oct 30, 2024
9d89615
clean code
miya Oct 30, 2024
f533d89
Strip deleteObsolatedVectorStoreRelations from dependencies
miya Oct 30, 2024
3a302f4
omit MongoDB 4.4 compatible code
yuki-takei Oct 30, 2024
8f0a57b
update README.md
yuki-takei Oct 30, 2024
26f4529
Merge pull request #9334 from weseek/support/omit-mongodb-4.4-compati…
mergify[bot] Oct 30, 2024
f4ade86
Update turbo.json dependencies
yuki-takei Oct 30, 2024
6c3b7a2
turn off
miya Oct 30, 2024
d1a9802
Add todo
miya Oct 30, 2024
24f9ac1
install git and git-lfs
yuki-takei Oct 31, 2024
5d75d66
update syntax
yuki-takei Oct 31, 2024
c22fa3a
Update comment
miya Oct 31, 2024
b8a5dce
Merge pull request #9326 from weseek/feat/156485-deletion-of-existing…
mergify[bot] Oct 31, 2024
59d4b89
Merge branch 'master' into support/turn-off-markdown-splitter
miya Oct 31, 2024
09342a8
Merge pull request #9336 from weseek/support/turn-off-markdown-splitter
mergify[bot] Oct 31, 2024
23c062d
Impl
miya Oct 31, 2024
535577d
Merge pull request #9341 from weseek/feat/156753-execute-cron-jobs-at…
mergify[bot] Oct 31, 2024
64847e0
update documents
yuki-takei Oct 31, 2024
650eec2
update docs
yuki-takei Oct 31, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
7 changes: 5 additions & 2 deletions .changeset/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,11 @@
"@growi/custom-icons",
"@growi/editor",
"@growi/presentation",
"@growi/preset-*",
"@growi/remark-*",
"@growi/preset-templates",
"@growi/preset-themes",
"@growi/remark-attachment-refs",
"@growi/remark-drawio",
"@growi/remark-lsx",
"@growi/slack",
"@growi/ui"
]
Expand Down
59 changes: 0 additions & 59 deletions .devcontainer/Dockerfile

This file was deleted.

25 changes: 3 additions & 22 deletions .devcontainer/docker-compose.yml → .devcontainer/compose.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,12 @@
#-------------------------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See https://go.microsoft.com/fwlink/?linkid=2090316 for license information.
#-------------------------------------------------------------------------------------------------------------

version: '3'
services:
node:
# Uncomment the next line to use a non-root user for all processes. You can also
# simply use the "remoteUser" property in devcontainer.json if you just want VS Code
# and its sub-processes (terminals, tasks, debugging) to execute as the user. On Linux,
# you may need to update USER_UID and USER_GID in .devcontainer/Dockerfile to match your
# user if not 1000. See https://aka.ms/vscode-remote/containers/non-root for details.
user: node

build:
context: .
dockerfile: Dockerfile

image: mcr.microsoft.com/devcontainers/base:ubuntu
volumes:
- ..:/workspace/growi:delegated
- pnpm-store:/workspace/growi/.pnpm-store
- node_modules:/workspace/growi/node_modules
- node_modules_app:/workspace/growi/apps/app/node_modules
- node_modules_slackbot-proxy:/workspace/growi/apps/slackbot-proxy/node_modules
- buildcache_app:/workspace/growi/apps/app/.next
- ../../growi-docker-compose:/workspace/growi-docker-compose:delegated

tty: true

mongo:
Expand Down Expand Up @@ -59,7 +41,6 @@ services:
- ../../growi-docker-compose/elasticsearch/v8/config/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml

volumes:
pnpm-store:
node_modules:
node_modules_app:
node_modules_slackbot-proxy:
buildcache_app:
67 changes: 34 additions & 33 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,44 +1,45 @@
// For format details, see https://aka.ms/vscode-remote/devcontainer.json or this file's README at:
// https://github.com/microsoft/vscode-dev-containers/tree/v0.117.1/containers/javascript-node-12-mongo
// If you want to run as a non-root user in the container, see .devcontainer/docker-compose.yml.
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/ubuntu
{
"name": "GROWI-Dev",
"dockerComposeFile": "docker-compose.yml",
"dockerComposeFile": "compose.yml",
"service": "node",
"workspaceFolder": "/workspace/growi",

// Set *default* container specific settings.json values on container create.
"settings": {
"terminal.integrated.defaultProfile.linux": "bash"
"features": {
"ghcr.io/devcontainers/features/node:1": {
"version": "20.18.0"
}
},

// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"dbaeumer.vscode-eslint",
"mhutchie.git-graph",
"eamodio.gitlens",
"github.vscode-pull-request-github",
"cschleiden.vscode-github-actions",
"cweijan.vscode-database-client2",
"mongodb.mongodb-vscode",
"msjsdiag.debugger-for-chrome",
"firefox-devtools.vscode-firefox-debug",
"editorconfig.editorconfig",
"shinnn.stylelint",
"stylelint.vscode-stylelint",
"vitest.explorer",
"ms-playwright.playwright"
],

// Uncomment the next line if you want start specific services in your Docker Compose config.
// "runServices": [],

// Uncomment the line below if you want to keep your containers running after VS Code shuts down.
// "shutdownAction": "none",
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],

// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "git-lfs pull & turbo run bootstrap",
"postCreateCommand": "/bin/bash ./.devcontainer/postCreateCommand.sh",

// Configure tool-specific properties.
"customizations": {
"vscode": {
"extensions": [
"dbaeumer.vscode-eslint",
"mhutchie.git-graph",
"eamodio.gitlens",
"github.vscode-pull-request-github",
"cschleiden.vscode-github-actions",
"cweijan.vscode-database-client2",
"mongodb.mongodb-vscode",
"msjsdiag.debugger-for-chrome",
"firefox-devtools.vscode-firefox-debug",
"editorconfig.editorconfig",
"shinnn.stylelint",
"stylelint.vscode-stylelint",
"vitest.explorer",
"ms-playwright.playwright"
],
}
},

// Uncomment to connect as a non-root user. See https://aka.ms/vscode-remote/containers/non-root.
"remoteUser": "node"
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
}
18 changes: 18 additions & 0 deletions .devcontainer/postCreateCommand.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
sudo chown -R vscode:vscode /workspace;

# Instal additional packages
sudo apt update
sudo apt-get install -y --no-install-recommends \
git-lfs \
iputils-ping net-tools dnsutils
sudo apt-get clean -y

# Setup pnpm
SHELL=bash pnpm setup
eval "$(cat /home/vscode/.bashrc)"

# Install turbo
pnpm install turbo --global

# Install dependencies
turbo run bootstrap
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ updates:
- dependency-name: handsontable
- dependency-name: typeorm
- dependency-name: mysql2

- dependency-name: "@codemirror/*"

5 changes: 2 additions & 3 deletions .github/workflows/ci-app-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,14 @@ on:
branches:
- master
- dev/7.*.x
- dev/6.*.x
paths:
- .github/mergify.yml
- .github/workflows/ci-app-prod.yml
- .github/workflows/reusable-app-prod.yml
- .github/workflows/reusable-app-reg-suit.yml
- tsconfig.base.json
- turbo.json
- yarn.lock
- pnpm-lock.yaml
- package.json
- apps/app/**
- '!apps/app/docker/**'
Expand All @@ -26,7 +25,7 @@ on:
- .github/workflows/reusable-app-prod.yml
- .github/workflows/reusable-app-reg-suit.yml
- tsconfig.base.json
- yarn.lock
- pnpm-lock.yaml
- turbo.json
- package.json
- apps/app/**
Expand Down
63 changes: 16 additions & 47 deletions .github/workflows/ci-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
- .eslint*
- tsconfig.base.json
- turbo.json
- yarn.lock
- pnpm-lock.yaml
- package.json
- apps/app/**
- '!apps/app/docker/**'
Expand All @@ -34,21 +34,12 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: pnpm/action-setup@v4

- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
cache-dependency-path: '**/yarn.lock'

- name: Cache/Restore node_modules
uses: actions/cache@v4
with:
path: |
**/node_modules
!**/node_modules/.cache/turbo
key: node_modules-app-devdependencies-${{ runner.OS }}-node${{ matrix.node-version }}-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
node_modules-app-devdependencies-${{ runner.OS }}-node${{ matrix.node-version }}-
cache: 'pnpm'

- name: Cache/Restore dist
uses: actions/cache@v4
Expand All @@ -63,9 +54,8 @@ jobs:

- name: Install dependencies
run: |
yarn global add turbo
yarn global add node-gyp
yarn --frozen-lockfile
pnpm add turbo --global
pnpm install --frozen-lockfile

- name: Lint
run: |
Expand Down Expand Up @@ -98,21 +88,12 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: pnpm/action-setup@v4

- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
cache-dependency-path: '**/yarn.lock'

- name: Cache/Restore node_modules
uses: actions/cache@v4
with:
path: |
**/node_modules
!**/node_modules/.cache/turbo
key: node_modules-app-devdependencies-${{ runner.OS }}-node${{ matrix.node-version }}-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
node_modules-app-devdependencies-${{ runner.OS }}-node${{ matrix.node-version }}-
cache: 'pnpm'

- name: Cache/Restore dist
uses: actions/cache@v4
Expand All @@ -127,9 +108,8 @@ jobs:

- name: Install dependencies
run: |
yarn global add turbo
yarn global add node-gyp
yarn --frozen-lockfile
pnpm add turbo --global
pnpm install --frozen-lockfile

- name: Test
run: |
Expand Down Expand Up @@ -172,22 +152,12 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: pnpm/action-setup@v4

- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
cache-dependency-path: '**/yarn.lock'

- name: Cache/Restore node_modules
uses: actions/cache@v4
with:
path: |
**/node_modules
!**/node_modules/.cache/turbo
key: node_modules-app-devdependencies-${{ runner.OS }}-node${{ matrix.node-version }}-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
node_modules-app-devdependencies-${{ runner.OS }}-node${{ matrix.node-version }}-
node_modules-app-devdependencies-${{ runner.OS }}-node${{ matrix.node-version }}-
cache: 'pnpm'

- name: Cache/Restore dist
uses: actions/cache@v4
Expand All @@ -202,9 +172,8 @@ jobs:

- name: Install dependencies
run: |
yarn global add turbo
yarn global add node-gyp
yarn --frozen-lockfile
pnpm add turbo --global
pnpm install --frozen-lockfile

- name: turbo run launch-dev:ci
working-directory: ./apps/app
Expand Down
Loading
Loading