Merge branch 'develop' into mahjong

This commit is contained in:
syuilo 2024-01-27 12:03:08 +09:00
commit 0f2991cbaf
4 changed files with 14 additions and 6 deletions

View file

@ -2,6 +2,7 @@
"type": "module", "type": "module",
"name": "misskey-bubble-game", "name": "misskey-bubble-game",
"version": "0.0.1", "version": "0.0.1",
"types": "./built/dts/index.d.ts",
"exports": { "exports": {
".": { ".": {
"import": "./built/esm/index.js", "import": "./built/esm/index.js",
@ -15,7 +16,7 @@
"scripts": { "scripts": {
"build": "node ./build.js", "build": "node ./build.js",
"build:tsc": "npm run tsc", "build:tsc": "npm run tsc",
"tsc": "npm run ts-esm && npm run ts-dts", "tsc": "npm run tsc-esm && npm run tsc-dts",
"tsc-esm": "tsc --outDir built/esm", "tsc-esm": "tsc --outDir built/esm",
"tsc-dts": "tsc --outDir built/dts --declaration true --emitDeclarationOnly true --declarationMap true", "tsc-dts": "tsc --outDir built/dts --declaration true --emitDeclarationOnly true --declarationMap true",
"watch": "nodemon -w src -e ts,js,cjs,mjs,json --exec \"pnpm run build:tsc\"", "watch": "nodemon -w src -e ts,js,cjs,mjs,json --exec \"pnpm run build:tsc\"",

View file

@ -1,7 +1,7 @@
{ {
"type": "module", "type": "module",
"name": "misskey-js", "name": "misskey-js",
"version": "2024.2.0-beta.3", "version": "2024.2.0-beta.7",
"description": "Misskey SDK for JavaScript", "description": "Misskey SDK for JavaScript",
"types": "./built/dts/index.d.ts", "types": "./built/dts/index.d.ts",
"exports": { "exports": {
@ -19,7 +19,7 @@
"ts": "npm run ts-esm && npm run ts-dts", "ts": "npm run ts-esm && npm run ts-dts",
"ts-esm": "tsc --outDir built/esm", "ts-esm": "tsc --outDir built/esm",
"ts-dts": "tsc --outDir built/dts --declaration true --emitDeclarationOnly true --declarationMap true", "ts-dts": "tsc --outDir built/dts --declaration true --emitDeclarationOnly true --declarationMap true",
"watch": "nodemon -w src -e ts,js,cjs,mjs,json --exec \"pnpm run build\"", "watch": "nodemon -w src -e ts,js,cjs,mjs,json --exec \"pnpm run ts\"",
"tsd": "tsd", "tsd": "tsd",
"api": "pnpm api-extractor run --local --verbose", "api": "pnpm api-extractor run --local --verbose",
"api-prod": "pnpm api-extractor run --verbose", "api-prod": "pnpm api-extractor run --verbose",

View file

@ -2,6 +2,7 @@
"type": "module", "type": "module",
"name": "misskey-reversi", "name": "misskey-reversi",
"version": "0.0.1", "version": "0.0.1",
"types": "./built/dts/index.d.ts",
"exports": { "exports": {
".": { ".": {
"import": "./built/esm/index.js", "import": "./built/esm/index.js",

View file

@ -28,19 +28,19 @@ await execa('pnpm', ['build-assets'], {
stderr: process.stderr, stderr: process.stderr,
}); });
await execa('pnpm', ['--filter', 'misskey-js', 'build'], { await execa('pnpm', ['--filter', 'misskey-js', 'ts'], {
cwd: _dirname + '/../', cwd: _dirname + '/../',
stdout: process.stdout, stdout: process.stdout,
stderr: process.stderr, stderr: process.stderr,
}); });
await execa('pnpm', ['--filter', 'misskey-reversi', 'build'], { await execa('pnpm', ['--filter', 'misskey-reversi', 'build:tsc'], {
cwd: _dirname + '/../', cwd: _dirname + '/../',
stdout: process.stdout, stdout: process.stdout,
stderr: process.stderr, stderr: process.stderr,
}); });
await execa('pnpm', ['--filter', 'misskey-bubble-game', 'build'], { await execa('pnpm', ['--filter', 'misskey-bubble-game', 'build:tsc'], {
cwd: _dirname + '/../', cwd: _dirname + '/../',
stdout: process.stdout, stdout: process.stdout,
stderr: process.stderr, stderr: process.stderr,
@ -82,6 +82,12 @@ execa('pnpm', ['--filter', 'sw', 'watch'], {
stderr: process.stderr, stderr: process.stderr,
}); });
execa('pnpm', ['--filter', 'misskey-js', 'watch'], {
cwd: _dirname + '/../',
stdout: process.stdout,
stderr: process.stderr,
});
execa('pnpm', ['--filter', 'misskey-reversi', 'watch'], { execa('pnpm', ['--filter', 'misskey-reversi', 'watch'], {
cwd: _dirname + '/../', cwd: _dirname + '/../',
stdout: process.stdout, stdout: process.stdout,