lucy-cli 2.0.0-beta.10 → 2.0.0-beta.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commands/copy.js.map +1 -1
- package/dist/commands/git.d.ts +3 -2
- package/dist/commands/git.js +34 -0
- package/dist/commands/git.js.map +1 -1
- package/dist/commands/home.d.ts +1 -1
- package/dist/commands/home.js +2 -25
- package/dist/commands/home.js.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/init/cargo.d.ts +1 -1
- package/dist/init/git.d.ts +2 -0
- package/dist/init/git.js +13 -0
- package/dist/init/git.js.map +1 -0
- package/dist/init/gitModules.d.ts +1 -1
- package/dist/init/index.d.ts +2 -1
- package/dist/init/index.js +0 -1
- package/dist/init/index.js.map +1 -1
- package/dist/init/monorepo.d.ts +1 -1
- package/dist/init/prepareVelo.d.ts +1 -1
- package/dist/init/tauri.d.ts +1 -1
- package/dist/init/templates.d.ts +1 -1
- package/dist/init/templates.js +1 -1
- package/dist/init/templates.js.map +1 -1
- package/dist/init/velo.d.ts +1 -1
- package/package.json +1 -1
- package/src/commands/copy.ts +1 -0
- package/src/commands/git.ts +39 -0
- package/src/commands/home.ts +2 -38
- package/src/index.ts +1 -1
- package/src/init/index.ts +0 -1
- package/src/init/templates.ts +1 -1
- package/files/templates/block[D]/files/.cursorignore +0 -4
- package/files/templates/block[D]/files/.stylelintrc.js +0 -8
- package/files/templates/block[D]/lucy.json +0 -9
- package/files/templates/cargo[D]/files/.cursorignore +0 -4
- package/files/templates/cargo[D]/files/.env +0 -1
- package/files/templates/cargo[D]/files/Cargo.toml +0 -238
- package/files/templates/cargo[D]/files/Makefile.toml +0 -4
- package/files/templates/cargo[D]/files/build/main.rs +0 -35
- package/files/templates/cargo[D]/files/config/beta.json +0 -19
- package/files/templates/cargo[D]/files/config/ci.json +0 -15
- package/files/templates/cargo[D]/files/config/default.json +0 -71
- package/files/templates/cargo[D]/files/config/development.json +0 -10
- package/files/templates/cargo[D]/files/config/produktion.json +0 -5
- package/files/templates/cargo[D]/files/config/stage.json +0 -4
- package/files/templates/cargo[D]/files/locales/todo.yml +0 -3
- package/files/templates/cargo[D]/files/public/index.html +0 -1
- package/files/templates/cargo[D]/lucy.json +0 -15
- package/files/templates/expo verse[D]/files/.nvmrc +0 -1
- package/files/templates/expo verse[D]/files/.prettierignore +0 -23
- package/files/templates/expo verse[D]/files/.prettierrc.js +0 -16
- package/files/templates/expo verse[D]/files/.stylelintrc.json +0 -8
- package/files/templates/expo verse[D]/files/.vscode/extensions.json +0 -10
- package/files/templates/expo verse[D]/files/.vscode/launch.json +0 -54
- package/files/templates/expo verse[D]/files/.vscode/settings.json +0 -30
- package/files/templates/expo verse[D]/files/.vscode/tasks.json +0 -0
- package/files/templates/expo verse[D]/files/.yarnrc +0 -1
- package/files/templates/expo verse[D]/files/.yarnrc.yml +0 -8
- package/files/templates/expo verse[D]/files/App.tsx +0 -63
- package/files/templates/expo verse[D]/files/DEBUGGING.md +0 -126
- package/files/templates/expo verse[D]/files/README.md +0 -45
- package/files/templates/expo verse[D]/files/android/app/build.gradle +0 -177
- package/files/templates/expo verse[D]/files/android/app/debug.keystore +0 -0
- package/files/templates/expo verse[D]/files/android/app/proguard-rules.pro +0 -14
- package/files/templates/expo verse[D]/files/android/app/src/debug/AndroidManifest.xml +0 -7
- package/files/templates/expo verse[D]/files/android/app/src/main/AndroidManifest.xml +0 -33
- package/files/templates/expo verse[D]/files/android/app/src/main/java/so/sunnysideup/daily_verse/MainActivity.kt +0 -65
- package/files/templates/expo verse[D]/files/android/app/src/main/java/so/sunnysideup/daily_verse/MainApplication.kt +0 -57
- package/files/templates/expo verse[D]/files/android/app/src/main/res/drawable/ic_launcher_background.xml +0 -6
- package/files/templates/expo verse[D]/files/android/app/src/main/res/drawable/rn_edit_text_material.xml +0 -37
- package/files/templates/expo verse[D]/files/android/app/src/main/res/drawable-hdpi/splashscreen_logo.png +0 -0
- package/files/templates/expo verse[D]/files/android/app/src/main/res/drawable-mdpi/splashscreen_logo.png +0 -0
- package/files/templates/expo verse[D]/files/android/app/src/main/res/drawable-night-hdpi/splashscreen_logo.png +0 -0
- package/files/templates/expo verse[D]/files/android/app/src/main/res/drawable-night-mdpi/splashscreen_logo.png +0 -0
- package/files/templates/expo verse[D]/files/android/app/src/main/res/drawable-night-xhdpi/splashscreen_logo.png +0 -0
- package/files/templates/expo verse[D]/files/android/app/src/main/res/drawable-night-xxhdpi/splashscreen_logo.png +0 -0
- package/files/templates/expo verse[D]/files/android/app/src/main/res/drawable-night-xxxhdpi/splashscreen_logo.png +0 -0
- package/files/templates/expo verse[D]/files/android/app/src/main/res/drawable-xhdpi/splashscreen_logo.png +0 -0
- package/files/templates/expo verse[D]/files/android/app/src/main/res/drawable-xxhdpi/splashscreen_logo.png +0 -0
- package/files/templates/expo verse[D]/files/android/app/src/main/res/drawable-xxxhdpi/splashscreen_logo.png +0 -0
- package/files/templates/expo verse[D]/files/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml +0 -6
- package/files/templates/expo verse[D]/files/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml +0 -6
- package/files/templates/expo verse[D]/files/android/app/src/main/res/mipmap-hdpi/ic_launcher.webp +0 -0
- package/files/templates/expo verse[D]/files/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.webp +0 -0
- package/files/templates/expo verse[D]/files/android/app/src/main/res/mipmap-hdpi/ic_launcher_monochrome.webp +0 -0
- package/files/templates/expo verse[D]/files/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp +0 -0
- package/files/templates/expo verse[D]/files/android/app/src/main/res/mipmap-mdpi/ic_launcher.webp +0 -0
- package/files/templates/expo verse[D]/files/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.webp +0 -0
- package/files/templates/expo verse[D]/files/android/app/src/main/res/mipmap-mdpi/ic_launcher_monochrome.webp +0 -0
- package/files/templates/expo verse[D]/files/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp +0 -0
- package/files/templates/expo verse[D]/files/android/app/src/main/res/mipmap-xhdpi/ic_launcher.webp +0 -0
- package/files/templates/expo verse[D]/files/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.webp +0 -0
- package/files/templates/expo verse[D]/files/android/app/src/main/res/mipmap-xhdpi/ic_launcher_monochrome.webp +0 -0
- package/files/templates/expo verse[D]/files/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp +0 -0
- package/files/templates/expo verse[D]/files/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp +0 -0
- package/files/templates/expo verse[D]/files/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.webp +0 -0
- package/files/templates/expo verse[D]/files/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_monochrome.webp +0 -0
- package/files/templates/expo verse[D]/files/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp +0 -0
- package/files/templates/expo verse[D]/files/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp +0 -0
- package/files/templates/expo verse[D]/files/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.webp +0 -0
- package/files/templates/expo verse[D]/files/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_monochrome.webp +0 -0
- package/files/templates/expo verse[D]/files/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp +0 -0
- package/files/templates/expo verse[D]/files/android/app/src/main/res/values/colors.xml +0 -6
- package/files/templates/expo verse[D]/files/android/app/src/main/res/values/strings.xml +0 -7
- package/files/templates/expo verse[D]/files/android/app/src/main/res/values/styles.xml +0 -12
- package/files/templates/expo verse[D]/files/android/app/src/main/res/values-night/colors.xml +0 -3
- package/files/templates/expo verse[D]/files/android/build.gradle +0 -37
- package/files/templates/expo verse[D]/files/android/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/files/templates/expo verse[D]/files/android/gradle/wrapper/gradle-wrapper.properties +0 -7
- package/files/templates/expo verse[D]/files/android/gradle.properties +0 -59
- package/files/templates/expo verse[D]/files/android/gradlew +0 -251
- package/files/templates/expo verse[D]/files/android/gradlew.bat +0 -94
- package/files/templates/expo verse[D]/files/android/settings.gradle +0 -39
- package/files/templates/expo verse[D]/files/app.config.ts +0 -77
- package/files/templates/expo verse[D]/files/assets/data/de.csv +0 -949
- package/files/templates/expo verse[D]/files/assets/data/en.csv +0 -949
- package/files/templates/expo verse[D]/files/assets/fonts/PlayfairDisplay-Black.ttf +0 -0
- package/files/templates/expo verse[D]/files/assets/fonts/PlayfairDisplay-BlackItalic.ttf +0 -0
- package/files/templates/expo verse[D]/files/assets/fonts/PlayfairDisplay-Bold.ttf +0 -0
- package/files/templates/expo verse[D]/files/assets/fonts/PlayfairDisplay-BoldItalic.ttf +0 -0
- package/files/templates/expo verse[D]/files/assets/fonts/PlayfairDisplay-ExtraBold.ttf +0 -0
- package/files/templates/expo verse[D]/files/assets/fonts/PlayfairDisplay-ExtraBoldItalic.ttf +0 -0
- package/files/templates/expo verse[D]/files/assets/fonts/PlayfairDisplay-Italic.ttf +0 -0
- package/files/templates/expo verse[D]/files/assets/fonts/PlayfairDisplay-Medium.ttf +0 -0
- package/files/templates/expo verse[D]/files/assets/fonts/PlayfairDisplay-MediumItalic.ttf +0 -0
- package/files/templates/expo verse[D]/files/assets/fonts/PlayfairDisplay-Regular.ttf +0 -0
- package/files/templates/expo verse[D]/files/assets/fonts/PlayfairDisplay-SemiBold.ttf +0 -0
- package/files/templates/expo verse[D]/files/assets/fonts/PlayfairDisplay-SemiBoldItalic.ttf +0 -0
- package/files/templates/expo verse[D]/files/assets/fonts/SpaceMono-Regular.ttf +0 -0
- package/files/templates/expo verse[D]/files/assets/images/andorid/background.png +0 -0
- package/files/templates/expo verse[D]/files/assets/images/android-dark.png +0 -0
- package/files/templates/expo verse[D]/files/assets/images/android-light.png +0 -0
- package/files/templates/expo verse[D]/files/assets/images/background.png +0 -0
- package/files/templates/expo verse[D]/files/assets/images/ios-dark.png +0 -0
- package/files/templates/expo verse[D]/files/assets/images/ios-light.png +0 -0
- package/files/templates/expo verse[D]/files/assets/images/ios-tinted.png +0 -0
- package/files/templates/expo verse[D]/files/assets/images/splash-icon-dark.png +0 -0
- package/files/templates/expo verse[D]/files/assets/images/splash-icon-light.png +0 -0
- package/files/templates/expo verse[D]/files/babel.config.js +0 -10
- package/files/templates/expo verse[D]/files/components/.gitkeep +0 -0
- package/files/templates/expo verse[D]/files/components/MainScreen.tsx +0 -299
- package/files/templates/expo verse[D]/files/components/Share.tsx +0 -132
- package/files/templates/expo verse[D]/files/components/ui/.gitkeep +0 -0
- package/files/templates/expo verse[D]/files/components/ui/dev.tsx +0 -48
- package/files/templates/expo verse[D]/files/constants/config.ts +0 -30
- package/files/templates/expo verse[D]/files/constants/theme.ts +0 -18
- package/files/templates/expo verse[D]/files/data/de.csv +0 -219
- package/files/templates/expo verse[D]/files/data/en.csv +0 -219
- package/files/templates/expo verse[D]/files/data/version.json +0 -4
- package/files/templates/expo verse[D]/files/eas.json +0 -47
- package/files/templates/expo verse[D]/files/eslint.config.mjs +0 -185
- package/files/templates/expo verse[D]/files/global.css +0 -47
- package/files/templates/expo verse[D]/files/hooks/useColorScheme.ts +0 -17
- package/files/templates/expo verse[D]/files/index.ts +0 -28
- package/files/templates/expo verse[D]/files/lib/content.ts +0 -31
- package/files/templates/expo verse[D]/files/lib/data.ts +0 -180
- package/files/templates/expo verse[D]/files/lib/helper.ts +0 -54
- package/files/templates/expo verse[D]/files/lib/index.ts +0 -21
- package/files/templates/expo verse[D]/files/lib/state.ts +0 -128
- package/files/templates/expo verse[D]/files/lib/storage.ts +0 -17
- package/files/templates/expo verse[D]/files/lib/taskManager/index.ts +0 -38
- package/files/templates/expo verse[D]/files/lib/taskManager/loadData.ts +0 -14
- package/files/templates/expo verse[D]/files/lib/utils/index.ts +0 -11
- package/files/templates/expo verse[D]/files/lib/utils/polyfills.ts +0 -29
- package/files/templates/expo verse[D]/files/lib/utils/screenshot.ts +0 -77
- package/files/templates/expo verse[D]/files/lucy.json +0 -8
- package/files/templates/expo verse[D]/files/metro.config.js +0 -81
- package/files/templates/expo verse[D]/files/models/index.ts +0 -28
- package/files/templates/expo verse[D]/files/nativewind-env.d.ts +0 -1
- package/files/templates/expo verse[D]/files/package.json +0 -102
- package/files/templates/expo verse[D]/files/pnpm-workspace.yaml +0 -3
- package/files/templates/expo verse[D]/files/scripts/convert-verses.ts +0 -309
- package/files/templates/expo verse[D]/files/scripts/move-artifacts.ts +0 -83
- package/files/templates/expo verse[D]/files/scripts/reset-project.ts +0 -116
- package/files/templates/expo verse[D]/files/tailwind.config.js +0 -63
- package/files/templates/expo verse[D]/files/tsconfig.json +0 -45
- package/files/templates/expo verse[D]/files/types/index.ts +0 -4
- package/files/templates/expo verse[D]/files/types/reset.d.ts +0 -1
- package/files/templates/expo verse[D]/lucy.json +0 -86
- package/files/templates/expo[D]/files/.cursorignore +0 -4
- package/files/templates/expo[D]/files/.nvmrc +0 -1
- package/files/templates/expo[D]/files/.prettierignore +0 -23
- package/files/templates/expo[D]/files/.prettierrc.js +0 -16
- package/files/templates/expo[D]/files/.stylelintrc.js +0 -8
- package/files/templates/expo[D]/files/.yarnrc +0 -1
- package/files/templates/expo[D]/files/.yarnrc.yml +0 -3
- package/files/templates/expo[D]/files/README.md +0 -45
- package/files/templates/expo[D]/files/app.config.ts +0 -69
- package/files/templates/expo[D]/files/assets/fonts/SpaceMono-Regular.ttf +0 -0
- package/files/templates/expo[D]/files/assets/images/adaptive-icon.png +0 -0
- package/files/templates/expo[D]/files/assets/images/favicon.png +0 -0
- package/files/templates/expo[D]/files/assets/images/icon.png +0 -0
- package/files/templates/expo[D]/files/assets/images/splash-icon.png +0 -0
- package/files/templates/expo[D]/files/babel.config.js +0 -10
- package/files/templates/expo[D]/files/components/.gitkeep +0 -0
- package/files/templates/expo[D]/files/components/ui/.gitkeep +0 -0
- package/files/templates/expo[D]/files/constants/theme.ts +0 -18
- package/files/templates/expo[D]/files/eas.json +0 -32
- package/files/templates/expo[D]/files/eslint.config.mjs +0 -181
- package/files/templates/expo[D]/files/global.css +0 -47
- package/files/templates/expo[D]/files/hooks/useColorScheme.ts +0 -17
- package/files/templates/expo[D]/files/index.ts +0 -11
- package/files/templates/expo[D]/files/lib/data.ts +0 -197
- package/files/templates/expo[D]/files/lib/utils/index.ts +0 -11
- package/files/templates/expo[D]/files/lib/utils/polyfills.ts +0 -29
- package/files/templates/expo[D]/files/lib/wix/client.ts +0 -12
- package/files/templates/expo[D]/files/lib/wix/error.ts +0 -3
- package/files/templates/expo[D]/files/lib/wix/index.ts +0 -2
- package/files/templates/expo[D]/files/metro.config.js +0 -63
- package/files/templates/expo[D]/files/nativewind-env.d.ts +0 -1
- package/files/templates/expo[D]/files/pnpm-workspace.yaml +0 -3
- package/files/templates/expo[D]/files/scripts/reset-project.ts +0 -116
- package/files/templates/expo[D]/files/tailwind.config.js +0 -63
- package/files/templates/expo[D]/files/tsconfig.json +0 -46
- package/files/templates/expo[D]/files/types/reset.d.ts +0 -1
- package/files/templates/expo[D]/lucy.json +0 -86
- package/files/templates/monorepo[D]/files/.cursorignore +0 -4
- package/files/templates/monorepo[D]/files/.editorconfig +0 -10
- package/files/templates/monorepo[D]/files/.nvmrc +0 -1
- package/files/templates/monorepo[D]/files/.prettierignore +0 -23
- package/files/templates/monorepo[D]/files/.prettierrc.json +0 -15
- package/files/templates/monorepo[D]/files/.stylelintrc.js +0 -8
- package/files/templates/monorepo[D]/files/.yarnrc +0 -1
- package/files/templates/monorepo[D]/files/.yarnrc.yml +0 -3
- package/files/templates/monorepo[D]/files/README.md +0 -109
- package/files/templates/monorepo[D]/files/currents.config.ts +0 -5
- package/files/templates/monorepo[D]/files/nx.json +0 -25
- package/files/templates/monorepo[D]/files/pnpm-workspace.yaml +0 -11
- package/files/templates/monorepo[D]/files/tsconfig.json +0 -6
- package/files/templates/monorepo[D]/files/typedoc.json +0 -25
- package/files/templates/monorepo[D]/files/vitest.config.ts +0 -27
- package/files/templates/monorepo[D]/lucy.json +0 -69
- package/files/templates/tauri[D]/files/.cursorignore +0 -4
- package/files/templates/tauri[D]/lucy.json +0 -9
- package/files/templates/velo[D]/files/.cursorignore +0 -4
- package/files/templates/velo[D]/files/.gitmodules +0 -0
- package/files/templates/velo[D]/files/.madgerc +0 -8
- package/files/templates/velo[D]/files/.nvmrc +0 -1
- package/files/templates/velo[D]/files/.prettierignore +0 -23
- package/files/templates/velo[D]/files/.prettierrc.js +0 -16
- package/files/templates/velo[D]/files/.stylelintrc.js +0 -9
- package/files/templates/velo[D]/files/.yarnrc.yml +0 -2
- package/files/templates/velo[D]/files/currents.config.js +0 -5
- package/files/templates/velo[D]/files/cypress/e2e/base/base.cy.ts +0 -14
- package/files/templates/velo[D]/files/cypress/fixtures/example.json +0 -5
- package/files/templates/velo[D]/files/cypress/support/commands.ts +0 -37
- package/files/templates/velo[D]/files/cypress/support/e2e.ts +0 -24
- package/files/templates/velo[D]/files/cypress/tsconfig.json +0 -9
- package/files/templates/velo[D]/files/cypress.config.mjs +0 -19
- package/files/templates/velo[D]/files/eslint.config.mjs +0 -186
- package/files/templates/velo[D]/files/local.tsconfig.json +0 -61
- package/files/templates/velo[D]/files/typedoc.json +0 -25
- package/files/templates/velo[D]/files/typescript/__mocks__/.gitkeep +0 -0
- package/files/templates/velo[D]/files/typescript/backend/config/authz.ts +0 -47
- package/files/templates/velo[D]/files/typescript/backend/config/env.ts +0 -8
- package/files/templates/velo[D]/files/typescript/backend/config/index.ts +0 -26
- package/files/templates/velo[D]/files/typescript/backend/config/mail.ts +0 -10
- package/files/templates/velo[D]/files/typescript/backend/config/nats.ts +0 -6
- package/files/templates/velo[D]/files/typescript/backend/data.ts +0 -0
- package/files/templates/velo[D]/files/typescript/backend/events.ts +0 -0
- package/files/templates/velo[D]/files/typescript/backend/http-functions.ts +0 -81
- package/files/templates/velo[D]/files/typescript/backend/lib/http-functions/sync.ts +0 -270
- package/files/templates/velo[D]/files/typescript/backend/permissions.json +0 -17
- package/files/templates/velo[D]/files/typescript/pages/.gitkeep +0 -0
- package/files/templates/velo[D]/files/typescript/public/.gitkeep +0 -0
- package/files/templates/velo[D]/files/typescript/public/config/env.ts +0 -9
- package/files/templates/velo[D]/files/typescript/public/config/index.ts +0 -76
- package/files/templates/velo[D]/files/typescript/public/config/locales.ts +0 -30
- package/files/templates/velo[D]/files/typescript/public/config/theme.ts +0 -110
- package/files/templates/velo[D]/files/typescript/public/i18n/default.ts +0 -123
- package/files/templates/velo[D]/files/typescript/public/i18n/en.ts +0 -117
- package/files/templates/velo[D]/files/typescript/public/models/collections/member_roles.mode.ts +0 -21
- package/files/templates/velo[D]/files/typescript/public/models/collections/organization.model.ts +0 -38
- package/files/templates/velo[D]/files/typescript/public/models/collections/plan.model.ts +0 -94
- package/files/templates/velo[D]/files/typescript/public/models/collections/stage.model.ts +0 -14
- package/files/templates/velo[D]/files/typescript/public/models/collections/subscriptions.model.ts +0 -80
- package/files/templates/velo[D]/files/typescript/public/models/collections/tag.model.ts +0 -15
- package/files/templates/velo[D]/files/typescript/public/models/collections/translations.model.ts +0 -16
- package/files/templates/velo[D]/files/typescript/public/models/modules/authz.model.ts +0 -31
- package/files/templates/velo[D]/files/typescript/public/models/modules/organization.ts +0 -20
- package/files/templates/velo[D]/files/typescript/public/models/splitwise.model.ts +0 -18
- package/files/templates/velo[D]/files/typescript/public/models/store/local.model.ts +0 -10
- package/files/templates/velo[D]/files/typescript/public/models/store/memory.model.ts +0 -10
- package/files/templates/velo[D]/files/typescript/public/models/store/session.model.ts +0 -10
- package/files/templates/velo[D]/files/typescript/public/models/wix/ecom/payment.ts +0 -236
- package/files/templates/velo[D]/files/typescript/public/scss/app.scss +0 -0
- package/files/templates/velo[D]/files/typescript/styles/.gitkeep +0 -0
- package/files/templates/velo[D]/files/typescript/styles/global.scss +0 -0
- package/files/templates/velo[D]/files/typescript/tsconfig.json +0 -72
- package/files/templates/velo[D]/files/vitest.config.ts +0 -45
- package/files/templates/velo[D]/lucy.json +0 -137
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"modules": {},
|
|
3
|
-
"devDependencies": {
|
|
4
|
-
"tailwindcss": "^3.4.17",
|
|
5
|
-
"prettier-plugin-tailwindcss": "^0.5.11",
|
|
6
|
-
"@styled/typescript-styled-plugin": "",
|
|
7
|
-
"typescript-eslint-language-service": "",
|
|
8
|
-
"eslint-config-prettier": "",
|
|
9
|
-
"eslint-plugin-jsdoc": "",
|
|
10
|
-
"eslint-plugin-named-import-spacing": "",
|
|
11
|
-
"eslint-plugin-only-warn": "",
|
|
12
|
-
"eslint-plugin-react": "",
|
|
13
|
-
"eslint-plugin-react-hooks": "",
|
|
14
|
-
"eslint-plugin-simple-import-sort": "",
|
|
15
|
-
"@next/eslint-plugin-next": "",
|
|
16
|
-
"@stylelint/postcss-css-in-js": "",
|
|
17
|
-
"@typescript-eslint/parser": "",
|
|
18
|
-
"typescript-eslint": "",
|
|
19
|
-
"@total-typescript/ts-reset": "",
|
|
20
|
-
"expo-doctor": "",
|
|
21
|
-
"tsx": ""
|
|
22
|
-
},
|
|
23
|
-
"dependencies": {
|
|
24
|
-
"nativewind": "",
|
|
25
|
-
"react-native-reanimated": "~3.17.4",
|
|
26
|
-
"react-native-safe-area-context": "5.4.0",
|
|
27
|
-
"@wix/sdk": "1.15.24",
|
|
28
|
-
"@wix/data": "",
|
|
29
|
-
"expo-standard-web-crypto": "",
|
|
30
|
-
"effect": "",
|
|
31
|
-
"node-libs-react-native": "",
|
|
32
|
-
"util": "",
|
|
33
|
-
"events": "",
|
|
34
|
-
"tailwindcss-animate": "",
|
|
35
|
-
"papaparse": ""
|
|
36
|
-
},
|
|
37
|
-
"additionalCommands": [
|
|
38
|
-
[
|
|
39
|
-
"npx",
|
|
40
|
-
"expo",
|
|
41
|
-
"install",
|
|
42
|
-
"tailwindcss-animate",
|
|
43
|
-
"class-variance-authority",
|
|
44
|
-
"clsx",
|
|
45
|
-
"tailwind-merge",
|
|
46
|
-
"expo-crypto",
|
|
47
|
-
"react-dom",
|
|
48
|
-
"react-native-web",
|
|
49
|
-
"@expo/metro-runtime",
|
|
50
|
-
"expo-system-ui",
|
|
51
|
-
"expo-localization",
|
|
52
|
-
"expo-file-system",
|
|
53
|
-
"expo-asset"
|
|
54
|
-
]
|
|
55
|
-
],
|
|
56
|
-
"scripts": {
|
|
57
|
-
"dev": "expo start",
|
|
58
|
-
"start": "expo start",
|
|
59
|
-
"android": "expo start --android",
|
|
60
|
-
"ios": "expo start --ios",
|
|
61
|
-
"web": "expo start --web",
|
|
62
|
-
"reset": "tsx ./scripts/reset-project.ts",
|
|
63
|
-
"format": "prettier --write \"./*.json\" \"**/*.{ts,tsx,md,json,jsonc,json5}\"",
|
|
64
|
-
"prebuild": "expo prebuild",
|
|
65
|
-
"pods": "npx pod-install",
|
|
66
|
-
"build:dev": "eas build --local --profile development",
|
|
67
|
-
"build:sim": "eas build --local --profile ios-simulator",
|
|
68
|
-
"build:prev": "eas build --local --profile preview",
|
|
69
|
-
"build:prod": "eas build --local --profile production",
|
|
70
|
-
"build:web": "expo export --platform web",
|
|
71
|
-
"doctor": "expo-doctor",
|
|
72
|
-
"eas-build-pre-install": "corepack enable && yarn set version 4"
|
|
73
|
-
},
|
|
74
|
-
"initialized": false,
|
|
75
|
-
"type": "expo",
|
|
76
|
-
"packageManager": "pnpm",
|
|
77
|
-
"additionalPkgProps": {
|
|
78
|
-
"expo": {
|
|
79
|
-
"doctor": {
|
|
80
|
-
"reactNativeDirectoryCheck": {
|
|
81
|
-
"listUnknownPackages": false
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
22
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
# Dependencies
|
|
2
|
-
node_modules/
|
|
3
|
-
|
|
4
|
-
# Build output
|
|
5
|
-
dist
|
|
6
|
-
.next/
|
|
7
|
-
.wix/
|
|
8
|
-
build
|
|
9
|
-
out
|
|
10
|
-
|
|
11
|
-
# Turbo cache
|
|
12
|
-
.turbo
|
|
13
|
-
|
|
14
|
-
# Logs
|
|
15
|
-
*.log
|
|
16
|
-
npm-debug.log*
|
|
17
|
-
yarn-debug.log*
|
|
18
|
-
yarn-error.log*
|
|
19
|
-
pnpm-debug.log*
|
|
20
|
-
|
|
21
|
-
# As per your ESLint config, JS files are not formatted.
|
|
22
|
-
**/*.js
|
|
23
|
-
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
printWidth: 80,
|
|
3
|
-
tabWidth: 4,
|
|
4
|
-
useTabs: true,
|
|
5
|
-
singleQuote: true,
|
|
6
|
-
trailingComma: 'all',
|
|
7
|
-
plugins: ['prettier-plugin-tailwindcss'],
|
|
8
|
-
overrides: [
|
|
9
|
-
{
|
|
10
|
-
files: ['**/*.{json,jsonc,json5}', '*.{json,jsonc,json5}'],
|
|
11
|
-
options: {
|
|
12
|
-
useTabs: true
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
]
|
|
16
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
node-options=--max-old-space-size=16384
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
# Welcome to your Expo app 👋
|
|
2
|
-
|
|
3
|
-
This is an [Expo](https://expo.dev) project created with [`create-expo-app`](https://www.npmjs.com/package/create-expo-app).
|
|
4
|
-
|
|
5
|
-
## Get started
|
|
6
|
-
|
|
7
|
-
1. Install dependencies
|
|
8
|
-
|
|
9
|
-
```bash
|
|
10
|
-
yarn install
|
|
11
|
-
```
|
|
12
|
-
|
|
13
|
-
2. Start the app
|
|
14
|
-
|
|
15
|
-
```bash
|
|
16
|
-
npx expo start
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
In the output, you'll find options to open the app in a
|
|
20
|
-
|
|
21
|
-
- [development build](https://docs.expo.dev/develop/development-builds/introduction/)
|
|
22
|
-
- [Android emulator](https://docs.expo.dev/workflow/android-studio-emulator/)
|
|
23
|
-
- [iOS simulator](https://docs.expo.dev/workflow/ios-simulator/)
|
|
24
|
-
- [Expo Go](https://expo.dev/go), a limited sandbox for trying out app development with Expo
|
|
25
|
-
|
|
26
|
-
You can start developing by editing the files inside the **app** directory. This project uses [file-based routing](https://docs.expo.dev/router/introduction).
|
|
27
|
-
|
|
28
|
-
This command will move the starter code to the **app-example** directory and create a blank **app** directory where you can start developing.
|
|
29
|
-
|
|
30
|
-
## Learn more
|
|
31
|
-
|
|
32
|
-
To learn more about developing your project with Expo, look at the following resources:
|
|
33
|
-
|
|
34
|
-
- [React Reusable Components](https://www.reactnativereusables.com/getting-started/introduction/)
|
|
35
|
-
- [NativeWind Documentation](https://www.nativewind.dev/docs)
|
|
36
|
-
- [Expo Documentation](https://docs.expo.dev/)
|
|
37
|
-
- [Expo documentation](https://docs.expo.dev/): Learn fundamentals, or go into advanced topics with our [guides](https://docs.expo.dev/guides).
|
|
38
|
-
- [Learn Expo tutorial](https://docs.expo.dev/tutorial/introduction/): Follow a step-by-step tutorial where you'll create a project that runs on Android, iOS, and the web.
|
|
39
|
-
|
|
40
|
-
## Join the community
|
|
41
|
-
|
|
42
|
-
Join our community of developers creating universal apps.
|
|
43
|
-
|
|
44
|
-
- [Expo on GitHub](https://github.com/expo/expo): View our open source platform and contribute.
|
|
45
|
-
- [Discord community](https://chat.expo.dev): Chat with Expo users and ask questions.
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import { ExpoConfig, ConfigContext } from 'expo/config';
|
|
2
|
-
|
|
3
|
-
export default ({ config }: ConfigContext): ExpoConfig => ({
|
|
4
|
-
...config,
|
|
5
|
-
slug: 'daily-verse',
|
|
6
|
-
name: 'Daily Verse',
|
|
7
|
-
owner: 'sunnyside-up',
|
|
8
|
-
version: '1.0.0',
|
|
9
|
-
orientation: 'portrait',
|
|
10
|
-
userInterfaceStyle: 'automatic',
|
|
11
|
-
icon: './assets/images/icon.png',
|
|
12
|
-
newArchEnabled: true,
|
|
13
|
-
ios: {
|
|
14
|
-
supportsTablet: true,
|
|
15
|
-
bundleIdentifier: 'so.sunnysideup.daily-verse',
|
|
16
|
-
config: {
|
|
17
|
-
usesNonExemptEncryption: false,
|
|
18
|
-
},
|
|
19
|
-
icon: {
|
|
20
|
-
dark: './assets/images/ios-dark.png',
|
|
21
|
-
light: './assets/images/ios-light.png',
|
|
22
|
-
tinted: './assets/images/ios-tinted.png',
|
|
23
|
-
},
|
|
24
|
-
},
|
|
25
|
-
android: {
|
|
26
|
-
adaptiveIcon: {
|
|
27
|
-
foregroundImage: './assets/images/adaptive-icon.png',
|
|
28
|
-
monochromeImage: './assets/images/adaptive-icon.png',
|
|
29
|
-
// backgroundImage: "./assets/images/adaptive-icon.png",
|
|
30
|
-
backgroundColor: '#ffffff',
|
|
31
|
-
},
|
|
32
|
-
edgeToEdgeEnabled: true,
|
|
33
|
-
package: 'so.sunnysideup.daily_verse',
|
|
34
|
-
},
|
|
35
|
-
web: {
|
|
36
|
-
favicon: './assets/favicon.png',
|
|
37
|
-
bundler: 'metro',
|
|
38
|
-
},
|
|
39
|
-
extra: {
|
|
40
|
-
eas: {
|
|
41
|
-
projectId: 'ce2e3d56-e924-46a0-a880-f9f9911558eb',
|
|
42
|
-
},
|
|
43
|
-
},
|
|
44
|
-
plugins: [
|
|
45
|
-
'expo-localization',
|
|
46
|
-
'expo-asset',
|
|
47
|
-
'expo-font',
|
|
48
|
-
[
|
|
49
|
-
'expo-splash-screen',
|
|
50
|
-
{
|
|
51
|
-
image: './assets/images/splash-icon-dark.png',
|
|
52
|
-
imageWith: 200,
|
|
53
|
-
resizeMode: 'contain',
|
|
54
|
-
backgroundColor: '#ffffff',
|
|
55
|
-
dark: {
|
|
56
|
-
image: './assets/images/splash-icon-light.png',
|
|
57
|
-
backgroundColor: '#000000',
|
|
58
|
-
},
|
|
59
|
-
},
|
|
60
|
-
],
|
|
61
|
-
],
|
|
62
|
-
sdkVersion: '53.0.0',
|
|
63
|
-
runtimeVersion: {
|
|
64
|
-
policy: 'appVersion',
|
|
65
|
-
},
|
|
66
|
-
updates: {
|
|
67
|
-
url: 'https://u.expo.dev/314ea1f7-8fd3-4748-8c27-c8b04616f6c2',
|
|
68
|
-
},
|
|
69
|
-
});
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
File without changes
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export const NAV_THEME = {
|
|
2
|
-
light: {
|
|
3
|
-
background: 'hsl(0 0% 100%)', // background
|
|
4
|
-
border: 'hsl(240 5.9% 90%)', // border
|
|
5
|
-
card: 'hsl(0 0% 100%)', // card
|
|
6
|
-
notification: 'hsl(0 84.2% 60.2%)', // destructive
|
|
7
|
-
primary: 'hsl(240 5.9% 10%)', // primary
|
|
8
|
-
text: 'hsl(240 10% 3.9%)', // foreground
|
|
9
|
-
},
|
|
10
|
-
dark: {
|
|
11
|
-
background: 'hsl(240 10% 3.9%)', // background
|
|
12
|
-
border: 'hsl(240 3.7% 15.9%)', // border
|
|
13
|
-
card: 'hsl(240 10% 3.9%)', // card
|
|
14
|
-
notification: 'hsl(0 72% 51%)', // destructive
|
|
15
|
-
primary: 'hsl(0 0% 98%)', // primary
|
|
16
|
-
text: 'hsl(0 0% 98%)', // foreground
|
|
17
|
-
},
|
|
18
|
-
};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"cli": {
|
|
3
|
-
"appVersionSource": "remote"
|
|
4
|
-
},
|
|
5
|
-
"build": {
|
|
6
|
-
"development": {
|
|
7
|
-
"developmentClient": true,
|
|
8
|
-
"distribution": "internal",
|
|
9
|
-
"environment": "development",
|
|
10
|
-
"env": {}
|
|
11
|
-
},
|
|
12
|
-
"ios-simulator": {
|
|
13
|
-
"extends": "development",
|
|
14
|
-
"ios": {
|
|
15
|
-
"simulator": true
|
|
16
|
-
}
|
|
17
|
-
},
|
|
18
|
-
"preview": {
|
|
19
|
-
"distribution": "internal",
|
|
20
|
-
"environment": "preview",
|
|
21
|
-
"env": {}
|
|
22
|
-
},
|
|
23
|
-
"production": {
|
|
24
|
-
"autoIncrement": true,
|
|
25
|
-
"environment": "production",
|
|
26
|
-
"env": {}
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
"submit": {
|
|
30
|
-
"production": {}
|
|
31
|
-
}
|
|
32
|
-
}
|
|
@@ -1,181 +0,0 @@
|
|
|
1
|
-
/* eslint-disable @typescript-eslint/ban-ts-comment */
|
|
2
|
-
// https://docs.expo.dev/guides/using-eslint/
|
|
3
|
-
import eslint from '@eslint/js';
|
|
4
|
-
import expoConfig from 'eslint-config-expo/flat.js';
|
|
5
|
-
// @ts-ignore
|
|
6
|
-
import jsdoc from 'eslint-plugin-jsdoc';
|
|
7
|
-
import namedImportSpacing from 'eslint-plugin-named-import-spacing';
|
|
8
|
-
import simpleImportSort from 'eslint-plugin-simple-import-sort';
|
|
9
|
-
import globals from 'globals';
|
|
10
|
-
import tseslint from 'typescript-eslint';
|
|
11
|
-
|
|
12
|
-
export default tseslint.config(
|
|
13
|
-
eslint.configs.recommended,
|
|
14
|
-
// eslint-disable-next-line import/no-named-as-default-member
|
|
15
|
-
tseslint.configs.recommendedTypeChecked,
|
|
16
|
-
jsdoc.configs['flat/recommended-typescript'],
|
|
17
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
|
|
18
|
-
expoConfig,
|
|
19
|
-
{
|
|
20
|
-
ignores: ['dist/*'],
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
plugins: {
|
|
24
|
-
'simple-import-sort': simpleImportSort,
|
|
25
|
-
'named-import-spacing': namedImportSpacing,
|
|
26
|
-
},
|
|
27
|
-
settings: {
|
|
28
|
-
'import/resolver': {
|
|
29
|
-
typescript: {
|
|
30
|
-
project: './tsconfig.json',
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
},
|
|
34
|
-
languageOptions: {
|
|
35
|
-
// eslint-disable-next-line import/no-named-as-default-member
|
|
36
|
-
parser: tseslint.parser,
|
|
37
|
-
parserOptions: {
|
|
38
|
-
projectService: true,
|
|
39
|
-
},
|
|
40
|
-
ecmaVersion: 2020,
|
|
41
|
-
sourceType: 'module',
|
|
42
|
-
globals: {
|
|
43
|
-
$w: 'readonly',
|
|
44
|
-
...globals.browser,
|
|
45
|
-
...globals.node,
|
|
46
|
-
// ...globals.es6,
|
|
47
|
-
},
|
|
48
|
-
},
|
|
49
|
-
rules: {
|
|
50
|
-
'no-console': ['error'],
|
|
51
|
-
'no-restricted-imports': [
|
|
52
|
-
'error',
|
|
53
|
-
{
|
|
54
|
-
'patterns': ['*/**/backend/*', '*/**/public/*']
|
|
55
|
-
}
|
|
56
|
-
],
|
|
57
|
-
'no-restricted-syntax': [
|
|
58
|
-
'warn',
|
|
59
|
-
{
|
|
60
|
-
selector: 'StaticBlock',
|
|
61
|
-
message: 'Static blocks are not allowed in classes.',
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
selector: "MemberExpression[object.name='globalThis'][property.name='console']",
|
|
65
|
-
message: 'Using globalThis.console is not allowed.'
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
selector: "CallExpression[callee.property.name='runPromise'][callee.object.name='runtime']",
|
|
69
|
-
message: 'Usage of runtime.runPromise() is discouraged.',
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
selector: "CallExpression[callee.property.name='runFork'][callee.object.name='runtime']",
|
|
73
|
-
message: 'Usage of runtime.runFork() is discouraged.',
|
|
74
|
-
}
|
|
75
|
-
],
|
|
76
|
-
'@typescript-eslint/no-unsafe-argument': 'error',
|
|
77
|
-
'@typescript-eslint/no-unsafe-assignment': 'off',
|
|
78
|
-
'@typescript-eslint/no-unsafe-call': 'error',
|
|
79
|
-
'@typescript-eslint/no-unsafe-member-access': 'off',
|
|
80
|
-
'@typescript-eslint/no-unsafe-return': 'error',
|
|
81
|
-
quotes: [2, 'single', { avoidEscape: true, allowTemplateLiterals: true }],
|
|
82
|
-
curly: ['error', 'multi-line'],
|
|
83
|
-
'simple-import-sort/imports': 'error',
|
|
84
|
-
'simple-import-sort/exports': 'error',
|
|
85
|
-
indent: ['error', 'tab'],
|
|
86
|
-
'no-tabs': 0,
|
|
87
|
-
'semi-style': ['error', 'last'],
|
|
88
|
-
semi: [2, 'always'],
|
|
89
|
-
'object-curly-spacing': ['error', 'always'],
|
|
90
|
-
'space-in-parens': ['error', 'never'],
|
|
91
|
-
'newline-before-return': 'error',
|
|
92
|
-
'space-before-blocks': ['error', { functions: 'always', keywords: 'always', classes: 'always' }],
|
|
93
|
-
'comma-spacing': ['error', { before: false, after: true }],
|
|
94
|
-
'no-multi-spaces': 'error',
|
|
95
|
-
'import/newline-after-import': ['error', { count: 1 }],
|
|
96
|
-
'named-import-spacing/named-import-spacing': 2,
|
|
97
|
-
'@typescript-eslint/no-unused-vars': 'warn',
|
|
98
|
-
'import/no-unresolved': [0],
|
|
99
|
-
'no-forbidden-relative-imports': [0],
|
|
100
|
-
'@typescript-eslint/triple-slash-reference': 'off',
|
|
101
|
-
'@typescript-eslint/member-ordering': [
|
|
102
|
-
'error',
|
|
103
|
-
{
|
|
104
|
-
classes: [
|
|
105
|
-
'constructor',
|
|
106
|
-
'private-instance-field',
|
|
107
|
-
'protected-instance-field',
|
|
108
|
-
'public-instance-field',
|
|
109
|
-
'public-instance-method',
|
|
110
|
-
'private-instance-method',
|
|
111
|
-
],
|
|
112
|
-
},
|
|
113
|
-
],
|
|
114
|
-
'@typescript-eslint/naming-convention': [
|
|
115
|
-
'error',
|
|
116
|
-
{
|
|
117
|
-
selector: ['variable'],
|
|
118
|
-
format: ['camelCase', 'UPPER_CASE'],
|
|
119
|
-
leadingUnderscore: 'allow',
|
|
120
|
-
},
|
|
121
|
-
{
|
|
122
|
-
selector: ['function'],
|
|
123
|
-
format: ['camelCase', 'PascalCase'],
|
|
124
|
-
leadingUnderscore: 'allow',
|
|
125
|
-
},
|
|
126
|
-
{
|
|
127
|
-
selector: ['objectLiteralMethod',],
|
|
128
|
-
format: ['camelCase', 'PascalCase'],
|
|
129
|
-
leadingUnderscore: 'allow',
|
|
130
|
-
},
|
|
131
|
-
{
|
|
132
|
-
selector: ['import',],
|
|
133
|
-
format: ['camelCase', 'PascalCase'],
|
|
134
|
-
leadingUnderscore: 'allow',
|
|
135
|
-
},
|
|
136
|
-
{
|
|
137
|
-
selector: ['objectLiteralProperty'],
|
|
138
|
-
format: null,
|
|
139
|
-
leadingUnderscore: 'allow',
|
|
140
|
-
},
|
|
141
|
-
{
|
|
142
|
-
selector: 'memberLike',
|
|
143
|
-
modifiers: ['private'],
|
|
144
|
-
format: ['camelCase'],
|
|
145
|
-
leadingUnderscore: 'require',
|
|
146
|
-
},
|
|
147
|
-
{
|
|
148
|
-
selector: 'memberLike',
|
|
149
|
-
modifiers: ['protected'],
|
|
150
|
-
format: ['camelCase'],
|
|
151
|
-
leadingUnderscore: 'require',
|
|
152
|
-
},
|
|
153
|
-
{
|
|
154
|
-
selector: 'memberLike',
|
|
155
|
-
modifiers: ['public'],
|
|
156
|
-
format: ['camelCase'],
|
|
157
|
-
leadingUnderscore: 'forbid',
|
|
158
|
-
},
|
|
159
|
-
{
|
|
160
|
-
selector: ['parameterProperty', 'parameter'],
|
|
161
|
-
format: ['camelCase'],
|
|
162
|
-
leadingUnderscore: 'forbid',
|
|
163
|
-
},
|
|
164
|
-
{
|
|
165
|
-
selector: 'default',
|
|
166
|
-
format: ['UPPER_CASE'],
|
|
167
|
-
leadingUnderscore: 'forbid',
|
|
168
|
-
trailingUnderscore: 'forbid',
|
|
169
|
-
custom: {
|
|
170
|
-
regex: '^[A-Z_]+$',
|
|
171
|
-
match: true,
|
|
172
|
-
},
|
|
173
|
-
},
|
|
174
|
-
{
|
|
175
|
-
selector: 'typeLike',
|
|
176
|
-
format: ['PascalCase'],
|
|
177
|
-
},
|
|
178
|
-
],
|
|
179
|
-
},
|
|
180
|
-
},
|
|
181
|
-
);
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
@tailwind base;
|
|
2
|
-
@tailwind components;
|
|
3
|
-
@tailwind utilities;
|
|
4
|
-
@layer base {
|
|
5
|
-
:root {
|
|
6
|
-
--background: 0 0% 100%;
|
|
7
|
-
--foreground: 240 10% 3.9%;
|
|
8
|
-
--card: 0 0% 100%;
|
|
9
|
-
--card-foreground: 240 10% 3.9%;
|
|
10
|
-
--popover: 0 0% 100%;
|
|
11
|
-
--popover-foreground: 240 10% 3.9%;
|
|
12
|
-
--primary: 240 5.9% 10%;
|
|
13
|
-
--primary-foreground: 0 0% 98%;
|
|
14
|
-
--secondary: 240 4.8% 95.9%;
|
|
15
|
-
--secondary-foreground: 240 5.9% 10%;
|
|
16
|
-
--muted: 240 4.8% 95.9%;
|
|
17
|
-
--muted-foreground: 240 3.8% 46.1%;
|
|
18
|
-
--accent: 240 4.8% 95.9%;
|
|
19
|
-
--accent-foreground: 240 5.9% 10%;
|
|
20
|
-
--destructive: 0 84.2% 60.2%;
|
|
21
|
-
--destructive-foreground: 0 0% 98%;
|
|
22
|
-
--border: 240 5.9% 90%;
|
|
23
|
-
--input: 240 5.9% 90%;
|
|
24
|
-
--ring: 240 5.9% 10%;
|
|
25
|
-
}
|
|
26
|
-
.dark:root {
|
|
27
|
-
--background: 240 10% 3.9%;
|
|
28
|
-
--foreground: 0 0% 98%;
|
|
29
|
-
--card: 240 10% 3.9%;
|
|
30
|
-
--card-foreground: 0 0% 98%;
|
|
31
|
-
--popover: 240 10% 3.9%;
|
|
32
|
-
--popover-foreground: 0 0% 98%;
|
|
33
|
-
--primary: 0 0% 98%;
|
|
34
|
-
--primary-foreground: 240 5.9% 10%;
|
|
35
|
-
--secondary: 240 3.7% 15.9%;
|
|
36
|
-
--secondary-foreground: 0 0% 98%;
|
|
37
|
-
--muted: 240 3.7% 15.9%;
|
|
38
|
-
--muted-foreground: 240 5% 64.9%;
|
|
39
|
-
--accent: 240 3.7% 15.9%;
|
|
40
|
-
--accent-foreground: 0 0% 98%;
|
|
41
|
-
--destructive: 0 72% 51%;
|
|
42
|
-
--destructive-foreground: 0 0% 98%;
|
|
43
|
-
--border: 240 3.7% 15.9%;
|
|
44
|
-
--input: 240 3.7% 15.9%;
|
|
45
|
-
--ring: 240 4.9% 83.9%;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { useColorScheme as useNativewindColorScheme } from 'nativewind';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Custom hook to get the current color scheme and provide methods to change it.
|
|
5
|
-
* This hook uses the nativewind's useColorScheme to access the color scheme.
|
|
6
|
-
* @returns An object containing the current color scheme, a method to set the color scheme,
|
|
7
|
-
*/
|
|
8
|
-
export function useColorScheme() {
|
|
9
|
-
const { colorScheme, setColorScheme, toggleColorScheme } = useNativewindColorScheme();
|
|
10
|
-
|
|
11
|
-
return {
|
|
12
|
-
colorScheme: colorScheme ?? 'dark',
|
|
13
|
-
isDarkColorScheme: colorScheme === 'dark',
|
|
14
|
-
setColorScheme,
|
|
15
|
-
toggleColorScheme,
|
|
16
|
-
};
|
|
17
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import '@/global.css';
|
|
2
|
-
import '@/lib/utils/polyfills';
|
|
3
|
-
|
|
4
|
-
import { registerRootComponent } from 'expo';
|
|
5
|
-
|
|
6
|
-
import App from './App';
|
|
7
|
-
|
|
8
|
-
// registerRootComponent calls AppRegistry.registerComponent('main', () => App);
|
|
9
|
-
// It also ensures that whether you load the app in Expo Go or in a native build,
|
|
10
|
-
// the environment is set up appropriately
|
|
11
|
-
registerRootComponent(App);
|