@nx/remix 16.8.2 → 17.0.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/package.json +6 -5
- package/src/generators/application/__snapshots__/application.impl.spec.ts.snap +2 -2
- package/src/generators/library/lib/normalize-options.js +0 -1
- package/src/generators/library/lib/normalize-options.js.map +1 -1
- package/src/generators/library/library.impl.js +2 -2
- package/src/generators/storybook-configuration/schema.d.ts +1 -1
package/package.json
CHANGED
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/remix",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "17.0.0",
|
|
4
4
|
"main": "./src/index.js",
|
|
5
5
|
"generators": "./generators.json",
|
|
6
6
|
"executors": "./executors.json",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@nx/devkit": "^
|
|
9
|
-
"@nx/js": "^
|
|
10
|
-
"@nx/react": "^
|
|
8
|
+
"@nx/devkit": "^17.0.1",
|
|
9
|
+
"@nx/js": "^17.0.1",
|
|
10
|
+
"@nx/react": "^17.0.1",
|
|
11
|
+
"@nx/web": "17.0.1",
|
|
11
12
|
"@phenomnomnominal/tsquery": "^5.0.1",
|
|
12
13
|
"tslib": "^2.3.1",
|
|
13
14
|
"vite": "4.3.9",
|
|
14
|
-
"@nrwl/remix": "
|
|
15
|
+
"@nrwl/remix": "17.0.0"
|
|
15
16
|
},
|
|
16
17
|
"ng-update": {
|
|
17
18
|
"requirements": {},
|
|
@@ -304,7 +304,7 @@ module.exports = {
|
|
|
304
304
|
`;
|
|
305
305
|
|
|
306
306
|
exports[`Remix Application Integrated Repo --unitTestRunner should generate the correct files for testing using vitest 2`] = `
|
|
307
|
-
"/// <reference types
|
|
307
|
+
"/// <reference types='vitest' />
|
|
308
308
|
import { nxViteTsPaths } from '@nx/vite/plugins/nx-tsconfig-paths.plugin';
|
|
309
309
|
import react from '@vitejs/plugin-react';
|
|
310
310
|
import { defineConfig } from 'vite';
|
|
@@ -553,7 +553,7 @@ module.exports = {
|
|
|
553
553
|
`;
|
|
554
554
|
|
|
555
555
|
exports[`Remix Application Standalone Project Repo --unitTestRunner should generate the correct files for testing using vitest 2`] = `
|
|
556
|
-
"/// <reference types
|
|
556
|
+
"/// <reference types='vitest' />
|
|
557
557
|
import { nxViteTsPaths } from '@nx/vite/plugins/nx-tsconfig-paths.plugin';
|
|
558
558
|
import react from '@vitejs/plugin-react';
|
|
559
559
|
import { defineConfig } from 'vite';
|
|
@@ -9,7 +9,6 @@ function normalizeOptions(tree, options) {
|
|
|
9
9
|
const name = (0, devkit_1.names)(options.name).fileName;
|
|
10
10
|
const { projectDirectory } = (0, devkit_1.extractLayoutDirectory)(options.directory);
|
|
11
11
|
const fullProjectDirectory = (0, project_1.normalizeDirectory)(name, projectDirectory);
|
|
12
|
-
const { npmScope } = (0, devkit_1.getWorkspaceLayout)(tree);
|
|
13
12
|
const importPath = (_a = options.importPath) !== null && _a !== void 0 ? _a : (0, get_import_path_1.getImportPath)(tree, fullProjectDirectory);
|
|
14
13
|
const projectName = (0, project_1.normalizeProjectName)(name, projectDirectory);
|
|
15
14
|
return Object.assign(Object.assign({}, options), { unitTestRunner: (_b = options.unitTestRunner) !== null && _b !== void 0 ? _b : 'vitest', name,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"normalize-options.js","sourceRoot":"","sources":["../../../../../../../packages/remix/src/generators/library/lib/normalize-options.ts"],"names":[],"mappings":";;;AACA,
|
|
1
|
+
{"version":3,"file":"normalize-options.js","sourceRoot":"","sources":["../../../../../../../packages/remix/src/generators/library/lib/normalize-options.ts"],"names":[],"mappings":";;;AACA,uCAA2D;AAC3D,sEAAiE;AACjE,oDAGgC;AAOhC,SAAgB,gBAAgB,CAC9B,IAAU,EACV,OAA+B;;IAE/B,MAAM,IAAI,GAAG,IAAA,cAAK,EAAC,OAAO,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC;IAE1C,MAAM,EAAE,gBAAgB,EAAE,GAAG,IAAA,+BAAsB,EAAC,OAAO,CAAC,SAAS,CAAC,CAAC;IACvE,MAAM,oBAAoB,GAAG,IAAA,4BAAkB,EAAC,IAAI,EAAE,gBAAgB,CAAC,CAAC;IAExE,MAAM,UAAU,GACd,MAAA,OAAO,CAAC,UAAU,mCAAI,IAAA,+BAAa,EAAC,IAAI,EAAE,oBAAoB,CAAC,CAAC;IAElE,MAAM,WAAW,GAAG,IAAA,8BAAoB,EAAC,IAAI,EAAE,gBAAgB,CAAC,CAAC;IAEjE,uCACK,OAAO,KACV,cAAc,EAAE,MAAA,OAAO,CAAC,cAAc,mCAAI,QAAQ,EAClD,IAAI;QACJ,UAAU;QACV,WAAW,IACX;AACJ,CAAC;AArBD,4CAqBC"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
const devkit_1 = require("@nx/devkit");
|
|
5
|
-
const
|
|
5
|
+
const eslint_1 = require("@nx/eslint");
|
|
6
6
|
const react_1 = require("@nx/react");
|
|
7
7
|
const lib_1 = require("./lib");
|
|
8
8
|
function default_1(tree, schema) {
|
|
@@ -18,7 +18,7 @@ function default_1(tree, schema) {
|
|
|
18
18
|
directory: options.directory,
|
|
19
19
|
skipFormat: true,
|
|
20
20
|
skipTsConfig: false,
|
|
21
|
-
linter:
|
|
21
|
+
linter: eslint_1.Linter.EsLint,
|
|
22
22
|
component: true,
|
|
23
23
|
buildable: options.buildable,
|
|
24
24
|
});
|