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

Commit a276b7a

Browse files
committed
Rename src to lib since there's no babel anymore
1 parent ade6395 commit a276b7a

22 files changed

+23
-5
lines changed

.eslintrc

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,18 @@
33
"env": {
44
"mocha": true
55
},
6+
"rules": {
7+
"max-len": "off",
8+
"no-shadow": "off",
9+
"comma-dangle": [
10+
"error",
11+
{
12+
"arrays": "always-multiline",
13+
"objects": "always-multiline",
14+
"functions": "never"
15+
}
16+
]
17+
},
618
"overrides": [
719
{
820
"files": "*-test.js",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
"scripts": {
99
"release": "lerna publish",
1010
"release:force": "lerna publish --force-publish",
11-
"test": "lerna exec --scope='*' --no-bail -- npm run test",
1211
"lint": "lerna exec --scope='*' --no-bail -- npm run lint",
1312
"lint:fix": "lerna exec --scope='*' --no-bail -- npm run lint:fix",
13+
"test": "lerna exec --scope='*' --no-bail -- npm run test",
1414
"cover": "exit 0"
1515
},
1616
"devDependencies": {

packages/minim-api-description/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Minim API Description
22

3+
## Master
4+
5+
### Breaking
6+
7+
- Node 4 is not supported anymore
8+
39
## 0.8.1
410

511
### Enhancements

packages/minim-api-description/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "Minim API Description Namespace",
55
"author": "Apiary.io <[email protected]>",
66
"license": "MIT",
7-
"main": "./src/api-description.js",
7+
"main": "./lib/api-description.js",
88
"homepage": "https://github.com/apiaryio/api-elements.js/tree/master/packages/minim-api-description",
99
"repository": {
1010
"type": "git",

packages/minim-api-description/test/api-description-test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
const chai = require('chai');
88
const minim = require('minim');
9-
const apiDescription = require('../src/api-description');
9+
const apiDescription = require('../lib/api-description');
1010

1111
const { Assertion, expect } = chai;
1212

@@ -41,7 +41,7 @@ chai.use((_chai, utils) => {
4141
'Expected class list #{act} to contain #{exp}',
4242
'Expected class list #{act} to not contain #{exp}',
4343
name,
44-
obj.classes.toValue(),
44+
obj.classes.toValue()
4545
);
4646
});
4747
});

packages/minim-api-description/test/enum-element-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
const { expect } = require('chai');
22
const minim = require('minim');
3-
const apiDescription = require('../src/api-description');
3+
const apiDescription = require('../lib/api-description');
44

55
const namespace = minim.namespace().use(apiDescription);
66

0 commit comments

Comments
 (0)