@storm-software/workspace-tools 1.3.0 → 1.4.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,16 @@
1
+ # [1.3.0](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.2.0...workspace-tools-v1.3.0) (2023-11-07)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **storm-ops:** Update pnpm lockfile ([f08a730](https://github.com/storm-software/storm-ops/commit/f08a7309f56fabbf6d0c108b3a57834a0ec05429))
7
+ * **workspace-tools:** Exclude eslint config from generators in typescript comiler ([83bd2b3](https://github.com/storm-software/storm-ops/commit/83bd2b32815a6c6603a83106f1832a67a933d70e))
8
+
9
+
10
+ ### Features
11
+
12
+ * **storm-ops:** Converted repository eslint to flat structure ([a738c3a](https://github.com/storm-software/storm-ops/commit/a738c3a9839cd5262e98029641f7a9a4d886e117))
13
+
1
14
  # [1.2.0](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.1.1...workspace-tools-v1.2.0) (2023-11-06)
2
15
 
3
16
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/workspace-tools",
3
- "version": "1.3.0",
3
+ "version": "1.4.0",
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": [
@@ -1,47 +0,0 @@
1
- /**
2
- * Config for Jest unit tests
3
- *
4
- * https://jestjs.io/docs/configuration#projects-arraystring--projectconfig
5
- */
6
- declare const _default: {
7
- /**
8
- * When the projects configuration is provided with an array of paths or glob patterns, Jest will run tests in all of the specified projects at the same time.
9
- * This is great for monorepos or when working on multiple projects at the same time.
10
- */
11
- projects: string[];
12
- /**
13
- * Indicates whether the coverage information should be collected while executing the test. Because this retrofits all
14
- * executed files with coverage collection statements, it may significantly slow down your tests. Default: false
15
- */
16
- collectCoverage: boolean;
17
- /**
18
- * An array of glob patterns indicating a set of files for which coverage information should be collected.
19
- * If a file matches the specified glob pattern, coverage information will be collected for it even if no tests exist
20
- * for this file and it's never required in the test suite. Default: undefined
21
- */
22
- /**
23
- * The directory where Jest should output its coverage files. Default: undefined
24
- */
25
- coverageDirectory: string;
26
- /**
27
- * An array of regexp pattern strings that are matched against all file paths before executing the test. If the file path
28
- * matches any of the patterns, coverage information will be skipped.
29
- */
30
- coveragePathIgnorePatterns: string[];
31
- /**
32
- * The test environment that will be used for testing. The default environment in Jest is a Node.js environment.
33
- * If you are building a web app, you can use a browser-like environment through jsdom instead.
34
- */
35
- testEnvironment: string;
36
- /**
37
- * A list of reporter names that Jest uses when writing coverage reports. Any istanbul reporter can be used.
38
- * Default: ["json", "lcov", "text"]
39
- */
40
- coverageReporters: string[];
41
- setupFiles: string[];
42
- moduleNameMapper: {
43
- "\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": string;
44
- "\\.(css|less)$": string;
45
- };
46
- };
47
- export default _default;
@@ -1,58 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const jest_1 = require("@nx/jest");
4
- /**
5
- * Config for Jest unit tests
6
- *
7
- * https://jestjs.io/docs/configuration#projects-arraystring--projectconfig
8
- */
9
- exports.default = {
10
- /**
11
- * When the projects configuration is provided with an array of paths or glob patterns, Jest will run tests in all of the specified projects at the same time.
12
- * This is great for monorepos or when working on multiple projects at the same time.
13
- */
14
- projects: (0, jest_1.getJestProjects)(),
15
- /**
16
- * Indicates whether the coverage information should be collected while executing the test. Because this retrofits all
17
- * executed files with coverage collection statements, it may significantly slow down your tests. Default: false
18
- */
19
- collectCoverage: true,
20
- /**
21
- * An array of glob patterns indicating a set of files for which coverage information should be collected.
22
- * If a file matches the specified glob pattern, coverage information will be collected for it even if no tests exist
23
- * for this file and it's never required in the test suite. Default: undefined
24
- */
25
- // collectCoverageFrom: ["**/*(!*.spec).tsx", "**/*(!*.spec).ts"],
26
- /**
27
- * The directory where Jest should output its coverage files. Default: undefined
28
- */
29
- coverageDirectory: "<rootDir>/coverage",
30
- /**
31
- * An array of regexp pattern strings that are matched against all file paths before executing the test. If the file path
32
- * matches any of the patterns, coverage information will be skipped.
33
- */
34
- coveragePathIgnorePatterns: [
35
- "\\.spec\\.ts$",
36
- "\\.test\\.ts$",
37
- "<rootDir>/dist",
38
- "<rootDir>/test",
39
- "<rootDir>/__generated__",
40
- "<rootDir>/node_modules"
41
- ],
42
- /**
43
- * The test environment that will be used for testing. The default environment in Jest is a Node.js environment.
44
- * If you are building a web app, you can use a browser-like environment through jsdom instead.
45
- */
46
- testEnvironment: "jest-environment-jsdom",
47
- /**
48
- * A list of reporter names that Jest uses when writing coverage reports. Any istanbul reporter can be used.
49
- * Default: ["json", "lcov", "text"]
50
- */
51
- coverageReporters: ["lcov"],
52
- setupFiles: ["@storm-software/jest/mocks/jest.setup.js"],
53
- moduleNameMapper: {
54
- "\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "@storm-software/jest/mocks/file.mock.js",
55
- "\\.(css|less)$": "@storm-software/jest/mocks/style.mock.js"
56
- }
57
- };
58
- //# sourceMappingURL=jest.config.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"jest.config.js","sourceRoot":"","sources":["../../../../../../../packages/workspace-tools/src/generators/preset/files/jest.config.ts"],"names":[],"mappings":";;AAAA,mCAA2C;AAE3C;;;;GAIG;AACH,kBAAe;IACb;;;OAGG;IACH,QAAQ,EAAE,IAAA,sBAAe,GAAE;IAE3B;;;OAGG;IACH,eAAe,EAAE,IAAI;IAErB;;;;OAIG;IACH,kEAAkE;IAElE;;OAEG;IACH,iBAAiB,EAAE,oBAAoB;IAEvC;;;OAGG;IACH,0BAA0B,EAAE;QAC1B,eAAe;QACf,eAAe;QACf,gBAAgB;QAChB,gBAAgB;QAChB,yBAAyB;QACzB,wBAAwB;KACzB;IAED;;;OAGG;IACH,eAAe,EAAE,wBAAwB;IAEzC;;;OAGG;IACH,iBAAiB,EAAE,CAAC,MAAM,CAAC;IAE3B,UAAU,EAAE,CAAC,0CAA0C,CAAC;IAExD,gBAAgB,EAAE;QAChB,qFAAqF,EACnF,yCAAyC;QAC3C,gBAAgB,EAAE,0CAA0C;KAC7D;CACF,CAAC"}