lucy-cli 2.0.0-beta.11 → 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/Default[B]/files/.cursorignore +0 -4
- package/files/templates/Default[B]/files/.stylelintrc.js +0 -8
- package/files/templates/Default[B]/lucy.json +0 -9
- package/files/templates/Default[C]/files/.cursorignore +0 -4
- package/files/templates/Default[C]/files/.env +0 -1
- package/files/templates/Default[C]/files/Cargo.toml +0 -238
- package/files/templates/Default[C]/files/Makefile.toml +0 -4
- package/files/templates/Default[C]/files/build/main.rs +0 -35
- package/files/templates/Default[C]/files/config/beta.json +0 -19
- package/files/templates/Default[C]/files/config/ci.json +0 -15
- package/files/templates/Default[C]/files/config/default.json +0 -71
- package/files/templates/Default[C]/files/config/development.json +0 -10
- package/files/templates/Default[C]/files/config/produktion.json +0 -5
- package/files/templates/Default[C]/files/config/stage.json +0 -4
- package/files/templates/Default[C]/files/locales/todo.yml +0 -3
- package/files/templates/Default[C]/files/public/index.html +0 -1
- package/files/templates/Default[C]/lucy.json +0 -15
- package/files/templates/Default[E]/files/.cursorignore +0 -4
- package/files/templates/Default[E]/files/.nvmrc +0 -1
- package/files/templates/Default[E]/files/.prettierignore +0 -23
- package/files/templates/Default[E]/files/.prettierrc.js +0 -16
- package/files/templates/Default[E]/files/.stylelintrc.js +0 -8
- package/files/templates/Default[E]/files/.yarnrc +0 -1
- package/files/templates/Default[E]/files/.yarnrc.yml +0 -3
- package/files/templates/Default[E]/files/README.md +0 -45
- package/files/templates/Default[E]/files/app.config.ts +0 -69
- package/files/templates/Default[E]/files/assets/fonts/SpaceMono-Regular.ttf +0 -0
- package/files/templates/Default[E]/files/assets/images/adaptive-icon.png +0 -0
- package/files/templates/Default[E]/files/assets/images/favicon.png +0 -0
- package/files/templates/Default[E]/files/assets/images/icon.png +0 -0
- package/files/templates/Default[E]/files/assets/images/splash-icon.png +0 -0
- package/files/templates/Default[E]/files/babel.config.js +0 -10
- package/files/templates/Default[E]/files/components/.gitkeep +0 -0
- package/files/templates/Default[E]/files/components/ui/.gitkeep +0 -0
- package/files/templates/Default[E]/files/constants/theme.ts +0 -18
- package/files/templates/Default[E]/files/eas.json +0 -32
- package/files/templates/Default[E]/files/eslint.config.mjs +0 -181
- package/files/templates/Default[E]/files/global.css +0 -47
- package/files/templates/Default[E]/files/hooks/useColorScheme.ts +0 -17
- package/files/templates/Default[E]/files/index.ts +0 -11
- package/files/templates/Default[E]/files/lib/data.ts +0 -197
- package/files/templates/Default[E]/files/lib/utils/index.ts +0 -11
- package/files/templates/Default[E]/files/lib/utils/polyfills.ts +0 -29
- package/files/templates/Default[E]/files/lib/wix/client.ts +0 -12
- package/files/templates/Default[E]/files/lib/wix/error.ts +0 -3
- package/files/templates/Default[E]/files/lib/wix/index.ts +0 -2
- package/files/templates/Default[E]/files/metro.config.js +0 -63
- package/files/templates/Default[E]/files/nativewind-env.d.ts +0 -1
- package/files/templates/Default[E]/files/pnpm-workspace.yaml +0 -3
- package/files/templates/Default[E]/files/scripts/reset-project.ts +0 -116
- package/files/templates/Default[E]/files/tailwind.config.js +0 -63
- package/files/templates/Default[E]/files/tsconfig.json +0 -46
- package/files/templates/Default[E]/files/types/reset.d.ts +0 -1
- package/files/templates/Default[E]/lucy.json +0 -86
- package/files/templates/Default[M]/files/.cursorignore +0 -4
- package/files/templates/Default[M]/files/.editorconfig +0 -10
- package/files/templates/Default[M]/files/.nvmrc +0 -1
- package/files/templates/Default[M]/files/.prettierignore +0 -23
- package/files/templates/Default[M]/files/.prettierrc.json +0 -15
- package/files/templates/Default[M]/files/.stylelintrc.js +0 -8
- package/files/templates/Default[M]/files/.yarnrc +0 -1
- package/files/templates/Default[M]/files/.yarnrc.yml +0 -3
- package/files/templates/Default[M]/files/README.md +0 -109
- package/files/templates/Default[M]/files/currents.config.ts +0 -5
- package/files/templates/Default[M]/files/nx.json +0 -25
- package/files/templates/Default[M]/files/pnpm-workspace.yaml +0 -11
- package/files/templates/Default[M]/files/tsconfig.json +0 -6
- package/files/templates/Default[M]/files/typedoc.json +0 -25
- package/files/templates/Default[M]/files/vitest.config.ts +0 -27
- package/files/templates/Default[M]/lucy.json +0 -69
- package/files/templates/Default[T]/files/.cursorignore +0 -4
- package/files/templates/Default[T]/lucy.json +0 -9
- package/files/templates/expo verse[E]/files/.nvmrc +0 -1
- package/files/templates/expo verse[E]/files/.prettierignore +0 -23
- package/files/templates/expo verse[E]/files/.prettierrc.js +0 -16
- package/files/templates/expo verse[E]/files/.stylelintrc.json +0 -8
- package/files/templates/expo verse[E]/files/.vscode/extensions.json +0 -10
- package/files/templates/expo verse[E]/files/.vscode/launch.json +0 -54
- package/files/templates/expo verse[E]/files/.vscode/settings.json +0 -30
- package/files/templates/expo verse[E]/files/.vscode/tasks.json +0 -0
- package/files/templates/expo verse[E]/files/.yarnrc +0 -1
- package/files/templates/expo verse[E]/files/.yarnrc.yml +0 -8
- package/files/templates/expo verse[E]/files/App.tsx +0 -63
- package/files/templates/expo verse[E]/files/DEBUGGING.md +0 -126
- package/files/templates/expo verse[E]/files/README.md +0 -45
- package/files/templates/expo verse[E]/files/android/app/build.gradle +0 -177
- package/files/templates/expo verse[E]/files/android/app/debug.keystore +0 -0
- package/files/templates/expo verse[E]/files/android/app/proguard-rules.pro +0 -14
- package/files/templates/expo verse[E]/files/android/app/src/debug/AndroidManifest.xml +0 -7
- package/files/templates/expo verse[E]/files/android/app/src/main/AndroidManifest.xml +0 -33
- package/files/templates/expo verse[E]/files/android/app/src/main/java/so/sunnysideup/daily_verse/MainActivity.kt +0 -65
- package/files/templates/expo verse[E]/files/android/app/src/main/java/so/sunnysideup/daily_verse/MainApplication.kt +0 -57
- package/files/templates/expo verse[E]/files/android/app/src/main/res/drawable/ic_launcher_background.xml +0 -6
- package/files/templates/expo verse[E]/files/android/app/src/main/res/drawable/rn_edit_text_material.xml +0 -37
- package/files/templates/expo verse[E]/files/android/app/src/main/res/drawable-hdpi/splashscreen_logo.png +0 -0
- package/files/templates/expo verse[E]/files/android/app/src/main/res/drawable-mdpi/splashscreen_logo.png +0 -0
- package/files/templates/expo verse[E]/files/android/app/src/main/res/drawable-night-hdpi/splashscreen_logo.png +0 -0
- package/files/templates/expo verse[E]/files/android/app/src/main/res/drawable-night-mdpi/splashscreen_logo.png +0 -0
- package/files/templates/expo verse[E]/files/android/app/src/main/res/drawable-night-xhdpi/splashscreen_logo.png +0 -0
- package/files/templates/expo verse[E]/files/android/app/src/main/res/drawable-night-xxhdpi/splashscreen_logo.png +0 -0
- package/files/templates/expo verse[E]/files/android/app/src/main/res/drawable-night-xxxhdpi/splashscreen_logo.png +0 -0
- package/files/templates/expo verse[E]/files/android/app/src/main/res/drawable-xhdpi/splashscreen_logo.png +0 -0
- package/files/templates/expo verse[E]/files/android/app/src/main/res/drawable-xxhdpi/splashscreen_logo.png +0 -0
- package/files/templates/expo verse[E]/files/android/app/src/main/res/drawable-xxxhdpi/splashscreen_logo.png +0 -0
- package/files/templates/expo verse[E]/files/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml +0 -6
- package/files/templates/expo verse[E]/files/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml +0 -6
- package/files/templates/expo verse[E]/files/android/app/src/main/res/mipmap-hdpi/ic_launcher.webp +0 -0
- package/files/templates/expo verse[E]/files/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.webp +0 -0
- package/files/templates/expo verse[E]/files/android/app/src/main/res/mipmap-hdpi/ic_launcher_monochrome.webp +0 -0
- package/files/templates/expo verse[E]/files/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp +0 -0
- package/files/templates/expo verse[E]/files/android/app/src/main/res/mipmap-mdpi/ic_launcher.webp +0 -0
- package/files/templates/expo verse[E]/files/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.webp +0 -0
- package/files/templates/expo verse[E]/files/android/app/src/main/res/mipmap-mdpi/ic_launcher_monochrome.webp +0 -0
- package/files/templates/expo verse[E]/files/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp +0 -0
- package/files/templates/expo verse[E]/files/android/app/src/main/res/mipmap-xhdpi/ic_launcher.webp +0 -0
- package/files/templates/expo verse[E]/files/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.webp +0 -0
- package/files/templates/expo verse[E]/files/android/app/src/main/res/mipmap-xhdpi/ic_launcher_monochrome.webp +0 -0
- package/files/templates/expo verse[E]/files/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp +0 -0
- package/files/templates/expo verse[E]/files/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp +0 -0
- package/files/templates/expo verse[E]/files/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.webp +0 -0
- package/files/templates/expo verse[E]/files/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_monochrome.webp +0 -0
- package/files/templates/expo verse[E]/files/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp +0 -0
- package/files/templates/expo verse[E]/files/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp +0 -0
- package/files/templates/expo verse[E]/files/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.webp +0 -0
- package/files/templates/expo verse[E]/files/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_monochrome.webp +0 -0
- package/files/templates/expo verse[E]/files/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp +0 -0
- package/files/templates/expo verse[E]/files/android/app/src/main/res/values/colors.xml +0 -6
- package/files/templates/expo verse[E]/files/android/app/src/main/res/values/strings.xml +0 -7
- package/files/templates/expo verse[E]/files/android/app/src/main/res/values/styles.xml +0 -12
- package/files/templates/expo verse[E]/files/android/app/src/main/res/values-night/colors.xml +0 -3
- package/files/templates/expo verse[E]/files/android/build.gradle +0 -37
- package/files/templates/expo verse[E]/files/android/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/files/templates/expo verse[E]/files/android/gradle/wrapper/gradle-wrapper.properties +0 -7
- package/files/templates/expo verse[E]/files/android/gradle.properties +0 -59
- package/files/templates/expo verse[E]/files/android/gradlew +0 -251
- package/files/templates/expo verse[E]/files/android/gradlew.bat +0 -94
- package/files/templates/expo verse[E]/files/android/settings.gradle +0 -39
- package/files/templates/expo verse[E]/files/app.config.ts +0 -77
- package/files/templates/expo verse[E]/files/assets/data/de.csv +0 -949
- package/files/templates/expo verse[E]/files/assets/data/en.csv +0 -949
- package/files/templates/expo verse[E]/files/assets/fonts/PlayfairDisplay-Black.ttf +0 -0
- package/files/templates/expo verse[E]/files/assets/fonts/PlayfairDisplay-BlackItalic.ttf +0 -0
- package/files/templates/expo verse[E]/files/assets/fonts/PlayfairDisplay-Bold.ttf +0 -0
- package/files/templates/expo verse[E]/files/assets/fonts/PlayfairDisplay-BoldItalic.ttf +0 -0
- package/files/templates/expo verse[E]/files/assets/fonts/PlayfairDisplay-ExtraBold.ttf +0 -0
- package/files/templates/expo verse[E]/files/assets/fonts/PlayfairDisplay-ExtraBoldItalic.ttf +0 -0
- package/files/templates/expo verse[E]/files/assets/fonts/PlayfairDisplay-Italic.ttf +0 -0
- package/files/templates/expo verse[E]/files/assets/fonts/PlayfairDisplay-Medium.ttf +0 -0
- package/files/templates/expo verse[E]/files/assets/fonts/PlayfairDisplay-MediumItalic.ttf +0 -0
- package/files/templates/expo verse[E]/files/assets/fonts/PlayfairDisplay-Regular.ttf +0 -0
- package/files/templates/expo verse[E]/files/assets/fonts/PlayfairDisplay-SemiBold.ttf +0 -0
- package/files/templates/expo verse[E]/files/assets/fonts/PlayfairDisplay-SemiBoldItalic.ttf +0 -0
- package/files/templates/expo verse[E]/files/assets/fonts/SpaceMono-Regular.ttf +0 -0
- package/files/templates/expo verse[E]/files/assets/images/andorid/background.png +0 -0
- package/files/templates/expo verse[E]/files/assets/images/android-dark.png +0 -0
- package/files/templates/expo verse[E]/files/assets/images/android-light.png +0 -0
- package/files/templates/expo verse[E]/files/assets/images/background.png +0 -0
- package/files/templates/expo verse[E]/files/assets/images/ios-dark.png +0 -0
- package/files/templates/expo verse[E]/files/assets/images/ios-light.png +0 -0
- package/files/templates/expo verse[E]/files/assets/images/ios-tinted.png +0 -0
- package/files/templates/expo verse[E]/files/assets/images/splash-icon-dark.png +0 -0
- package/files/templates/expo verse[E]/files/assets/images/splash-icon-light.png +0 -0
- package/files/templates/expo verse[E]/files/babel.config.js +0 -10
- package/files/templates/expo verse[E]/files/components/.gitkeep +0 -0
- package/files/templates/expo verse[E]/files/components/MainScreen.tsx +0 -299
- package/files/templates/expo verse[E]/files/components/Share.tsx +0 -132
- package/files/templates/expo verse[E]/files/components/ui/.gitkeep +0 -0
- package/files/templates/expo verse[E]/files/components/ui/dev.tsx +0 -48
- package/files/templates/expo verse[E]/files/constants/config.ts +0 -30
- package/files/templates/expo verse[E]/files/constants/theme.ts +0 -18
- package/files/templates/expo verse[E]/files/data/de.csv +0 -219
- package/files/templates/expo verse[E]/files/data/en.csv +0 -219
- package/files/templates/expo verse[E]/files/data/version.json +0 -4
- package/files/templates/expo verse[E]/files/eas.json +0 -47
- package/files/templates/expo verse[E]/files/eslint.config.mjs +0 -185
- package/files/templates/expo verse[E]/files/global.css +0 -47
- package/files/templates/expo verse[E]/files/hooks/useColorScheme.ts +0 -17
- package/files/templates/expo verse[E]/files/index.ts +0 -28
- package/files/templates/expo verse[E]/files/lib/content.ts +0 -31
- package/files/templates/expo verse[E]/files/lib/data.ts +0 -180
- package/files/templates/expo verse[E]/files/lib/helper.ts +0 -54
- package/files/templates/expo verse[E]/files/lib/index.ts +0 -21
- package/files/templates/expo verse[E]/files/lib/state.ts +0 -128
- package/files/templates/expo verse[E]/files/lib/storage.ts +0 -17
- package/files/templates/expo verse[E]/files/lib/taskManager/index.ts +0 -38
- package/files/templates/expo verse[E]/files/lib/taskManager/loadData.ts +0 -14
- package/files/templates/expo verse[E]/files/lib/utils/index.ts +0 -11
- package/files/templates/expo verse[E]/files/lib/utils/polyfills.ts +0 -29
- package/files/templates/expo verse[E]/files/lib/utils/screenshot.ts +0 -77
- package/files/templates/expo verse[E]/files/lucy.json +0 -8
- package/files/templates/expo verse[E]/files/metro.config.js +0 -81
- package/files/templates/expo verse[E]/files/models/index.ts +0 -28
- package/files/templates/expo verse[E]/files/nativewind-env.d.ts +0 -1
- package/files/templates/expo verse[E]/files/package.json +0 -102
- package/files/templates/expo verse[E]/files/pnpm-workspace.yaml +0 -3
- package/files/templates/expo verse[E]/files/scripts/convert-verses.ts +0 -309
- package/files/templates/expo verse[E]/files/scripts/move-artifacts.ts +0 -83
- package/files/templates/expo verse[E]/files/scripts/reset-project.ts +0 -116
- package/files/templates/expo verse[E]/files/tailwind.config.js +0 -63
- package/files/templates/expo verse[E]/files/tsconfig.json +0 -45
- package/files/templates/expo verse[E]/files/types/index.ts +0 -4
- package/files/templates/expo verse[E]/files/types/reset.d.ts +0 -1
- package/files/templates/expo verse[E]/lucy.json +0 -86
- 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 -147
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env ts-node
|
|
2
|
-
/* eslint-disable no-console */
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* This script is used to reset the project to a blank state.
|
|
6
|
-
* It deletes or moves the /app, /components, /hooks, /scripts, and /constants directories to /app-example based on user input and creates a new /app directory with an index.tsx and _layout.tsx file.
|
|
7
|
-
* You can remove the `reset-project` script from package.json and safely delete this file after running it.
|
|
8
|
-
*/
|
|
9
|
-
|
|
10
|
-
import fs from 'fs';
|
|
11
|
-
import path from 'path';
|
|
12
|
-
import { createInterface } from 'readline/promises';
|
|
13
|
-
|
|
14
|
-
const root = process.cwd();
|
|
15
|
-
const oldDirs = ['app', 'components', 'hooks', 'constants', 'scripts'];
|
|
16
|
-
const exampleDir = 'app-example';
|
|
17
|
-
const newAppDir = 'app';
|
|
18
|
-
const exampleDirPath = path.join(root, exampleDir);
|
|
19
|
-
|
|
20
|
-
const indexContent = `import { Text, View } from "react-native";
|
|
21
|
-
|
|
22
|
-
export default function Index() {
|
|
23
|
-
return (
|
|
24
|
-
<View
|
|
25
|
-
style={{
|
|
26
|
-
flex: 1,
|
|
27
|
-
justifyContent: "center",
|
|
28
|
-
alignItems: "center",
|
|
29
|
-
}}
|
|
30
|
-
>
|
|
31
|
-
<Text>Edit app/index.tsx to edit this screen.</Text>
|
|
32
|
-
</View>
|
|
33
|
-
);
|
|
34
|
-
}
|
|
35
|
-
`;
|
|
36
|
-
|
|
37
|
-
const layoutContent = `import { Stack } from "expo-router";
|
|
38
|
-
|
|
39
|
-
export default function RootLayout() {
|
|
40
|
-
return <Stack />;
|
|
41
|
-
}
|
|
42
|
-
`;
|
|
43
|
-
|
|
44
|
-
const moveDirectories = async (userInput: string) => {
|
|
45
|
-
if (userInput === 'y') {
|
|
46
|
-
// Create the app-example directory
|
|
47
|
-
await fs.promises.mkdir(exampleDirPath, { recursive: true });
|
|
48
|
-
console.log(`📁 /${exampleDir} directory created.`);
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
// Move old directories to new app-example directory or delete them
|
|
52
|
-
for (const dir of oldDirs) {
|
|
53
|
-
const oldDirPath = path.join(root, dir);
|
|
54
|
-
if (fs.existsSync(oldDirPath)) {
|
|
55
|
-
if (userInput === 'y') {
|
|
56
|
-
const newDirPath = path.join(root, exampleDir, dir);
|
|
57
|
-
await fs.promises.rename(oldDirPath, newDirPath);
|
|
58
|
-
console.log(`➡️ /${dir} moved to /${exampleDir}/${dir}.`);
|
|
59
|
-
} else {
|
|
60
|
-
await fs.promises.rm(oldDirPath, { recursive: true, force: true });
|
|
61
|
-
console.log(`❌ /${dir} deleted.`);
|
|
62
|
-
}
|
|
63
|
-
} else {
|
|
64
|
-
console.log(`➡️ /${dir} does not exist, skipping.`);
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
// Create new /app directory
|
|
69
|
-
const newAppDirPath = path.join(root, newAppDir);
|
|
70
|
-
await fs.promises.mkdir(newAppDirPath, { recursive: true });
|
|
71
|
-
console.log('\n📁 New /app directory created.');
|
|
72
|
-
|
|
73
|
-
// Create index.tsx
|
|
74
|
-
const indexPath = path.join(newAppDirPath, 'index.tsx');
|
|
75
|
-
await fs.promises.writeFile(indexPath, indexContent);
|
|
76
|
-
console.log('📄 app/index.tsx created.');
|
|
77
|
-
|
|
78
|
-
// Create _layout.tsx
|
|
79
|
-
const layoutPath = path.join(newAppDirPath, '_layout.tsx');
|
|
80
|
-
await fs.promises.writeFile(layoutPath, layoutContent);
|
|
81
|
-
console.log('📄 app/_layout.tsx created.');
|
|
82
|
-
|
|
83
|
-
console.log('\n✅ Project reset complete. Next steps:');
|
|
84
|
-
console.log(
|
|
85
|
-
`1. Run \`npx expo start\` to start a development server.\n2. Edit app/index.tsx to edit the main screen.${
|
|
86
|
-
userInput === 'y'
|
|
87
|
-
? `\n3. Delete the /${exampleDir} directory when you're done referencing it.`
|
|
88
|
-
: ''
|
|
89
|
-
}`
|
|
90
|
-
);
|
|
91
|
-
};
|
|
92
|
-
|
|
93
|
-
const main = async () => {
|
|
94
|
-
const rl = createInterface({ input: process.stdin, output: process.stdout });
|
|
95
|
-
try {
|
|
96
|
-
const answer = await rl.question('Do you want to move existing files to /app-example instead of deleting them? (Y/n): ');
|
|
97
|
-
const userInput = answer.trim().toLowerCase() || 'y';
|
|
98
|
-
if (userInput === 'y' || userInput === 'n') {
|
|
99
|
-
await moveDirectories(userInput);
|
|
100
|
-
} else {
|
|
101
|
-
console.log("❌ Invalid input. Please enter 'Y' or 'N'.");
|
|
102
|
-
process.exit(1);
|
|
103
|
-
}
|
|
104
|
-
} catch (error) {
|
|
105
|
-
if (error instanceof Error) {
|
|
106
|
-
console.error(`❌ Error during script execution: ${error.message}`);
|
|
107
|
-
} else {
|
|
108
|
-
console.error('❌ An unexpected error occurred:', error);
|
|
109
|
-
}
|
|
110
|
-
process.exit(1);
|
|
111
|
-
} finally {
|
|
112
|
-
rl.close();
|
|
113
|
-
}
|
|
114
|
-
};
|
|
115
|
-
|
|
116
|
-
void main();
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import { hairlineWidth } from 'nativewind/theme';
|
|
2
|
-
|
|
3
|
-
export const darkMode = 'class';
|
|
4
|
-
export const content = ['./app/**/*.{ts,tsx}', './components/**/*.{ts,tsx}'];
|
|
5
|
-
export const presets = [require('nativewind/preset')];
|
|
6
|
-
|
|
7
|
-
export const theme = {
|
|
8
|
-
extend: {
|
|
9
|
-
colors: {
|
|
10
|
-
border: 'hsl(var(--border))',
|
|
11
|
-
input: 'hsl(var(--input))',
|
|
12
|
-
ring: 'hsl(var(--ring))',
|
|
13
|
-
background: 'hsl(var(--background))',
|
|
14
|
-
foreground: 'hsl(var(--foreground))',
|
|
15
|
-
primary: {
|
|
16
|
-
DEFAULT: 'hsl(var(--primary))',
|
|
17
|
-
foreground: 'hsl(var(--primary-foreground))',
|
|
18
|
-
},
|
|
19
|
-
secondary: {
|
|
20
|
-
DEFAULT: 'hsl(var(--secondary))',
|
|
21
|
-
foreground: 'hsl(var(--secondary-foreground))',
|
|
22
|
-
},
|
|
23
|
-
destructive: {
|
|
24
|
-
DEFAULT: 'hsl(var(--destructive))',
|
|
25
|
-
foreground: 'hsl(var(--destructive-foreground))',
|
|
26
|
-
},
|
|
27
|
-
muted: {
|
|
28
|
-
DEFAULT: 'hsl(var(--muted))',
|
|
29
|
-
foreground: 'hsl(var(--muted-foreground))',
|
|
30
|
-
},
|
|
31
|
-
accent: {
|
|
32
|
-
DEFAULT: 'hsl(var(--accent))',
|
|
33
|
-
foreground: 'hsl(var(--accent-foreground))',
|
|
34
|
-
},
|
|
35
|
-
popover: {
|
|
36
|
-
DEFAULT: 'hsl(var(--popover))',
|
|
37
|
-
foreground: 'hsl(var(--popover-foreground))',
|
|
38
|
-
},
|
|
39
|
-
card: {
|
|
40
|
-
DEFAULT: 'hsl(var(--card))',
|
|
41
|
-
foreground: 'hsl(var(--card-foreground))',
|
|
42
|
-
},
|
|
43
|
-
},
|
|
44
|
-
borderWidth: {
|
|
45
|
-
hairline: hairlineWidth(),
|
|
46
|
-
},
|
|
47
|
-
keyframes: {
|
|
48
|
-
'accordion-down': {
|
|
49
|
-
from: { height: '0' },
|
|
50
|
-
to: { height: 'var(--radix-accordion-content-height)' },
|
|
51
|
-
},
|
|
52
|
-
'accordion-up': {
|
|
53
|
-
from: { height: 'var(--radix-accordion-content-height)' },
|
|
54
|
-
to: { height: '0' },
|
|
55
|
-
},
|
|
56
|
-
},
|
|
57
|
-
animation: {
|
|
58
|
-
'accordion-down': 'accordion-down 0.2s ease-out',
|
|
59
|
-
'accordion-up': 'accordion-up 0.2s ease-out',
|
|
60
|
-
},
|
|
61
|
-
},
|
|
62
|
-
};
|
|
63
|
-
export const plugins = [require('tailwindcss-animate')];
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": "expo/tsconfig.base",
|
|
3
|
-
"compilerOptions": {
|
|
4
|
-
"strict": true,
|
|
5
|
-
"allowSyntheticDefaultImports": true,
|
|
6
|
-
"skipLibCheck": true,
|
|
7
|
-
"forceConsistentCasingInFileNames": true,
|
|
8
|
-
"alwaysStrict": false,
|
|
9
|
-
"noImplicitAny": true,
|
|
10
|
-
"noImplicitReturns": true,
|
|
11
|
-
"noImplicitThis": true,
|
|
12
|
-
"strictNullChecks": true,
|
|
13
|
-
"exactOptionalPropertyTypes": true,
|
|
14
|
-
"strictBindCallApply": true,
|
|
15
|
-
"strictFunctionTypes": true,
|
|
16
|
-
"strictPropertyInitialization": true,
|
|
17
|
-
// --- Advanced ---
|
|
18
|
-
"preserveConstEnums": true,
|
|
19
|
-
"plugins": [
|
|
20
|
-
{
|
|
21
|
-
"name": "@styled/typescript-styled-plugin"
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
"name": "typescript-eslint-language-service"
|
|
25
|
-
}
|
|
26
|
-
],
|
|
27
|
-
"paths": {
|
|
28
|
-
"@/*": [
|
|
29
|
-
"./*"
|
|
30
|
-
]
|
|
31
|
-
}
|
|
32
|
-
},
|
|
33
|
-
"include": [
|
|
34
|
-
"**/*.ts",
|
|
35
|
-
"**/*.tsx",
|
|
36
|
-
".expo/types/**/*.ts",
|
|
37
|
-
"expo-env.d.ts",
|
|
38
|
-
"nativewind-env.d.ts",
|
|
39
|
-
"metro.config.js",
|
|
40
|
-
"eslint.config.mjs",
|
|
41
|
-
"tailwind.config.js",
|
|
42
|
-
"babel.config.js",
|
|
43
|
-
".prettierrc.js",
|
|
44
|
-
"expo-env.d.ts",
|
|
45
|
-
]
|
|
46
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "@total-typescript/ts-reset";
|
|
@@ -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 +0,0 @@
|
|
|
1
|
-
node-options=--max-old-space-size=16384
|
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
# Test
|
|
2
|
-
|
|
3
|
-
<a alt="Nx logo" href="https://nx.dev" target="_blank" rel="noreferrer"><img src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-logo.png" width="45"></a>
|
|
4
|
-
|
|
5
|
-
✨ Your new, shiny [Nx workspace](https://nx.dev) is ready ✨.
|
|
6
|
-
|
|
7
|
-
[Learn more about this workspace setup and its capabilities](https://nx.dev/nx-api/js?utm_source=nx_project&utm_medium=readme&utm_campaign=nx_projects) or run `npx nx graph` to visually explore what was created. Now, let's get you up to speed!
|
|
8
|
-
|
|
9
|
-
## Run tasks
|
|
10
|
-
|
|
11
|
-
To run the dev server for your app, use:
|
|
12
|
-
|
|
13
|
-
```sh
|
|
14
|
-
npx nx serve test
|
|
15
|
-
```
|
|
16
|
-
|
|
17
|
-
To create a production bundle:
|
|
18
|
-
|
|
19
|
-
```sh
|
|
20
|
-
npx nx build test
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
To see all available targets to run for a project, run:
|
|
24
|
-
|
|
25
|
-
```sh
|
|
26
|
-
npx nx show project test
|
|
27
|
-
```
|
|
28
|
-
|
|
29
|
-
These targets are either [inferred automatically](https://nx.dev/concepts/inferred-tasks?utm_source=nx_project&utm_medium=readme&utm_campaign=nx_projects) or defined in the `project.json` or `package.json` files.
|
|
30
|
-
|
|
31
|
-
[More about running tasks in the docs »](https://nx.dev/features/run-tasks?utm_source=nx_project&utm_medium=readme&utm_campaign=nx_projects)
|
|
32
|
-
|
|
33
|
-
## Versioning and releasing
|
|
34
|
-
|
|
35
|
-
To version and release the library use
|
|
36
|
-
|
|
37
|
-
```
|
|
38
|
-
npx nx release
|
|
39
|
-
```
|
|
40
|
-
|
|
41
|
-
Pass `--dry-run` to see what would happen without actually releasing the library.
|
|
42
|
-
|
|
43
|
-
[Learn more about Nx release »](https://nx.dev/features/manage-releases?utm_source=nx_project&utm_medium=readme&utm_campaign=nx_projects)
|
|
44
|
-
|
|
45
|
-
## Keep TypeScript project references up to date
|
|
46
|
-
|
|
47
|
-
Nx automatically updates TypeScript [project references](https://www.typescriptlang.org/docs/handbook/project-references.html) in `tsconfig.json` files to ensure they remain accurate based on your project dependencies (`import` or `require` statements). This sync is automatically done when running tasks such as `build` or `typecheck`, which require updated references to function correctly.
|
|
48
|
-
|
|
49
|
-
To manually trigger the process to sync the project graph dependencies information to the TypeScript project references, run the following command:
|
|
50
|
-
|
|
51
|
-
```sh
|
|
52
|
-
npx nx sync
|
|
53
|
-
```
|
|
54
|
-
|
|
55
|
-
You can enforce that the TypeScript project references are always in the correct state when running in CI by adding a step to your CI job configuration that runs the following command:
|
|
56
|
-
|
|
57
|
-
```sh
|
|
58
|
-
npx nx sync:check
|
|
59
|
-
```
|
|
60
|
-
|
|
61
|
-
[Learn more about nx sync](https://nx.dev/reference/nx-commands#sync)
|
|
62
|
-
|
|
63
|
-
## Set up CI!
|
|
64
|
-
|
|
65
|
-
### Step 1
|
|
66
|
-
|
|
67
|
-
To connect to Nx Cloud, run the following command:
|
|
68
|
-
|
|
69
|
-
```sh
|
|
70
|
-
npx nx connect
|
|
71
|
-
```
|
|
72
|
-
|
|
73
|
-
Connecting to Nx Cloud ensures a [fast and scalable CI](https://nx.dev/ci/intro/why-nx-cloud?utm_source=nx_project&utm_medium=readme&utm_campaign=nx_projects) pipeline. It includes features such as:
|
|
74
|
-
|
|
75
|
-
- [Remote caching](https://nx.dev/ci/features/remote-cache?utm_source=nx_project&utm_medium=readme&utm_campaign=nx_projects)
|
|
76
|
-
- [Task distribution across multiple machines](https://nx.dev/ci/features/distribute-task-execution?utm_source=nx_project&utm_medium=readme&utm_campaign=nx_projects)
|
|
77
|
-
- [Automated e2e test splitting](https://nx.dev/ci/features/split-e2e-tasks?utm_source=nx_project&utm_medium=readme&utm_campaign=nx_projects)
|
|
78
|
-
- [Task flakiness detection and rerunning](https://nx.dev/ci/features/flaky-tasks?utm_source=nx_project&utm_medium=readme&utm_campaign=nx_projects)
|
|
79
|
-
|
|
80
|
-
### Step 2
|
|
81
|
-
|
|
82
|
-
Use the following command to configure a CI workflow for your workspace:
|
|
83
|
-
|
|
84
|
-
```sh
|
|
85
|
-
npx nx g ci-workflow
|
|
86
|
-
```
|
|
87
|
-
|
|
88
|
-
[Learn more about Nx on CI](https://nx.dev/ci/intro/ci-with-nx#ready-get-started-with-your-provider?utm_source=nx_project&utm_medium=readme&utm_campaign=nx_projects)
|
|
89
|
-
|
|
90
|
-
## Install Nx Console
|
|
91
|
-
|
|
92
|
-
Nx Console is an editor extension that enriches your developer experience. It lets you run tasks, generate code, and improves code autocompletion in your IDE. It is available for VSCode and IntelliJ.
|
|
93
|
-
|
|
94
|
-
[Install Nx Console »](https://nx.dev/getting-started/editor-setup?utm_source=nx_project&utm_medium=readme&utm_campaign=nx_projects)
|
|
95
|
-
|
|
96
|
-
## Useful links
|
|
97
|
-
|
|
98
|
-
Learn more:
|
|
99
|
-
|
|
100
|
-
- [Learn more about this workspace setup](https://nx.dev/nx-api/js?utm_source=nx_project&utm_medium=readme&utm_campaign=nx_projects)
|
|
101
|
-
- [Learn about Nx on CI](https://nx.dev/ci/intro/ci-with-nx?utm_source=nx_project&utm_medium=readme&utm_campaign=nx_projects)
|
|
102
|
-
- [Releasing Packages with Nx release](https://nx.dev/features/manage-releases?utm_source=nx_project&utm_medium=readme&utm_campaign=nx_projects)
|
|
103
|
-
- [What are Nx plugins?](https://nx.dev/concepts/nx-plugins?utm_source=nx_project&utm_medium=readme&utm_campaign=nx_projects)
|
|
104
|
-
|
|
105
|
-
And join the Nx community:
|
|
106
|
-
- [Discord](https://go.nx.dev/community)
|
|
107
|
-
- [Follow us on X](https://twitter.com/nxdevtools) or [LinkedIn](https://www.linkedin.com/company/nrwl)
|
|
108
|
-
- [Our Youtube channel](https://www.youtube.com/@nxdevtools)
|
|
109
|
-
- [Our blog](https://nx.dev/blog?utm_source=nx_project&utm_medium=readme&utm_campaign=nx_projects)
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export const currentsConfig: { projectId: string; recordKey: string; cloudServiceUrl: string } = {
|
|
2
|
-
projectId: '__ProjectName__', // the projectId, can be any values for sorry-cypress users
|
|
3
|
-
recordKey: '__ProjectName__', // the record key, can be any value for sorry-cypress users
|
|
4
|
-
cloudServiceUrl: 'https://e2e.int.integral-systems.ch:1234', // Sorry Cypress users - set the director service URL
|
|
5
|
-
};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "./node_modules/nx/schemas/nx-schema.json",
|
|
3
|
-
"defaultBase": "master",
|
|
4
|
-
"namedInputs": {
|
|
5
|
-
"default": ["{projectRoot}/**/*", "sharedGlobals"],
|
|
6
|
-
"production": ["default"],
|
|
7
|
-
"sharedGlobals": []
|
|
8
|
-
},
|
|
9
|
-
"plugins": [
|
|
10
|
-
{
|
|
11
|
-
"plugin": "@nx/js/typescript",
|
|
12
|
-
"options": {
|
|
13
|
-
"typecheck": {
|
|
14
|
-
"targetName": "typecheck"
|
|
15
|
-
},
|
|
16
|
-
"build": {
|
|
17
|
-
"targetName": "build",
|
|
18
|
-
"configName": "tsconfig.lib.json",
|
|
19
|
-
"buildDepsName": "build-deps",
|
|
20
|
-
"watchDepsName": "watch-deps"
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
]
|
|
25
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"entryPoints": [
|
|
3
|
-
"*/**/*.ts",
|
|
4
|
-
"*/**/*.tsx"
|
|
5
|
-
],
|
|
6
|
-
"entryPointStrategy": "expand",
|
|
7
|
-
"out": "docs",
|
|
8
|
-
"plugin": [
|
|
9
|
-
"typedoc-github-theme"
|
|
10
|
-
],
|
|
11
|
-
"tsconfig": "local.tsconfig.json",
|
|
12
|
-
"excludeExternals": true,
|
|
13
|
-
"externalPattern": [
|
|
14
|
-
"**/node_modules/**",
|
|
15
|
-
"**/.wix/**",
|
|
16
|
-
".wix/**"
|
|
17
|
-
],
|
|
18
|
-
"exclude": [
|
|
19
|
-
"./.wix/**/*",
|
|
20
|
-
".wix/**/*",
|
|
21
|
-
"cypress/**",
|
|
22
|
-
"**/__mocks__/**"
|
|
23
|
-
],
|
|
24
|
-
"name": "wix-yeva"
|
|
25
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { defineConfig } from "vitest/config";
|
|
2
|
-
import { sharedConfig, uiConfig } from "@lucy/vitest-config";
|
|
3
|
-
|
|
4
|
-
export default defineConfig({
|
|
5
|
-
...sharedConfig,
|
|
6
|
-
...uiConfig,
|
|
7
|
-
test: {
|
|
8
|
-
projects: [
|
|
9
|
-
{
|
|
10
|
-
root: "./packages",
|
|
11
|
-
test: {
|
|
12
|
-
...sharedConfig.test,
|
|
13
|
-
// Project-specific configuration for packages
|
|
14
|
-
// ...
|
|
15
|
-
},
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
root: "./apps",
|
|
19
|
-
test: {
|
|
20
|
-
...sharedConfig.test,
|
|
21
|
-
// Project-specific configuration for apps
|
|
22
|
-
environment: "jsdom",
|
|
23
|
-
},
|
|
24
|
-
},
|
|
25
|
-
],
|
|
26
|
-
},
|
|
27
|
-
});
|