diff --git a/package.json b/package.json index 6a377d899b29..bc5d396d6c09 100644 --- a/package.json +++ b/package.json @@ -1,76 +1,76 @@ { - "name": "misskey", - "version": "2024.5.0-beta.0", - "codename": "nasubi", - "repository": { - "type": "git", - "url": "https://github.com/misskey-dev/misskey.git" - }, - "packageManager": "pnpm@9.0.6", - "workspaces": [ - "packages/frontend", - "packages/backend", - "packages/sw", - "packages/misskey-js", - "packages/misskey-reversi", - "packages/misskey-bubble-game" - ], - "private": true, - "scripts": { - "build-pre": "node ./scripts/build-pre.js", - "build-assets": "node ./scripts/build-assets.mjs", - "build": "pnpm build-pre && pnpm -r build && pnpm build-assets", - "build-storybook": "pnpm --filter frontend build-storybook", - "build-misskey-js-with-types": "pnpm build-pre && pnpm --filter backend... --filter=!misskey-js build && pnpm --filter backend generate-api-json && ncp packages/backend/built/api.json packages/misskey-js/generator/api.json && pnpm --filter misskey-js update-autogen-code && pnpm --filter misskey-js build && pnpm --filter misskey-js api", - "start": "pnpm check:connect && cd packages/backend && node ./built/boot/entry.js", - "start:test": "cd packages/backend && cross-env NODE_ENV=test node ./built/boot/entry.js", - "init": "pnpm migrate", - "migrate": "cd packages/backend && pnpm migrate", - "revert": "cd packages/backend && pnpm revert", - "check:connect": "cd packages/backend && pnpm check:connect", - "migrateandstart": "pnpm migrate && pnpm start", - "watch": "pnpm dev", - "dev": "node scripts/dev.mjs", - "lint": "pnpm -r lint", - "cy:open": "pnpm cypress open --browser --e2e --config-file=cypress.config.ts", - "cy:run": "pnpm cypress run", - "e2e": "pnpm start-server-and-test start:test http://localhost:61812 cy:run", - "jest": "cd packages/backend && pnpm jest", - "jest-and-coverage": "cd packages/backend && pnpm jest-and-coverage", - "test": "pnpm -r test", - "test-and-coverage": "pnpm -r test-and-coverage", - "clean": "node ./scripts/clean.js", - "clean-all": "node ./scripts/clean-all.js", - "cleanall": "pnpm clean-all" - }, - "resolutions": { - "chokidar": "3.5.3", - "lodash": "4.17.21" - }, - "dependencies": { - "cssnano": "6.1.2", - "execa": "8.0.1", - "fast-glob": "3.3.2", - "ignore-walk": "6.0.4", - "js-yaml": "4.1.0", - "postcss": "8.4.38", - "tar": "6.2.1", - "terser": "5.30.3", - "typescript": "5.4.5", - "esbuild": "0.20.2", - "glob": "10.3.12" - }, - "devDependencies": { - "@types/node": "20.12.7", - "@typescript-eslint/eslint-plugin": "7.7.1", - "@typescript-eslint/parser": "7.7.1", - "cross-env": "7.0.3", - "cypress": "13.7.3", - "eslint": "8.57.0", - "ncp": "2.0.0", - "start-server-and-test": "2.0.3" - }, - "optionalDependencies": { - "@tensorflow/tfjs-core": "4.4.0" - } + "name": "misskey", + "version": "2024.5.0-beta.1", + "codename": "nasubi", + "repository": { + "type": "git", + "url": "https://github.com/misskey-dev/misskey.git" + }, + "packageManager": "pnpm@9.0.6", + "workspaces": [ + "packages/frontend", + "packages/backend", + "packages/sw", + "packages/misskey-js", + "packages/misskey-reversi", + "packages/misskey-bubble-game" + ], + "private": true, + "scripts": { + "build-pre": "node ./scripts/build-pre.js", + "build-assets": "node ./scripts/build-assets.mjs", + "build": "pnpm build-pre && pnpm -r build && pnpm build-assets", + "build-storybook": "pnpm --filter frontend build-storybook", + "build-misskey-js-with-types": "pnpm build-pre && pnpm --filter backend... --filter=!misskey-js build && pnpm --filter backend generate-api-json && ncp packages/backend/built/api.json packages/misskey-js/generator/api.json && pnpm --filter misskey-js update-autogen-code && pnpm --filter misskey-js build && pnpm --filter misskey-js api", + "start": "pnpm check:connect && cd packages/backend && node ./built/boot/entry.js", + "start:test": "cd packages/backend && cross-env NODE_ENV=test node ./built/boot/entry.js", + "init": "pnpm migrate", + "migrate": "cd packages/backend && pnpm migrate", + "revert": "cd packages/backend && pnpm revert", + "check:connect": "cd packages/backend && pnpm check:connect", + "migrateandstart": "pnpm migrate && pnpm start", + "watch": "pnpm dev", + "dev": "node scripts/dev.mjs", + "lint": "pnpm -r lint", + "cy:open": "pnpm cypress open --browser --e2e --config-file=cypress.config.ts", + "cy:run": "pnpm cypress run", + "e2e": "pnpm start-server-and-test start:test http://localhost:61812 cy:run", + "jest": "cd packages/backend && pnpm jest", + "jest-and-coverage": "cd packages/backend && pnpm jest-and-coverage", + "test": "pnpm -r test", + "test-and-coverage": "pnpm -r test-and-coverage", + "clean": "node ./scripts/clean.js", + "clean-all": "node ./scripts/clean-all.js", + "cleanall": "pnpm clean-all" + }, + "resolutions": { + "chokidar": "3.5.3", + "lodash": "4.17.21" + }, + "dependencies": { + "cssnano": "6.1.2", + "execa": "8.0.1", + "fast-glob": "3.3.2", + "ignore-walk": "6.0.4", + "js-yaml": "4.1.0", + "postcss": "8.4.38", + "tar": "6.2.1", + "terser": "5.30.3", + "typescript": "5.4.5", + "esbuild": "0.20.2", + "glob": "10.3.12" + }, + "devDependencies": { + "@types/node": "20.12.7", + "@typescript-eslint/eslint-plugin": "7.7.1", + "@typescript-eslint/parser": "7.7.1", + "cross-env": "7.0.3", + "cypress": "13.7.3", + "eslint": "8.57.0", + "ncp": "2.0.0", + "start-server-and-test": "2.0.3" + }, + "optionalDependencies": { + "@tensorflow/tfjs-core": "4.4.0" + } } diff --git a/packages/misskey-js/package.json b/packages/misskey-js/package.json index 294c23086b8e..e7766cda12ba 100644 --- a/packages/misskey-js/package.json +++ b/packages/misskey-js/package.json @@ -1,63 +1,63 @@ { - "type": "module", - "name": "misskey-js", - "version": "2024.5.0-beta.0", - "description": "Misskey SDK for JavaScript", - "main": "./built/index.js", - "types": "./built/index.d.ts", - "exports": { - ".": { - "import": "./built/index.js", - "types": "./built/index.d.ts" - }, - "./*": { - "import": "./built/*", - "types": "./built/*" - } - }, - "scripts": { - "build": "node ./build.js", - "watch": "nodemon -w package.json -e json --exec \"node ./build.js --watch\"", - "tsd": "tsd", - "api": "pnpm api-extractor run --local --verbose", - "api-prod": "pnpm api-extractor run --verbose", - "eslint": "eslint . --ext .js,.jsx,.ts,.tsx", - "typecheck": "tsc --noEmit", - "lint": "pnpm typecheck && pnpm eslint", - "jest": "jest --coverage --detectOpenHandles", - "test": "pnpm jest && pnpm tsd", - "update-autogen-code": "pnpm --filter misskey-js-type-generator generate && ncp generator/built/autogen src/autogen" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/misskey-dev/misskey.js.git" - }, - "devDependencies": { - "@microsoft/api-extractor": "7.43.1", - "@misskey-dev/eslint-plugin": "1.0.0", - "@swc/jest": "0.2.36", - "@types/jest": "29.5.12", - "@types/node": "20.12.7", - "@typescript-eslint/eslint-plugin": "7.7.1", - "@typescript-eslint/parser": "7.7.1", - "eslint": "8.57.0", - "jest": "29.7.0", - "jest-fetch-mock": "3.0.3", - "jest-websocket-mock": "2.5.0", - "mock-socket": "9.3.1", - "ncp": "2.0.0", - "nodemon": "3.1.0", - "execa": "8.0.1", - "tsd": "0.30.7", - "typescript": "5.4.5", - "esbuild": "0.19.11", - "glob": "10.3.12" - }, - "files": [ - "built" - ], - "dependencies": { - "eventemitter3": "5.0.1", - "reconnecting-websocket": "4.4.0" - } + "type": "module", + "name": "misskey-js", + "version": "2024.5.0-beta.1", + "description": "Misskey SDK for JavaScript", + "main": "./built/index.js", + "types": "./built/index.d.ts", + "exports": { + ".": { + "import": "./built/index.js", + "types": "./built/index.d.ts" + }, + "./*": { + "import": "./built/*", + "types": "./built/*" + } + }, + "scripts": { + "build": "node ./build.js", + "watch": "nodemon -w package.json -e json --exec \"node ./build.js --watch\"", + "tsd": "tsd", + "api": "pnpm api-extractor run --local --verbose", + "api-prod": "pnpm api-extractor run --verbose", + "eslint": "eslint . --ext .js,.jsx,.ts,.tsx", + "typecheck": "tsc --noEmit", + "lint": "pnpm typecheck && pnpm eslint", + "jest": "jest --coverage --detectOpenHandles", + "test": "pnpm jest && pnpm tsd", + "update-autogen-code": "pnpm --filter misskey-js-type-generator generate && ncp generator/built/autogen src/autogen" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/misskey-dev/misskey.js.git" + }, + "devDependencies": { + "@microsoft/api-extractor": "7.43.1", + "@misskey-dev/eslint-plugin": "1.0.0", + "@swc/jest": "0.2.36", + "@types/jest": "29.5.12", + "@types/node": "20.12.7", + "@typescript-eslint/eslint-plugin": "7.7.1", + "@typescript-eslint/parser": "7.7.1", + "eslint": "8.57.0", + "jest": "29.7.0", + "jest-fetch-mock": "3.0.3", + "jest-websocket-mock": "2.5.0", + "mock-socket": "9.3.1", + "ncp": "2.0.0", + "nodemon": "3.1.0", + "execa": "8.0.1", + "tsd": "0.30.7", + "typescript": "5.4.5", + "esbuild": "0.19.11", + "glob": "10.3.12" + }, + "files": [ + "built" + ], + "dependencies": { + "eventemitter3": "5.0.1", + "reconnecting-websocket": "4.4.0" + } }