Merge branch 'node-migration' of https://github.com/discordeno/discordeno into node-migration

This commit is contained in:
Skillz
2022-12-04 10:36:35 -06:00
16 changed files with 52 additions and 40 deletions

View File

@@ -5,7 +5,7 @@
"type": "module",
"scripts": {
"devbg": "npx prisma generate && tsc --watch",
"fmt": "prettier -w ./src",
"fmt": "eslint --fix \"src/**/*.ts*\"",
"devg": "nodemon --ignore ./src/bot/**/* --ignore ./src/rest/**/* --ignore ./dist/**/* -e ts dist/gateway/index.js",
"devr": "nodemon --ignore ./src/bot/**/* --ignore ./src/gateway/**/* --ignore ./dist/**/* -e ts dist/rest/index.js",
"devb": "nodemon --ignore ./src/rest/**/* --ignore ./src/gateway/**/* --ignore ./dist/**/* -e ts dist/bot/index.js",
@@ -48,4 +48,4 @@
"semi": true,
"printWidth": 120
}
}
}

View File

@@ -13,18 +13,20 @@
"build": "swc src --out-dir dist",
"build:type": "tsc --declaration --emitDeclarationOnly --declarationDir dist",
"release-build": "yarn build && yarn build:type",
"fmt": "prettier -w ./src",
"fmt": "eslint --fix \"src/**/*.ts*\"",
"lint": "eslint \"src/**/*.ts*\"",
"test:unit": "c8 mocha --no-warnings 'tests/**/*.spec.ts'",
"test:unit:watch": "mocha --no-warnings --watch --parallel 'tests/**/*.spec.ts'",
"test:type": "tsc --noEmit",
"test:test-type": "tsc --project tsconfig.test.json"
},
"devDependencies": {
"dependencies": {
"@discordeno/gateway": "18.0.0-alpha.1",
"@discordeno/rest": "18.0.0-alpha.1",
"@discordeno/utils": "18.0.0-alpha.1"
},
"devDependencies": {
"@discordeno/types": "18.0.0-alpha.1",
"@discordeno/utils": "18.0.0-alpha.1",
"@swc/cli": "^0.1.57",
"@swc/core": "^1.3.21",
"@types/chai": "^4",
@@ -40,4 +42,4 @@
"tsconfig": "*",
"typescript": "^4.9.3"
}
}
}

View File

@@ -13,17 +13,18 @@
"build": "swc src --out-dir dist",
"build:type": "tsc --declaration --emitDeclarationOnly --declarationDir dist",
"release-build": "yarn build && yarn build:type",
"fmt": "prettier -w ./src",
"fmt": "eslint --fix \"src/**/*.ts*\"",
"lint": "eslint \"src/**/*.ts*\"",
"test:unit": "c8 mocha --no-warnings 'tests/**/*.spec.ts'",
"test:unit:watch": "mocha --no-warnings --watch --parallel 'tests/**/*.spec.ts'",
"test:type": "tsc --noEmit",
"test:test-type": "tsc --project tsconfig.test.json"
},
"devDependencies": {
"@discordeno/bot": "18.0.0-alpha.1",
"dependencies": {
"@discordeno/gateway": "18.0.0-alpha.1",
"@discordeno/rest": "18.0.0-alpha.1",
"@discordeno/rest": "18.0.0-alpha.1"
},
"devDependencies": {
"@discordeno/types": "18.0.0-alpha.1",
"@swc/cli": "^0.1.57",
"@swc/core": "^1.3.21",
@@ -40,4 +41,4 @@
"tsconfig": "*",
"typescript": "^4.9.3"
}
}
}

View File

@@ -13,17 +13,20 @@
"build": "swc src --out-dir dist",
"build:type": "tsc --declaration --emitDeclarationOnly --declarationDir dist",
"release-build": "yarn build && yarn build:type",
"fmt": "prettier -w ./src",
"fmt": "eslint --fix \"src/**/*.ts*\"",
"lint": "eslint \"src/**/*.ts*\"",
"test:unit": "c8 mocha --no-warnings 'tests/**/*.spec.ts'",
"test:unit:watch": "mocha --no-warnings --watch --parallel 'tests/**/*.spec.ts'",
"test:type": "tsc --noEmit",
"test:test-type": "tsc --project tsconfig.test.json"
},
"devDependencies": {
"@discordeno/bot": "18.0.0-alpha.1",
"dependencies": {
"@discordeno/client": "18.0.0-alpha.1",
"@discordeno/gateway": "18.0.0-alpha.1",
"@discordeno/rest": "18.0.0-alpha.1",
"@discordeno/bot": "18.0.0-alpha.1",
"@discordeno/rest": "18.0.0-alpha.1"
},
"devDependencies": {
"@discordeno/types": "18.0.0-alpha.1",
"@swc/cli": "^0.1.57",
"@swc/core": "^1.3.21",
@@ -40,4 +43,4 @@
"tsconfig": "*",
"typescript": "^4.9.3"
}
}
}

View File

@@ -1 +1 @@
export { }
export * from '@discordeno/bot'

View File

@@ -13,16 +13,19 @@
"build": "swc src --out-dir dist",
"build:type": "tsc --declaration --emitDeclarationOnly --declarationDir dist",
"release-build": "yarn build && yarn build:type",
"fmt": "prettier -w ./src",
"fmt": "eslint --fix \"src/**/*.ts*\"",
"lint": "eslint \"src/**/*.ts*\"",
"test:unit": "c8 mocha --no-warnings 'tests/**/*.spec.ts'",
"test:unit:watch": "mocha --no-warnings --watch --parallel 'tests/**/*.spec.ts'",
"test:type": "tsc --noEmit",
"test:test-type": "tsc --project tsconfig.test.json"
},
"dependencies": {
"@discordeno/utils": "18.0.0-alpha.1",
"ws": "^8.11.0"
},
"devDependencies": {
"@discordeno/types": "18.0.0-alpha.1",
"@discordeno/utils": "18.0.0-alpha.1",
"@swc/cli": "^0.1.57",
"@swc/core": "^1.3.21",
"@types/chai": "^4",
@@ -38,8 +41,5 @@
"sinon": "^15.0.0",
"tsconfig": "*",
"typescript": "^4.9.3"
},
"dependencies": {
"ws": "^8.11.0"
}
}
}

View File

@@ -13,7 +13,7 @@
"build": "swc src --out-dir dist",
"build:type": "tsc --declaration --emitDeclarationOnly --declarationDir dist",
"release-build": "yarn build && yarn build:type",
"fmt": "prettier -w ./src",
"fmt": "eslint --fix \"src/**/*.ts*\"",
"lint": "eslint \"src/**/*.ts*\"",
"test:unit": "c8 mocha --no-warnings 'tests/**/*.spec.ts'",
"test:unit:watch": "mocha --no-warnings --watch --parallel 'tests/**/*.spec.ts'",
@@ -38,4 +38,4 @@
"tsconfig": "*",
"typescript": "^4.9.3"
}
}
}

View File

@@ -13,7 +13,7 @@
"build": "swc src --out-dir dist",
"build:type": "tsc --declaration --emitDeclarationOnly --declarationDir dist",
"release-build": "yarn build && yarn build:type",
"fmt": "prettier -w ./src",
"fmt": "eslint --fix \"src/**/*.ts*\"",
"lint": "eslint \"src/**/*.ts*\"",
"test:unit": "c8 mocha --no-warnings 'tests/**/*.spec.ts'",
"test:unit:watch": "mocha --no-warnings --watch --parallel 'tests/**/*.spec.ts'",

View File

@@ -13,7 +13,7 @@
"build": "swc src --out-dir dist",
"build:type": "tsc --declaration --emitDeclarationOnly --declarationDir dist",
"release-build": "yarn build && yarn build:type",
"fmt": "prettier -w ./src",
"fmt": "eslint --fix \"src/**/*.ts*\"",
"lint": "eslint \"src/**/*.ts*\"",
"test:unit": "c8 mocha --no-warnings 'tests/**/*.spec.ts'",
"test:unit:watch": "mocha --no-warnings --watch --parallel 'tests/**/*.spec.ts'",

View File

@@ -13,7 +13,7 @@
"build": "swc src --out-dir dist",
"build:type": "tsc --declaration --emitDeclarationOnly --declarationDir dist",
"release-build": "yarn build && yarn build:type",
"fmt": "prettier -w ./src",
"fmt": "eslint --fix \"src/**/*.ts*\"",
"lint": "eslint \"src/**/*.ts*\"",
"test:unit": "c8 mocha --no-warnings 'tests/**/*.spec.ts'",
"test:unit:watch": "mocha --no-warnings --watch --parallel 'tests/**/*.spec.ts'",
@@ -37,4 +37,4 @@
"tsconfig": "*",
"typescript": "^4.9.3"
}
}
}

View File

@@ -13,7 +13,7 @@
"build": "swc src --out-dir dist",
"build:type": "tsc --declaration --emitDeclarationOnly --declarationDir dist",
"release-build": "yarn build && yarn build:type",
"fmt": "prettier -w ./src",
"fmt": "eslint --fix \"src/**/*.ts*\"",
"lint": "eslint \"src/**/*.ts*\"",
"test:unit": "c8 mocha --no-warnings 'tests/**/*.spec.ts'",
"test:unit:watch": "mocha --no-warnings --watch --parallel 'tests/**/*.spec.ts'",

View File

@@ -13,16 +13,18 @@
"build": "swc src --out-dir dist",
"build:type": "tsc --declaration --emitDeclarationOnly --declarationDir dist",
"release-build": "yarn build && yarn build:type",
"fmt": "prettier -w ./src",
"fmt": "eslint --fix \"src/**/*.ts*\"",
"lint": "eslint \"src/**/*.ts*\"",
"test:unit": "c8 mocha --no-warnings 'tests/**/*.spec.ts'",
"test:unit:watch": "mocha --no-warnings --watch --parallel 'tests/**/*.spec.ts'",
"test:type": "tsc --noEmit",
"test:test-type": "tsc --project tsconfig.test.json"
},
"dependencies": {
"@discordeno/utils": "18.0.0-alpha.1"
},
"devDependencies": {
"@discordeno/types": "18.0.0-alpha.1",
"@discordeno/utils": "18.0.0-alpha.1",
"@swc/cli": "^0.1.57",
"@swc/core": "^1.3.21",
"@types/chai": "^4",
@@ -38,4 +40,4 @@
"tsconfig": "*",
"typescript": "^4.9.3"
}
}
}

View File

@@ -13,7 +13,7 @@
"build": "swc src --out-dir dist",
"build:type": "tsc --declaration --emitDeclarationOnly --declarationDir dist",
"release-build": "yarn build && yarn build:type",
"fmt": "prettier -w ./src",
"fmt": "eslint --fix \"src/**/*.ts*\"",
"lint": "eslint \"src/**/*.ts*\"",
"test:type": "tsc --noEmit"
},
@@ -28,4 +28,4 @@
"dependencies": {
"@types/node": "^18.11.9"
}
}
}

View File

@@ -13,7 +13,7 @@
"build": "swc src --out-dir dist",
"build:type": "tsc --skipDefaultLibCheck --declaration --emitDeclarationOnly --declarationDir dist",
"release-build": "yarn build && yarn build:type",
"fmt": "prettier -w ./src",
"fmt": "eslint --fix \"src/**/*.ts*\"",
"lint": "eslint \"src/**/*.ts*\"",
"test:unit": "c8 mocha --no-warnings 'tests/**/*.spec.ts'",
"test:unit:watch": "mocha --no-warnings --watch --parallel 'tests/**/*.spec.ts'",
@@ -38,4 +38,4 @@
"tsconfig": "*",
"typescript": "^4.9.3"
}
}
}

View File

@@ -45,7 +45,11 @@
"^build:type"
]
},
"fmt": {},
"fmt": {
"dependsOn": [
"^build:type"
]
},
"dev": {
"cache": false
}

View File

@@ -69,7 +69,7 @@ __metadata:
languageName: unknown
linkType: soft
"@discordeno/client@workspace:packages/client":
"@discordeno/client@18.0.0-alpha.1, @discordeno/client@workspace:packages/client":
version: 0.0.0-use.local
resolution: "@discordeno/client@workspace:packages/client"
dependencies:
@@ -1451,7 +1451,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "discordeno@workspace:packages/discordeno"
dependencies:
"@discordeno/bot": 18.0.0-alpha.1
"@discordeno/client": 18.0.0-alpha.1
"@discordeno/gateway": 18.0.0-alpha.1
"@discordeno/rest": 18.0.0-alpha.1
"@discordeno/types": 18.0.0-alpha.1