mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 17:46:45 +00:00
ci: Generate sourcemaps for nodes code again (no-changelog) (#14292)
This commit is contained in:
committed by
GitHub
parent
73e8d76e13
commit
14979c1106
@@ -5,6 +5,7 @@ const config = (module.exports = {
|
||||
ignorePatterns: [
|
||||
'node_modules/**',
|
||||
'dist/**',
|
||||
'tsup.config.ts',
|
||||
// TODO: remove these
|
||||
'*.js',
|
||||
],
|
||||
|
||||
@@ -1,11 +1,10 @@
|
||||
// eslint-disable-next-line import/no-extraneous-dependencies
|
||||
import { defineConfig } from 'tsup';
|
||||
|
||||
// eslint-disable-next-line import/no-default-export
|
||||
export default defineConfig({
|
||||
entry: ['{credentials,nodes,test,types,utils}/**/*.ts', '!**/*.d.ts', '!**/*.test.ts'],
|
||||
format: ['cjs'],
|
||||
clean: true,
|
||||
dts: false,
|
||||
bundle: false,
|
||||
sourcemap: true,
|
||||
});
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
// eslint-disable-next-line import/no-extraneous-dependencies
|
||||
import { defineConfig } from 'tsup';
|
||||
import glob from 'fast-glob';
|
||||
import { resolve } from 'path';
|
||||
@@ -32,7 +31,6 @@ const aiNodesPackageDependencies = Array.from(aiNodesPackageImports).map(
|
||||
|
||||
const commonIgnoredFiles = ['!**/*.d.ts', '!**/*.test.ts'];
|
||||
|
||||
// eslint-disable-next-line import/no-default-export
|
||||
export default defineConfig([
|
||||
{
|
||||
entry: [
|
||||
@@ -43,11 +41,13 @@ export default defineConfig([
|
||||
format: ['cjs'],
|
||||
dts: false,
|
||||
bundle: false,
|
||||
sourcemap: true,
|
||||
},
|
||||
{
|
||||
entry: [...aiNodesPackageDependencies, ...commonIgnoredFiles],
|
||||
format: ['cjs'],
|
||||
dts: true,
|
||||
bundle: false,
|
||||
sourcemap: true,
|
||||
},
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user