Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
@criszz77/luna
Advanced tools
🌘Luna is a React Native and Next.js boilerplate so your app can run on Android, IOS and Web concurrently.
Luna
🌒 Luna
is a React Native
and Next.js
boilerplate so your app can run on Android
, IOS
and Web
concurrently.You can try the live example here.
📖 Please visit the
🌒 Luna Wiki
to see why and how we decided to implement all those features.
🚀 For an advanced start, but currently withoutNext.js
, you can head to react-native-firebase-authentification-example which is built on top of Luna template
⚠️ Please be sure your environment is set up correctly for React Native CLI.
🔗 https://reactnative.dev/docs/environment-setup
npx react-native init MyAppName --template @criszz77/luna
Use the above command to start a new React Native app using this template. After that, all the commands from below are available:
yarn web
Runs the app in the web in development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
yarn build
Builds the web app for production with Next.js.
yarn next-start
Runs the web app in production mode with Next.js.
Open http://localhost:3000 to view it in the browser.
Note: You have to run yarn build
first!
yarn start
Start Metro Bundler.
yarn android
Launches the app for Android in debug mode.
yarn ios
Launches the app for IOS in debug mode.
This template only works with the new CLI. Please make sure that:
- your environment is set up correctly for React Native CLI.
- you have uninstalled the legacy
react-native-cli
first (npm uninstall -g react-native-cli
) for the below command to work. If you wish to not use npx, you can also install the new CLI globally (npm i -g @react-native-community/cli
oryarn global add @react-native-community/cli
).
If you tried the above and still get the @criszz77/luna: Not found error, please try adding the
--ignore-existing
flag to force npx to ignore any locally installed versions of the CLI and use the latest. Further information can be found here: https://github.com/react-native-community/cli#about
React Dev Tools supports inspecting and editing of React Native styles. It’s recommended that you rely more on React Dev Tools and live/hot-reloading rather than inspecting and editing the DOM directly.
📃 This project is released under the MIT License.
💻 By contributing, you agree that your contributions will be licensed under its MIT License.
FAQs
🌘Luna is a React Native and Next.js boilerplate so your app can run on Android, IOS and Web concurrently.
The npm package @criszz77/luna receives a total of 110 weekly downloads. As such, @criszz77/luna popularity was classified as not popular.
We found that @criszz77/luna demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.