Skip to content

Commit 5782504

Browse files
committed
feat: sync backend
1 parent e3abc45 commit 5782504

4 files changed

Lines changed: 3395 additions & 3772 deletions

File tree

project/aitoearn-web/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ WORKDIR /app
1010

1111
FROM base AS deps
1212

13-
COPY package.json pnpm-lock.yaml ./
13+
COPY package.json pnpm-lock.yaml pnpm-workspace.yaml ./
1414

1515
RUN pnpm install --frozen-lockfile --prod=false
1616

project/aitoearn-web/package.json

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,7 @@
3030
"lint:fix": "eslint ./src --fix",
3131
"format": "prettier --write .",
3232
"format:check": "prettier --check .",
33-
"migrateToLocize": "locize migrate --project-id=01b2e5e8-6243-47d1-b36f-963dbb8bcae3 --api-key=c9805cd1-fd50-4d98-967a-383b39066de8 --path=./app/i18n/locales",
34-
"downloadLocales": "locize download --project-id=01b2e5e8-6243-47d1-b36f-963dbb8bcae3 --ver=latest --clean=true --path=./app/i18n/locales && npm run i18next-resources-for-ts",
35-
"syncLocales": "locize sync --project-id=01b2e5e8-6243-47d1-b36f-963dbb8bcae3 --api-key=bd8cb856-d6b3-4c82-a456-862c729a1674 --ver=latest --path=./app/i18n/locales --dry=true",
36-
"i18next-resources-for-ts": "i18next-resources-for-ts interface -i ./src/app/i18n/locales/zh-CN -o ./@types/resources.d.ts",
37-
"prepare": "husky"
33+
"i18next-resources-for-ts": "i18next-resources-for-ts interface -i ./src/app/i18n/locales/zh-CN -o ./@types/resources.d.ts"
3834
},
3935
"dependencies": {
4036
"@annotorious/react": "^3.8.2",
@@ -177,10 +173,8 @@
177173
"eslint-plugin-react-hooks": "^7.0.1",
178174
"estraverse": "^5.3.0",
179175
"file-loader": "^6.2.0",
180-
"husky": "^9.1.7",
181176
"i18next-resources-for-ts": "1.5.0",
182177
"lint-staged": "^16.2.7",
183-
"locize-cli": "9.0.1",
184178
"postcss": "^8.5.6",
185179
"prettier": "^3.8.1",
186180
"tailwindcss": "^4.1.18",

0 commit comments

Comments
 (0)