Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions .github/workflows/release-rc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,17 +56,22 @@ jobs:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Bump Package Version
run: pnpm run bump-version
working-directory: ./packages/raystack
run: node scripts/bump-version.js packages/raystack packages/tools-config
env:
GIT_REFNAME: ${{ github.ref_name }}

- name: Run Release 🚀
- name: Run Release (apsara) 🚀
run: pnpm run release --tag next
working-directory: ./packages/raystack
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Run Release (tools-config) 🚀
run: pnpm run release --tag next
working-directory: ./packages/tools-config
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Generate GitHub Pre-Release Notes 📓
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
11 changes: 8 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,17 +56,22 @@ jobs:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Bump Package Version
run: pnpm run bump-version
working-directory: ./packages/raystack
run: node scripts/bump-version.js packages/raystack packages/tools-config
env:
GIT_REFNAME: ${{ github.ref_name }}

- name: Run Release 🚀
- name: Run Release (apsara) 🚀
run: pnpm run release --tag latest
working-directory: ./packages/raystack
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Run Release (tools-config) 🚀
run: pnpm run release --tag latest
working-directory: ./packages/tools-config
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Generate GitHub Release Notes 📓
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
5 changes: 5 additions & 0 deletions apps/www/biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"root": false,
"$schema": "https://biomejs.dev/schemas/2.3.8/schema.json",
"extends": ["@raystack/tools-config/biome"]
}
6 changes: 5 additions & 1 deletion apps/www/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@
"dev": "next dev",
"build": "next build",
"start": "next start",
"postinstall": "fumadocs-mdx"
"postinstall": "fumadocs-mdx",
"lint": "biome check .",
"lint:fix": "biome check --write .",
"format": "biome format --write ."
},
"dependencies": {
"@radix-ui/react-icons": "^1.3.2",
Expand All @@ -34,6 +37,7 @@
"zod": "^3.24.2"
},
"devDependencies": {
"@raystack/tools-config": "workspace:*",
"@types/mdx": "^2.0.13",
"@types/node": "^24.9.2",
"@types/react": "^19.2.2",
Expand Down
14 changes: 2 additions & 12 deletions apps/www/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,30 +1,20 @@
{
"extends": "@raystack/tools-config/tsconfig/react",
"compilerOptions": {
"baseUrl": ".",
"target": "ESNext",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"noEmit": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "bundler",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "react-jsx",
"incremental": true,
"paths": {
"react": ["node_modules/@types/react"],
"@/.source": ["./.source/index.ts"],
"@/*": ["./src/*"]
},
"plugins": [
{
"name": "next"
}
]
"plugins": [{ "name": "next" }]
},
"include": [
"next-env.d.ts",
Expand Down
161 changes: 3 additions & 158 deletions biome.json
Original file line number Diff line number Diff line change
@@ -1,160 +1,5 @@
{
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
"vcs": {
"enabled": true,
"clientKind": "git",
"useIgnoreFile": true,
"defaultBranch": "main"
},
"files": { "ignoreUnknown": false, "ignore": [] },
"formatter": {
"enabled": true,
"useEditorconfig": true,
"formatWithErrors": false,
"indentStyle": "space",
"indentWidth": 2,
"lineEnding": "lf",
"lineWidth": 80,
"attributePosition": "auto",
"bracketSpacing": true
},
"organizeImports": { "enabled": true },
"linter": {
"enabled": true,
"rules": {
"recommended": false,
"a11y": { "noBlankTarget": "error" },
"complexity": {
"noExtraBooleanCast": "error",
"noMultipleSpacesInRegularExpressionLiterals": "error",
"noUselessCatch": "error",
"noUselessTypeConstraint": "error",
"noWith": "error"
},
"correctness": {
"noChildrenProp": "error",
"noConstAssign": "error",
"noConstantCondition": "error",
"noEmptyCharacterClassInRegex": "error",
"noEmptyPattern": "warn",
"noGlobalObjectCalls": "error",
"noInnerDeclarations": "error",
"noInvalidConstructorSuper": "error",
"noInvalidUseBeforeDeclaration": "error",
"noNewSymbol": "error",
"noNonoctalDecimalEscape": "error",
"noPrecisionLoss": "error",
"noSelfAssign": "error",
"noSetterReturn": "error",
"noSwitchDeclarations": "error",
"noUndeclaredVariables": "error",
"noUnreachable": "error",
"noUnreachableSuper": "error",
"noUnsafeFinally": "error",
"noUnsafeOptionalChaining": "error",
"noUnusedLabels": "error",
"noUnusedVariables": "warn",
"useArrayLiterals": "off",
"useExhaustiveDependencies": "warn",
"useHookAtTopLevel": "error",
"useIsNan": "error",
"useJsxKeyInIterable": "error",
"useValidForDirection": "error",
"useYield": "error",
"noUnusedImports": "warn"
},
"security": { "noDangerouslySetInnerHtmlWithChildren": "error" },
"style": { "noNamespace": "error", "useAsConstAssertion": "warn" },
"suspicious": {
"noAsyncPromiseExecutor": "error",
"noCatchAssign": "error",
"noClassAssign": "error",
"noCommentText": "warn",
"noCompareNegZero": "error",
"noControlCharactersInRegex": "error",
"noDebugger": "error",
"noDuplicateCase": "error",
"noDuplicateClassMembers": "error",
"noDuplicateJsxProps": "error",
"noDuplicateObjectKeys": "error",
"noDuplicateParameters": "error",
"noEmptyBlockStatements": "warn",
"noExplicitAny": "warn",
"noExtraNonNullAssertion": "warn",
"noFallthroughSwitchClause": "error",
"noFunctionAssign": "error",
"noGlobalAssign": "error",
"noImportAssign": "error",
"noMisleadingCharacterClass": "error",
"noMisleadingInstantiator": "error",
"noPrototypeBuiltins": "error",
"noRedeclare": "error",
"noShadowRestrictedNames": "error",
"noSparseArray": "error",
"noUnsafeDeclarationMerging": "error",
"noUnsafeNegation": "error",
"useGetterReturn": "error",
"useNamespaceKeyword": "error",
"useValidTypeof": "error"
},
"nursery": {
"useConsistentCurlyBraces": "error"
}
}
},
"javascript": {
"formatter": {
"jsxQuoteStyle": "single",
"quoteProperties": "asNeeded",
"trailingCommas": "none",
"semicolons": "always",
"arrowParentheses": "asNeeded",
"bracketSameLine": false,
"quoteStyle": "single",
"attributePosition": "auto",
"bracketSpacing": true
}
},
"css": {
"parser": {
"cssModules": true
}
},
"overrides": [
{ "include": [".eslintrc.{js,cjs}"] },
{
"include": ["*.ts", "*.tsx", "*.mts", "*.cts"],
"linter": {
"rules": {
"correctness": {
"noConstAssign": "off",
"noGlobalObjectCalls": "off",
"noInvalidBuiltinInstantiation": "off",
"noInvalidConstructorSuper": "off",
"noNewSymbol": "off",
"noSetterReturn": "off",
"noUndeclaredVariables": "off",
"noUnreachable": "off",
"noUnreachableSuper": "off"
},
"style": {
"noArguments": "error",
"noVar": "error",
"useConst": "error"
},
"suspicious": {
"noClassAssign": "off",
"noDuplicateClassMembers": "off",
"noDuplicateObjectKeys": "off",
"noDuplicateParameters": "off",
"noFunctionAssign": "off",
"noImportAssign": "off",
"noRedeclare": "off",
"noUnsafeNegation": "off",
"useGetterReturn": "off"
}
}
}
}
]
"$schema": "https://biomejs.dev/schemas/2.3.8/schema.json",
"extends": ["@raystack/tools-config/biome"],
"root": true
}
7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,14 @@
"ci:release": "turbo release --filter=@raystack/apsara"
},
"devDependencies": {
"@biomejs/biome": "1.9.4",
"@biomejs/biome": "2.3.8",
"semver": "^7.6.0",
"@parcel/packager-ts": "2.9.2",
"@parcel/transformer-typescript-types": "2.9.2",
"@raystack/tools-config": "workspace:*",
"@turbo/gen": "^1.9.7",
"concurrently": "^9.1.2",
"eslint": "^7.32.0",
"eslint-config-custom": "workspace:*",
"lefthook": "^1.11.12",
"prettier": "^2.5.1",
"process": "^0.11.10",
"turbo": "2.3.1",
"typescript": "4.7"
Expand Down
17 changes: 0 additions & 17 deletions packages/eslint-config-custom/index.js

This file was deleted.

22 changes: 0 additions & 22 deletions packages/eslint-config-custom/package.json

This file was deleted.

8 changes: 8 additions & 0 deletions packages/plugin-vscode/biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"root": false,
"$schema": "https://biomejs.dev/schemas/2.3.8/schema.json",
"extends": ["@raystack/tools-config/biome"],
"vcs": {
"useIgnoreFile": false
}
}
17 changes: 14 additions & 3 deletions packages/plugin-vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,15 @@
"vscode": "^1.70.0",
"node": ">=20"
},
"keywords": ["apsara", "raystack"],
"categories": ["Programming Languages", "Snippets", "Other"],
"keywords": [
"apsara",
"raystack"
],
"categories": [
"Programming Languages",
"Snippets",
"Other"
],
"activationEvents": [
"onLanguage:css",
"onLanguage:scss",
Expand Down Expand Up @@ -48,7 +55,10 @@
"build": "pnpm clean && node esbuild.js --production",
"dev": "pnpm clean && node esbuild.js --watch",
"clean": "rimraf dist",
"package": "pnpm build && vsce package --no-dependencies --baseImagesUrl 'https://raw.githubusercontent.com/raystack/apsara/refs/heads/main/packages/plugin-vscode'"
"package": "pnpm build && vsce package --no-dependencies --baseImagesUrl 'https://raw.githubusercontent.com/raystack/apsara/refs/heads/main/packages/plugin-vscode'",
"lint": "biome check .",
"lint:fix": "biome check --write .",
"format": "biome format --write ."
},
"dependencies": {
"@raystack/apsara": "^0.46.0",
Expand All @@ -58,6 +68,7 @@
"vscode-languageserver-textdocument": "^1.0.12"
},
"devDependencies": {
"@raystack/tools-config": "workspace:*",
"@types/color": "^4.2.0",
"@types/node": "20.x",
"@types/vscode": "^1.70.0",
Expand Down
5 changes: 5 additions & 0 deletions packages/raystack/biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"root": false,
"$schema": "https://biomejs.dev/schemas/2.3.8/schema.json",
"extends": ["@raystack/tools-config/biome"]
}
Loading