Skip to content

Commit

Permalink
Publishes pre-release 1
Browse files Browse the repository at this point in the history
  • Loading branch information
JohanPetersson committed Jul 5, 2021
1 parent e902b7e commit 926f4ed
Show file tree
Hide file tree
Showing 7 changed files with 31 additions and 17 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@

This repository contains the source code for the Content Delivery SDKs and samples.

> Note the SDK is in preview. Please provide feedback and report issues.
Visit [Episerver World](https://world.episerver.com/documentation/developer-guides/content-delivery-api/) for full documentation of the REST APIs.

## Content Definitions
Expand Down
4 changes: 2 additions & 2 deletions src/@episerver/content-definitions/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ Please visit [Episerver World](https://world.episerver.com/) for full documentat
Using npm:

```bash
$ npm install @episerver/content-definitions
$ npm install @episerver/content-definitions@latest --save-dev
````

using yarn:

```bash
$ yarn install @episerver/content-definitions
$ yarn install @episerver/content-definitions@latest --save-dev
````
## Examples
Expand Down
4 changes: 2 additions & 2 deletions src/@episerver/content-definitions/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions src/@episerver/content-definitions/package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
{
"name": "@episerver/content-definitions",
"version": "1.0.0",
"description": "Episerver tool for managing content definitions manifest files.",
"author": "Johan Petersson <johan.petersson@episerver.com>",
"version": "1.0.0-pre.1",
"description": "CLI tool for managing content definitions manifest files.",
"author": "Johan Petersson <johan.petersson@optimizely.com>",
"license": "Apache-2.0",
"keywords": [
"episerver",
"optimizely",
"manifest",
"definitions"
],
Expand Down
15 changes: 12 additions & 3 deletions src/@episerver/content-delivery/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,29 @@

SDK for loading and resolving content from an Episerver application running the [Content Delivery API](https://world.episerver.com/documentation/developer-guides/content-delivery-api/). The SDK is written in TypeScript and includes types.

Please visit [Episerver World](https://world.episerver.com/) for full documentation of the APIs.
Please visit [Episerver World](https://world.episerver.com/) for full documentation of the APIs.

> Note that this SDK requires you to use the flattened JSON format, see code example below how to configure the API to use this format.
```cs
services.AddContentDeliveryApi(options =>
{
options.FlattenPropertyModel = true;
});
```

## Installing

Using npm:

```bash
$ npm install @episerver/content-delivery
$ npm install @episerver/content-delivery@latest
````

using yarn:

```bash
$ yarn install @episerver/content-delivery
$ yarn install @episerver/content-delivery@latest
````
## Examples
Expand Down
4 changes: 2 additions & 2 deletions src/@episerver/content-delivery/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 7 additions & 5 deletions src/@episerver/content-delivery/package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
{
"name": "@episerver/content-delivery",
"version": "1.0.0",
"description": "Episerver SDK for content delivery.",
"author": "Johan Petersson <johan.petersson@episerver.com>",
"version": "1.0.0-pre.1",
"description": "SDK for the Episerver Content Delivery API.",
"author": "Johan Petersson <johan.petersson@optimizely.com>",
"license": "Apache-2.0",
"keywords": [
"episerver",
"optimizely",
"content delivery",
"headless",
"sdk"
"sdk",
"client"
],
"homepage": "https://www.episerver.com",
"repository": {
Expand All @@ -21,7 +23,7 @@
"scripts": {
"build": "npx tsc",
"watch": "npx tsc --watch",
"test": "mocha --recursive --timeout 5000 --require ./test/fixture.mjs"
"test": "mocha --recursive --timeout 5000 --require ./test/fixture.mjs"
},
"devDependencies": {
"@types/chai": "^4.2.17",
Expand Down

0 comments on commit 926f4ed

Please sign in to comment.