@storm-software/workspace-tools 1.25.0 → 1.26.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/workspace-tools",
3
- "version": "1.25.0",
3
+ "version": "1.26.1",
4
4
  "private": false,
5
5
  "description": "⚡ A Nx plugin package that contains various executors and generators used in a Storm workspaces.",
6
6
  "keywords": [
@@ -116991,6 +116991,7 @@ function modernConfig({
116991
116991
  splitting,
116992
116992
  treeshake,
116993
116993
  debug = false,
116994
+ shims = true,
116994
116995
  external,
116995
116996
  banner = {},
116996
116997
  platform = "neutral",
@@ -117029,7 +117030,7 @@ function modernConfig({
117029
117030
  outDir: outputPath,
117030
117031
  silent: !verbose,
117031
117032
  metafile: true,
117032
- shims: true,
117033
+ shims,
117033
117034
  external,
117034
117035
  platform,
117035
117036
  banner,
@@ -117076,6 +117077,7 @@ function legacyConfig({
117076
117077
  banner = {},
117077
117078
  platform = "neutral",
117078
117079
  verbose = false,
117080
+ shims = true,
117079
117081
  define: define2,
117080
117082
  env,
117081
117083
  plugins,
@@ -117099,7 +117101,7 @@ function legacyConfig({
117099
117101
  outDir: outputPath,
117100
117102
  silent: !verbose,
117101
117103
  metafile: true,
117102
- shims: true,
117104
+ shims,
117103
117105
  external,
117104
117106
  platform,
117105
117107
  banner,
@@ -117148,6 +117150,7 @@ function workerConfig({
117148
117150
  apiReport = true,
117149
117151
  docModel = true,
117150
117152
  tsdocMetadata = true,
117153
+ shims = false,
117151
117154
  define: define2,
117152
117155
  env,
117153
117156
  plugins,
@@ -117172,7 +117175,7 @@ function workerConfig({
117172
117175
  outDir: outputPath,
117173
117176
  silent: !verbose,
117174
117177
  metafile: true,
117175
- shims: false,
117178
+ shims,
117176
117179
  external,
117177
117180
  platform: "browser",
117178
117181
  banner,
@@ -117625,7 +117628,7 @@ var applyDefaultOptions = (options) => {
117625
117628
  options.additionalEntryPoints ??= [];
117626
117629
  options.assets ??= [];
117627
117630
  options.plugins ??= [];
117628
- options.includeSrc ??= false;
117631
+ options.includeSrc ??= true;
117629
117632
  options.clean ??= true;
117630
117633
  options.bundle ??= true;
117631
117634
  options.debug ??= false;
@@ -70618,6 +70618,7 @@ function modernConfig({
70618
70618
  splitting,
70619
70619
  treeshake,
70620
70620
  debug = false,
70621
+ shims = true,
70621
70622
  external,
70622
70623
  banner = {},
70623
70624
  platform = "neutral",
@@ -70656,7 +70657,7 @@ function modernConfig({
70656
70657
  outDir: outputPath,
70657
70658
  silent: !verbose,
70658
70659
  metafile: true,
70659
- shims: true,
70660
+ shims,
70660
70661
  external,
70661
70662
  platform,
70662
70663
  banner,
@@ -70703,6 +70704,7 @@ function legacyConfig({
70703
70704
  banner = {},
70704
70705
  platform = "neutral",
70705
70706
  verbose = false,
70707
+ shims = true,
70706
70708
  define: define2,
70707
70709
  env,
70708
70710
  plugins,
@@ -70726,7 +70728,7 @@ function legacyConfig({
70726
70728
  outDir: outputPath,
70727
70729
  silent: !verbose,
70728
70730
  metafile: true,
70729
- shims: true,
70731
+ shims,
70730
70732
  external,
70731
70733
  platform,
70732
70734
  banner,
@@ -70775,6 +70777,7 @@ function workerConfig({
70775
70777
  apiReport = true,
70776
70778
  docModel = true,
70777
70779
  tsdocMetadata = true,
70780
+ shims = false,
70778
70781
  define: define2,
70779
70782
  env,
70780
70783
  plugins,
@@ -70799,7 +70802,7 @@ function workerConfig({
70799
70802
  outDir: outputPath,
70800
70803
  silent: !verbose,
70801
70804
  metafile: true,
70802
- shims: false,
70805
+ shims,
70803
70806
  external,
70804
70807
  platform: "browser",
70805
70808
  banner,
@@ -33,6 +33,7 @@ export type TsupExecutorSchema = Omit<
33
33
  includeSrc?: boolean;
34
34
  platform?: Platform;
35
35
  plugins?: any[];
36
+ shims?: boolean;
36
37
  splitting?: boolean;
37
38
  treeshake?: boolean;
38
39
  generatePackageJson?: boolean;
@@ -69,7 +69,7 @@
69
69
  "includeSrc": {
70
70
  "type": "boolean",
71
71
  "description": "Should the source files be added to the distribution folder in an `src` directory.",
72
- "default": false
72
+ "default": true
73
73
  },
74
74
  "generatePackageJson": {
75
75
  "type": "boolean",
@@ -107,6 +107,10 @@
107
107
  "description": "Should write extra log outputs with details from the executor.",
108
108
  "default": false
109
109
  },
110
+ "shims": {
111
+ "type": "boolean",
112
+ "description": "Should the build process add shims for node.js modules that are not available in the browser?"
113
+ },
110
114
  "define": {
111
115
  "type": "object",
112
116
  "description": "Define global constants that can be used in the source code. The value will be converted into a stringified JSON.",
@@ -117022,6 +117022,7 @@ function modernConfig({
117022
117022
  splitting,
117023
117023
  treeshake,
117024
117024
  debug = false,
117025
+ shims = true,
117025
117026
  external,
117026
117027
  banner = {},
117027
117028
  platform = "neutral",
@@ -117060,7 +117061,7 @@ function modernConfig({
117060
117061
  outDir: outputPath,
117061
117062
  silent: !verbose,
117062
117063
  metafile: true,
117063
- shims: true,
117064
+ shims,
117064
117065
  external,
117065
117066
  platform,
117066
117067
  banner,
@@ -117107,6 +117108,7 @@ function legacyConfig({
117107
117108
  banner = {},
117108
117109
  platform = "neutral",
117109
117110
  verbose = false,
117111
+ shims = true,
117110
117112
  define: define2,
117111
117113
  env,
117112
117114
  plugins,
@@ -117130,7 +117132,7 @@ function legacyConfig({
117130
117132
  outDir: outputPath,
117131
117133
  silent: !verbose,
117132
117134
  metafile: true,
117133
- shims: true,
117135
+ shims,
117134
117136
  external,
117135
117137
  platform,
117136
117138
  banner,
@@ -117179,6 +117181,7 @@ function workerConfig({
117179
117181
  apiReport = true,
117180
117182
  docModel = true,
117181
117183
  tsdocMetadata = true,
117184
+ shims = false,
117182
117185
  define: define2,
117183
117186
  env,
117184
117187
  plugins,
@@ -117203,7 +117206,7 @@ function workerConfig({
117203
117206
  outDir: outputPath,
117204
117207
  silent: !verbose,
117205
117208
  metafile: true,
117206
- shims: false,
117209
+ shims,
117207
117210
  external,
117208
117211
  platform: "browser",
117209
117212
  banner,
@@ -117656,7 +117659,7 @@ var applyDefaultOptions = (options) => {
117656
117659
  options.additionalEntryPoints ??= [];
117657
117660
  options.assets ??= [];
117658
117661
  options.plugins ??= [];
117659
- options.includeSrc ??= false;
117662
+ options.includeSrc ??= true;
117660
117663
  options.clean ??= true;
117661
117664
  options.bundle ??= true;
117662
117665
  options.debug ??= false;
@@ -117022,6 +117022,7 @@ function modernConfig({
117022
117022
  splitting,
117023
117023
  treeshake,
117024
117024
  debug = false,
117025
+ shims = true,
117025
117026
  external,
117026
117027
  banner = {},
117027
117028
  platform = "neutral",
@@ -117060,7 +117061,7 @@ function modernConfig({
117060
117061
  outDir: outputPath,
117061
117062
  silent: !verbose,
117062
117063
  metafile: true,
117063
- shims: true,
117064
+ shims,
117064
117065
  external,
117065
117066
  platform,
117066
117067
  banner,
@@ -117107,6 +117108,7 @@ function legacyConfig({
117107
117108
  banner = {},
117108
117109
  platform = "neutral",
117109
117110
  verbose = false,
117111
+ shims = true,
117110
117112
  define: define2,
117111
117113
  env,
117112
117114
  plugins,
@@ -117130,7 +117132,7 @@ function legacyConfig({
117130
117132
  outDir: outputPath,
117131
117133
  silent: !verbose,
117132
117134
  metafile: true,
117133
- shims: true,
117135
+ shims,
117134
117136
  external,
117135
117137
  platform,
117136
117138
  banner,
@@ -117179,6 +117181,7 @@ function workerConfig({
117179
117181
  apiReport = true,
117180
117182
  docModel = true,
117181
117183
  tsdocMetadata = true,
117184
+ shims = false,
117182
117185
  define: define2,
117183
117186
  env,
117184
117187
  plugins,
@@ -117203,7 +117206,7 @@ function workerConfig({
117203
117206
  outDir: outputPath,
117204
117207
  silent: !verbose,
117205
117208
  metafile: true,
117206
- shims: false,
117209
+ shims,
117207
117210
  external,
117208
117211
  platform: "browser",
117209
117212
  banner,
@@ -117656,7 +117659,7 @@ var applyDefaultOptions = (options) => {
117656
117659
  options.additionalEntryPoints ??= [];
117657
117660
  options.assets ??= [];
117658
117661
  options.plugins ??= [];
117659
- options.includeSrc ??= false;
117662
+ options.includeSrc ??= true;
117660
117663
  options.clean ??= true;
117661
117664
  options.bundle ??= true;
117662
117665
  options.debug ??= false;