Skip to content

Commit

Permalink
fix(npm): Wrong paths in "files" field of package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
tassoevan committed Mar 25, 2021
1 parent c6a8b3e commit 6d3c811
Show file tree
Hide file tree
Showing 10 changed files with 17 additions and 15 deletions.
4 changes: 2 additions & 2 deletions packages/css-in-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
"unpkg": "dist/index.umd.js",
"types": "dist/index.d.ts",
"files": [
"dist",
"logicalProperties"
"/dist",
"/logicalProperties"
],
"scripts": {
"start": "rollup -c -w",
Expand Down
2 changes: 1 addition & 1 deletion packages/emitter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"unpkg": "dist/index.umd.js",
"types": "dist/index.d.ts",
"files": [
"dist"
"/dist"
],
"scripts": {
"start": "rollup -c -w",
Expand Down
2 changes: 1 addition & 1 deletion packages/fuselage-hooks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"unpkg": "dist/index.umd.js",
"types": "dist/index.d.ts",
"files": [
"dist"
"/dist"
],
"scripts": {
"start": "rollup -c -w",
Expand Down
6 changes: 4 additions & 2 deletions packages/fuselage-tokens/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,10 @@
"tokens"
],
"files": [
"*.js",
"*.scss"
"/*.js",
"/*.json",
"/*.mjs",
"/*.scss"
],
"publishConfig": {
"access": "public"
Expand Down
4 changes: 2 additions & 2 deletions packages/fuselage-ui-kit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
},
"main": "index.js",
"files": [
"index.js",
"dist"
"/dist",
"/index.js"
],
"publishConfig": {
"access": "public"
Expand Down
6 changes: 3 additions & 3 deletions packages/fuselage/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
"main": "index.js",
"types": "fuselage.d.ts",
"files": [
"index.js",
"fuselage.d.ts",
"dist"
"/dist",
"/fuselage.d.ts",
"/index.js"
],
"scripts": {
"start": "webpack --watch --mode development",
Expand Down
2 changes: 1 addition & 1 deletion packages/icons/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
"main": "dist/index.js",
"files": [
"dist/"
"/dist"
],
"scripts": {
"build": "node ./scripts/build",
Expand Down
2 changes: 1 addition & 1 deletion packages/memo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"module": "./dist/esm/index.js",
"types": "./dist/esm/index.d.ts",
"files": [
"./dist/"
"/dist"
],
"scripts": {
"build": "run-s .:build:clean .:build:esm .:build:cjs",
Expand Down
2 changes: 1 addition & 1 deletion packages/mp3-encoder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"files": [
"dist"
"/dist"
],
"scripts": {
"start": "rollup -c -w",
Expand Down
2 changes: 1 addition & 1 deletion packages/ui-kit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist"
"/dist"
],
"publishConfig": {
"access": "public"
Expand Down

0 comments on commit 6d3c811

Please sign in to comment.