@storm-software/workspace-tools 1.28.0 → 1.29.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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ # [1.28.0](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.27.0...workspace-tools-v1.28.0) (2023-12-12)
2
+
3
+
4
+ ### Features
5
+
6
+ * **workspace-tools:** Added compiled child directories to build package ([3acac2b](https://github.com/storm-software/storm-ops/commit/3acac2b7ed07734665ca71cef80afc9bc0f88b8c))
7
+
1
8
  # [1.27.0](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.26.1...workspace-tools-v1.27.0) (2023-12-12)
2
9
 
3
10
 
package/executors.json CHANGED
@@ -15,6 +15,11 @@
15
15
  "implementation": "./src/executors/tsup-node/executor",
16
16
  "schema": "./src/executors/tsup-node/schema.json",
17
17
  "description": "Runs a node platform TypeScript build"
18
+ },
19
+ "tsup-browser": {
20
+ "implementation": "./src/executors/tsup-browser/executor",
21
+ "schema": "./src/executors/tsup-browser/schema.json",
22
+ "description": "Runs a browser platform TypeScript build"
18
23
  }
19
24
  }
20
25
  }
package/generators.json CHANGED
@@ -29,6 +29,11 @@
29
29
  "factory": "./src/generators/neutral-library/generator",
30
30
  "schema": "./src/generators/neutral-library/schema.json",
31
31
  "description": "Create a new Neutral TypeScript library package in the Storm workspace"
32
+ },
33
+ "browser-library": {
34
+ "factory": "./src/generators/browser-library/generator",
35
+ "schema": "./src/generators/browser-library/schema.json",
36
+ "description": "Create a new browser TypeScript library package in the Storm workspace"
32
37
  }
33
38
  }
34
39
  }
package/index.js CHANGED
@@ -119367,17 +119367,29 @@ function getOutputPath(options) {
119367
119367
  function createProjectTsConfigJson(tree, options) {
119368
119368
  const tsconfig = {
119369
119369
  extends: options.rootProject ? void 0 : (0, import_js2.getRelativePathToRootTsConfig)(tree, options.projectRoot),
119370
+ ...options?.tsConfigOptions ?? {},
119370
119371
  compilerOptions: {
119371
119372
  ...options.rootProject ? import_js2.tsConfigBaseOptions : {},
119372
119373
  outDir: (0, import_devkit5.joinPathFragments)(
119373
119374
  (0, import_devkit5.offsetFromRoot)(options.projectRoot),
119374
119375
  "dist/out-tsc"
119375
119376
  ),
119376
- noEmit: true
119377
+ noEmit: true,
119378
+ ...options?.tsConfigOptions?.compilerOptions ?? {}
119377
119379
  },
119378
- files: [],
119379
- include: ["src/**/*.ts", "src/**/*.js", "bin/**/*"],
119380
- exclude: ["jest.config.ts", "src/**/*.spec.ts", "src/**/*.test.ts"]
119380
+ files: [...options?.tsConfigOptions?.files ?? []],
119381
+ include: [
119382
+ ...options?.tsConfigOptions?.include ?? [],
119383
+ "src/**/*.ts",
119384
+ "src/**/*.js",
119385
+ "bin/**/*"
119386
+ ],
119387
+ exclude: [
119388
+ ...options?.tsConfigOptions?.exclude ?? [],
119389
+ "jest.config.ts",
119390
+ "src/**/*.spec.ts",
119391
+ "src/**/*.test.ts"
119392
+ ]
119381
119393
  };
119382
119394
  (0, import_devkit5.writeJson)(
119383
119395
  tree,
@@ -119475,7 +119487,7 @@ async function nodeLibraryGeneratorFn(tree, schema) {
119475
119487
  return null;
119476
119488
  }
119477
119489
  var generator_default2 = withRunGenerator(
119478
- "TypeScript Build (NodeJs Platform)",
119490
+ "TypeScript Library Creator (NodeJs Platform)",
119479
119491
  nodeLibraryGeneratorFn
119480
119492
  );
119481
119493