@simondotm/nx-firebase 21.6.10 → 22.3.3
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": "@simondotm/nx-firebase",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "22.3.3",
|
|
4
4
|
"description": "A Firebase plugin for Nx monorepo workspaces.",
|
|
5
5
|
"author": "Simon Morris",
|
|
6
6
|
"license": "MIT",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"generators": "./generators.json",
|
|
22
22
|
"executors": "./executors.json",
|
|
23
23
|
"peerDependencies": {
|
|
24
|
-
"@nx/devkit": ">=
|
|
25
|
-
"@nx/workspace": ">=
|
|
26
|
-
"nx": ">=
|
|
24
|
+
"@nx/devkit": ">= 22.3.3",
|
|
25
|
+
"@nx/workspace": ">= 22.3.3",
|
|
26
|
+
"nx": ">= 22.3.3"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {},
|
|
29
29
|
"types": "./src/index.d.ts",
|
|
@@ -6,7 +6,7 @@ exports.packageVersions = void 0;
|
|
|
6
6
|
// Do not edit this file manually
|
|
7
7
|
//------------------------------------------------------------------------------
|
|
8
8
|
exports.packageVersions = {
|
|
9
|
-
nx: '
|
|
9
|
+
nx: '22.3.3',
|
|
10
10
|
firebase: '12.8.0',
|
|
11
11
|
firebaseAdmin: '13.6.0',
|
|
12
12
|
firebaseFunctions: '7.0.3',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nx-firebase-versions.js","sourceRoot":"","sources":["../../../../../packages/nx-firebase/src/__generated__/nx-firebase-versions.ts"],"names":[],"mappings":";;;AAAA,gFAAgF;AAChF,6EAA6E;AAC7E,iCAAiC;AACjC,gFAAgF;AACnE,QAAA,eAAe,GAAG;IAC7B,EAAE,EAAE,
|
|
1
|
+
{"version":3,"file":"nx-firebase-versions.js","sourceRoot":"","sources":["../../../../../packages/nx-firebase/src/__generated__/nx-firebase-versions.ts"],"names":[],"mappings":";;;AAAA,gFAAgF;AAChF,6EAA6E;AAC7E,iCAAiC;AACjC,gFAAgF;AACnE,QAAA,eAAe,GAAG;IAC7B,EAAE,EAAE,QAAQ;IACZ,QAAQ,EAAE,QAAQ;IAClB,aAAa,EAAE,QAAQ;IACvB,iBAAiB,EAAE,OAAO;IAC1B,qBAAqB,EAAE,OAAO;IAC9B,aAAa,EAAE,QAAQ;IACvB,QAAQ,EAAE,OAAO;IACjB,UAAU,EAAE,IAAI;IAChB,6BAA6B,EAAE,OAAO;CACvC,CAAA"}
|
|
@@ -60,11 +60,15 @@ function updateProject(host, options) {
|
|
|
60
60
|
// when running the firebase app's test target. passWithNoTests is a CLI option,
|
|
61
61
|
// not a jest.config option, so we need to set it in the target.
|
|
62
62
|
// In Nx 18+, the test target may not exist (inferred by plugin), so we create it.
|
|
63
|
+
// Nx 22+ creates jest.config.cts for ESM projects, so we check which file exists
|
|
64
|
+
const jestConfigFile = host.exists(`${options.projectRoot}/jest.config.cts`)
|
|
65
|
+
? 'jest.config.cts'
|
|
66
|
+
: 'jest.config.ts';
|
|
63
67
|
project.targets.test = {
|
|
64
68
|
executor: '@nx/jest:jest',
|
|
65
69
|
outputs: ['{workspaceRoot}/coverage/{projectRoot}'],
|
|
66
70
|
options: {
|
|
67
|
-
jestConfig: `${options.projectRoot}
|
|
71
|
+
jestConfig: `${options.projectRoot}/${jestConfigFile}`,
|
|
68
72
|
passWithNoTests: true,
|
|
69
73
|
},
|
|
70
74
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-project.js","sourceRoot":"","sources":["../../../../../../../packages/nx-firebase/src/generators/function/lib/update-project.ts"],"names":[],"mappings":";;AAQA,
|
|
1
|
+
{"version":3,"file":"update-project.js","sourceRoot":"","sources":["../../../../../../../packages/nx-firebase/src/generators/function/lib/update-project.ts"],"names":[],"mappings":";;AAQA,sCAqFC;AA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