📣 AnalogJS 1.0 Release Candidate #926
brandonroberts
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The release candidate for AnalogJS 1.0 has been published to
npm
under thebeta
tag.Trying out the Release Candidate
You can run the following command to generate a new project with the Analog 1.0.0-rc.x
With Nx:
npx create-nx-workspace@latest my-workspace --analogAppName my-app --preset @analogjs/platform cd my-workspace nx migrate @analogjs/platform@beta
ESM Support
The Analog npm packages have been converted to ESM-only packages.
Migration Fixes
If you are using existing Angular CLI/Nx workspaces, here are some migration steps:
For standalone projects
"type": "module"
to your root package.json.root
property in theangular.json
to"."
instead of""
..js
files to.cjs
if they are CommonJS scripts.For Nx monorepos
package.json
to your project root with only{ "type": "module" }
@nx/vite
executors to@analogjs/platform
executors@nx/vite:build
->@analogjs/platform:vite
@nx/vite:dev-server
->@analogjs/platform:vite-dev-server
@nx/vite:test
->@analogjs/platform:vitest
vite.config.ts
, add a config for file serving to theserver
configurationBeta Was this translation helpful? Give feedback.
All reactions