You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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