Skip to content

Commit

Permalink
feat(build): publish correct files in all packages
Browse files Browse the repository at this point in the history
affects: @fremtind/jkl-accordion, @fremtind/browserslist-config-jkl, @fremtind/jkl-bullet-list,
@fremtind/jkl-button, @fremtind/jkl-card, @fremtind/jkl-checkbox, @fremtind/jkl-core,
@fremtind/jkl-datepicker, @fremtind/jkl-divider-line, @fremtind/jkl-dropdown-react,
@fremtind/jkl-dropdown, @fremtind/jkl-footer, @fremtind/jkl-grid, @fremtind/jkl-header,
@fremtind/jkl-loader, @fremtind/jkl-logo, @fremtind/jkl-message-box, @fremtind/jkl-radio-button,
@fremtind/jkl-text-input
  • Loading branch information
Leiv Fredrik Berge committed Jul 15, 2019
1 parent 0a929ee commit b1fbb8f
Show file tree
Hide file tree
Showing 19 changed files with 51 additions and 49 deletions.
3 changes: 2 additions & 1 deletion packages/accordion/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"accordion"
],
"files": [
"*.css"
"!example",
"**/*.css"
],
"license": "MIT",
"scripts": {
Expand Down
5 changes: 4 additions & 1 deletion packages/browserslist-config-jkl/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@
},
"homepage": "https://github.com/fremtind/jokul#readme",
"license": "MIT",
"main": "indexjs",
"main": "index.js",
"files": [
"index.js"
],
"repository": {
"type": "git",
"url": "git+https://github.com/fremtind/jokul.git"
Expand Down
6 changes: 2 additions & 4 deletions packages/bullet-list/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,9 @@
"bullet list",
"list"
],
"directories": {
"lib": "build"
},
"files": [
"build"
"!example",
"**/*.css"
],
"license": "MIT",
"scripts": {
Expand Down
6 changes: 2 additions & 4 deletions packages/button/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,9 @@
"keywords": [
"button"
],
"directories": {
"lib": "build"
},
"files": [
"build"
"!example",
"**/*.css"
],
"license": "MIT",
"scripts": {
Expand Down
4 changes: 4 additions & 0 deletions packages/card/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
"keywords": [
"card"
],
"files": [
"!example",
"**/*.css"
],
"license": "MIT",
"repository": {
"type": "git",
Expand Down
6 changes: 2 additions & 4 deletions packages/checkbox/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,9 @@
"keywords": [
"checkbox"
],
"directories": {
"lib": "build"
},
"files": [
"build"
"!example",
"**/*.css"
],
"license": "MIT",
"scripts": {
Expand Down
5 changes: 3 additions & 2 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@
},
"files": [
"build",
"*.css",
"*.scss"
"!example",
"**/*.css",
"**/*.scss"
],
"scripts": {
"build": "gulp build && yarn build:modules",
Expand Down
6 changes: 2 additions & 4 deletions packages/datepicker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,9 @@
"keywords": [
"datepicker"
],
"directories": {
"lib": "build"
},
"files": [
"build"
"!example",
"**/*.css"
],
"license": "MIT",
"scripts": {
Expand Down
6 changes: 2 additions & 4 deletions packages/divider-line/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,9 @@
"divider",
"line"
],
"directories": {
"lib": "build"
},
"files": [
"build"
"!example",
"**/*.css"
],
"license": "MIT",
"scripts": {
Expand Down
6 changes: 6 additions & 0 deletions packages/dropdown-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
"publishConfig": {
"access": "public"
},
"directories": {
"lib": "build"
},
"files": [
"build"
],
"description": "react wrapper for dropdown",
"homepage": "https://github.com/fremtind/jokul#readme",
"license": "MIT",
Expand Down
6 changes: 2 additions & 4 deletions packages/dropdown/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,9 @@
"keywords": [
"dropdown"
],
"directories": {
"lib": "build"
},
"files": [
"build"
"!example",
"**/*.css"
],
"license": "MIT",
"scripts": {
Expand Down
6 changes: 2 additions & 4 deletions packages/footer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,9 @@
"footer"
],
"license": "MIT",
"directories": {
"lib": "build"
},
"files": [
"src"
"!example",
"**/*.css"
],
"scripts": {
"build": "gulp build",
Expand Down
6 changes: 2 additions & 4 deletions packages/grid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,9 @@
"core"
],
"license": "MIT",
"directories": {
"lib": "lib"
},
"files": [
"build"
"!example",
"**/*.css"
],
"scripts": {
"build": "gulp build",
Expand Down
6 changes: 2 additions & 4 deletions packages/header/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,9 @@
"style"
],
"license": "MIT",
"directories": {
"lib": "build"
},
"files": [
"build"
"!example",
"**/*.css"
],
"scripts": {
"build": "gulp build",
Expand Down
4 changes: 4 additions & 0 deletions packages/loader/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
"keywords": [
"loader"
],
"files": [
"!example",
"**/*.css"
],
"homepage": "https://github.com/fremtind/jokul#readme",
"license": "MIT",
"scripts": {
Expand Down
4 changes: 4 additions & 0 deletions packages/logo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
"publishConfig": {
"access": "public"
},
"files": [
"!example",
"**/*.css"
],
"description": "style for Fremtind logo",
"keywords": [
"logo"
Expand Down
6 changes: 2 additions & 4 deletions packages/message-box/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,9 @@
"keywords": [
"message"
],
"directories": {
"lib": "build"
},
"files": [
"build"
"!example",
"**/*.css"
],
"license": "MIT",
"scripts": {
Expand Down
6 changes: 2 additions & 4 deletions packages/radio-button/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,9 @@
"form-field"
],
"license": "MIT",
"directories": {
"lib": "build"
},
"files": [
"build"
"!example",
"**/*.css"
],
"scripts": {
"build": "gulp build",
Expand Down
3 changes: 2 additions & 1 deletion packages/text-input/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
"license": "MIT",
"typings": "build/*.d.ts",
"files": [
"build"
"!example",
"**/*.css"
],
"scripts": {
"build": "gulp build",
Expand Down

0 comments on commit b1fbb8f

Please sign in to comment.