Skip to content

Commit

Permalink
Public Release
Browse files Browse the repository at this point in the history
  • Loading branch information
mohnoor94 committed Jun 8, 2023
0 parents commit a34809a
Show file tree
Hide file tree
Showing 45 changed files with 8,399 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
root = true

[*]
indent_style = space
indent_size = 2
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
end_of_line = lf
max_line_length = 120

[*.md]
trim_trailing_whitespace = false
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @ExpediaGroup/openworld-committers
38 changes: 38 additions & 0 deletions .github/workflows/pr-checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Copyright (C) 2023 Expedia, Inc.
#
# Licensed 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 CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

name: PR Checks

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
- name: Install
run: npm ci
- name: Build
run: npm run build
- name: Test
run: npm test --coverage

14 changes: 14 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Logs
logs
*.log
npm-debug.log*

# Coverage directory used by tools like istanbul
coverage
*.lcov

# IntelliJ
.idea

# Node
node_modules
9 changes: 9 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
test
.editorconfig
.github
.idea
coverage
scripts
LICENSE_header.txt
tsconfig.json
dist/test
123 changes: 123 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,123 @@
# Change Log

## `1.0.0` - 2023-06-08

First Public Release.

---

## `0.13.0` - 2023-06-05

### Added

- A new Transformer to prepend a product key to the start of each endpoint path.

---

## `0.12.0` - 2023-05-29

### Added

- A CLI to transform specs from the command line.

---

## `0.11.0` - 2023-05-11

### Added

- `OneOfSettingTransformer` to add `oneOf` to the specs where schemas with children are used.

---

## `0.10.0` - 2023-05-07

### Changed

- Renamed to 'spec-transformer'.

---

## `0.9.0` - 2023-04-19

### Added

- `Functions` some collection functions to work with spec entries.

---

## `0.8.0` - 2023-04-17

### Added

- `PostmanTransformer` to transform specs to Postman Collection (JSON) format.

---

## `0.7.0` - 2023-04-17

### Added

- `JsonReader` and `JsonWriter` to read and write specs in `json` format.

---

## `0.6.0` - 2023-04-17

### Changed

- `Spec` to map main spec tags in a standard way.

---

## `0.5.0` - 2023-04-13

### Added

- `TransformerChain` to chain multiple transformers, and read & write the specs in different formats.
- `Readers` and `Writers` to read and write specs in different formats.
- `YamlReader` and `YamlWriter` to read and write specs in `yaml` format.

---

## `0.4.0` 2023-04-06

### Added

- `HeaderRemoverTransformer`

### Changed

- `README.md` with more information

---

## `0.3.0` - 2023-04-04

### Added

- `TagsSettingTransformer`
- `Spec` wrapper
- `Types` aliases

---

## `0.2.0` - 2023-03-28

### Added

- `jest` for testing

---

## `0.1.0` - 2023-03-28

### Added

- First commit
- This change log
- Setup & Configuration files

### Changed

- `README.md` with more information
18 changes: 18 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# How to Contribute

We'd love to accept your patches and contributions to this project.

## Fork this repo

You should create a fork of this project in your account and work from there. You can create a fork by clicking the fork
button in GitHub.

## Merging your contribution

Create a new pull request and your code will be reviewed by the maintainers. They will confirm at least the following:

- Tests run successfully
- Documentation added for new or updated functionality

A maintainer will need to sign off on your pull request before it can be merged. After it is merged, you can delete your
fork if you want to.
Loading

0 comments on commit a34809a

Please sign in to comment.