Skip to content
This repository has been archived by the owner on Nov 8, 2024. It is now read-only.

Commit

Permalink
refactor(apiaryb): rename apiaryb-parser
Browse files Browse the repository at this point in the history
  • Loading branch information
kylef committed Apr 30, 2020
1 parent 5a30114 commit 00190dd
Show file tree
Hide file tree
Showing 33 changed files with 19 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .circleci/smoke.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ install fury
install apib-parser
install openapi2-parser
install openapi3-parser
install fury-adapter-apiary-blueprint-parser
install apiaryb-parser
install apib-serializer
install fury-cli

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Changelog
# API Elements: Apiary Blueprint Parser Changelog

## 0.1.0 (2020-04-30)

The package has been renamed to `@apielements/apiaryb-parser`.

## 3.0.0-beta.11 (2020-04-20)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Fury Apiary Blueprint Parser
# API Elements: Apiary Blueprint Parser

[![NPM version](https://img.shields.io/npm/v/fury-adapter-apiary-blueprint-parser.svg)](https://www.npmjs.org/package/fury-adapter-apiary-blueprint-parser)
[![License](https://img.shields.io/npm/l/fury-adapter-apiary-blueprint-parser.svg)](https://www.npmjs.org/package/fury-adapter-apiary-blueprint-parser)
[![NPM version](https://img.shields.io/npm/v/@apielements/apiaryb-parser.svg)](https://www.npmjs.org/package/@apielements/apiaryb-parser)
[![License](https://img.shields.io/npm/l/@apielements/apiaryb-parser.svg)](https://www.npmjs.org/package/@apielements/apiaryb-parser)

This adapter provides support for parsing the deprecated [Apiary
Blueprint](https://github.com/apiaryio/blueprint-parser) format in
Expand All @@ -12,14 +12,14 @@ the legacy format.
## Installation

```shell
$ npm install fury-adapter-apiary-blueprint-parser
$ npm install @apielements/apiaryb-parser
```

## Usage

```javascript
import fury from 'fury';
import apiaryBlueprintAdapter from 'fury-adapter-apiary-blueprint-parser';
import apiaryBlueprintAdapter from '@apielements/apiaryb-parser';

fury.use(apiaryBlueprintAdapter);

Expand Down
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{
"name": "fury-adapter-apiary-blueprint-parser",
"version": "3.0.0-beta.11",
"description": "Parser for Fury.js for the deprecated Apiary Blueprint language",
"name": "@apielements/apiaryb-parser",
"version": "0.1.0",
"description": "API Elements parser for deprecated Apiary Blueprint language",
"author": "Apiary.io <[email protected]>",
"license": "MIT",
"main": "./lib/adapter.js",
"files": [
"lib/*.js"
],
"homepage": "https://github.com/apiaryio/api-elements.js/tree/master/packages/fury-adapter-apiary-blueprint-parser",
"homepage": "https://github.com/apiaryio/api-elements.js/tree/master/packages/apiaryb-parser",
"repository": {
"type": "git",
"url": "https://github.com/apiaryio/api-elements.js.git",
"directory": "packages/fury-adapter-apiary-blueprint-parser"
"directory": "packages/apiaryb-parser"
},
"scripts": {
"lint": "eslint .",
Expand Down
4 changes: 2 additions & 2 deletions packages/fury-cli/lib/fury.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ const { JSON06Serialiser } = require('minim');
const fury = require('fury');
const apiBlueprintParser = require('@apielements/apib-parser');
const apiBlueprintSerializer = require('@apielements/apib-serializer');
const apiaryBlueprintParser = require('fury-adapter-apiary-blueprint-parser');
const apiaryBlueprintParser = require('@apielements/apiaryb-parser');
const oas2Parser = require('@apielements/openapi2-parser');
const oas3Parser = require('@apielements/openapi3-parser');
const pkg = require('../package.json');

const adapters = [
'@apielements/apib-parser',
'@apielements/apib-serializer',
'fury-adapter-apiary-blueprint-parser',
'@apielements/apiaryb-parser',
'@apielements/openapi2-parser',
'@apielements/openapi3-parser',
];
Expand Down
2 changes: 1 addition & 1 deletion packages/fury-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@
"test": "exit 0"
},
"dependencies": {
"@apielements/apiaryb-parser": "^0.1.0",
"@apielements/apib-parser": "^0.19.0",
"@apielements/apib-serializer": "^0.15.0",
"@apielements/openapi2-parser": "^0.30.0",
"@apielements/openapi3-parser": "^0.12.0",
"cardinal": "^2.1.1",
"commander": "^5.1.0",
"fury": "3.0.0-beta.14",
"fury-adapter-apiary-blueprint-parser": "3.0.0-beta.11",
"js-yaml": "^3.12.0",
"minim": "^0.23.4"
},
Expand Down

0 comments on commit 00190dd

Please sign in to comment.