mirror of
https://github.com/selfxyz/self.git
synced 2026-04-27 03:01:15 -04:00
* chore: remove android private modules doc * private repo pull * skip private modules * remove unused circuits building * save wip * format * restore tsconfig * fix package install * fix internal repo cloning * unify logic and fix cloning * git clone internal repos efficiently * formatting * run app yarn reinstall from root * coderabbit feedback * coderabbit suggestions * remove skip private modules logic * fix: ensure PAT is passed through yarn-install action and handle missing PAT gracefully - Update yarn-install action to pass SELFXYZ_INTERNAL_REPO_PAT to yarn install - Make setup-private-modules.cjs skip gracefully when PAT is unavailable in CI - Fixes issue where setup script was throwing error instead of skipping for forks * prettier * fix clone ci * clone ci fixes * fix import export sorts * fix instructions * fix: remove SelfAppBuilder re-export to fix duplicate export error - Remove SelfAppBuilder import/export from @selfxyz/qrcode - Update README to import SelfAppBuilder directly from @selfxyz/common - Fixes CI build failure with duplicate export error * fix: unify eslint-plugin-sort-exports version across workspaces - Update mobile-sdk-alpha from 0.8.0 to 0.9.1 to match other workspaces - Removes yarn.lock version conflict causing CI/local behavior mismatch - Fixes quality-checks workflow linting failure * fix: bust qrcode SDK build cache to resolve stale SelfAppBuilder issue - Increment GH_SDK_CACHE_VERSION from v1 to v2 - Forces CI to rebuild artifacts from scratch instead of using cached version - Resolves quality-checks linter error showing removed SelfAppBuilder export * skip job * test yarn cache * bump cache version to try and fix the issue * revert cache version * refactor: use direct re-exports for cleaner qrcode package structure - Replace import-then-export pattern with direct re-exports - Keep SelfAppBuilder export with proper alphabetical sorting (before SelfQRcode) - Maintain API compatibility as documented in README - Eliminates linter sorting issues while keeping clean code structure * fix: separate type and value imports in README examples - Import SelfApp as type since it's an interface - Import SelfAppBuilder as value since it's a class - Follows TypeScript best practices and improves tree shaking
58 lines
2.7 KiB
JSON
58 lines
2.7 KiB
JSON
{
|
|
"name": "self-workspace-root",
|
|
"workspaces": [
|
|
"app",
|
|
"circuits",
|
|
"common",
|
|
"contracts",
|
|
"packages/*",
|
|
"prover/tests",
|
|
"sdk/*",
|
|
"scripts/tests",
|
|
"packages/mobile-sdk-alpha/demo-app"
|
|
],
|
|
"scripts": {
|
|
"build": "yarn workspaces foreach --topological-dev --parallel --exclude @selfxyz/contracts -i --all run build",
|
|
"check:versions": "node scripts/check-package-versions.mjs",
|
|
"reinstall-app": "rm -rf node_modules app/node_modules && yarn install && yarn workspace @selfxyz/mobile-app run install-app",
|
|
"format": "SKIP_BUILD_DEPS=1 yarn format:root && yarn format:github && SKIP_BUILD_DEPS=1 yarn workspaces foreach --parallel -i --all --exclude self-workspace-root run format",
|
|
"format:github": "yarn prettier --parser yaml --write .github/**/*.yml --single-quote false",
|
|
"format:root": "echo 'format markdown' && yarn prettier --parser markdown --write *.md && echo 'format yaml' && yarn prettier --parser yaml --write .*.{yml,yaml} --single-quote false && yarn prettier --write scripts/**/*.{js,mjs,ts} && yarn prettier --parser json --write scripts/**/*.json",
|
|
"gitleaks": "gitleaks protect --staged --redact --config=.gitleaks.toml",
|
|
"postinstall": "node scripts/run-patch-package.cjs",
|
|
"lint": "yarn lint:headers && yarn workspaces foreach --parallel -i --all --exclude self-workspace-root run lint",
|
|
"lint:headers": "node scripts/check-duplicate-headers.cjs . && node scripts/check-license-headers.mjs . --check",
|
|
"lint:headers:fix": "node scripts/check-duplicate-headers.cjs . && node scripts/check-license-headers.mjs . --fix",
|
|
"prepare": "husky",
|
|
"sort-package-jsons": "find . -name 'package.json' -not -path './node_modules/*' -not -path './*/node_modules/*' | xargs npx sort-package-json",
|
|
"test": "yarn workspaces foreach --parallel -i --all run test",
|
|
"test:license-headers": "cd scripts/tests && node check-license-headers.test.mjs",
|
|
"types": "yarn workspaces foreach --topological-dev --parallel --exclude @selfxyz/contracts -i --all run types "
|
|
},
|
|
"resolutions": {
|
|
"@babel/core": "^7.28.4",
|
|
"@babel/runtime": "^7.28.4",
|
|
"@types/node": "^22.18.3",
|
|
"@types/react": "^18.3.4",
|
|
"@types/react-dom": "^18.3.0",
|
|
"@typescript-eslint/eslint-plugin": "^8.43.0",
|
|
"@typescript-eslint/parser": "^8.43.0",
|
|
"react": "^18.3.1",
|
|
"react-dom": "^18.3.1",
|
|
"react-native": "0.76.9"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^22.18.3",
|
|
"gitleaks": "1.0.0",
|
|
"husky": "9.1.7",
|
|
"knip": "^5.63.1",
|
|
"patch-package": "^8.0.0",
|
|
"prettier": "^3.6.2",
|
|
"typescript": "^5.9.2"
|
|
},
|
|
"packageManager": "yarn@4.6.0",
|
|
"engines": {
|
|
"node": ">=22 <23"
|
|
}
|
|
}
|