Skip to content

Latest commit

 

History

History
61 lines (37 loc) · 970 Bytes

DEVELOPMENT-legacy.md

File metadata and controls

61 lines (37 loc) · 970 Bytes

Development of the Legacy Ory Elements packages

The following packages are considered legacy:

  • @ory/elements
  • @ory/elements-markup
  • @ory/elements-preact

If you're starting a new project, use @ory/elements-react instead.

Package structure

The legacy package components are located in src/ and are bundled into the packages/* directories.

Releasing a new legacy version

npm run build

# go to https://www.npmjs.com/package/@ory/elements-markup?activeTab=versions and check the latest version
export LEGACY_ELEMENTS_VERSION=...

Markup:

cd packages/markup

npm version $LEGACY_ELEMENTS_VERSION

npm publish --dry-run

npm publish

React:

cd packages/react

npm version $LEGACY_ELEMENTS_VERSION

npm publish --dry-run

npm publish

Preact:

cd packages/preact

npm version $LEGACY_ELEMENTS_VERSION

npm publish --dry-run

npm publish

Don't commit the changes in package.json and package-lock.json