-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(packaging): configure rollup for jitar #261
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! Needs a last cleanup round.
.eslintrc.json
Outdated
@@ -1,6 +1,6 @@ | |||
{ | |||
"root": true, | |||
"ignorePatterns": ["**/dist/**/*", "**/node_modules/**/*","**/coverage/**/*", "**/*config*", "packages/create-jitar/templates/*"], | |||
"ignorePatterns": ["**/lib/**/*", "**/dist/**/*", "**/node_modules/**/*","**/coverage/**/*", "**/*config*", "packages/create-jitar/templates/*"], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Die we still need to igore the lib
folder?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nope, we don't
package.json
Outdated
@@ -34,6 +34,11 @@ | |||
"test": "npm run test --workspace=packages/reflection --workspace=packages/serialization --workspace=packages/runtime --workspace=packages/caching --workspace=packages/server-nodejs --workspace=packages/jitar --workspace=packages/create-jitar --workspace=packages/plugin-vite --if-present" | |||
}, | |||
"devDependencies": { | |||
"@rollup/plugin-json": "^6.0.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This plugin seems to be unused
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Correct, removed
packages/.gitignore
Outdated
dist | ||
lib |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we still need this lib?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, also removed
packages/.gitignore
Outdated
@@ -1,5 +1,7 @@ | |||
coverage | |||
build |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we still need this build?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not at the moment. We can add it if required later.
packages/jitar/tsconfig.json
Outdated
"target": "ESNext", | ||
"module": "ESNext", | ||
"declaration": true, | ||
"declarationDir": "./dist/types", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line seems to have tabs instead of spaces.
packages/runtime/package.json
Outdated
@@ -18,7 +18,8 @@ | |||
"release": "npm run clean && npm run build && npm publish" | |||
}, | |||
"dependencies": { | |||
"@jitar/serialization": "^0.4.0" | |||
"@jitar/serialization": "^0.4.0", | |||
"@jitar/errors": "^0.4.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The error can be removed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops, forgotten
packages/server-nodejs/package.json
Outdated
@@ -20,11 +20,10 @@ | |||
"dependencies": { | |||
"@jitar/caching": "^0.4.0", | |||
"@jitar/runtime": "^0.4.0", | |||
"class-transformer": "^0.5.1", | |||
"class-validator": "^0.14.0", | |||
"@jitar/errors": "^0.4.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Th errors can be removed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I made quite a mess of cleaning up ...
Fixes #249
Changes proposed in this pull request:
@MaskingTechnology/jitar