Skip to content

Commit

Permalink
chore: generation both output module types ems nad ejs
Browse files Browse the repository at this point in the history
  • Loading branch information
arturwojnar committed Mar 22, 2024
1 parent 4cacfe4 commit 9f31c41
Show file tree
Hide file tree
Showing 31 changed files with 11,397 additions and 198 deletions.
11 changes: 7 additions & 4 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
/* eslint-env node */
module.exports = {
root: true,
env: {
es2023: true,
node: true,
},
parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint', 'node', 'prettier', 'eslint-plugin-tsdoc'],
plugins: ['@typescript-eslint', 'node', 'prettier', 'eslint-plugin-tsdoc', 'import'],
parserOptions: {
ecmaVersion: 2022,
ecmaVersion: 2023,
tsconfigRootDir: __dirname,
project: ['./tsconfig.json', './packages/*/tsconfig.json'],
// tsconfigRootDir: import.meta.dirname,
project: ['./tsconfig.json', './packages/*/tsconfig.json', './packages/*/rollup.config.js'],
},
ignorePatterns: ['examples/**/*'],
extends: [
Expand Down
6 changes: 3 additions & 3 deletions examples/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

/* Basic Options */
// "incremental": true, /* Enable incremental compilation */
"target": "ES2022" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', or 'ESNEXT'. */,
"module": "commonjs" /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', 'es2020', or 'ESNext'. */,
"lib": ["ES2022"] /* Specify library files to be included in the compilation. */,
"target": "ESNext" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', or 'ESNEXT'. */,
"module": "ESNext" /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', 'es2020', or 'ESNext'. */,
"lib": ["ESNext"] /* Specify library files to be included in the compilation. */,
// "allowJs": true, /* Allow javascript files to be compiled. */
// "checkJs": true, /* Report errors in .js files. */
// "jsx": "preserve", /* Specify JSX code generation: 'preserve', 'react-native', 'react', 'react-jsx' or 'react-jsxdev'. */
Expand Down

0 comments on commit 9f31c41

Please sign in to comment.