alinea

Content management, streamlined

MIT License

Downloads
4.5K
Stars
735
Committers
11

Bot releases are visible (Hide)

alinea - v0.4.3

Published by github-actions[bot] 11 months ago

  • The description field for external links is renamed to "title".
  • Heading h4 and h5 are available in the Rich Text field.
  • Folder icon in the nav tree has been moved to the right allowing containers
    to have a custom icon as well.
alinea - v0.4.2

Published by github-actions[bot] 11 months ago

  • Reduce circular dependencies within the alinea/core package. This would
    previously result in "Cannot read properties of undefined (reading Scalar)" or
    similar when implementing custom fields.
    Thanks to https://github.com/antoine-coulon/skott
alinea - v0.4.1

Published by github-actions[bot] 11 months ago

  • A type check before creating new entries was incorrect making it impossible
    create new entries on the root level.
alinea - v0.4.0

Published by github-actions[bot] 11 months ago

  • This release contains a major rewrite. Read the blog post for more information.
alinea - v0.3.2

Published by github-actions[bot] almost 2 years ago

  • Fixed the TypeScript type of the Select input (#282)
  • Moved the Preview and BrowserPreview exports from the alinea package
    to @alinea/preview. This should help import the alinea config within in
    restrictive environments such as Next 13 which will throw a compile error if
    any browser code is imported. This will likely be tweaked in future releases.
alinea - v0.3.1

Published by github-actions[bot] about 2 years ago

  • Fix the @alinea/preview/remix preview hook
alinea - v0.3.0

Published by github-actions[bot] about 2 years ago

  • Generate types (#271)

    Up until now the TypeScript definitions that were available for the content
    schema were fully inferred using the TypeScript compiler. While this had some
    advantages it also came with stability issues and overall did not prove to be
    the best solution. TypeScript definitions are now generated from the schema at
    build time. The runtime type information should prove useful for the upcoming
    GraphQL support as well. Since GrapQL does not come with namespacing we've
    introduced a few breaking changes:

    • The config file now supports a single schema at the root level, meaning
      the schema is used for every workspace.

    • The generated package structure in turn became simpler because the workspace
      distinction is no longer needed:

      // Init pages now available from /pages
      import {initPages} from '@alinea/content/pages'
      
      // The Page type describes every content type of the schema
      // type Page = Page.TypeA | Page.TypeB
      import {Page} from '@alinea/content'
      
  • Remix run support (#273)

    A few changes were necessary to get started with Remix. These changes should
    make it easier to work with other frameworks as well.

    • An example starter was added
    • The local backend connects to the serve instance if it is running. Since
      Remix does not watch file changes in node modules this should make sure
      you're always viewing the latest changes.
    • Export pages/backend as CJS (#270)
alinea - v0.2.14

Published by github-actions[bot] about 2 years ago

  • The dashboard router was not picking up wilcard routes, which resulted in
    non-working links (#265)
  • Bundle yjs instead of requiring it as a dependency.
  • Re-use the esbuild watcher in order to remove the chokidar dependency.
alinea - v0.2.13

Published by github-actions[bot] about 2 years ago

  • Improved stability of the serve and generate commands by avoiding race
    conditions while publishing
  • Removed react-router dependency
alinea - v0.2.12

Published by github-actions[bot] about 2 years ago

  • Public env variables may be used in alinea.config. Currently supported are
    variables with a key prefix of either NEXT_PUBLIC_, PUBLIC_, VITE_
    or GATSBY_.
alinea - v0.2.11

Published by github-actions[bot] about 2 years ago

  • The workaround released in 0.2.10 was not stable. Node modules ended up being
    bundled in the generated Javascript.
alinea - v0.2.10

Published by github-actions[bot] about 2 years ago

  • Workaround evanw/esbuild#2460.
    Newer esbuild versions support the new "automatic" react jsx feature. This can
    be enabled from the build options, but also overwritten in tsconfig.json.
    Alinea depends on this feature but had problems generating correct output
    when the tsconfig has another jsx setting.
    Previously the workaround was supplying a blank tsconfig file.
    However other directives such as paths that the user might supply in their own
    tsconfig were ignored. With this change alinea will write out a
    tsconfig.alinea.json that extends the user supplied tsconfig.json
    and overrides the jsx property.
alinea - v0.2.9

Published by github-actions[bot] about 2 years ago

  • The alinea serve command will apply publish actions directly to the memory
    store instead of relying on the file watcher. This should result in better
    performance.
alinea - v0.2.8

Published by github-actions[bot] about 2 years ago

alinea - v0.2.7

Published by github-actions[bot] about 2 years ago

  • UI tweaks
alinea - v0.2.6

Published by github-actions[bot] about 2 years ago

  • Fix the Pages.whereRoot method which did not use the new alinea.root
    location
alinea - v0.2.5

Published by github-actions[bot] about 2 years ago

  • Add a --fix option to the generate command, which will write back any
    missing or incorrect properties to disk.
alinea - v0.2.4

Published by github-actions[bot] about 2 years ago

  • The previous release was missing the generated css file in the @alinea/css
    package. Build outputs are now cached in the ci step using wireit but this
    file was not included.
alinea - v0.2.3

Published by github-actions[bot] about 2 years ago

  • The url property of entries can now be controlled using the entryUrl
    function in the type options. Urls are computed during generation and this can
    help to keep them constant if you're using a web framework that does file
    system routing. The available paramters are path, parentPaths and
    locale.
    For example: making sure a doc page always has an url in
    the form of /doc/$path you can specify entryUrl as the following:

    type('Doc', {...fields}).configure({
      entryUrl({path}) {
        return `/doc/${path}`
      }
    })
    
  • The iframe used in the BrowserPreview component now supports top level
    navigation so it becomes possible to link the user to a cms route from within.
    (#246)

  • The index of newly created entries will be based on the first child of parent.
    This makes them consistently sortable when published. (#241)

alinea - v0.2.2

Published by github-actions[bot] about 2 years ago

  • Alinea cloud handshake now automatically includes git information when hosted
    on Vercel, to allow for a prefilled project setup
Package Rankings
Top 3.94% on Npmjs.org
Badges
Extracted from project README
npm install size Alinea CMS logo
Related Projects