Skip to content

Commit d7656e4

Browse files
committed
feat(core): Update plugins to support alloy-js template rendering
1 parent ae3581e commit d7656e4

File tree

216 files changed

+13028
-9046
lines changed

Some content is hidden

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

216 files changed

+13028
-9046
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ tmp
1010
out
1111
.nx
1212
**/.storm
13+
**/*.tsbuildinfo
1314
# \!examples/**/.storm
1415

1516
# build

examples/cli-app/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@
1313
"examples-cli": "dist/examples-cli.mjs"
1414
},
1515
"dependencies": {
16-
"@storm-stack/core": "0.46.0",
16+
"@storm-stack/core": "workspace:*",
1717
"date-fns": "catalog:",
1818
"unstorage": "catalog:"
1919
},
2020
"devDependencies": {
21-
"@storm-stack/nx": "0.21.0",
22-
"@storm-stack/plugin-cli": "0.37.0",
23-
"@storm-stack/plugin-date": "0.8.0",
24-
"@storm-stack/plugin-log-console": "0.23.8",
25-
"@storm-stack/plugin-log-sentry": "0.31.4"
21+
"@storm-stack/nx": "workspace:*",
22+
"@storm-stack/plugin-cli": "workspace:*",
23+
"@storm-stack/plugin-date": "workspace:*",
24+
"@storm-stack/plugin-log-console": "workspace:*",
25+
"@storm-stack/plugin-log-sentry": "workspace:*"
2626
}
2727
}

examples/cli-app/storm.config.ts

Lines changed: 15 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -17,31 +17,26 @@
1717
------------------------------------------------------------------- */
1818

1919
import { defineConfig } from "@storm-stack/core/define-config";
20+
import CLIPlugin from "@storm-stack/plugin-cli/plugin";
21+
import DatePlugin from "@storm-stack/plugin-date/plugin";
22+
import LogSentryPlugin from "@storm-stack/plugin-log-sentry/plugin";
2023

2124
export default defineConfig({
2225
name: "Example CLI",
26+
skipCache: true,
2327
plugins: [
24-
[
25-
"@storm-stack/plugin-date",
26-
{
27-
type: "date-fns"
28+
new CLIPlugin({
29+
bin: "examples-cli",
30+
env: {
31+
types: "./src/types.ts#StormCLIAppEnv"
2832
}
29-
],
30-
[
31-
"@storm-stack/plugin-cli",
32-
{
33-
bin: "examples-cli",
34-
env: {
35-
types: "./src/types.ts#StormCLIAppEnv"
36-
}
37-
}
38-
],
39-
[
40-
"@storm-stack/plugin-log-sentry",
41-
{
42-
logLevel: "error"
43-
}
44-
]
33+
}),
34+
new DatePlugin({
35+
type: "date-fns"
36+
}),
37+
new LogSentryPlugin({
38+
logLevel: "error"
39+
})
4540
],
4641
output: {
4742
outputMode: "fs"

examples/cloudflare-worker/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,17 @@
1111
"private": true,
1212
"dependencies": {
1313
"@cloudflare/unenv-preset": "catalog:",
14-
"@storm-stack/core": "0.46.0",
14+
"@storm-stack/core": "workspace:*",
1515
"@stryke/json": "catalog:",
1616
"@stryke/type-checks": "catalog:",
1717
"@stryke/url": "catalog:",
1818
"unenv": "catalog:",
1919
"unstorage": "catalog:"
2020
},
2121
"devDependencies": {
22-
"@storm-stack/nx": "0.21.0",
23-
"@storm-stack/plugin-cloudflare": "0.30.0",
24-
"@storm-stack/plugin-log-console": "0.23.8",
22+
"@storm-stack/nx": "workspace:*",
23+
"@storm-stack/plugin-cloudflare": "workspace:*",
24+
"@storm-stack/plugin-log-console": "workspace:*",
2525
"@stryke/types": "catalog:",
2626
"@types/node": "catalog:",
2727
"wrangler": "catalog:"

0 commit comments

Comments
 (0)