diff --git a/.env b/.env index 4f1e69b0..69f25c42 100644 --- a/.env +++ b/.env @@ -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" @@ -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" diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ea32d8e2..fcce3768 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 @@ -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: @@ -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 }} diff --git a/.npmrc b/.npmrc index db9b187c..86d23848 100644 --- a/.npmrc +++ b/.npmrc @@ -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/ diff --git a/.vscode/settings.json b/.vscode/settings.json index 630a644d..0450b7ef 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -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": { @@ -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", @@ -332,5 +327,6 @@ }, "eslint.codeAction.showDocumentation": { "enable": true - } + }, + "eslint.codeActionsOnSave.mode": "problems" } diff --git a/apps/cli/.eslintrc.cjs b/apps/cli/.eslintrc.cjs index 2e948032..9f1ddf7a 100644 --- a/apps/cli/.eslintrc.cjs +++ b/apps/cli/.eslintrc.cjs @@ -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; diff --git a/apps/cli/CHANGELOG.md b/apps/cli/CHANGELOG.md index ddf8a320..9e44a36c 100644 --- a/apps/cli/CHANGELOG.md +++ b/apps/cli/CHANGELOG.md @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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)) \ No newline at end of file +- **monorepo:** Add publish target to project configuration + ([369a520](https://github.com/storm-software/cyclone-ui/commit/369a520)) diff --git a/apps/cli/README.md b/apps/cli/README.md index a98cca0a..f436e86d 100644 --- a/apps/cli/README.md +++ b/apps/cli/README.md @@ -1,4 +1,33 @@ + + + + +
+ +Patrick Sullivan π¨ π» π§ π β οΈ |
+ Tyler Benning π¨ |
+ Stormie π§ |
+ ||||
+ + Add your contributions + + | +
Fingerprint: 1BD2 7192 7770 2549 F4C9 F238 E6AD C420 DA5C 4C2D
+