Skip to content

Commit

Permalink
feat(store): Initial check-in of store package to manage applicatio…
Browse files Browse the repository at this point in the history
…n state
  • Loading branch information
sullivanpj committed Jun 28, 2024
1 parent 7a35f3c commit 0a1d2ed
Show file tree
Hide file tree
Showing 136 changed files with 75,832 additions and 4,006 deletions.
16 changes: 11 additions & 5 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ AKKA_STREAMS_KAFKA_TEST_FILE_LOGGING=true
RUST_BACKTRACE="full"
# PUPPETEER_SKIP_DOWNLOAD=true

HS_SERVICE_NAME="@cyclone-ui/cyclone-ui"
HS_SERVICE_NAME="@cyclone-ui/monorepo"

SENTRY_ORGANIZATION="storm-software"
SENTRY_PROPERTIES="apps/web/app"
Expand All @@ -29,16 +29,22 @@ HEALTH_CHECK_PATH="/healthcheck"

LOG_LEVEL="trace"
# LOG_PATH="./tmp/logs"
NX_VERBOSE_LOGGING=false

PNPM_VERSION="8.10.2"
PNPM_VERSION="9.4.0"

DEV_EDITOR_ID="vscode"
TAMAGUI_HEADLESS=0

NODE_ENV="development"
CLICOLOR=1
FORCE_COLOR=1

NX_VERBOSE_LOGGING=false
NX_CACHE_PROJECT_GRAPH=true
NX_DAEMON=true

ESLINT_USE_FLAT_CONFIG=true

DEFAULT_BRANCH="main"
EDITORCONFIG_FILE_NAME=".editorconfig"
TYPESCRIPT_ES_CONFIG_FILE="eslint.config.js"
TYPESCRIPT_ES_CONFIG_FILE="eslint.config.mjs"
TYPESCRIPT_STANDARD_TSCONFIG_FILE="${DEFAULT_WORKSPACE}/tsconfig.json"
20 changes: 10 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ jobs:
- name: Setup workspace
uses: storm-software/action-setup@main
with:
packageManager: "pnpm"
packageManagerVersion: "8.10.2"
stormBot: "Stormie-Bot"
packageManager: pnpm
packageManagerVersion: 9.4.0
stormBot: Stormie-Bot

- name: Build Cyclone-UI Nx-Plugin packages
run: pnpm build-plugins
Expand Down Expand Up @@ -97,13 +97,13 @@ jobs:
# - name: Markdown-linter
# uses: DavidAnson/markdownlint-cli2-action@v16

- name: Run formatters scripts
run: pnpm format
shell: bash
# - name: Run formatters scripts
# run: pnpm format
# shell: bash

- name: Re-run build script
run: pnpm build-all
shell: bash
# - name: Re-run build script
# run: pnpm build-all
# shell: bash

# - uses: cloudflare/wrangler-action@v3
# with:
Expand All @@ -119,7 +119,7 @@ jobs:
NPM_TOKEN: ${{ secrets.STORM_BOT_NPM_TOKEN }}
CARGO_REGISTRY_TOKEN: ${{ secrets.STORM_BOT_CARGO_TOKEN }}
CLOUDFLARE_API_TOKEN: ${{ secrets.STORM_BOT_CLOUDFLARE_TOKEN }}
STORM_BOT: "Stormie-Bot"
STORM_BOT: Stormie-Bot
STORM_WORKSPACE_ROOT: ${{ github.workspace }}
STORM_REPOSITORY: ${{ github.repositoryUrl }}
CYCLONE_REGISTRY_ACCESS_KEY: ${{ secrets.CYCLONE_REGISTRY_ACCESS_KEY }}
Expand Down
7 changes: 4 additions & 3 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
strict-peer-dependencies=false
no-frozen-lockfile=true
no-optional=false
skip-optional=false
skip-optional=true
auto-install-peers=true
provenance=true
hoist-workspace-packages=true
git-checks=true
ignore-workspace-root-check=true
# git-checks=true

# ignore-workspace-root-check=true

registry=https://registry.npmjs.org/
38 changes: 17 additions & 21 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@
{
"url": "https://cdn.jsdelivr.net/npm/nx/schemas/nx-schema.json",
"fileMatch": ["nx.json"]
},
{
"url": "https://cdn.jsdelivr.net/npm/@storm-software/config/schemas/storm.schema.json",
"fileMatch": ["storm.json"]
}
],
"yaml.schemas": {
Expand Down Expand Up @@ -296,28 +300,19 @@
"eslint.format.enable": true,
"eslint.useFlatConfig": true,
"eslint.alwaysShowStatus": true,
"eslint.options": {
"extensions": [
".cjs",
".mjs",
".js",
".jsx",
".ts",
".tsx",
".json",
".md",
".mdx"
]
},
"eslint.run": "onSave",
"eslint.packageManager": "pnpm",
"eslint.nodePath": "node",
"eslint.workingDirectories": [
"./packages",
"./components",
"./apps",
"./tools"
],
// "eslint.nodePath": "node",
"eslint.debug": true,
// "eslint.workingDirectories": [
// "./packages",
// "./components",
// "./apps",
// "./tools"
// ],
"eslint.options": {
"overrideConfigFile": "eslint.config.mjs"
},
"eslint.probe": [
"javascript",
"javascriptreact",
Expand All @@ -332,5 +327,6 @@
},
"eslint.codeAction.showDocumentation": {
"enable": true
}
},
"eslint.codeActionsOnSave.mode": "problems"
}
30 changes: 15 additions & 15 deletions apps/cli/.eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,26 @@

/** @type {import('eslint').Linter.Config} */
const config = {
extends: ['oclif', 'oclif-typescript', 'prettier'],
extends: ["oclif", "oclif-typescript", "prettier"],
parserOptions: {
tsconfigRootDir: __dirname,
project: './tsconfig.json',
project: "./tsconfig.json"
},
overrides: [
{
files: ['./package.json'],
parser: 'jsonc-eslint-parser',
files: ["./package.json"],
parser: "jsonc-eslint-parser",
rules: {
'@nx/dependency-checks': [
'error',
"@nx/dependency-checks": [
"error",
{
buildTargets: ['build'],
ignoredDependencies: ['typescript'],
},
],
},
},
],
}
buildTargets: ["build"],
ignoredDependencies: ["typescript"]
}
]
}
}
]
};

module.exports = config
module.exports = config;
30 changes: 13 additions & 17 deletions apps/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
## 0.6.1 (2024-06-20)


### 🩹 Fixes

- **monorepo:** Resolve issues with security actions ([204600e](https://github.com/storm-software/cyclone-ui/commit/204600e))

- **monorepo:** Resolve issues with security actions
([204600e](https://github.com/storm-software/cyclone-ui/commit/204600e))

### 🧱 Updated Dependencies

Expand All @@ -13,11 +12,10 @@

## 0.6.0 (2024-06-19)


### 🚀 Features

- **form:** Added the `useForm` hook to generate an API object ([a499b30](https://github.com/storm-software/cyclone-ui/commit/a499b30))

- **form:** Added the `useForm` hook to generate an API object
([a499b30](https://github.com/storm-software/cyclone-ui/commit/a499b30))

### 🧱 Updated Dependencies

Expand All @@ -26,11 +24,10 @@

## 0.5.0 (2024-06-17)


### 🚀 Features

- **data-table:** Added pagination to data tables ([646979f](https://github.com/storm-software/cyclone-ui/commit/646979f))

- **data-table:** Added pagination to data tables
([646979f](https://github.com/storm-software/cyclone-ui/commit/646979f))

### 🧱 Updated Dependencies

Expand All @@ -39,11 +36,11 @@

## 0.4.0 (2024-06-15)


### 🚀 Features

- **pagination:** Added the Pagination, NextButton, and PreviousButton components ([93085f4](https://github.com/storm-software/cyclone-ui/commit/93085f4))

- **pagination:** Added the Pagination, NextButton, and PreviousButton
components
([93085f4](https://github.com/storm-software/cyclone-ui/commit/93085f4))

### 🧱 Updated Dependencies

Expand All @@ -52,11 +49,10 @@

## 0.3.0 (2024-06-13)


### 🚀 Features

- **monorepo:** Added additional theme utilities packages ([64d1596](https://github.com/storm-software/cyclone-ui/commit/64d1596))

- **monorepo:** Added additional theme utilities packages
([64d1596](https://github.com/storm-software/cyclone-ui/commit/64d1596))

### 🧱 Updated Dependencies

Expand All @@ -65,7 +61,7 @@

## 0.2.0 (2024-06-09)


### 🚀 Features

- **monorepo:** Add publish target to project configuration ([369a520](https://github.com/storm-software/cyclone-ui/commit/369a520))
- **monorepo:** Add publish target to project configuration
([369a520](https://github.com/storm-software/cyclone-ui/commit/369a520))
Loading

0 comments on commit 0a1d2ed

Please sign in to comment.