Skip to content

Commit

Permalink
fix(build): Include adapters in circleci config (#402)
Browse files Browse the repository at this point in the history
  • Loading branch information
wayfarer3130 authored Jan 30, 2023
1 parent 100fd0c commit 45c8416
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
1 change: 1 addition & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ jobs:
- packages/core/dist
- packages/tools/dist
- packages/streaming-image-volume-loader/dist
- packages/adapters/dist

API_CHECK:
<<: *defaults
Expand Down
11 changes: 5 additions & 6 deletions packages/adapters/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,24 @@
"src": "src/index.js",
"main": "src/index.js",
"files": [
"build",
"build/@cornerstonejs",
"dist",
"src"
],
"directories": {
"example": "examples",
"build": "build"
"build": "dist"
},
"exports": {
".": "./build/@cornerstonejs/adapters.js",
"./es": "./build/@cornerstonejs/adapters.es.js"
".": "./dist/@cornerstonejs/adapters.js",
"./es": "./dist/@cornerstonejs/adapters.es.js"
},
"publishConfig": {
"access": "public"
},
"scripts": {
"test": "jest --testTimeout 60000",
"build": "rollup -c",
"build:examples": "npm run build && npx cpx 'build/**/*.{js,map}' examples/js",
"build:examples": "npm run build && npx cpx 'dist/**/*.{js,map}' examples/js",
"start": "rollup -c -w",
"format": "prettier --write 'src/**/*.js' 'test/**/*.js'",
"lint": "eslint --fix ."
Expand Down
4 changes: 2 additions & 2 deletions packages/adapters/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ export default {
input: pkg.src || 'src/index.js',
output: [
{
file: `build/${pkg.name}.js`,
file: `dist/${pkg.name}.js`,
format: "umd",
name: pkg.name,
sourcemap: true
},
{
file: `build/${pkg.name}.es.js`,
file: `dist/${pkg.name}.es.js`,
format: "es",
sourcemap: true
}
Expand Down

0 comments on commit 45c8416

Please sign in to comment.