@nx/remix 22.7.0-pr.35019.f500fd7 → 22.7.0-rc.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 +10 -11
- package/plugins/component-testing/index.d.ts.map +1 -1
- package/plugins/component-testing/index.js +4 -34
- package/src/generators/action/action.impl.d.ts.map +1 -1
- package/src/generators/action/action.impl.js +0 -1
- package/src/generators/library/lib/add-tsconfig-entry-points.js +1 -1
- package/src/generators/loader/loader.impl.d.ts.map +1 -1
- package/src/generators/loader/loader.impl.js +0 -1
- package/src/plugins/plugin.d.ts.map +1 -1
- package/src/plugins/plugin.js +7 -7
- package/src/utils/executor-utils.d.ts +1 -1
- package/src/utils/executor-utils.d.ts.map +1 -1
- package/src/utils/executor-utils.js +3 -0
- package/project.json +0 -39
- package/src/generators/application/__snapshots__/application.impl.spec.ts.snap +0 -760
- package/src/generators/error-boundary/__snapshots__/error-boundary.impl.spec.ts.snap +0 -31
- package/src/generators/library/__snapshots__/library.impl.spec.ts.snap +0 -51
- package/src/generators/resource-route/__snapshots__/resource-route.impl.spec.ts.snap +0 -5
- package/src/generators/route/__snapshots__/route.impl.spec.ts.snap +0 -48
- package/src/generators/setup-tailwind/__snapshots__/setup-tailwind.impl.spec.ts.snap +0 -89
- package/src/generators/storybook-configuration/__snapshots__/storybook-configuration.impl.spec.ts.snap +0 -113
- package/src/plugins/__snapshots__/plugin.spec.ts.snap +0 -525
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/remix",
|
|
3
|
-
"version": "22.7.0-
|
|
3
|
+
"version": "22.7.0-rc.0",
|
|
4
4
|
"description": "The Remix plugin for Nx contains executors and generators for managing Remix applications and libraries within an Nx workspace. It provides:\n\n\n- Integration with libraries such as Vitest, Jest, Playwright, Cypress, and Storybook.\n\n- Generators for applications, libraries, routes, loaders, and more.\n\n- Library build support for publishing packages to npm or other registries.\n\n- Utilities for automatic workspace refactoring.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -22,23 +22,24 @@
|
|
|
22
22
|
},
|
|
23
23
|
"homepage": "https://nx.dev",
|
|
24
24
|
"main": "./index.js",
|
|
25
|
-
"
|
|
25
|
+
"type": "commonjs",
|
|
26
|
+
"types": "./index.d.ts",
|
|
26
27
|
"generators": "./generators.json",
|
|
27
28
|
"executors": "./executors.json",
|
|
28
29
|
"nx-migrations": {
|
|
29
30
|
"migrations": "./migrations.json"
|
|
30
31
|
},
|
|
31
32
|
"dependencies": {
|
|
32
|
-
"@nx/devkit": "22.7.0-
|
|
33
|
-
"@nx/js": "22.7.0-
|
|
34
|
-
"@nx/react": "22.7.0-
|
|
35
|
-
"@nx/workspace": "22.7.0-
|
|
33
|
+
"@nx/devkit": "22.7.0-rc.0",
|
|
34
|
+
"@nx/js": "22.7.0-rc.0",
|
|
35
|
+
"@nx/react": "22.7.0-rc.0",
|
|
36
|
+
"@nx/workspace": "22.7.0-rc.0",
|
|
36
37
|
"tslib": "^2.3.0",
|
|
37
38
|
"@phenomnomnominal/tsquery": "~6.1.4"
|
|
38
39
|
},
|
|
39
40
|
"devDependencies": {
|
|
40
|
-
"nx": "22.7.0-
|
|
41
|
-
"@nx/vitest": "22.7.0-
|
|
41
|
+
"nx": "22.7.0-rc.0",
|
|
42
|
+
"@nx/vitest": "22.7.0-rc.0"
|
|
42
43
|
},
|
|
43
44
|
"peerDependencies": {
|
|
44
45
|
"@remix-run/dev": "^2.17.3"
|
|
@@ -62,7 +63,5 @@
|
|
|
62
63
|
"./generators": "./generators.js",
|
|
63
64
|
"./plugin": "./plugin.js",
|
|
64
65
|
"./plugins/component-testing": "./plugins/component-testing/index.js"
|
|
65
|
-
}
|
|
66
|
-
"types": "./index.d.ts",
|
|
67
|
-
"type": "commonjs"
|
|
66
|
+
}
|
|
68
67
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../packages/remix/plugins/component-testing/index.ts"],"names":[],"mappings":"AAMA,KAAK,aAAa,GAAG;IACnB,SAAS,EAAE,OAAO,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,GAAG,CAAC;CAClB,CAAC;AAEF;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,wBAAwB,CAAC,YAAY,EAAE,MAAM,GAAG;IAC9D,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,aAAa,CAAC;IACzB,YAAY,EAAE,MAAM,CAAC;IACrB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,iBAAiB,EAAE,OAAO,CAAC;CAC5B,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../packages/remix/plugins/component-testing/index.ts"],"names":[],"mappings":"AAMA,KAAK,aAAa,GAAG;IACnB,SAAS,EAAE,OAAO,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,GAAG,CAAC;CAClB,CAAC;AAEF;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,wBAAwB,CAAC,YAAY,EAAE,MAAM,GAAG;IAC9D,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,aAAa,CAAC;IACzB,YAAY,EAAE,MAAM,CAAC;IACrB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,iBAAiB,EAAE,OAAO,CAAC;CAC5B,CA0CA"}
|
|
@@ -1,37 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
-
var ownKeys = function(o) {
|
|
20
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
-
var ar = [];
|
|
22
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
-
return ar;
|
|
24
|
-
};
|
|
25
|
-
return ownKeys(o);
|
|
26
|
-
};
|
|
27
|
-
return function (mod) {
|
|
28
|
-
if (mod && mod.__esModule) return mod;
|
|
29
|
-
var result = {};
|
|
30
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
-
__setModuleDefault(result, mod);
|
|
32
|
-
return result;
|
|
33
|
-
};
|
|
34
|
-
})();
|
|
35
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
3
|
exports.nxComponentTestingPreset = nxComponentTestingPreset;
|
|
37
4
|
const cypress_preset_1 = require("@nx/cypress/plugins/cypress-preset");
|
|
@@ -66,7 +33,10 @@ function nxComponentTestingPreset(pathToConfig) {
|
|
|
66
33
|
...{ framework: 'react', bundler: 'vite' },
|
|
67
34
|
viteConfig: async () => {
|
|
68
35
|
const viteConfigPath = findViteConfig(normalizedProjectRootPath);
|
|
69
|
-
|
|
36
|
+
// TODO(jack): Remove this when @nx/remix switches to
|
|
37
|
+
// moduleResolution: "nodenext". Vite 8 ships ESM-only type
|
|
38
|
+
// declarations (.d.mts) not resolvable under moduleResolution: "node".
|
|
39
|
+
const { mergeConfig, loadConfigFromFile, searchForWorkspaceRoot } = await Function('return import("vite")')();
|
|
70
40
|
const resolved = await loadConfigFromFile({
|
|
71
41
|
mode: 'watch',
|
|
72
42
|
command: 'serve',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.impl.d.ts","sourceRoot":"","sources":["../../../../../../packages/remix/src/generators/action/action.impl.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,IAAI,EAAE,MAAM,YAAY,CAAC;AAI/C,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAExC,yBAA+B,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,YAAY,
|
|
1
|
+
{"version":3,"file":"action.impl.d.ts","sourceRoot":"","sources":["../../../../../../packages/remix/src/generators/action/action.impl.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,IAAI,EAAE,MAAM,YAAY,CAAC;AAI/C,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAExC,yBAA+B,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,YAAY,iBAoC9D"}
|
|
@@ -28,7 +28,6 @@ async function default_1(tree, schema) {
|
|
|
28
28
|
(0, insert_statement_in_default_function_1.insertStatementInDefaultFunction)(tree, routeFilePath, statement);
|
|
29
29
|
}
|
|
30
30
|
catch (err) {
|
|
31
|
-
// eslint-disable-next-line no-empty
|
|
32
31
|
}
|
|
33
32
|
finally {
|
|
34
33
|
await (0, devkit_1.formatFiles)(tree);
|
|
@@ -13,7 +13,7 @@ function addTsconfigEntryPoints(tree, options) {
|
|
|
13
13
|
(0, devkit_1.updateJson)(tree, baseTsConfig, (json) => {
|
|
14
14
|
if (json.compilerOptions.paths &&
|
|
15
15
|
json.compilerOptions.paths[options.importPath]) {
|
|
16
|
-
json.compilerOptions.paths[(0, devkit_1.joinPathFragments)(options.importPath, 'server')] = [serverFilePath];
|
|
16
|
+
json.compilerOptions.paths[(0, devkit_1.joinPathFragments)(options.importPath, 'server')] = [`./${serverFilePath}`];
|
|
17
17
|
}
|
|
18
18
|
return json;
|
|
19
19
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"loader.impl.d.ts","sourceRoot":"","sources":["../../../../../../packages/remix/src/generators/loader/loader.impl.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,IAAI,EAAE,MAAM,YAAY,CAAC;AAI/C,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAExC,yBAA+B,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,YAAY,
|
|
1
|
+
{"version":3,"file":"loader.impl.d.ts","sourceRoot":"","sources":["../../../../../../packages/remix/src/generators/loader/loader.impl.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,IAAI,EAAE,MAAM,YAAY,CAAC;AAI/C,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAExC,yBAA+B,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,YAAY,iBAoC9D"}
|
|
@@ -26,7 +26,6 @@ async function default_1(tree, schema) {
|
|
|
26
26
|
const statement = `\nconst data = useLoaderData<typeof loader>();`;
|
|
27
27
|
try {
|
|
28
28
|
(0, insert_statement_in_default_function_1.insertStatementInDefaultFunction)(tree, routeFilePath, statement);
|
|
29
|
-
// eslint-disable-next-line no-empty
|
|
30
29
|
}
|
|
31
30
|
catch (err) {
|
|
32
31
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../../../../packages/remix/src/plugins/plugin.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,kBAAkB,EAGvB,aAAa,EAQd,MAAM,YAAY,CAAC;AAYpB,MAAM,WAAW,kBAAkB;IACjC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAChC;
|
|
1
|
+
{"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../../../../packages/remix/src/plugins/plugin.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,kBAAkB,EAGvB,aAAa,EAQd,MAAM,YAAY,CAAC;AAYpB,MAAM,WAAW,kBAAkB;IACjC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAChC;AAiBD;;GAEG;AACH,eAAO,MAAM,kBAAkB,EAAE,kBAEhC,CAAC;AAIF,eAAO,MAAM,WAAW,EAAE,aAAa,CAAC,kBAAkB,CA4BzD,CAAC;AAEF,eAAO,MAAM,aAAa,mCAAc,CAAC"}
|
package/src/plugins/plugin.js
CHANGED
|
@@ -13,7 +13,6 @@ const fs_1 = require("fs");
|
|
|
13
13
|
const executor_utils_1 = require("../utils/executor-utils");
|
|
14
14
|
const util_1 = require("@nx/js/src/plugins/typescript/util");
|
|
15
15
|
const ts_solution_setup_1 = require("@nx/js/src/utils/typescript/ts-solution-setup");
|
|
16
|
-
const pmc = (0, devkit_1.getPackageManagerCommand)();
|
|
17
16
|
function readTargetsCache(cachePath) {
|
|
18
17
|
return (0, fs_1.existsSync)(cachePath) ? (0, devkit_1.readJsonFile)(cachePath) : {};
|
|
19
18
|
}
|
|
@@ -34,8 +33,9 @@ exports.createNodes = [
|
|
|
34
33
|
const optionsHash = (0, file_hasher_1.hashObject)(options);
|
|
35
34
|
const cachePath = (0, path_1.join)(cache_directory_1.workspaceDataDirectory, `remix-${optionsHash}.hash`);
|
|
36
35
|
const targetsCache = readTargetsCache(cachePath);
|
|
36
|
+
const pmc = (0, devkit_1.getPackageManagerCommand)((0, devkit_1.detectPackageManager)(context.workspaceRoot));
|
|
37
37
|
try {
|
|
38
|
-
return await (0, devkit_1.createNodesFromFiles)((configFile, options, context) => createNodesInternal(configFile, options, context, targetsCache, (0, ts_solution_setup_1.isUsingTsSolutionSetup)()), configFilePaths, options, context);
|
|
38
|
+
return await (0, devkit_1.createNodesFromFiles)((configFile, options, context) => createNodesInternal(configFile, options, context, targetsCache, (0, ts_solution_setup_1.isUsingTsSolutionSetup)(), pmc), configFilePaths, options, context);
|
|
39
39
|
}
|
|
40
40
|
finally {
|
|
41
41
|
writeTargetsToCache(cachePath, targetsCache);
|
|
@@ -43,7 +43,7 @@ exports.createNodes = [
|
|
|
43
43
|
},
|
|
44
44
|
];
|
|
45
45
|
exports.createNodesV2 = exports.createNodes;
|
|
46
|
-
async function createNodesInternal(configFilePath, options, context, targetsCache, isUsingTsSolutionSetup) {
|
|
46
|
+
async function createNodesInternal(configFilePath, options, context, targetsCache, isUsingTsSolutionSetup, pmc) {
|
|
47
47
|
const projectRoot = (0, path_1.dirname)(configFilePath);
|
|
48
48
|
const fullyQualifiedProjectRoot = (0, path_1.join)(context.workspaceRoot, projectRoot);
|
|
49
49
|
// Do not create a project if package.json and project.json isn't there
|
|
@@ -58,7 +58,7 @@ async function createNodesInternal(configFilePath, options, context, targetsCach
|
|
|
58
58
|
return {};
|
|
59
59
|
}
|
|
60
60
|
const hash = (await (0, calculate_hash_for_create_nodes_1.calculateHashForCreateNodes)(projectRoot, { ...options, isUsingTsSolutionSetup }, context, [(0, js_1.getLockFileName)((0, devkit_1.detectPackageManager)(context.workspaceRoot))])) + configFilePath;
|
|
61
|
-
targetsCache[hash] ??= await buildRemixTargets(configFilePath, projectRoot, options, context, siblingFiles, remixCompiler, isUsingTsSolutionSetup);
|
|
61
|
+
targetsCache[hash] ??= await buildRemixTargets(configFilePath, projectRoot, options, context, siblingFiles, remixCompiler, isUsingTsSolutionSetup, pmc);
|
|
62
62
|
const { targets, metadata } = targetsCache[hash];
|
|
63
63
|
const project = {
|
|
64
64
|
root: projectRoot,
|
|
@@ -71,7 +71,7 @@ async function createNodesInternal(configFilePath, options, context, targetsCach
|
|
|
71
71
|
},
|
|
72
72
|
};
|
|
73
73
|
}
|
|
74
|
-
async function buildRemixTargets(configFilePath, projectRoot, options, context, siblingFiles, remixCompiler, isUsingTsSolutionSetup) {
|
|
74
|
+
async function buildRemixTargets(configFilePath, projectRoot, options, context, siblingFiles, remixCompiler, isUsingTsSolutionSetup, pmc) {
|
|
75
75
|
const namedInputs = (0, get_named_inputs_1.getNamedInputs)(projectRoot, context);
|
|
76
76
|
const { buildDirectory, assetsBuildDirectory, serverBuildPath } = await getBuildPaths(configFilePath, projectRoot, context.workspaceRoot, remixCompiler);
|
|
77
77
|
const targets = {};
|
|
@@ -79,7 +79,7 @@ async function buildRemixTargets(configFilePath, projectRoot, options, context,
|
|
|
79
79
|
targets[options.devTargetName] = devTarget(serverBuildPath, projectRoot, remixCompiler, isUsingTsSolutionSetup);
|
|
80
80
|
targets[options.startTargetName] = startTarget(projectRoot, serverBuildPath, options.buildTargetName, remixCompiler, isUsingTsSolutionSetup);
|
|
81
81
|
targets[options.serveStaticTargetName] = startTarget(projectRoot, serverBuildPath, options.buildTargetName, remixCompiler, isUsingTsSolutionSetup);
|
|
82
|
-
targets[options.typecheckTargetName] = typecheckTarget(options.typecheckTargetName, projectRoot, namedInputs, siblingFiles, isUsingTsSolutionSetup);
|
|
82
|
+
targets[options.typecheckTargetName] = typecheckTarget(options.typecheckTargetName, projectRoot, namedInputs, siblingFiles, isUsingTsSolutionSetup, pmc);
|
|
83
83
|
(0, util_1.addBuildAndWatchDepsTargets)(context.workspaceRoot, projectRoot, targets, options, pmc);
|
|
84
84
|
return { targets, metadata: {} };
|
|
85
85
|
}
|
|
@@ -150,7 +150,7 @@ function startTarget(projectRoot, serverBuildPath, buildTargetName, remixCompile
|
|
|
150
150
|
}
|
|
151
151
|
return startTarget;
|
|
152
152
|
}
|
|
153
|
-
function typecheckTarget(typecheckTargetName, projectRoot, namedInputs, siblingFiles, isUsingTsSolutionSetup) {
|
|
153
|
+
function typecheckTarget(typecheckTargetName, projectRoot, namedInputs, siblingFiles, isUsingTsSolutionSetup, pmc) {
|
|
154
154
|
const hasTsConfigAppJson = siblingFiles.includes('tsconfig.app.json');
|
|
155
155
|
const typecheckTarget = {
|
|
156
156
|
cache: true,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare function loadViteDynamicImport(): Promise<
|
|
1
|
+
export declare function loadViteDynamicImport(): Promise<any>;
|
|
2
2
|
//# sourceMappingURL=executor-utils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"executor-utils.d.ts","sourceRoot":"","sources":["../../../../../packages/remix/src/utils/executor-utils.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"executor-utils.d.ts","sourceRoot":"","sources":["../../../../../packages/remix/src/utils/executor-utils.ts"],"names":[],"mappings":"AAGA,wBAAgB,qBAAqB,IACW,OAAO,CAAC,GAAG,CAAC,CAC3D"}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.loadViteDynamicImport = loadViteDynamicImport;
|
|
4
|
+
// TODO(jack): Remove this cast when @nx/remix switches to moduleResolution:
|
|
5
|
+
// "nodenext". Vite 8 ships ESM-only type declarations (.d.mts) not resolvable
|
|
6
|
+
// under moduleResolution: "node".
|
|
4
7
|
function loadViteDynamicImport() {
|
|
5
8
|
return Function('return import("vite")')();
|
|
6
9
|
}
|
package/project.json
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "remix",
|
|
3
|
-
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
|
4
|
-
"sourceRoot": "packages/remix/src",
|
|
5
|
-
"projectType": "library",
|
|
6
|
-
"targets": {
|
|
7
|
-
"build": {
|
|
8
|
-
"outputs": ["{workspaceRoot}/dist/packages/remix/README.md"],
|
|
9
|
-
"command": "node ./scripts/copy-readme.js remix"
|
|
10
|
-
},
|
|
11
|
-
"legacy-post-build": {
|
|
12
|
-
"executor": "@nx/workspace-plugin:legacy-post-build",
|
|
13
|
-
"options": {
|
|
14
|
-
"tsConfig": "./tsconfig.lib.json",
|
|
15
|
-
"assets": [
|
|
16
|
-
"packages/remix/*.md",
|
|
17
|
-
{
|
|
18
|
-
"input": "./packages/remix/src",
|
|
19
|
-
"glob": "**/!(*.ts)",
|
|
20
|
-
"output": "./src"
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
"input": "./packages/remix/src",
|
|
24
|
-
"glob": "**/*.d.ts",
|
|
25
|
-
"output": "./src"
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
"input": "./packages/remix",
|
|
29
|
-
"glob": "**.json",
|
|
30
|
-
"output": ".",
|
|
31
|
-
"ignore": ["**/tsconfig*.json", "project.json", ".eslintrc.json"]
|
|
32
|
-
},
|
|
33
|
-
"LICENSE"
|
|
34
|
-
]
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
},
|
|
38
|
-
"tags": []
|
|
39
|
-
}
|