📣 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
Uh oh!
There was an error while loading. Please reload this page.
-
The release candidate for AnalogJS 1.0 has been published to
npmunder thebetatag.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@betaESM 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.rootproperty in theangular.jsonto"."instead of""..jsfiles to.cjsif they are CommonJS scripts.For Nx monorepos
package.jsonto your project root with only{ "type": "module" }@nx/viteexecutors to@analogjs/platformexecutors@nx/vite:build->@analogjs/platform:vite@nx/vite:dev-server->@analogjs/platform:vite-dev-server@nx/vite:test->@analogjs/platform:vitestvite.config.ts, add a config for file serving to theserverconfigurationBeta Was this translation helpful? Give feedback.
All reactions