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: [
|
ignorePatterns: [
|
||||||
'node_modules/**',
|
'node_modules/**',
|
||||||
'dist/**',
|
'dist/**',
|
||||||
|
'tsup.config.ts',
|
||||||
// TODO: remove these
|
// TODO: remove these
|
||||||
'*.js',
|
'*.js',
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -1,11 +1,10 @@
|
|||||||
// eslint-disable-next-line import/no-extraneous-dependencies
|
|
||||||
import { defineConfig } from 'tsup';
|
import { defineConfig } from 'tsup';
|
||||||
|
|
||||||
// eslint-disable-next-line import/no-default-export
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
entry: ['{credentials,nodes,test,types,utils}/**/*.ts', '!**/*.d.ts', '!**/*.test.ts'],
|
entry: ['{credentials,nodes,test,types,utils}/**/*.ts', '!**/*.d.ts', '!**/*.test.ts'],
|
||||||
format: ['cjs'],
|
format: ['cjs'],
|
||||||
clean: true,
|
clean: true,
|
||||||
dts: false,
|
dts: false,
|
||||||
bundle: false,
|
bundle: false,
|
||||||
|
sourcemap: true,
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
// eslint-disable-next-line import/no-extraneous-dependencies
|
|
||||||
import { defineConfig } from 'tsup';
|
import { defineConfig } from 'tsup';
|
||||||
import glob from 'fast-glob';
|
import glob from 'fast-glob';
|
||||||
import { resolve } from 'path';
|
import { resolve } from 'path';
|
||||||
@@ -32,7 +31,6 @@ const aiNodesPackageDependencies = Array.from(aiNodesPackageImports).map(
|
|||||||
|
|
||||||
const commonIgnoredFiles = ['!**/*.d.ts', '!**/*.test.ts'];
|
const commonIgnoredFiles = ['!**/*.d.ts', '!**/*.test.ts'];
|
||||||
|
|
||||||
// eslint-disable-next-line import/no-default-export
|
|
||||||
export default defineConfig([
|
export default defineConfig([
|
||||||
{
|
{
|
||||||
entry: [
|
entry: [
|
||||||
@@ -43,11 +41,13 @@ export default defineConfig([
|
|||||||
format: ['cjs'],
|
format: ['cjs'],
|
||||||
dts: false,
|
dts: false,
|
||||||
bundle: false,
|
bundle: false,
|
||||||
|
sourcemap: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
entry: [...aiNodesPackageDependencies, ...commonIgnoredFiles],
|
entry: [...aiNodesPackageDependencies, ...commonIgnoredFiles],
|
||||||
format: ['cjs'],
|
format: ['cjs'],
|
||||||
dts: true,
|
dts: true,
|
||||||
bundle: false,
|
bundle: false,
|
||||||
|
sourcemap: true,
|
||||||
},
|
},
|
||||||
]);
|
]);
|
||||||
|
|||||||
Reference in New Issue
Block a user