Skip to content

Commit

Permalink
feat: use ESM
Browse files Browse the repository at this point in the history
BREAKING CHANGE: only esm supported
  • Loading branch information
tripodsan committed Jan 11, 2022
1 parent fa5e058 commit 15be4e4
Show file tree
Hide file tree
Showing 14 changed files with 21,343 additions and 64 deletions.
30 changes: 30 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
/*
* Copyright 2019 Adobe. All rights reserved.
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. You may obtain a copy
* of the License at http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
* OF ANY KIND, either express or implied. See the License for the specific language
* governing permissions and limitations under the License.
*/

module.exports = {
root: true,
extends: '@adobe/helix',
env: {
node: true,
es6: true,
},
parserOptions: {
sourceType: 'module',
ecmaVersion: 2020,
},
rules: {
'import/extensions': 0,
},
globals: {
"__rootdir": true,
},
};
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx lint-staged
File renamed without changes.
File renamed without changes.
Empty file added CHANGELOG.md
Empty file.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
# Helix Documents Support Library
# Helix Mediahandler Library

> Utilities used for document processing
> Library for interacting with the helix media-bus
## Status
[![codecov](https://img.shields.io/codecov/c/github/adobe/helix-documents-support.svg)](https://codecov.io/gh/adobe/helix-documents-support)
[![CircleCI](https://circleci.com/gh/adobe/helix-documents-support.svg?style=svg&circle-token=452ec080e924368ed969ec5fae31cc0a8d5c33ab)](https://circleci.com/gh/adobe/helix-documents-support)
[![GitHub license](https://img.shields.io/github/license/adobe/helix-documents-support.svg)](https://github.com/adobe/helix-documents-support/blob/main/LICENSE.txt)
[![GitHub issues](https://img.shields.io/github/issues/adobe/helix-documents-support.svg)](https://github.com/adobe/helix-documents-support/issues)
[![LGTM Code Quality Grade: JavaScript](https://img.shields.io/lgtm/grade/javascript/g/adobe/helix-documents-support.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/adobe/helix-documents-support)
[![codecov](https://img.shields.io/codecov/c/github/adobe/helix-mediahandler.svg)](https://codecov.io/gh/adobe/helix-mediahandler)
[![CircleCI](https://circleci.com/gh/adobe/helix-mediahandler.svg?style=svg)](https://circleci.com/gh/adobe/helix-mediahandler)
[![GitHub license](https://img.shields.io/github/license/adobe/helix-mediahandler.svg)](https://github.com/adobe/helix-mediahandler/blob/main/LICENSE.txt)
[![GitHub issues](https://img.shields.io/github/issues/adobe/helix-mediahandler.svg)](https://github.com/adobe/helix-mediahandler/issues)
[![LGTM Code Quality Grade: JavaScript](https://img.shields.io/lgtm/grade/javascript/g/adobe/helix-mediahandler.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/adobe/helix-mediahandler)
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)

## Installation

```bash
$ npm install @adobe/helix-documents-support
$ npm install @adobe/helix-mediahandler
```

# API Reference
Expand Down
Loading

0 comments on commit 15be4e4

Please sign in to comment.