@layerzerolabs/tsup-config-next 3.0.16 → 3.0.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
package/dist/index.cjs
CHANGED
package/dist/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"names":["commonjsPlugin","nodeExternalsPlugin"],"mappings":";;;;;;;;;;;AAMO,IAAM,mBAAmB,OAAyB;AAAA,EACrD,cAAgB,EAAA;AAAA,IACZA,+BAAe,EAAA;AAAA,IACfC,wCAAoB,CAAA;AAAA,MAChB,YAAc,EAAA,KAAA;AAAA,MACd,eAAiB,EAAA;AAAA,KACpB;AAAA,GACL;AAAA;AAAA,EAEA,YAAA,CAAa,EAAE,MAAA,EAA0B,EAAA;AACrC,IAAA,IAAI,WAAW,KAAO,EAAA;AAClB,MAAO,OAAA,EAAE,IAAI,MAAO,EAAA;AAAA,KACxB,MAAA,IAAW,WAAW,KAAO,EAAA;AACzB,MAAO,OAAA,EAAE,IAAI,MAAO,EAAA;AAAA;AAExB,IAAA,MAAM,IAAI,KAAA,CAAM,CAAU,OAAA,EAAA,MAAM,CAAmB,iBAAA,CAAA,CAAA;AAAA,GACvD;AAAA,EACA,KAAO,EAAA,KAAA;AAAA,EACP,GAAK,EAAA,IAAA;AAAA,EACL,SAAW,EAAA,IAAA;AAAA,EACX,SAAW,EAAA,KAAA;AAAA,EACX,SAAW,EAAA,IAAA;AAAA,EACX,MAAA,EAAQ,CAAC,KAAA,EAAO,KAAK,CAAA;AAAA,EACrB,MAAQ,EAAA;AACZ,CAAA","file":"index.cjs","sourcesContent":["import commonjsPlugin from '@chialab/esbuild-plugin-commonjs'\nimport { nodeExternalsPlugin } from 'esbuild-node-externals'\nimport { defineConfig } from 'tsup'\n\nimport type { Options } from 'tsup'\n\nexport const getDefaultConfig = (): Partial<Options> => ({\n esbuildPlugins: [\n commonjsPlugin(),\n nodeExternalsPlugin({\n dependencies: false,\n devDependencies: false,\n }),\n ],\n // lets be explicit about module type\n outExtension({ format }): { js: string } {\n if (format === 'cjs') {\n return { js: '.cjs' }\n } else if (format === 'esm') {\n return { js: '.mjs' }\n }\n throw new Error(`Format ${format} is not supported`)\n },\n clean: false,\n dts: true,\n sourcemap: true,\n splitting: false,\n treeshake: true,\n format: ['cjs', 'esm'],\n silent: true,\n})\n\nexport { defineConfig, Options }\n"]}
|
package/dist/index.mjs
CHANGED
package/dist/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"names":[],"mappings":";;;;;AAMO,IAAM,mBAAmB,OAAyB;AAAA,EACrD,cAAgB,EAAA;AAAA,IACZ,cAAe,EAAA;AAAA,IACf,mBAAoB,CAAA;AAAA,MAChB,YAAc,EAAA,KAAA;AAAA,MACd,eAAiB,EAAA;AAAA,KACpB;AAAA,GACL;AAAA;AAAA,EAEA,YAAA,CAAa,EAAE,MAAA,EAA0B,EAAA;AACrC,IAAA,IAAI,WAAW,KAAO,EAAA;AAClB,MAAO,OAAA,EAAE,IAAI,MAAO,EAAA;AAAA,KACxB,MAAA,IAAW,WAAW,KAAO,EAAA;AACzB,MAAO,OAAA,EAAE,IAAI,MAAO,EAAA;AAAA;AAExB,IAAA,MAAM,IAAI,KAAA,CAAM,CAAU,OAAA,EAAA,MAAM,CAAmB,iBAAA,CAAA,CAAA;AAAA,GACvD;AAAA,EACA,KAAO,EAAA,KAAA;AAAA,EACP,GAAK,EAAA,IAAA;AAAA,EACL,SAAW,EAAA,IAAA;AAAA,EACX,SAAW,EAAA,KAAA;AAAA,EACX,SAAW,EAAA,IAAA;AAAA,EACX,MAAA,EAAQ,CAAC,KAAA,EAAO,KAAK,CAAA;AAAA,EACrB,MAAQ,EAAA;AACZ,CAAA","file":"index.mjs","sourcesContent":["import commonjsPlugin from '@chialab/esbuild-plugin-commonjs'\nimport { nodeExternalsPlugin } from 'esbuild-node-externals'\nimport { defineConfig } from 'tsup'\n\nimport type { Options } from 'tsup'\n\nexport const getDefaultConfig = (): Partial<Options> => ({\n esbuildPlugins: [\n commonjsPlugin(),\n nodeExternalsPlugin({\n dependencies: false,\n devDependencies: false,\n }),\n ],\n // lets be explicit about module type\n outExtension({ format }): { js: string } {\n if (format === 'cjs') {\n return { js: '.cjs' }\n } else if (format === 'esm') {\n return { js: '.mjs' }\n }\n throw new Error(`Format ${format} is not supported`)\n },\n clean: false,\n dts: true,\n sourcemap: true,\n splitting: false,\n treeshake: true,\n format: ['cjs', 'esm'],\n silent: true,\n})\n\nexport { defineConfig, Options }\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@layerzerolabs/tsup-config-next",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.17",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"exports": {
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
"@chialab/esbuild-plugin-commonjs": "^0.17.2",
|
|
21
21
|
"esbuild": "^0.19.8",
|
|
22
22
|
"esbuild-node-externals": "^1.11.0",
|
|
23
|
-
"tsup": "^8.
|
|
23
|
+
"tsup": "^8.3.5"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@layerzerolabs/typescript-config-next": "^3.0.
|
|
26
|
+
"@layerzerolabs/typescript-config-next": "^3.0.17",
|
|
27
27
|
"rimraf": "^5.0.5",
|
|
28
28
|
"typescript": "~5.2.2"
|
|
29
29
|
},
|