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.1 #9345

Merged
merged 142 commits into from
Nov 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
142 commits
Select commit Hold shift + click to select a range
78980e8
Use getTranslation
shironegi39 Sep 20, 2024
1eb5eb4
Use getTranslation
shironegi39 Sep 20, 2024
e3e5185
Use getTranslation
shironegi39 Sep 20, 2024
22bcbab
fix i18n
shironegi39 Sep 26, 2024
77658f0
Bump version
Oct 31, 2024
5c372e9
Merge pull request #9344 from weseek/support/prepare-v7.1.2-RC.0
mergify[bot] Oct 31, 2024
3fc5235
update CHANGELOG.md
yuki-takei Oct 31, 2024
f0e087b
fix version
yuki-takei Oct 31, 2024
e1016ce
tidy up turbo.json for bumping versions
yuki-takei Oct 31, 2024
a588825
Allow custom maximum wait time for cron jobs
miya Nov 1, 2024
d716132
add includeEmpty option in page-listing
reiji-h Nov 1, 2024
ad1466b
Merge branch 'master' into fix/143311-153962-duplicate-page-names-sho…
reiji-h Nov 1, 2024
df0f7d7
Design christmas draft color
satof3 Nov 1, 2024
18640d5
allow button tag
yuki-takei Nov 1, 2024
b505088
allow role attribute
yuki-takei Nov 1, 2024
93bb20d
Refactor recommended-whitelist.ts to exclude restricted class attributes
yuki-takei Nov 1, 2024
c92a4e9
support navs & tabs
yuki-takei Nov 1, 2024
38f9f5b
remove fonts managed by Git LFS
yuki-takei Nov 1, 2024
14b07d7
add font files as normal files
yuki-takei Nov 1, 2024
5c79aba
stop pulling with LFS
yuki-takei Nov 1, 2024
5717b75
Merge pull request #9351 from weseek/support/stop-managing-with-git-lfs
yuki-takei Nov 1, 2024
a07b452
revert if line
yuki-takei Nov 1, 2024
c194383
Merge pull request #9350 from weseek/imprv/reduce-sanitizing
mergify[bot] Nov 1, 2024
04eb4f8
do not depend on pnpm in production builds
yuki-takei Nov 1, 2024
1b6af1a
add console script (alias for repl)
yuki-takei Nov 1, 2024
4833428
Merge branch 'master' into feat/156766-set-the-maximum-number-of-minu…
miya Nov 4, 2024
a187f0f
Merge pull request #9347 from weseek/feat/156766-set-the-maximum-numb…
mergify[bot] Nov 5, 2024
938165c
devide to sandbox-markdown.md
yuki-takei Nov 5, 2024
7a5dd77
add footnote
yuki-takei Nov 5, 2024
09b0bc3
fix the problem that isCreatablePage always returns false
yuki-takei Nov 5, 2024
ddb0874
Merge branch 'master' into imprv/125884-154071-eliminate-req.t()
yuki-takei Nov 5, 2024
fbafa8b
Merge pull request #9355 from weseek/imprv/sandbox
mergify[bot] Nov 5, 2024
338859f
Merge pull request #9356 from weseek/fix/next-link
mergify[bot] Nov 5, 2024
fabb4d2
Merge pull request #9149 from weseek/imprv/125884-154071-eliminate-re…
mergify[bot] Nov 5, 2024
329b76b
Merge branch 'master' into fix/143311-153962-duplicate-page-names-sho…
reiji-h Nov 6, 2024
178b98b
Implement extructPageDataFromMessageEvent()
miya Nov 6, 2024
63c1ef2
clean code
miya Nov 6, 2024
f96df04
clean code
miya Nov 6, 2024
7e9d281
add DEBUG env var
yuki-takei Nov 6, 2024
e9917e0
tidy up reporter
yuki-takei Nov 6, 2024
4804a47
Merge pull request #9363 from weseek/support/improve-playwright-workflow
mergify[bot] Nov 6, 2024
a0d9654
add onWheelClick event handler
yuki-takei Nov 6, 2024
2987554
open page in new tab
yuki-takei Nov 6, 2024
d2883d1
fix workflow to report playwright
yuki-takei Nov 6, 2024
53bc001
Merge branch 'master' into imprv/open-page-tree-item-in-new-tab
yuki-takei Nov 6, 2024
9206dc0
Merge pull request #9365 from weseek/imprv/open-page-tree-item-in-new…
mergify[bot] Nov 6, 2024
a1552bf
Consider light christmas theme
satof3 Nov 6, 2024
945d09c
Implementation of annotationReplacer()
miya Nov 6, 2024
53e9227
Add reference
miya Nov 6, 2024
21da416
i18n
miya Nov 6, 2024
bde7f7e
Use APP_SITE_URL
miya Nov 6, 2024
d5aece5
source -> Source
miya Nov 6, 2024
614719e
Use NextLink
miya Nov 6, 2024
cb45bfc
Add link-primary
miya Nov 6, 2024
6dd15d0
Allows translation in the User's language
miya Nov 6, 2024
797cf15
rm unnec diff
miya Nov 6, 2024
6c630c1
add tooltip for sidebar button
reiji-h Nov 7, 2024
d63b7a6
export and rename primary item props
reiji-h Nov 7, 2024
90e214b
add close stream
reiji-h Nov 7, 2024
0b0935f
Revert "add close stream"
reiji-h Nov 7, 2024
fcf073d
Merge pull request #9348 from weseek/fix/143311-153962-duplicate-page…
yuki-takei Nov 7, 2024
6190871
annotation-replacer -> replaceAnnotationWithPageLink
miya Nov 7, 2024
71b7c51
Change to optional (lang)
miya Nov 7, 2024
d550a77
rm APP_SITE_URL
miya Nov 7, 2024
fe9d49a
Use ReactMarkdwnComponents/NextLink
miya Nov 7, 2024
6e3b9f2
Refactoring of replaceAnnotationWithPageLink()
miya Nov 7, 2024
641bcba
fix translation key
yuki-takei Nov 7, 2024
de473f8
set fallbackLng
yuki-takei Nov 7, 2024
3797566
clean code
yuki-takei Nov 7, 2024
4ff54a2
set user language
yuki-takei Nov 7, 2024
7225caf
Merge pull request #9372 from weseek/fix/i18n-for-admin
mergify[bot] Nov 7, 2024
cd470f6
Merge branch 'master' into support/156547-customtheme-christmas
satof3 Nov 7, 2024
fd75ebb
Improve color variables
satof3 Nov 7, 2024
fab10b6
Merge branch 'master' into feat/156884-retrieve-the-source-of-the-kno…
miya Nov 7, 2024
a35281b
Enable both color mode
satof3 Nov 7, 2024
adc3868
Remove past image
satof3 Nov 7, 2024
8095241
Imprv type
miya Nov 7, 2024
e6337be
Rename field (pageId -> page)
miya Nov 7, 2024
fc1e80d
Icon coloring
satof3 Nov 8, 2024
ccd4ad0
Revert incorrect changes
satof3 Nov 8, 2024
0650ca4
Merge branch 'master' into imprv/149280-156770-display-tooltip-hover-…
reiji-h Nov 8, 2024
8796012
add touchscreen cond for useIsMobile
reiji-h Nov 8, 2024
f6157df
i18n tooltip
reiji-h Nov 8, 2024
aed3852
wrap with div to show multiple paragraphs
yuki-takei Nov 8, 2024
40197fc
update instructions
yuki-takei Nov 8, 2024
3638d21
update instructions when get or create assistant
yuki-takei Nov 8, 2024
429c7d6
Create migration script for VectorStoreFileRelation Model
miya Nov 8, 2024
ae24d03
Refactor of NextLinkWrapper
miya Nov 8, 2024
cbaaa36
Merge pull request #9362 from weseek/feat/156884-retrieve-the-source-…
mergify[bot] Nov 8, 2024
f298dec
support summary mode
yuki-takei Nov 8, 2024
8d32b8e
Add await
miya Nov 8, 2024
7d82a19
internationalization and add tooltip
yuki-takei Nov 8, 2024
12fa122
Merge pull request #9376 from weseek/fix/add-await
yuki-takei Nov 8, 2024
454a6dd
set true for summary mode
yuki-takei Nov 8, 2024
4d0ce7d
Merge remote-tracking branch 'origin/master' into feat/ai-detail-answ…
yuki-takei Nov 8, 2024
dc64941
Merge pull request #9377 from weseek/feat/ai-detail-answer-mode
mergify[bot] Nov 8, 2024
f243bdf
fix type
yuki-takei Nov 8, 2024
ffd406a
fix interpolation
yuki-takei Nov 8, 2024
23f89f9
fix key name
yuki-takei Nov 8, 2024
7064d3e
refactor getTranslation
yuki-takei Nov 8, 2024
8e64759
improve error log
yuki-takei Nov 8, 2024
f62f780
Apply FB
satof3 Nov 11, 2024
84d7222
Merge branch 'master' into support/156547-customtheme-christmas
satof3 Nov 11, 2024
081f8f9
omit remark-toc
yuki-takei Nov 11, 2024
33c68ce
Merge pull request #9383 from weseek/support/omit-remark-toc
mergify[bot] Nov 11, 2024
39c1ca7
Merge pull request #9374 from weseek/support/156547-customtheme-chris…
mergify[bot] Nov 11, 2024
71e30cb
Merge pull request #9371 from weseek/imprv/149280-156770-display-tool…
mergify[bot] Nov 12, 2024
97e0e1c
add hastscript to deps
yuki-takei Nov 12, 2024
9168acb
output TextDirective and LeafDirective as HTML
yuki-takei Nov 12, 2024
b05e680
Merge pull request #9388 from weseek/fix/echo-directive-as-is
mergify[bot] Nov 12, 2024
67ae775
update report-playwright job
yuki-takei Nov 12, 2024
13d80cf
support workflow_dispatch for reusable-app-prod.yml
yuki-takei Nov 12, 2024
ede9fc2
Merge branch 'master' into fix/i18n-for-security-settings
yuki-takei Nov 12, 2024
0cb99af
upgrade i18next packages
yuki-takei Nov 12, 2024
1411a39
fix exports and imports
yuki-takei Nov 12, 2024
e3b2163
clean code
yuki-takei Nov 12, 2024
bb02ad4
clean code
yuki-takei Nov 12, 2024
9ba4033
improve layout
yuki-takei Nov 12, 2024
d021e30
revert supported lang detection
yuki-takei Nov 12, 2024
e5052ad
improve condition for report-playwright job
yuki-takei Nov 12, 2024
7e5f5b6
Merge branch 'master' into fix/i18n-for-security-settings
yuki-takei Nov 12, 2024
7ef9a2a
revert supported lang detection
yuki-takei Nov 12, 2024
032d349
Merge pull request #9379 from weseek/fix/i18n-for-security-settings
mergify[bot] Nov 12, 2024
d0f1f73
extract directive label
yuki-takei Nov 12, 2024
82887cb
WIP: add test
yuki-takei Nov 12, 2024
b5df1ed
add example to sandbox-markdown.md
yuki-takei Nov 12, 2024
f43a4f1
impl test
yuki-takei Nov 12, 2024
72f6672
update sandbox-markdown.md
yuki-takei Nov 12, 2024
a8c46c3
update sandbox-markdown.md
yuki-takei Nov 12, 2024
203fde1
add vue-tsc
yuki-takei Nov 12, 2024
ac9b09a
check type with vue-tsc
yuki-takei Nov 12, 2024
9b08ef9
fix type error
yuki-takei Nov 12, 2024
2d91694
fix type error with uuid
yuki-takei Nov 12, 2024
a86d376
update TypeScript settings in .vscode/settings.json
yuki-takei Nov 12, 2024
f0292fa
build for production with tspc
yuki-takei Nov 12, 2024
29474b0
Merge pull request #9393 from weseek/support/typechecking
mergify[bot] Nov 12, 2024
36b22b7
Merge remote-tracking branch 'origin/master' into imprv/callout-custo…
yuki-takei Nov 12, 2024
6ac22ec
fix type error
yuki-takei Nov 12, 2024
b455604
Merge pull request #9392 from weseek/imprv/callout-custom-label
mergify[bot] Nov 12, 2024
2226879
BugFix for callout
yuki-takei Nov 12, 2024
a3466bf
BugFix for callout label
yuki-takei Nov 12, 2024
0a47fcd
fix callout test
yuki-takei Nov 12, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .devcontainer/postCreateCommand.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ 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

Expand Down
2 changes: 0 additions & 2 deletions .gitattributes

This file was deleted.

63 changes: 59 additions & 4 deletions .github/workflows/reusable-app-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,18 @@ on:
secrets:
SLACK_WEBHOOK_URL:
required: true
workflow_dispatch:
inputs:
node-version:
required: true
type: string
default: 20.x
skip-e2e-test:
type: boolean
default: false
secrets:
SLACK_WEBHOOK_URL:
required: true

jobs:

Expand All @@ -23,10 +35,6 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Install Git LFS
run: |
git lfs install

- uses: pnpm/action-setup@v4

- uses: actions/setup-node@v4
Expand Down Expand Up @@ -165,6 +173,10 @@ jobs:
run-playwright:
needs: [build-prod]

if: |
github.event_name == 'workflow_dispatch' ||
(!inputs.skip-e2e-test && startsWith(github.head_ref, 'mergify/merge-queue/'))

runs-on: ubuntu-latest
container:
# Match the Playwright version
Expand Down Expand Up @@ -227,6 +239,7 @@ jobs:
run: |
pnpm playwright test --project=chromium/installer
env:
DEBUG: pw:api
HOME: /root # ref: https://github.com/microsoft/playwright/issues/6500
MONGO_URI: mongodb://mongodb:27017/growi-playwright-installer
ELASTICSEARCH_URI: http://localhost:${{ job.services.elasticsearch.ports['9200'] }}/growi
Expand All @@ -241,6 +254,7 @@ jobs:
run: |
pnpm playwright test --project=${{ matrix.browser }} --shard=${{ matrix.shard }}
env:
DEBUG: pw:api
HOME: /root # ref: https://github.com/microsoft/playwright/issues/6500
MONGO_URI: mongodb://mongodb:27017/growi-playwright
ELASTICSEARCH_URI: http://localhost:${{ job.services.elasticsearch.ports['9200'] }}/growi
Expand All @@ -255,10 +269,19 @@ jobs:
run: |
pnpm playwright test --project=${{ matrix.browser }}/guest-mode --shard=${{ matrix.shard }}
env:
DEBUG: pw:api
HOME: /root # ref: https://github.com/microsoft/playwright/issues/6500
MONGO_URI: mongodb://mongodb:27017/growi-playwright-guest-mode
ELASTICSEARCH_URI: http://localhost:${{ job.services.elasticsearch.ports['9200'] }}/growi

- name: Upload test results
if: always()
uses: actions/upload-artifact@v4
with:
name: blob-report-${{ matrix.shard }}
path: blob-report
retention-days: 30

- name: Slack Notification
uses: weseek/ghaction-slack-notification@master
if: failure()
Expand All @@ -268,3 +291,35 @@ jobs:
channel: '#ci'
isCompactMode: true
url: ${{ secrets.SLACK_WEBHOOK_URL }}


report-playwright:
needs: [run-playwright]

if: always() && needs.run-playwright.result != 'skipped'

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- uses: pnpm/action-setup@v4

- uses: actions/setup-node@v4
with:
node-version: ${{ inputs.node-version }}
cache: 'pnpm'

- name: Install dependencies
run: |
pnpm install --frozen-lockfile

- name: Merge into HTML Report
run: pnpm playwright merge-reports --reporter html ./all-blob-reports

- name: Upload HTML report
uses: actions/upload-artifact@v4
with:
name: html-report
path: playwright-report
retention-days: 30
9 changes: 8 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,12 @@

"githubPullRequests.ignoredPullRequestBranches": [
"master"
]
],

"typescript.tsdk": "node_modules/typescript/lib",
"typescript.enablePromptUseWorkspaceTsdk": true,
"typescript.preferences.autoImportFileExcludePatterns": ["node_modules/*"],
"typescript.validate.enable": true,
"typescript.surveys.enabled": false

}
51 changes: 11 additions & 40 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,76 +6,47 @@

## [v7.1.0](https://github.com/weseek/growi/compare/v7.0.23...v7.1.0) - 2024-10-31

### 💎 Features
### BREAKING CHANGES

* feat: GROWI OpenAI Integration (#9246) @yuki-takei
* imprv: Update default value for S3\_OBJECT\_ACL (#9332) @yuki-takei

### BREAKING CHANGES
### 💎 Features

* feat: Generate vector store inside GROWI (#9217) @miya

* feat: Separate markdown into headings and paragraphs (#9173) @nHigashiWeseek

* imprv: Update default value for S3_OBJECT_ACL (#9332) @yuki-takei

* feat: GROWI OpenAI Integration (#9246) @yuki-takei

### 🚀 Improvement

* support: Evaluate whether env vars are secret or not by the `isSecret` property (#9226) @yuki-takei
* imprv: Update default value for S3_OBJECT_ACL (#9332) @yuki-takei
* imprv: Update Recent Changes when a page is created, updated, or deleted (#9092) @nHigashiWeseek
* imprv: Sandbox (#9330) @yuki-takei
* imprv: Add GitHub Markdown alerts (#9127) @reiji-h
* support: JSDoc for OpenAPI document (#9311) @yuki-takei
* imprv: Documentation URL for g2gtransfer (#9183) @moekumasaka
* imprv: The color of the dropdown list when it is activated (#9102) @WNomunomu
* imprv: PageTitleHeader max-width (#9166) @yuki-takei
* imprv: Documentation URL for g2gtransfer (#9157) @yuki-takei
* imprv: Corrected wording on admin page (/admin/data-transfer) (#9106) @miya
* imprv: Upgrade unified and remark-growi-directive (#9048) @reiji-h
* imprv: ROM users can manage comments (#9101) @WNomunomu
* imprv: Update default value for S3\_OBJECT\_ACL (#9332) @yuki-takei
* imprv: Sandbox (#9330) @yuki-takei
* support: JSDoc for OpenAPI document (#9311) @yuki-takei


### 🐛 Bug Fixes

* fix: Add validators to lsx API (#9182) @WNomunomu
* fix: Couldn't show old revision (#9296) @yuki-takei
* fix: Set an unknown label when the user is not found (#9232) @yuki-takei
* fix: Replace the word ROM (#9295) @satof3
* fix: Display revisions only if they are not corrupted (#9099) @WNomunomu
* fix: forgot-password API (#9257) @reiji-h
* fix: Make it impossible to overwrite grants on descendant pages when 'anyone with the link' is selected. (#9125) @WNomunomu
* fix: Edit button appear for the side of header (#9270) @yuki-takei
* fix: Forgot password API - reject requests with invalid email format (#9179) @abichan99911111
* fix: Ensure text-only paste for mixed content from various sources (#9096) @reiji-h
* fix: Notification count badge (#9124) @shironegi39
* fix: Make PageAccessoriesModal responsive (#9171) @moekumasaka
* fix: PageControls unexpectedly move in response to opening and closing the sidebar (#9094) @WNomunomu
* fix: Make CustomNavTab responsive (#9123) @moekumasaka
* fix(ogp): Set an unknown label when the user is not found (#9232) @yuki-takei

### 🧰 Maintenance

* support: Merge dev/7.1.x into master (#9247) @yuki-takei
* support: Migrate to pnpm from yarn v1 (#9249) @yuki-takei
* support: Omit MongoDB 4.x compatible code (#9334) @yuki-takei
* support: Hide env vars for OpenAI (#9228) @yuki-takei
* support: Pull LFS files with turbo (#9325) @yuki-takei
* support: Evaluate whether env vars are secret or not by the `isSecret` property (#9226) @yuki-takei
* support: Use `pnpm deploy` instead of `turbo prune` (#9323) @yuki-takei
* support: Maintenance API docs generation (#9302) @yuki-takei
* support: Improve typings for PageService (#9220) @yuki-takei
* support: Typescriptize accessTokenParser (#9320) @yuki-takei
* support: Upgrade codemirror and yjs packages (#9218) @yuki-takei
* support: Migrate to pnpm from yarn v1 (#9249) @yuki-takei
* support: Upgrade codemirror and yjs packages (#9215) @yuki-takei
* support: JSDoc for OpenAPI document (#9311) @yuki-takei
* ci(deps): bump rollup from 4.22.0 to 4.22.4 (#9160) @dependabot
* support: Maintenance API docs generation (#9302) @yuki-takei
* ci(deps): bump google-github-actions/setup-gcloud from 1 to 2 (#9153) @dependabot
* support: Omit docs route (#9299) @yuki-takei
* ci(deps): bump softprops/action-gh-release from 1 to 2 (#9152) @dependabot
* support: Improve vitest environment (#9144) @yuki-takei
* ci(deps): bump next from 14.1.3 to 14.2.13 (#9154) @dependabot
* support: Upgrade @testing-library/react (#9141) @yuki-takei
* support: Update logo image in README.md for the official docker image (#9139) @satof3
* ci(deps-dev): bump vite from 5.2.9 to 5.2.14 (#9134) @dependabot

## [v7.0.23](https://github.com/weseek/growi/compare/v7.0.22...v7.0.23) - 2024-10-24

Expand Down
10 changes: 4 additions & 6 deletions apps/app/config/i18next.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const { Lang, AllLang } = require('@growi/core');
const { Lang, AllLang } = require('@growi/core/dist/interfaces');

/** @type {Lang} */
/** @type {import('@growi/core/dist/interfaces').Lang} */
const defaultLang = Lang.en_US;

/** @type {import('i18next').InitOptions} */
Expand All @@ -10,7 +10,5 @@ const initOptions = {
defaultNS: 'translation',
};

module.exports = {
defaultLang,
initOptions,
};
exports.defaultLang = defaultLang;
exports.initOptions = initOptions;
14 changes: 1 addition & 13 deletions apps/app/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@ WORKDIR ${optDir}
# install tools
RUN apt-get update && apt-get install -y ca-certificates wget curl --no-install-recommends

# install git and git-lfs
RUN curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash \
&& apt-get update && apt-get install -y git git-lfs --no-install-recommends \
&& git lfs install

# install pnpm
RUN wget -qO- https://get.pnpm.io/install.sh | ENV="$HOME/.shrc" SHELL="$(which sh)" sh -
ENV PNPM_HOME="/root/.local/share/pnpm"
Expand Down Expand Up @@ -85,13 +80,6 @@ RUN set -eux; \
# verify that the binary works
gosu nobody true

# Add pnpm for 'node' user
RUN apt-get update && apt-get install -y sudo ca-certificates wget --no-install-recommends \
&& wget -qO- https://get.pnpm.io/install.sh | ENV="$HOME/.shrc" SHELL="$(which sh)" sudo -u node sh - \
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false
ENV PNPM_HOME="/home/node/.local/share/pnpm"
ENV PATH="$PNPM_HOME:$PATH"

COPY --from=builder --chown=node:node \
${optDir}/packages.tar.gz ${appDir}/

Expand All @@ -109,4 +97,4 @@ VOLUME /data
EXPOSE 3000

ENTRYPOINT ["/docker-entrypoint.sh"]
CMD ["pnpm run migrate && node -r dotenv-flow/config --expose_gc dist/server/app.js"]
CMD ["npm run migrate && node -r dotenv-flow/config --expose_gc dist/server/app.js"]
5 changes: 0 additions & 5 deletions apps/app/docker/codebuild/buildspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@ env:
phases:
pre_build:
commands:
# install Git LFS
- curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.rpm.sh | bash
- yum install -y git-lfs
# fetch LFS files
- git-lfs pull
# login to docker.io
- echo ${DOCKER_REGISTRY_PASSWORD} | docker login --username wsmoogle --password-stdin
build:
Expand Down
22 changes: 12 additions & 10 deletions apps/app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@growi/app",
"version": "7.1.0",
"version": "7.1.1-RC.0",
"license": "MIT",
"private": "true",
"scripts": {
Expand All @@ -15,7 +15,6 @@
"server:ci": "pnpm run server --ci",
"preserver": "cross-env NODE_ENV=production pnpm run migrate",
"pre:styles": "vite build -c vite.styles-prebuilt.config.ts",
"pre:lfs": "git lfs pull",
"migrate": "node -r dotenv-flow/config node_modules/migrate-mongo/bin/migrate-mongo up -f config/migrate-mongo-config.js",
"//// for development": "",
"dev": "cross-env NODE_ENV=development nodemon --exec pnpm run ts-node --inspect src/server/app.ts",
Expand All @@ -28,7 +27,7 @@
"dev:migrate:down": "pnpm run dev:migrate-mongo down -f config/migrate-mongo-config.js",
"//// for CI": "",
"launch-dev:ci": "cross-env NODE_ENV=development pnpm run dev:migrate && pnpm run ts-node src/server/app.ts --ci",
"lint:typecheck": "npx -y tspc",
"lint:typecheck": "vue-tsc --noEmit",
"lint:eslint": "eslint --quiet \"**/*.{js,jsx,ts,tsx}\"",
"lint:styles": "stylelint \"src/**/*.scss\"",
"lint:swagger2openapi:apiv3": "node node_modules/swagger2openapi/oas-validate tmp/openapi-spec-apiv3.json",
Expand All @@ -43,7 +42,8 @@
"reg:run": "reg-suit run",
"previtest:run:integ": "vitest run -c test-with-vite/download-mongo-binary/vitest.config.ts test-with-vite/download-mongo-binary",
"//// misc": "",
"console": "cross-env NODE_ENV=development pnpm run ts-node --experimental-repl-await src/server/console.js",
"console": "npm run repl",
"repl": "cross-env NODE_ENV=development npm run ts-node src/server/repl.ts",
"swagger2openapi:apiv3": "sh bin/swagger-jsdoc/generate-spec-apiv3.sh",
"swagger2openapi:apiv1": "sh bin/swagger-jsdoc/generate-spec-apiv1.sh",
"ts-node": "node -r ts-node/register/transpile-only -r tsconfig-paths/register -r dotenv-flow/config",
Expand Down Expand Up @@ -126,9 +126,10 @@
"graceful-fs": "^4.1.11",
"hast-util-sanitize": "^5.0.1",
"hast-util-select": "^6.0.2",
"hastscript": "^8.0.0",
"helmet": "^4.6.0",
"http-errors": "^2.0.0",
"i18next": "^23.10.1",
"i18next": "^23.16.5",
"i18next-resources-to-backend": "^1.2.1",
"is-absolute-url": "^4.0.1",
"is-iso-date": "^0.0.1",
Expand Down Expand Up @@ -158,7 +159,7 @@
"mustache": "^4.2.0",
"next": "^14.2.13",
"next-dynamic-loading-props": "^0.1.1",
"next-i18next": "^15.2.0",
"next-i18next": "^15.3.1",
"next-superjson": "^0.0.4",
"next-themes": "^0.2.1",
"nocache": "^4.0.0",
Expand All @@ -184,7 +185,7 @@
"react-disable": "^0.1.1",
"react-dom": "^18.2.0",
"react-error-boundary": "^3.1.4",
"react-i18next": "^14.1.0",
"react-i18next": "^15.1.1",
"react-image-crop": "^8.3.0",
"react-markdown": "^9.0.1",
"react-multiline-clamp": "^2.0.0",
Expand All @@ -208,7 +209,6 @@
"remark-parse": "^11.0.0",
"remark-rehype": "^11.1.1",
"remark-stringify": "^11.0.0",
"remark-toc": "^9.0.0",
"sanitize-filename": "^1.6.3",
"socket.io": "^4.7.5",
"stream-to-promise": "^3.0.0",
Expand All @@ -228,6 +228,7 @@
"unzip-stream": "^0.3.2",
"url-join": "^4.0.0",
"usehooks-ts": "^2.6.0",
"uuid": "^11.0.3",
"validator": "^13.7.0",
"ws": "^8.17.1",
"xss": "^1.0.15",
Expand Down Expand Up @@ -272,6 +273,7 @@
"@types/unist": "^3.0.3",
"@types/unzip-stream": "^0.3.4",
"@types/url-join": "^4.0.2",
"@types/uuid": "^10.0.0",
"babel-loader": "^8.2.5",
"bootstrap": "=5.3.2",
"connect-browser-sync": "^2.1.0",
Expand All @@ -284,8 +286,8 @@
"handsontable": "=6.2.2",
"happy-dom": "^15.7.4",
"i18next-chained-backend": "^4.6.2",
"i18next-hmr": "^3.0.4",
"i18next-http-backend": "^2.5.0",
"i18next-hmr": "^3.1.3",
"i18next-http-backend": "^2.6.2",
"i18next-localstorage-backend": "^4.2.0",
"jest": "^29.5.0",
"jest-date-mock": "^1.0.8",
Expand Down
Loading
Loading