Skip to content

Commit

Permalink
Merge pull request #227 from KenEucker/develop
Browse files Browse the repository at this point in the history
fix(build): fixes issues with the npm release
  • Loading branch information
KenEucker authored Jan 22, 2024
2 parents bc6e896 + e671d26 commit fb908a9
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
lib/
src/coverage/
vite.config.ts
src/imgurClient/index.js
_site/
examples
dist
lib
*.md
index.js
index.js.map
Expand Down
3 changes: 2 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
*.code-workspace
.github
.vscode
.husky
dist
lib
examples
src
coverage
Expand Down
1 change: 0 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
node_modules
lib/
package-lock.json
.github
src/coverage/
Expand Down
File renamed without changes.
8 changes: 8 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,14 @@
"types": "./dist/index.d.ts"
}
},
"files": [
"dist/**/*",
"package.json",
"LICENSE.md",
"readme.md",
"documentation.md",
"code_of_conduct.md"
],
"repository": {
"type": "git",
"url": "git+https://github.com/keneucker/biketag-api.git"
Expand Down
5 changes: 1 addition & 4 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ export default defineConfig({
ssr: true,
lib: {
entry: path.resolve(__dirname, 'src/index.ts'),
name: 'BikeTag',
// formats: ['es', 'cjs'],
fileName: (format) => `biketag.${format}.js`,
name: 'BikeTagClient',
},
rollupOptions: {
plugins: [nodePolyfills()],
Expand All @@ -27,7 +25,6 @@ export default defineConfig({
'axios-cache-adapter': 'axiosCacheAdapter',
},
},
// external: ['imgur', 'imgur/common/types'],
},
},
})

0 comments on commit fb908a9

Please sign in to comment.