@mirta/rollup 0.4.11 → 0.5.0

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.
@@ -3,7 +3,6 @@ import '@rollup/plugin-typescript';
3
3
  import '@rollup/plugin-node-resolve';
4
4
  import '@rollup/plugin-commonjs';
5
5
  import '@rollup/plugin-replace';
6
- import 'rollup-plugin-copy';
7
6
  import 'rollup-plugin-dts';
8
7
  import './errors.mjs';
9
8
  import 'del';
package/dist/index.mjs CHANGED
@@ -4,7 +4,6 @@ import '@rollup/plugin-typescript';
4
4
  import '@rollup/plugin-node-resolve';
5
5
  import '@rollup/plugin-commonjs';
6
6
  import '@rollup/plugin-replace';
7
- import 'rollup-plugin-copy';
8
7
  import 'rollup-plugin-dts';
9
8
  import './errors.mjs';
10
9
  import 'del';
package/dist/package.mjs CHANGED
@@ -2,7 +2,6 @@ import ts$1 from '@rollup/plugin-typescript';
2
2
  import nodeResolve from '@rollup/plugin-node-resolve';
3
3
  import commonjs from '@rollup/plugin-commonjs';
4
4
  import replace from '@rollup/plugin-replace';
5
- import copy from 'rollup-plugin-copy';
6
5
  import dts from 'rollup-plugin-dts';
7
6
  import { A as AstTransformError, d as del, N as NpmBuildError } from './errors.mjs';
8
7
  import ts from 'typescript';
@@ -972,7 +971,6 @@ function createBuildConfig(buildName, options) {
972
971
  // При запуске команды build, проверки TS и генерация определений
973
972
  // выполняются единожды - для первой конфигурации.
974
973
  hasTsChecked = true;
975
- const assetsSrc = toPosix(nodePath.join(cwd, 'public/*'));
976
974
  return {
977
975
  input,
978
976
  external,
@@ -986,11 +984,6 @@ function createBuildConfig(buildName, options) {
986
984
  nodeResolve(),
987
985
  commonjs(),
988
986
  ...plugins,
989
- copy({
990
- targets: [
991
- { src: assetsSrc, dest: outPath },
992
- ],
993
- }),
994
987
  ],
995
988
  output,
996
989
  };
package/dist/runtime.mjs CHANGED
@@ -260,6 +260,11 @@ async function defineRuntimeConfig(options = {}) {
260
260
  babel({
261
261
  babelHelpers: 'bundled',
262
262
  extensions: ['.ts', '.js', '.mjs'],
263
+ generatorOpts: {
264
+ jsescOption: {
265
+ minimal: true,
266
+ },
267
+ },
263
268
  presets: [
264
269
  ['@babel/preset-env', {
265
270
  exclude: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mirta/rollup",
3
- "version": "0.4.11",
3
+ "version": "0.5.0",
4
4
  "sideEffects": false,
5
5
  "description": "Predefined Rollup configuration for wb-rules project builds",
6
6
  "keywords": [
@@ -49,8 +49,8 @@
49
49
  "#configs/*": "./src/configs/*.js"
50
50
  },
51
51
  "dependencies": {
52
- "@babel/core": "^7.28.6",
53
- "@babel/preset-env": "^7.28.6",
52
+ "@babel/core": "^7.29.0",
53
+ "@babel/preset-env": "^7.29.0",
54
54
  "@babel/plugin-transform-spread": "^7.28.6",
55
55
  "@dotenvx/dotenvx": "^1.52.0",
56
56
  "@rollup/plugin-babel": "^6.1.0",
@@ -62,16 +62,15 @@
62
62
  "babel-plugin-array-includes": "^2.0.3",
63
63
  "del": "^8.0.1",
64
64
  "magic-string": "^0.30.21",
65
- "rollup-plugin-copy": "^3.5.0",
66
65
  "rollup-plugin-dts": "^6.3.0",
67
66
  "find-up": "^8.0.0",
68
- "@mirta/basics": "0.4.11",
69
- "@mirta/package": "0.4.11",
70
- "@mirta/env-loader": "0.4.11",
71
- "@mirta/workspace": "0.4.11"
67
+ "@mirta/env-loader": "0.5.0",
68
+ "@mirta/package": "0.5.0",
69
+ "@mirta/workspace": "0.5.0",
70
+ "@mirta/basics": "0.5.0"
72
71
  },
73
72
  "devDependencies": {
74
- "rollup": "^4.57.1",
73
+ "rollup": "^4.59.0",
75
74
  "typescript": "^5.8.3"
76
75
  },
77
76
  "peerDependencies": {