Skip to content

Commit

Permalink
Merge pull request #42 from PhillipsAuctionHouse/build-tweak
Browse files Browse the repository at this point in the history
fix: still troublshooting build
  • Loading branch information
davidicus authored Jan 21, 2024
2 parents b826c9d + 486dfc7 commit 481a49d
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 34 deletions.
29 changes: 13 additions & 16 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,34 +7,31 @@

# [1.9.0](https://github.com/PhillipsAuctionHouse/seldon/compare/v1.8.0...v1.9.0) (2024-01-19)


### Features

* add commonjs build ([a914808](https://github.com/PhillipsAuctionHouse/seldon/commit/a9148080193b1ca377c563a38faa4b94c1228f7f))
- add commonjs build ([a914808](https://github.com/PhillipsAuctionHouse/seldon/commit/a9148080193b1ca377c563a38faa4b94c1228f7f))

# [1.8.0](https://github.com/PhillipsAuctionHouse/seldon/compare/v1.7.2...v1.8.0) (2023-11-06)


### Features

* **statefulviwingscard:** added to export ([9d75fa5](https://github.com/PhillipsAuctionHouse/seldon/commit/9d75fa51b4991ce4ee24cef4aef6f492f7f03e57))
* **viewgingslist:** first pass at component ([7fe114b](https://github.com/PhillipsAuctionHouse/seldon/commit/7fe114ba33a7e8e9778554aff3b6a387fcb060d3))
* **viewingcard:** add gap between card buttons ([aef1dee](https://github.com/PhillipsAuctionHouse/seldon/commit/aef1deeac55340f17d48944971716d421528112c))
* **viewinglist:** fix bug with canceling changes ([35548d0](https://github.com/PhillipsAuctionHouse/seldon/commit/35548d042671a5d2c04f6e68d4eacad796d4b97a))
* **viewingscard:** build rest of fields ([492da20](https://github.com/PhillipsAuctionHouse/seldon/commit/492da20c717b21079f01186589af4929ae0c2bc8))
* **viewingscard:** first pass ([c950f19](https://github.com/PhillipsAuctionHouse/seldon/commit/c950f19b874d2f7347b3f9f7b3d99b6a15e1aa90))
* **viewingslist:** add ability to translate strings ([df84d30](https://github.com/PhillipsAuctionHouse/seldon/commit/df84d305012388a15f2bb2756e268ac4a94b5ff2))
* **viewingslist:** finished test and cleaned up viewings code ([eded869](https://github.com/PhillipsAuctionHouse/seldon/commit/eded869f90af00ebcc74a1a2604d1cf12e390a23))
* **viewlist:** fix bugs and get test working ([8b6b46b](https://github.com/PhillipsAuctionHouse/seldon/commit/8b6b46b74a57f533a660ec8e99cdb14eadcab5e2))
- **statefulviwingscard:** added to export ([9d75fa5](https://github.com/PhillipsAuctionHouse/seldon/commit/9d75fa51b4991ce4ee24cef4aef6f492f7f03e57))
- **viewgingslist:** first pass at component ([7fe114b](https://github.com/PhillipsAuctionHouse/seldon/commit/7fe114ba33a7e8e9778554aff3b6a387fcb060d3))
- **viewingcard:** add gap between card buttons ([aef1dee](https://github.com/PhillipsAuctionHouse/seldon/commit/aef1deeac55340f17d48944971716d421528112c))
- **viewinglist:** fix bug with canceling changes ([35548d0](https://github.com/PhillipsAuctionHouse/seldon/commit/35548d042671a5d2c04f6e68d4eacad796d4b97a))
- **viewingscard:** build rest of fields ([492da20](https://github.com/PhillipsAuctionHouse/seldon/commit/492da20c717b21079f01186589af4929ae0c2bc8))
- **viewingscard:** first pass ([c950f19](https://github.com/PhillipsAuctionHouse/seldon/commit/c950f19b874d2f7347b3f9f7b3d99b6a15e1aa90))
- **viewingslist:** add ability to translate strings ([df84d30](https://github.com/PhillipsAuctionHouse/seldon/commit/df84d305012388a15f2bb2756e268ac4a94b5ff2))
- **viewingslist:** finished test and cleaned up viewings code ([eded869](https://github.com/PhillipsAuctionHouse/seldon/commit/eded869f90af00ebcc74a1a2604d1cf12e390a23))
- **viewlist:** fix bugs and get test working ([8b6b46b](https://github.com/PhillipsAuctionHouse/seldon/commit/8b6b46b74a57f533a660ec8e99cdb14eadcab5e2))

## [1.7.2](https://github.com/PhillipsAuctionHouse/seldon/compare/v1.7.1...v1.7.2) (2023-10-20)


### Bug Fixes

* **button:** change styles to deal with svgs ([9279d4e](https://github.com/PhillipsAuctionHouse/seldon/commit/9279d4e4fa046c142ea1e6f94c2a50bd7b390e47))
* **button:** remove unused markup and styles ([26ee20c](https://github.com/PhillipsAuctionHouse/seldon/commit/26ee20c98ffc8698921d54c60934cba7a51176da))
* **commmonprops:** make id optional ([e95c949](https://github.com/PhillipsAuctionHouse/seldon/commit/e95c94908487a13d8e4fb6b568c3ee6d227b518b))
- **button:** change styles to deal with svgs ([9279d4e](https://github.com/PhillipsAuctionHouse/seldon/commit/9279d4e4fa046c142ea1e6f94c2a50bd7b390e47))
- **button:** remove unused markup and styles ([26ee20c](https://github.com/PhillipsAuctionHouse/seldon/commit/26ee20c98ffc8698921d54c60934cba7a51176da))
- **commmonprops:** make id optional ([e95c949](https://github.com/PhillipsAuctionHouse/seldon/commit/e95c94908487a13d8e4fb6b568c3ee6d227b518b))

## [1.7.1](https://github.com/PhillipsAuctionHouse/seldon/compare/v1.7.0...v1.7.1) (2023-10-12)

Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
"name": "@phillips/seldon",
"version": "1.9.1",
"type": "module",
"main": "./dist/index.js",
"module": "./dist/index.js",
"main": "./dist/index.mjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
"default": "./dist/index.mjs"
}
},
"./dist/": {
Expand Down
30 changes: 15 additions & 15 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,24 +60,24 @@ export default defineConfig({
input: 'src/index.ts',
output: [
{
dir: 'dist',
format: 'es',
preserveModules: true,
preserveModulesRoot: 'src',
chunkFileNames: '[name].js',
entryFileNames: '[name].js',
},
// {
// dir: 'dist',
// format: 'cjs',
// preserveModulesRoot: 'src',
// chunkFileNames: '[name].cjs',
// entryFileNames: '[name].cjs',
// },
dir: 'dist',
format: 'es',
preserveModules: true,
preserveModulesRoot: 'src',
chunkFileNames: '[name].mjs',
entryFileNames: '[name].mjs',
},
// {
// dir: 'dist',
// format: 'cjs',
// preserveModulesRoot: 'src',
// chunkFileNames: '[name].cjs',
// entryFileNames: '[name].cjs',
// },
],
// make sure to externalize deps that shouldn't be bundled
// into your library
external: [...Object.keys(packageJson.peerDependencies), ...Object.keys(packageJson.dependencies)],
external: [...Object.keys(packageJson.peerDependencies)],
plugins: [
copy({
hook: 'writeBundle',
Expand Down

0 comments on commit 481a49d

Please sign in to comment.