@nrwl/remix 1.0.0-beta.5 → 13.7.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,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nrwl/remix",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "13.7.1",
|
|
4
4
|
"main": "src/index.js",
|
|
5
5
|
"generators": "./generators.json",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@nrwl/devkit": "^13.4.
|
|
8
|
-
"@nrwl/js": "^13.4.
|
|
9
|
-
"@nrwl/react": "^13.4.
|
|
7
|
+
"@nrwl/devkit": "^13.4.3",
|
|
8
|
+
"@nrwl/js": "^13.4.3",
|
|
9
|
+
"@nrwl/react": "^13.4.3",
|
|
10
10
|
"tslib": "^2.3.1"
|
|
11
11
|
},
|
|
12
12
|
"typings": "./src/index.d.ts"
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { Tree } from '@nrwl/devkit';
|
|
2
|
-
export default function (tree: Tree, options: any): Promise<() => void
|
|
2
|
+
export default function (tree: Tree, options: any): Promise<() => Promise<void>>;
|
|
@@ -5,8 +5,9 @@ const devkit_1 = require("@nrwl/devkit");
|
|
|
5
5
|
const cypress_1 = require("@nrwl/cypress");
|
|
6
6
|
function default_1(tree, options) {
|
|
7
7
|
return (0, tslib_1.__awaiter)(this, void 0, void 0, function* () {
|
|
8
|
-
const
|
|
9
|
-
const
|
|
8
|
+
const initSideEffects = (0, cypress_1.cypressInitGenerator)(tree);
|
|
9
|
+
const projSideEffects = (0, cypress_1.cypressProjectGenerator)(tree, Object.assign(Object.assign({}, options), { standaloneConfig: true }));
|
|
10
|
+
const config = (0, devkit_1.readProjectConfiguration)(tree, options.name);
|
|
10
11
|
tree.delete((0, devkit_1.joinPathFragments)(config.sourceRoot, "support", "app.po.ts"));
|
|
11
12
|
tree.write((0, devkit_1.joinPathFragments)(config.sourceRoot, "integration", "app.spec.ts"), `describe('webapp', () => {
|
|
12
13
|
beforeEach(() => cy.visit('/'));
|
|
@@ -16,7 +17,10 @@ function default_1(tree, options) {
|
|
|
16
17
|
});
|
|
17
18
|
});`);
|
|
18
19
|
// returning this in case the cypress generator has any side effects
|
|
19
|
-
return
|
|
20
|
+
return () => (0, tslib_1.__awaiter)(this, void 0, void 0, function* () {
|
|
21
|
+
yield initSideEffects;
|
|
22
|
+
yield projSideEffects;
|
|
23
|
+
});
|
|
20
24
|
});
|
|
21
25
|
}
|
|
22
26
|
exports.default = default_1;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cypress.impl.js","sourceRoot":"","sources":["../../../../../../packages/remix/src/generators/cypress/cypress.impl.ts"],"names":[],"mappings":";;;AAAA,yCAAgF;AAEhF,
|
|
1
|
+
{"version":3,"file":"cypress.impl.js","sourceRoot":"","sources":["../../../../../../packages/remix/src/generators/cypress/cypress.impl.ts"],"names":[],"mappings":";;;AAAA,yCAAgF;AAEhF,2CAA2E;AAE3E,mBACE,IAAU,EACV,OAAY;;QAEZ,MAAM,eAAe,GAAG,IAAA,8BAAoB,EAAC,IAAI,CAAC,CAAC;QACnD,MAAM,eAAe,GAAG,IAAA,iCAAuB,EAAC,IAAI,kCAAM,OAAO,KAAE,gBAAgB,EAAE,IAAI,IAAE,CAAA;QAE3F,MAAM,MAAM,GAAG,IAAA,iCAAwB,EAAC,IAAI,EAAE,OAAO,CAAC,IAAI,CAAC,CAAA;QAC3D,IAAI,CAAC,MAAM,CAAC,IAAA,0BAAiB,EAAC,MAAM,CAAC,UAAU,EAAE,SAAS,EAAE,WAAW,CAAC,CAAC,CAAC;QAC1E,IAAI,CAAC,KAAK,CAAC,IAAA,0BAAiB,EAAC,MAAM,CAAC,UAAU,EAAE,aAAa,EAAE,aAAa,CAAC,EAAE;;;;;;IAM7E,CAAC,CAAA;QACH,oEAAoE;QACpE,OAAO,GAAS,EAAE;YAChB,MAAM,eAAe,CAAA;YACrB,MAAM,eAAe,CAAA;QACvB,CAAC,CAAA,CAAC;IACJ,CAAC;CAAA;AArBD,4BAqBC"}
|