Skip to content

Commit

Permalink
Merge pull request #27 from sisgha/dev-gabriel
Browse files Browse the repository at this point in the history
feat(js/spec): build as esmodule
  • Loading branch information
guesant authored Apr 27, 2024
2 parents 7597977 + de6dd13 commit f05b098
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion javascript/sisgea-spec/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ module.exports = {
node: true,
jest: true,
},
ignorePatterns: ['.eslintrc.js'],
ignorePatterns: ['.eslintrc.js', 'dist/**/*'],
rules: {
'@typescript-eslint/interface-name-prefix': 'off',
'@typescript-eslint/explicit-function-return-type': 'off',
Expand Down
6 changes: 5 additions & 1 deletion javascript/sisgea-spec/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,15 @@
"name": "@sisgea/spec",
"version": "1.1.0-development.32",
"main": "dist/index.js",
"type": "module",
"sideEffects": false,
"files": [
"*.md",
"proto/**/*.*",
"dist/**/*.*"
"dist/**/*.*",
"!**/*.tsbuildinfo",
"LICENSE",
"README.md"
],
"scripts": {
"prebuild": "rimraf dist",
Expand Down
6 changes: 3 additions & 3 deletions javascript/sisgea-spec/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
{
"compilerOptions": {
"strict": true,
"module": "Node16",
"target": "ESNext",
"module": "ESNext",
"moduleResolution": "Node",
"lib": ["esnext", "DOM"],
"moduleResolution": "Node16",
"resolveJsonModule": true,
"declaration": true,
"removeComments": true,
Expand All @@ -12,7 +13,6 @@
"esModuleInterop": true,
"experimentalDecorators": true,
"allowSyntheticDefaultImports": true,
"target": "es2017",
"sourceMap": true,

"baseUrl": ".",
Expand Down

0 comments on commit f05b098

Please sign in to comment.