Security News
UK Officials Consider Banning Ransomware Payments from Public Entities
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.
@nrwl/remix
Advanced tools
Next generation full stack framework and build system together. Build better websites with Remix and Nx.
Nx makes supercharges your builds, and the optional Nx Cloud provide out-of-the-box distributed caching, distributed task execution, and valuable workspace insights.
Use --preset=@nrwl/remix
when creating new workspace.
e.g.
npx create-nx-workspace@latest acme \
--preset=@nrwl/remix \
--project=demo
Now, you can go into the acme
folder and start development.
cd acme
npx nx dev demo
Note: This command runs the dev
script in apps/demo/package.json
.
Start the production server with one command.
npx nx start demo
Note: This will run the build before starting (as defined in nx.json
).
You can add Remix to any existing Nx workspace.
First, install the plugin:
npm install --save-dev @nrwl/remix
# Or with yarn
yarn add -D @nrwl/remix
Then, run the setup generator:
npx nx g @nrwl/remix:setup
You can then add your first app and run it:
npx nx g @nrwl/remix:app demo
Add a new route with one command.
npx nx g route
# e.g.
npx nx g route foo/bar --project=demo
Browse to http://localhost:3000/foo/bar
to see the new route.
The Remix setup leverages npm/yarn/pnpm workspaces and Nx buildable libraries.
npx nx g @nrwl/remix:lib mylib
Import the new library in your app.
// apps/demo/app/root.tsx
import { Mylib } from '@acme/mylib';
// ...
export default function App() {
return (
<Document>
<Layout>
<Mylib />
<Outlet />
</Layout>
</Document>
);
}
Now, run the dev server again to see the new library in action.
npx nx dev demo
Note: You must restart the server if you make any changes to your library. Luckily, with Nx cache this operation should be super fast.
Run nx test remix
to execute the unit tests via Jest.
nx publish remix --ver=[version]
FAQs
The Remix plugin for Nx contains executors and generators for managing Remix applications and libraries within an Nx workspace. It provides: - Integration with libraries such as Vitest, Jest, Cypress, and Storybook. - Generators for applications, libra
The npm package @nrwl/remix receives a total of 4,459 weekly downloads. As such, @nrwl/remix popularity was classified as popular.
We found that @nrwl/remix demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.
Security News
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
Research
Security News
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.