From 1e21b4acba9a0c51baae2a36622b3876b5ff6ee7 Mon Sep 17 00:00:00 2001 From: s8wa2 <86946027+s8wa2@users.noreply.github.com> Date: Sun, 28 Apr 2024 18:13:30 -0700 Subject: [PATCH 1/2] bugfix: typed-emitter devDep -> dep Ensures installation w/ package managers like pnpm --- .changeset/tall-radios-chew.md | 5 +++++ package-lock.json | 5 +---- package.json | 2 +- 3 files changed, 7 insertions(+), 5 deletions(-) create mode 100644 .changeset/tall-radios-chew.md diff --git a/.changeset/tall-radios-chew.md b/.changeset/tall-radios-chew.md new file mode 100644 index 0000000..84acab4 --- /dev/null +++ b/.changeset/tall-radios-chew.md @@ -0,0 +1,5 @@ +--- +"@grolm/rustplus.js-typed": patch +--- + +Fix dependency issue diff --git a/package-lock.json b/package-lock.json index e29898c..ae26a57 100644 --- a/package-lock.json +++ b/package-lock.json @@ -22,6 +22,7 @@ "push-receiver": "^2.1.0", "ts-proto": "^1.148.1", "type-fest": "^3.7.2", + "typed-emitter": "^2.1.0", "uuid": "^9.0.0", "ws": "^8.3.0" }, @@ -34,7 +35,6 @@ "@types/node": "^20.2.6", "@types/ws": "^8.5.10", "tsup": "^8.0.2", - "typed-emitter": "^2.1.0", "typescript": "^5.3.3" } }, @@ -6206,7 +6206,6 @@ "version": "7.8.1", "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.1.tgz", "integrity": "sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg==", - "dev": true, "optional": true, "dependencies": { "tslib": "^2.1.0" @@ -7251,7 +7250,6 @@ "version": "2.6.2", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==", - "dev": true, "optional": true }, "node_modules/tsup": { @@ -7554,7 +7552,6 @@ "version": "2.1.0", "resolved": "https://registry.npmjs.org/typed-emitter/-/typed-emitter-2.1.0.tgz", "integrity": "sha512-g/KzbYKbH5C2vPkaXGu8DJlHrGKHLsM25Zg9WuC9pMGfuvT+X25tZQWo5fK1BjBm8+UrVE9LDCvaY0CQk+fXDA==", - "dev": true, "optionalDependencies": { "rxjs": "*" } diff --git a/package.json b/package.json index 3cf99e4..0c96ef2 100644 --- a/package.json +++ b/package.json @@ -52,6 +52,7 @@ "push-receiver": "^2.1.0", "ts-proto": "^1.148.1", "type-fest": "^3.7.2", + "typed-emitter": "^2.1.0", "uuid": "^9.0.0", "ws": "^8.3.0" }, @@ -61,7 +62,6 @@ "@types/node": "^20.2.6", "@types/ws": "^8.5.10", "tsup": "^8.0.2", - "typed-emitter": "^2.1.0", "typescript": "^5.3.3" } } From 818fe9ffd9e293b7ed4622add9f7752b7f1de04a Mon Sep 17 00:00:00 2001 From: s8wa2 <86946027+s8wa2@users.noreply.github.com> Date: Sun, 28 Apr 2024 18:21:34 -0700 Subject: [PATCH 2/2] Fix branch yml issue --- .github/workflows/publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 42edcff..39e2c2c 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -2,7 +2,7 @@ name: Publish on: workflow_run: workflows: [CI] - branches: ['master', npm/rustplus.js-typed'] + branches: ['master', 'npm/rustplus.js-typed'] types: [completed] concurrency: ${{ github.workflow }}-${{ github.ref }}