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

Commit e2e5fcf

Browse files
authored
Explicitly define package files (#279)
Explicitly define package files
2 parents 44e5ca0 + 2d0691c commit e2e5fcf

File tree

15 files changed

+10
-9
lines changed

15 files changed

+10
-9
lines changed

packages/api-elements/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"author": "Apiary.io <support@apiary.io>",
66
"license": "MIT",
77
"main": "lib/api-elements.js",
8+
"files": ["lib/*.js", "lib/elements/*.js"],
89
"homepage": "https://github.com/apiaryio/api-elements.js/tree/master/packages/api-elements",
910
"repository": {
1011
"type": "git",

packages/fury-adapter-apiary-blueprint-parser/.npmignore

Lines changed: 0 additions & 4 deletions
This file was deleted.

packages/fury-adapter-apiary-blueprint-parser/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"author": "Apiary.io <support@apiary.io>",
66
"license": "MIT",
77
"main": "./lib/adapter.js",
8+
"files": ["lib/*.js"],
89
"homepage": "https://github.com/apiaryio/api-elements.js/tree/master/packages/fury-adapter-apiary-blueprint-parser",
910
"repository": {
1011
"type": "git",

packages/fury-adapter-apib-parser/.npmignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

packages/fury-adapter-apib-parser/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"author": "Apiary.io <support@apiary.io>",
66
"license": "MIT",
77
"main": "./lib/adapter.js",
8+
"files": ["lib/adapter.js"],
89
"homepage": "https://github.com/apiaryio/api-elements.js/tree/master/packages/fury-adapter-apib-parser",
910
"repository": {
1011
"type": "git",

packages/fury-adapter-apib-serializer/.npmignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

packages/fury-adapter-apib-serializer/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"author": "Apiary.io <support@apiary.io>",
66
"license": "MIT",
77
"main": "./lib/adapter.js",
8+
"files": ["lib/*.js", "template.nunjucks"],
89
"homepage": "https://github.com/apiaryio/api-elements.js/tree/master/packages/fury-adapter-apib-serializer",
910
"repository": {
1011
"type": "git",

packages/fury-adapter-oas3-parser/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"license": "MIT",
77
"main": "./lib/adapter.js",
88
"files": [
9-
"lib/"
9+
"lib/**/*.js"
1010
],
1111
"homepage": "https://github.com/apiaryio/api-elements.js/tree/master/packages/fury-adapter-oas3-parser",
1212
"repository": {

packages/fury-adapter-remote/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"author": "Apiary.io <support@apiary.io>",
66
"license": "MIT",
77
"main": "./lib/adapter.js",
8+
"files": ["lib/adapter.js"],
89
"homepage": "https://github.com/apiaryio/api-elements.js/tree/master/packages/fury-adapter-remote",
910
"repository": {
1011
"type": "git",

packages/fury-adapter-swagger/.npmignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)