Skip to content

Commit

Permalink
fix: ensure needed files are packed (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
tujoworker authored Oct 11, 2023
1 parent 3c965e5 commit cf7d2f2
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
18 changes: 18 additions & 0 deletions packages/gatsby-plugin-eufemia-theme-handler/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# dependencies
/node_modules

# dev
/src
babel.config.js
tsconfig.json

# enviroment
.env
.env.*

# pkm
yarn-lock.json
package-lock.json
npm-debug.log*
yarn-debug.log*
yarn-error.log*
2 changes: 1 addition & 1 deletion packages/gatsby-plugin-eufemia-theme-handler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"build": "yarn build:cmd && GATSBY_FILES=true yarn build:cmd && yarn build:types",
"build:cmd": "yarn babel src --extensions .js,.ts,.tsx,.mjs --out-dir .",
"build:types": "tsc --project tsconfig.json",
"clean": "rm !(src|babel.config.js|.gitignore|LICENSE|.env|*.md|*.json)",
"clean": "rm !(src|babel.config.js|.gitignore|.npmignore|LICENSE|.env|*.md|*.json)",
"watch": "yarn build --watch",
"test:types": "tsc --noEmit"
},
Expand Down

0 comments on commit cf7d2f2

Please sign in to comment.