Skip to content

Commit 57ed472

Browse files
committed
feat(storm-stack): Overhaul to project's core functionality
1 parent f789045 commit 57ed472

File tree

692 files changed

+26930
-124606
lines changed

Some content is hidden

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

692 files changed

+26930
-124606
lines changed

.editorconfig

+10-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ root = true
1111
[*]
1212
charset = utf-8
1313
indent_style = space
14-
indent_size = 4
14+
indent_size = 2
1515
end_of_line = lf
1616
insert_final_newline = true
1717
trim_trailing_whitespace = true
@@ -75,6 +75,15 @@ max_line_length = 0
7575
max_line_length = 0
7676
indent_size = 0
7777

78+
# JavaScript-specific settings
79+
[*.{js,ts}]
80+
quote_type = double
81+
continuation_indent_size = 2
82+
curly_bracket_next_line = false
83+
indent_brace_style = BSD
84+
spaces_around_operators = true
85+
spaces_around_brackets = none
86+
7887
##########################################
7988
# Default .NET Code Style Severities
8089
# https://docs.microsoft.com/dotnet/fundamentals/code-analysis/configuration-options#scope

.env

-4
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,6 @@ ESLINT_USE_FLAT_CONFIG=true
3333

3434
CONSOLA_LEVEL=1000
3535

36-
# Nx 18 enables using plugins to infer targets by default
37-
# This is disabled for existing workspaces to maintain compatibility
38-
# For more info, see: https://nx.dev/concepts/inferred-tasks
39-
# NX_ADD_PLUGINS=false
4036

4137
NX_VERBOSE_LOGGING=true
4238
# ROLLUP_WATCH=false

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ jobs:
9999
shell: bash
100100

101101
- name: Run build script
102-
run: pnpm build-all
102+
run: pnpm build-prod
103103
shell: bash
104104

105105
- name: Release repository updates

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ tmp
99
/out-tsc
1010
out
1111
.nx
12+
**/.storm
1213

1314
# build
1415

@@ -100,6 +101,7 @@ bld/
100101
# [Bb]in/
101102
[Oo]bj/
102103
[Ll]og/
104+
!packages/[Ll]og
103105

104106
# Visual Studio 2015/2017 cache/options directory
105107
.vs/

.gitpod.yml

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
tasks:
2+
- init: |
3+
npx pnpm install
4+
pnpm build-all
5+
command: pnpm start
6+
7+
ports:
8+
- port: 3000
9+
onOpen: open-preview
10+
visibility: public
11+
12+
env:
13+
STORM_NAME: storm-stack
14+
STORM_ORG: storm-software
15+
STORM_ENV: staging

.markdownlint.json

-155
This file was deleted.

.npmrc

+9-7
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
1-
strict-peer-dependencies=false
21
no-frozen-lockfile=true
2+
shamefully-hoist=true
33
no-optional=false
4-
skip-optional=false
4+
skip-optional=true
55
auto-install-peers=true
6-
provenance=true
6+
strict-peer-dependencies=false
77
prefer-workspace-packages=true
8-
# hoist-workspace-packages=true
9-
# git-checks=true
10-
11-
# ignore-workspace-root-check=true
8+
link-workspace-packages=true
9+
git-checks=true
1210

11+
provenance=true
1312
registry=https://registry.npmjs.org/
13+
14+
# hoist-workspace-packages=true
15+
# ignore-workspace-root-check=true

.vscode/cspell.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"import": ["@storm-software/linting-tools/cspell/config.json"]
2+
"import": ["@storm-software/cspell/cspell-minimal.json"]
33
}

.vscode/settings.json

+20-14
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@
88
"json.schemas": [
99
{
1010
"url": "https://cdn.jsdelivr.net/npm/tsup/schema.json",
11-
"fileMatch": ["package.json", "tsup.config.json"]
11+
"fileMatch": ["tsup.config.json"]
1212
},
1313
{
1414
"url": "https://cdn.jsdelivr.net/npm/nx/schemas/nx-schema.json",
1515
"fileMatch": ["nx.json"]
1616
},
1717
{
18-
"url": "https://cdn.jsdelivr.net/npm/@storm-software/config/schemas/storm.schema.json",
19-
"fileMatch": ["storm.json"]
18+
"url": "https://cdn.jsdelivr.net/npm/@storm-software/config/schemas/storm-workspace.schema.json",
19+
"fileMatch": ["storm-workspace.json"]
2020
}
2121
],
2222
"yaml.schemas": {
@@ -37,7 +37,6 @@
3737
"statusBar.foreground": "#1fb2a6"
3838
},
3939
"peacock.color": "#1fb2a6",
40-
// "typescript.tsserver.log": "verbose",
4140
"typescript.tsdk": "node_modules/typescript/lib",
4241
"typescript.enablePromptUseWorkspaceTsdk": true,
4342
"tailwindCSS.experimental.classRegex": [
@@ -49,23 +48,30 @@
4948
],
5049
"prettier.requireConfig": true,
5150
"prettier.bracketSameLine": true,
51+
"prettier.configPath": "./node_modules/@storm-software/prettier/config.json",
5252
"prettier.ignorePath": "./node_modules/@storm-software/prettier/.prettierignore",
5353
"prettier.enableDebugLogs": true,
54-
"eslint.useFlatConfig": true,
55-
"eslint.run": "onSave",
56-
"eslint.format.enable": true,
57-
"eslint.debug": false,
54+
"prettier.enable": true,
55+
"markdownlint.config": {
56+
"extends": "./node_modules/@storm-software/markdownlint/config/config.json"
57+
},
58+
"eslint.debug": true,
5859
"eslint.codeAction.disableRuleComment": {
5960
"enable": true,
6061
"location": "separateLine"
6162
},
6263
"eslint.codeAction.showDocumentation": {
6364
"enable": true
6465
},
66+
"eslint.useFlatConfig": true,
6567
"editor.bracketPairColorization.enabled": true,
6668
"editor.guides.bracketPairs": "active",
6769
"editor.tabCompletion": "on",
6870
"editor.formatOnSave": false,
71+
"editor.codeActionsOnSave": {
72+
"source.fixAll.eslint": "explicit",
73+
"source.organizeImports": "never"
74+
},
6975
"editor.defaultFormatter": "esbenp.prettier-vscode",
7076
"files.associations": {
7177
"*.hbs": "handlebars",
@@ -74,7 +80,7 @@
7480
},
7581
"[javascript]": {
7682
"editor.formatOnSave": true,
77-
"editor.defaultFormatter": "esbenp.prettier-vscode",
83+
"editor.defaultFormatter": "dbaeumer.vscode-eslint",
7884
"editor.codeActionsOnSave": {
7985
"source.fixAll.eslint": "explicit",
8086
"quickfix.biome": "explicit",
@@ -92,7 +98,7 @@
9298
},
9399
"[typescript]": {
94100
"editor.formatOnSave": true,
95-
"editor.defaultFormatter": "esbenp.prettier-vscode",
101+
"editor.defaultFormatter": "dbaeumer.vscode-eslint",
96102
"editor.codeActionsOnSave": {
97103
"source.fixAll.eslint": "explicit",
98104
"quickfix.biome": "explicit",
@@ -142,6 +148,10 @@
142148
"editor.formatOnSave": true,
143149
"editor.defaultFormatter": "esbenp.prettier-vscode"
144150
},
151+
"[rust]": {
152+
"editor.formatOnSave": true,
153+
"editor.defaultFormatter": "rust-lang.rust-analyzer"
154+
},
145155
"[toml]": {
146156
"editor.formatOnSave": true,
147157
"editor.defaultFormatter": "tamasfe.even-better-toml"
@@ -150,10 +160,6 @@
150160
"editor.formatOnSave": true,
151161
"editor.defaultFormatter": "redhat.vscode-yaml"
152162
},
153-
"[rust]": {
154-
"editor.formatOnSave": true,
155-
"editor.defaultFormatter": "rust-lang.rust-analyzer"
156-
},
157163
"[css]": {
158164
"editor.formatOnSave": true,
159165
"editor.defaultFormatter": "esbenp.prettier-vscode"

README.md

+2-8
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<div align="center"><img src="https://pub-761b436209f44a4d886487c917806c08.r2.dev/storm-banner.gif" width="100%" alt="Storm Software" /></div>
1+
<div align="center"><img src="https://public.storm-cdn.com/storm-stack-banner2.gif" width="100%" alt="Storm Stack" /></div>
22

33
<br />
44
<div align="center">
@@ -35,12 +35,6 @@ keeping the codebase maintainable.
3535
<!-- markdownlint-restore -->
3636
<!-- prettier-ignore-end -->
3737

38-
<!--#if GitHubActions-->
39-
40-
[![GitHub Actions Build History](https://buildstats.info/github/chart/storm-software/storm-stack?branch=main&includeBuildsFromPullRequest=false)](https://github.com/storm-software/storm-stack/actions)
41-
42-
<!--#endif-->
43-
4438
<!-- START doctoc -->
4539
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
4640
## Table of Contents
@@ -63,7 +57,7 @@ keeping the codebase maintainable.
6357
- [Running End-to-End Tests](#running-end-to-end-tests)
6458
- [Understand your workspace](#understand-your-workspace)
6559
- [☁ Nx Cloud](#-nx-cloud)
66-
- [Distributed Computation Caching & Distributed Task Execution](#distributed-computation-caching--distributed-task-execution)
60+
- [Distributed Computation Caching \& Distributed Task Execution](#distributed-computation-caching--distributed-task-execution)
6761
- [Roadmap](#roadmap)
6862
- [Contributing](#contributing)
6963
- [Support](#support)

0 commit comments

Comments
 (0)