mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
chore: fix dockerbuild and add ws props everywhere
This commit is contained in:
1
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
1
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
@@ -18,6 +18,7 @@ body:
|
|||||||
- proxy
|
- proxy
|
||||||
- proxy-container
|
- proxy-container
|
||||||
- voice
|
- voice
|
||||||
|
- ws
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
- type: textarea
|
- type: textarea
|
||||||
|
|||||||
1
.github/ISSUE_TEMPLATE/feature_request.yml
vendored
1
.github/ISSUE_TEMPLATE/feature_request.yml
vendored
@@ -20,6 +20,7 @@ body:
|
|||||||
- proxy
|
- proxy
|
||||||
- proxy-container
|
- proxy-container
|
||||||
- voice
|
- voice
|
||||||
|
- ws
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
- type: textarea
|
- type: textarea
|
||||||
|
|||||||
4
.github/labels.yml
vendored
4
.github/labels.yml
vendored
@@ -62,10 +62,10 @@
|
|||||||
color: 'fbca04'
|
color: 'fbca04'
|
||||||
- name: 'packages:voice'
|
- name: 'packages:voice'
|
||||||
color: 'fbca04'
|
color: 'fbca04'
|
||||||
- name: 'packages:ws'
|
|
||||||
color: 'fbca04'
|
|
||||||
- name: 'packages:website'
|
- name: 'packages:website'
|
||||||
color: 'fbca04'
|
color: 'fbca04'
|
||||||
|
- name: 'packages:ws'
|
||||||
|
color: 'fbca04'
|
||||||
- name: 'performance'
|
- name: 'performance'
|
||||||
color: '80c042'
|
color: '80c042'
|
||||||
- name: 'permissions'
|
- name: 'permissions'
|
||||||
|
|||||||
2
.github/workflows/documentation.yml
vendored
2
.github/workflows/documentation.yml
vendored
@@ -69,7 +69,7 @@ jobs:
|
|||||||
max-parallel: 1
|
max-parallel: 1
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
package: ['builders', 'collection', 'discord.js', 'proxy', 'rest', 'voice']
|
package: ['builders', 'collection', 'discord.js', 'proxy', 'rest', 'voice', 'ws']
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
BRANCH_NAME: ${{ github.event.inputs.ref || needs.build.outputs.BRANCH_NAME }}
|
BRANCH_NAME: ${{ github.event.inputs.ref || needs.build.outputs.BRANCH_NAME }}
|
||||||
|
|||||||
2
.github/workflows/npm-auto-deprecate.yml
vendored
2
.github/workflows/npm-auto-deprecate.yml
vendored
@@ -23,6 +23,6 @@ jobs:
|
|||||||
run: yarn --immutable
|
run: yarn --immutable
|
||||||
|
|
||||||
- name: Deprecate versions
|
- name: Deprecate versions
|
||||||
run: 'yarn npm-deprecate --name "*dev*" --package @discordjs/builders @discordjs/collection discord.js @discordjs/rest @discordjs/voice'
|
run: 'yarn npm-deprecate --name "*dev*" --package @discordjs/builders @discordjs/collection discord.js @discordjs/proxy @discordjs/rest @discordjs/voice'
|
||||||
env:
|
env:
|
||||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
|
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
|
||||||
|
|||||||
2
.github/workflows/publish-dev.yml
vendored
2
.github/workflows/publish-dev.yml
vendored
@@ -22,6 +22,8 @@ jobs:
|
|||||||
folder: 'rest'
|
folder: 'rest'
|
||||||
- package: '@discordjs/voice'
|
- package: '@discordjs/voice'
|
||||||
folder: 'voice'
|
folder: 'voice'
|
||||||
|
- package: '@discordjs/ws'
|
||||||
|
folder: 'ws'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: github.repository_owner == 'discordjs'
|
if: github.repository_owner == 'discordjs'
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
@@ -15,4 +15,4 @@ RUN yarn workspaces focus
|
|||||||
COPY ./packages/proxy-container ./
|
COPY ./packages/proxy-container ./
|
||||||
RUN yarn build && yarn workspaces focus --production
|
RUN yarn build && yarn workspaces focus --production
|
||||||
|
|
||||||
CMD ["node", "--enable-source-maps", "./dist/index.js"]
|
CMD ["node", "--enable-source-maps", "./dist/index.mjs"]
|
||||||
|
|||||||
Reference in New Issue
Block a user