Skip to content

Commit 65bb5cc

Browse files
committed
feat(plugin-node): Add the builder factory method to the storm:app runtime module
1 parent 047214b commit 65bb5cc

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+3899
-2162
lines changed

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# supported CodeQL languages.
1111
#
1212

13-
name: "CodeQL"
13+
name: "CodeQL Scan"
1414

1515
on:
1616
pull_request:

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ The **⚡Storm Stack** monorepo contains the [storm-stack](https://www.npmjs.com
4747
- [Running End-to-End Tests](#running-end-to-end-tests)
4848
- [Understand your workspace](#understand-your-workspace)
4949
- [☁ Nx Cloud](#-nx-cloud)
50-
- [Distributed Computation Caching & Distributed Task Execution](#distributed-computation-caching--distributed-task-execution)
50+
- [Distributed Computation Caching \& Distributed Task Execution](#distributed-computation-caching--distributed-task-execution)
5151
- [Roadmap](#roadmap)
5252
- [Contributing](#contributing)
5353
- [Support](#support)
@@ -70,7 +70,7 @@ The [storm-stack](https://www.npmjs.com/package/storm-stack) package includes th
7070

7171
- The following Storm Stack plugin packages are included in this repository:
7272
- [@storm-stack/plugin-node](https://www.npmjs.com/package/@storm-stack/plugin-node) - A plugin for Node.js applications
73-
- [@storm-stack/plugin-cloudflare](https://www.npmjs.com/package/@storm-stack/plugin-cloudflare) - A plugin for Cloudflare Worker applications
73+
- [@storm-stack/plugin-cloudflare-worker](https://www.npmjs.com/package/@storm-stack/plugin-cloudflare-worker) - A plugin for Cloudflare Worker applications
7474

7575
## Adapters
7676

examples/cloudflare-worker/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"private": true,
1212
"devDependencies": {
1313
"@storm-stack/nx": "workspace:*",
14-
"@storm-stack/plugin-cloudflare": "workspace:*",
14+
"@storm-stack/plugin-cloudflare-worker": "workspace:*",
1515
"storm-stack": "workspace:*"
1616
}
1717
}

examples/cloudflare-worker/project.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"options": {
1111
"entry": "{sourceRoot}/index.ts#handler",
1212
"outputPath": "dist/examples/cloudflare-worker",
13-
"plugins": ["@storm-stack/plugin-cloudflare"],
13+
"plugins": ["@storm-stack/plugin-cloudflare-worker"],
1414
"skipCache": true,
1515
"skipInstalls": true,
1616
"mode": "development"
@@ -23,7 +23,7 @@
2323
"options": {
2424
"entry": "{sourceRoot}/index.ts#handler",
2525
"outputPath": "dist/examples/cloudflare-worker",
26-
"plugins": ["@storm-stack/plugin-cloudflare"],
26+
"plugins": ["@storm-stack/plugin-cloudflare-worker"],
2727
"skipCache": true,
2828
"skipInstalls": true,
2929
"mode": "development"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
name = 'examples-cloudflare-worker'
3-
compatibility_date = '2025-03-13'
3+
compatibility_date = '2025-03-14'
44
main = '/.storm/entry-oqFxRJ2G.ts'
55
account_id = 'undefined'
66
compatibility_flags = ['nodejs_als']

packages/log-sentry-node/jest.config.ts

Lines changed: 0 additions & 3 deletions
This file was deleted.
Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<!-- START header -->
22
<!-- END header -->
33

4-
# Storm Stack - Sentry NodeJs Log Adapter
4+
# Storm Stack - Sentry Log Adapter
55

6-
A package containing a Storm Stack log adapter to write log messages to [Sentry](https://sentry.io/) in NodeJs applications.
6+
A package containing a Storm Stack log adapter to write log messages to [Sentry](https://sentry.io/).
77

88
<!-- START doctoc -->
99
<!-- END doctoc -->
@@ -13,14 +13,14 @@ A package containing a Storm Stack log adapter to write log messages to [Sentry]
1313
Using [pnpm](http://pnpm.io):
1414

1515
```bash
16-
pnpm add @storm-stack/log-sentry-node
16+
pnpm add @storm-stack/log-sentry
1717
```
1818

1919
<details>
2020
<summary>Using npm</summary>
2121

2222
```bash
23-
npm install @storm-stack/log-sentry-node
23+
npm install @storm-stack/log-sentry
2424
```
2525

2626
</details>
@@ -29,7 +29,7 @@ npm install @storm-stack/log-sentry-node
2929
<summary>Using yarn</summary>
3030

3131
```bash
32-
yarn add @storm-stack/log-sentry-node
32+
yarn add @storm-stack/log-sentry
3333
```
3434

3535
</details>
@@ -48,16 +48,16 @@ commands are available to assist in development.
4848

4949
### Building
5050

51-
Run `nx build log-sentry-node` to build the library.
51+
Run `nx build log-sentry` to build the library.
5252

5353
### Running unit tests
5454

55-
Run `nx test log-sentry-node` to execute the unit tests via
55+
Run `nx test log-sentry` to execute the unit tests via
5656
[Jest](https://jestjs.io).
5757

5858
### Linting
5959

60-
Run `nx lint log-sentry-node` to run [ESLint](https://eslint.org/) on the package.
60+
Run `nx lint log-sentry` to run [ESLint](https://eslint.org/) on the package.
6161

6262
<!-- START footer -->
6363
<!-- END footer -->

packages/log-sentry/jest.config.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import { getJestConfig } from '@storm-software/testing-tools';
2+
3+
export default getJestConfig('packages/log-sentry', true, 'log-sentry');
Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,24 @@
11
{
2-
"name": "@storm-stack/log-sentry-node",
2+
"name": "@storm-stack/log-sentry",
33
"version": "0.0.1",
44
"type": "module",
5-
"description": "A package containing a Storm Stack log adapter to write log messages to Sentry in a NodeJS application",
5+
"description": "A package containing a Storm Stack log adapter to write log messages to Sentry",
66
"repository": {
77
"type": "github",
88
"url": "https://github.com/storm-software/storm-stack.git",
9-
"directory": "packages/log-sentry-node"
9+
"directory": "packages/log-sentry"
1010
},
1111
"private": false,
12+
"peerDependencies": {
13+
"@sentry/node": "catalog:"
14+
},
15+
"peerDependenciesMeta": {
16+
"@sentry/node": {
17+
"optional": true
18+
}
19+
},
1220
"dependencies": {
1321
"@sentry/core": "catalog:",
14-
"@sentry/node": "catalog:",
1522
"@stryke/json": "catalog:"
1623
},
1724
"devDependencies": {

0 commit comments

Comments
 (0)