@nrwl/remix 15.8.5 → 15.9.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 +4 -4
- package/src/generators/application/application.impl.js +67 -13
- package/src/generators/application/application.impl.js.map +1 -1
- package/src/generators/application/files/integrated/package.json__tmpl__ +32 -0
- package/src/generators/application/lib/normalize-options.d.ts +1 -1
- package/src/generators/application/lib/normalize-options.js +3 -1
- package/src/generators/application/lib/normalize-options.js.map +1 -1
- package/src/generators/application/schema.d.ts +1 -0
- package/src/generators/application/schema.json +5 -0
- package/src/generators/preset/lib/normalize-options.js +2 -4
- package/src/generators/preset/lib/normalize-options.js.map +1 -1
- package/src/generators/preset/preset.impl.js +3 -0
- package/src/generators/preset/preset.impl.js.map +1 -1
- package/src/generators/preset/schema.d.ts +1 -1
- package/src/generators/preset/schema.json +1 -10
- package/src/utils/versions.d.ts +8 -0
- package/src/utils/versions.js +12 -0
- package/src/utils/versions.js.map +1 -0
- package/src/generators/application/files/package.json__tmpl__ +0 -32
- /package/src/generators/application/files/{README.md__tmpl__ → common/README.md__tmpl__} +0 -0
- /package/src/generators/application/files/{app → common/app}/root.tsx__tmpl__ +0 -0
- /package/src/generators/application/files/{app → common/app}/routes/index.tsx__tmpl__ +0 -0
- /package/src/generators/application/files/{public → common/public}/favicon.ico +0 -0
- /package/src/generators/application/files/{remix.config.js__tmpl__ → common/remix.config.js__tmpl__} +0 -0
- /package/src/generators/application/files/{remix.env.d.ts__tmpl__ → common/remix.env.d.ts__tmpl__} +0 -0
- /package/src/generators/application/files/{tsconfig.json__tmpl__ → common/tsconfig.json__tmpl__} +0 -0
- /package/src/generators/application/files/{.gitignore__tmpl__ → integrated/.gitignore__tmpl__} +0 -0
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nrwl/remix",
|
|
3
|
-
"version": "15.
|
|
3
|
+
"version": "15.9.0",
|
|
4
4
|
"main": "src/index.js",
|
|
5
5
|
"generators": "./generators.json",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@nrwl/devkit": "15.
|
|
8
|
-
"@nrwl/js": "15.
|
|
9
|
-
"@nrwl/react": "15.
|
|
7
|
+
"@nrwl/devkit": "15.9.2",
|
|
8
|
+
"@nrwl/js": "15.9.2",
|
|
9
|
+
"@nrwl/react": "15.9.2",
|
|
10
10
|
"@swc/core": "1.3.35",
|
|
11
11
|
"tslib": "2.3.1"
|
|
12
12
|
},
|
|
@@ -2,7 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
const devkit_1 = require("@nrwl/devkit");
|
|
5
|
+
const create_ts_config_1 = require("@nrwl/js/src/utils/typescript/create-ts-config");
|
|
5
6
|
const run_tasks_in_serial_1 = require("@nrwl/workspace/src/utilities/run-tasks-in-serial");
|
|
7
|
+
const versions_1 = require("../../utils/versions");
|
|
6
8
|
const normalize_options_1 = require("./lib/normalize-options");
|
|
7
9
|
function default_1(tree, _options) {
|
|
8
10
|
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -15,22 +17,74 @@ function default_1(tree, _options) {
|
|
|
15
17
|
tags: options.parsedTags,
|
|
16
18
|
});
|
|
17
19
|
const installTask = (0, devkit_1.addDependenciesToPackageJson)(tree, {
|
|
18
|
-
'@remix-run/node':
|
|
19
|
-
'@remix-run/react':
|
|
20
|
-
'@remix-run/serve':
|
|
21
|
-
isbot:
|
|
22
|
-
react:
|
|
23
|
-
'react-dom':
|
|
20
|
+
'@remix-run/node': versions_1.remixVersion,
|
|
21
|
+
'@remix-run/react': versions_1.remixVersion,
|
|
22
|
+
'@remix-run/serve': versions_1.remixVersion,
|
|
23
|
+
isbot: versions_1.isbotVersion,
|
|
24
|
+
react: versions_1.reactVersion,
|
|
25
|
+
'react-dom': versions_1.reactDomVersion,
|
|
24
26
|
}, {
|
|
25
|
-
'@remix-run/dev':
|
|
26
|
-
'@remix-run/eslint-config':
|
|
27
|
-
'@types/react':
|
|
28
|
-
'@types/react-dom':
|
|
29
|
-
eslint:
|
|
30
|
-
typescript:
|
|
27
|
+
'@remix-run/dev': versions_1.remixVersion,
|
|
28
|
+
'@remix-run/eslint-config': versions_1.remixVersion,
|
|
29
|
+
'@types/react': versions_1.typesReactVersion,
|
|
30
|
+
'@types/react-dom': versions_1.typesReactDomVersion,
|
|
31
|
+
eslint: versions_1.eslintVersion,
|
|
32
|
+
typescript: versions_1.typescriptVersion,
|
|
31
33
|
});
|
|
32
34
|
tasks.push(installTask);
|
|
33
|
-
|
|
35
|
+
const vars = Object.assign(Object.assign({}, options), { tmpl: '', offsetFromRoot: (0, devkit_1.offsetFromRoot)(options.projectRoot), remixVersion: versions_1.remixVersion,
|
|
36
|
+
isbotVersion: versions_1.isbotVersion,
|
|
37
|
+
reactVersion: versions_1.reactVersion,
|
|
38
|
+
reactDomVersion: versions_1.reactDomVersion,
|
|
39
|
+
typesReactVersion: versions_1.typesReactVersion,
|
|
40
|
+
typesReactDomVersion: versions_1.typesReactDomVersion,
|
|
41
|
+
eslintVersion: versions_1.eslintVersion,
|
|
42
|
+
typescriptVersion: versions_1.typescriptVersion });
|
|
43
|
+
(0, devkit_1.generateFiles)(tree, (0, devkit_1.joinPathFragments)(__dirname, 'files/common'), options.projectRoot, vars);
|
|
44
|
+
if (options.rootProject) {
|
|
45
|
+
(0, devkit_1.updateJson)(tree, 'package.json', (json) => {
|
|
46
|
+
json['scripts'] = {
|
|
47
|
+
build: 'nx exec -- remix build',
|
|
48
|
+
dev: 'nx exec -- remix dev',
|
|
49
|
+
start: 'nx exec -- remix-serve build',
|
|
50
|
+
typecheck: 'nx exec -- tsc',
|
|
51
|
+
};
|
|
52
|
+
return json;
|
|
53
|
+
});
|
|
54
|
+
const gitignore = tree.read('.gitignore', 'utf-8');
|
|
55
|
+
tree.write('.gitignore', `${gitignore}\n.cache\nbuild\npublic/build\n.env\n`);
|
|
56
|
+
}
|
|
57
|
+
else {
|
|
58
|
+
(0, devkit_1.generateFiles)(tree, (0, devkit_1.joinPathFragments)(__dirname, 'files/integrated'), options.projectRoot, vars);
|
|
59
|
+
}
|
|
60
|
+
if (options.rootProject && tree.exists('tsconfig.base.json')) {
|
|
61
|
+
// If this is a standalone project, merge tsconfig.json and tsconfig.base.json.
|
|
62
|
+
const tsConfigBaseJson = (0, devkit_1.readJson)(tree, 'tsconfig.base.json');
|
|
63
|
+
(0, devkit_1.updateJson)(tree, 'tsconfig.json', (json) => {
|
|
64
|
+
var _a, _b, _c, _d;
|
|
65
|
+
delete json.extends;
|
|
66
|
+
json.compilerOptions = Object.assign(Object.assign(Object.assign({}, tsConfigBaseJson.compilerOptions), json.compilerOptions), {
|
|
67
|
+
// Taken from remix default setup
|
|
68
|
+
// https://github.com/remix-run/remix/blob/68c8982/templates/remix/tsconfig.json#L15-L17
|
|
69
|
+
paths: {
|
|
70
|
+
'~/*': ['./app/*'],
|
|
71
|
+
} });
|
|
72
|
+
json.include = [
|
|
73
|
+
...((_a = tsConfigBaseJson.include) !== null && _a !== void 0 ? _a : []),
|
|
74
|
+
...((_b = json.include) !== null && _b !== void 0 ? _b : []),
|
|
75
|
+
];
|
|
76
|
+
json.exclude = [
|
|
77
|
+
...((_c = tsConfigBaseJson.exclude) !== null && _c !== void 0 ? _c : []),
|
|
78
|
+
...((_d = json.exclude) !== null && _d !== void 0 ? _d : []),
|
|
79
|
+
];
|
|
80
|
+
return json;
|
|
81
|
+
});
|
|
82
|
+
tree.delete('tsconfig.base.json');
|
|
83
|
+
}
|
|
84
|
+
else {
|
|
85
|
+
// Otherwise, extract the tsconfig.base.json from tsconfig.json so we can share settings.
|
|
86
|
+
(0, create_ts_config_1.extractTsConfigBase)(tree);
|
|
87
|
+
}
|
|
34
88
|
if (!options.skipFormat) {
|
|
35
89
|
yield (0, devkit_1.formatFiles)(tree);
|
|
36
90
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"application.impl.js","sourceRoot":"","sources":["../../../../../../packages/remix/src/generators/application/application.impl.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"application.impl.js","sourceRoot":"","sources":["../../../../../../packages/remix/src/generators/application/application.impl.ts"],"names":[],"mappings":";;;AAAA,yCAWsB;AACtB,qFAAqF;AACrF,2FAAqF;AACrF,mDAS8B;AAC9B,+DAA2D;AAG3D,mBAA+B,IAAU,EAAE,QAAgC;;QACzE,MAAM,OAAO,GAAG,IAAA,oCAAgB,EAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;QACjD,MAAM,KAAK,GAAwB,EAAE,CAAC;QAEtC,IAAA,gCAAuB,EAAC,IAAI,EAAE,OAAO,CAAC,WAAW,EAAE;YACjD,IAAI,EAAE,OAAO,CAAC,WAAW;YACzB,UAAU,EAAE,GAAG,OAAO,CAAC,WAAW,EAAE;YACpC,WAAW,EAAE,aAAa;YAC1B,IAAI,EAAE,OAAO,CAAC,UAAU;SACzB,CAAC,CAAC;QAEH,MAAM,WAAW,GAAG,IAAA,qCAA4B,EAC9C,IAAI,EACJ;YACE,iBAAiB,EAAE,uBAAY;YAC/B,kBAAkB,EAAE,uBAAY;YAChC,kBAAkB,EAAE,uBAAY;YAChC,KAAK,EAAE,uBAAY;YACnB,KAAK,EAAE,uBAAY;YACnB,WAAW,EAAE,0BAAe;SAC7B,EACD;YACE,gBAAgB,EAAE,uBAAY;YAC9B,0BAA0B,EAAE,uBAAY;YACxC,cAAc,EAAE,4BAAiB;YACjC,kBAAkB,EAAE,+BAAoB;YACxC,MAAM,EAAE,wBAAa;YACrB,UAAU,EAAE,4BAAiB;SAC9B,CACF,CAAC;QACF,KAAK,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QAExB,MAAM,IAAI,mCACL,OAAO,KACV,IAAI,EAAE,EAAE,EACR,cAAc,EAAE,IAAA,uBAAc,EAAC,OAAO,CAAC,WAAW,CAAC,EACnD,YAAY,EAAZ,uBAAY;YACZ,YAAY,EAAZ,uBAAY;YACZ,YAAY,EAAZ,uBAAY;YACZ,eAAe,EAAf,0BAAe;YACf,iBAAiB,EAAjB,4BAAiB;YACjB,oBAAoB,EAApB,+BAAoB;YACpB,aAAa,EAAb,wBAAa;YACb,iBAAiB,EAAjB,4BAAiB,GAClB,CAAC;QAEF,IAAA,sBAAa,EACX,IAAI,EACJ,IAAA,0BAAiB,EAAC,SAAS,EAAE,cAAc,CAAC,EAC5C,OAAO,CAAC,WAAW,EACnB,IAAI,CACL,CAAC;QAEF,IAAI,OAAO,CAAC,WAAW,EAAE;YACvB,IAAA,mBAAU,EAAC,IAAI,EAAE,cAAc,EAAE,CAAC,IAAI,EAAE,EAAE;gBACxC,IAAI,CAAC,SAAS,CAAC,GAAG;oBAChB,KAAK,EAAE,wBAAwB;oBAC/B,GAAG,EAAE,sBAAsB;oBAC3B,KAAK,EAAE,8BAA8B;oBACrC,SAAS,EAAE,gBAAgB;iBAC5B,CAAC;gBAEF,OAAO,IAAI,CAAC;YACd,CAAC,CAAC,CAAC;YACH,MAAM,SAAS,GAAG,IAAI,CAAC,IAAI,CAAC,YAAY,EAAE,OAAO,CAAC,CAAC;YACnD,IAAI,CAAC,KAAK,CACR,YAAY,EACZ,GAAG,SAAS,uCAAuC,CACpD,CAAC;SACH;aAAM;YACL,IAAA,sBAAa,EACX,IAAI,EACJ,IAAA,0BAAiB,EAAC,SAAS,EAAE,kBAAkB,CAAC,EAChD,OAAO,CAAC,WAAW,EACnB,IAAI,CACL,CAAC;SACH;QAED,IAAI,OAAO,CAAC,WAAW,IAAI,IAAI,CAAC,MAAM,CAAC,oBAAoB,CAAC,EAAE;YAC5D,+EAA+E;YAC/E,MAAM,gBAAgB,GAAG,IAAA,iBAAQ,EAAC,IAAI,EAAE,oBAAoB,CAAC,CAAC;YAC9D,IAAA,mBAAU,EAAC,IAAI,EAAE,eAAe,EAAE,CAAC,IAAI,EAAE,EAAE;;gBACzC,OAAO,IAAI,CAAC,OAAO,CAAC;gBACpB,IAAI,CAAC,eAAe,iDACf,gBAAgB,CAAC,eAAe,GAChC,IAAI,CAAC,eAAe;oBACvB,iCAAiC;oBACjC,wFAAwF;oBACxF,KAAK,EAAE;wBACL,KAAK,EAAE,CAAC,SAAS,CAAC;qBACnB,GACF,CAAC;gBACF,IAAI,CAAC,OAAO,GAAG;oBACb,GAAG,CAAC,MAAA,gBAAgB,CAAC,OAAO,mCAAI,EAAE,CAAC;oBACnC,GAAG,CAAC,MAAA,IAAI,CAAC,OAAO,mCAAI,EAAE,CAAC;iBACxB,CAAC;gBACF,IAAI,CAAC,OAAO,GAAG;oBACb,GAAG,CAAC,MAAA,gBAAgB,CAAC,OAAO,mCAAI,EAAE,CAAC;oBACnC,GAAG,CAAC,MAAA,IAAI,CAAC,OAAO,mCAAI,EAAE,CAAC;iBACxB,CAAC;gBACF,OAAO,IAAI,CAAC;YACd,CAAC,CAAC,CAAC;YACH,IAAI,CAAC,MAAM,CAAC,oBAAoB,CAAC,CAAC;SACnC;aAAM;YACL,yFAAyF;YACzF,IAAA,sCAAmB,EAAC,IAAI,CAAC,CAAC;SAC3B;QAED,IAAI,CAAC,OAAO,CAAC,UAAU,EAAE;YACvB,MAAM,IAAA,oBAAW,EAAC,IAAI,CAAC,CAAC;SACzB;QAED,OAAO,IAAA,sCAAgB,EAAC,GAAG,KAAK,CAAC,CAAC;IACpC,CAAC;CAAA;AAjHD,4BAiHC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"private": true,
|
|
3
|
+
"name": "<%= projectName %>",
|
|
4
|
+
"description": "",
|
|
5
|
+
"license": "",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"build": "nx exec -- remix build",
|
|
8
|
+
"dev": "nx exec -- remix dev",
|
|
9
|
+
"start": "nx exec -- remix-serve build",
|
|
10
|
+
"typecheck": "nx exec -- tsc"
|
|
11
|
+
},
|
|
12
|
+
"dependencies": {
|
|
13
|
+
"@remix-run/node": "<%= remixVersion %>",
|
|
14
|
+
"@remix-run/react": "<%= remixVersion %>",
|
|
15
|
+
"@remix-run/serve": "<%= remixVersion %>",
|
|
16
|
+
"isbot": "<%= isbotVersion %>",
|
|
17
|
+
"react": "<%= reactVersion %>",
|
|
18
|
+
"react-dom": "<%= reactDomVersion %>"
|
|
19
|
+
},
|
|
20
|
+
"devDependencies": {
|
|
21
|
+
"@remix-run/dev": "<%= remixVersion %>",
|
|
22
|
+
"@remix-run/eslint-config": "<%= remixVersion %>",
|
|
23
|
+
"@types/react": "<%= typesReactVersion %>",
|
|
24
|
+
"@types/react-dom": "<%= typesReactDomVersion %>",
|
|
25
|
+
"eslint": "<%= eslintVersion %>",
|
|
26
|
+
"typescript": "<%= typescriptVersion %>"
|
|
27
|
+
},
|
|
28
|
+
"engines": {
|
|
29
|
+
"node": ">=14"
|
|
30
|
+
},
|
|
31
|
+
"sideEffects": false
|
|
32
|
+
}
|
|
@@ -6,7 +6,9 @@ function normalizeOptions(tree, options) {
|
|
|
6
6
|
const { appsDir } = (0, devkit_1.getWorkspaceLayout)(tree);
|
|
7
7
|
const name = (0, devkit_1.names)(options.name).fileName;
|
|
8
8
|
const projectName = name;
|
|
9
|
-
const projectRoot =
|
|
9
|
+
const projectRoot = options.rootProject
|
|
10
|
+
? '.'
|
|
11
|
+
: (0, devkit_1.joinPathFragments)(appsDir, name);
|
|
10
12
|
const parsedTags = options.tags
|
|
11
13
|
? options.tags.split(',').map((s) => s.trim())
|
|
12
14
|
: [];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"normalize-options.js","sourceRoot":"","sources":["../../../../../../../packages/remix/src/generators/application/lib/normalize-options.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"normalize-options.js","sourceRoot":"","sources":["../../../../../../../packages/remix/src/generators/application/lib/normalize-options.ts"],"names":[],"mappings":";;;AAAA,yCAKsB;AAStB,SAAgB,gBAAgB,CAC9B,IAAU,EACV,OAA+B;IAE/B,MAAM,EAAE,OAAO,EAAE,GAAG,IAAA,2BAAkB,EAAC,IAAI,CAAC,CAAC;IAC7C,MAAM,IAAI,GAAG,IAAA,cAAK,EAAC,OAAO,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC;IAC1C,MAAM,WAAW,GAAG,IAAI,CAAC;IACzB,MAAM,WAAW,GAAG,OAAO,CAAC,WAAW;QACrC,CAAC,CAAC,GAAG;QACL,CAAC,CAAC,IAAA,0BAAiB,EAAC,OAAO,EAAE,IAAI,CAAC,CAAC;IACrC,MAAM,UAAU,GAAG,OAAO,CAAC,IAAI;QAC7B,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC;QAC9C,CAAC,CAAC,EAAE,CAAC;IAEP,uCACK,OAAO,KACV,WAAW;QACX,WAAW;QACX,UAAU,IACV;AACJ,CAAC;AApBD,4CAoBC"}
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.normalizeOptions = void 0;
|
|
4
|
-
const devkit_1 = require("@nrwl/devkit");
|
|
5
4
|
function normalizeOptions(tree, options) {
|
|
6
5
|
// There is a bug in Nx core where custom preset args are not passed correctly for boolean values, thus causing the name to be "commit" or "nx-cloud" when not passed.
|
|
7
6
|
// TODO(jack): revert this hack once Nx core is fixed for custom preset args.
|
|
8
7
|
// TODO(philip): presets should probably be using the `appName` flag to name the app, but it's not getting passed down to this generator properly and is always an empty string
|
|
9
|
-
const
|
|
10
|
-
const
|
|
11
|
-
const projectRoot = `packages/${name}`;
|
|
8
|
+
const appName = options.name;
|
|
9
|
+
const projectRoot = `packages/${appName}`;
|
|
12
10
|
const parsedTags = options.tags
|
|
13
11
|
? options.tags.split(',').map((s) => s.trim())
|
|
14
12
|
: [];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"normalize-options.js","sourceRoot":"","sources":["../../../../../../../packages/remix/src/generators/preset/lib/normalize-options.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"normalize-options.js","sourceRoot":"","sources":["../../../../../../../packages/remix/src/generators/preset/lib/normalize-options.ts"],"names":[],"mappings":";;;AASA,SAAgB,gBAAgB,CAC9B,IAAU,EACV,OAA6B;IAE7B,sKAAsK;IACtK,6EAA6E;IAC7E,+KAA+K;IAC/K,MAAM,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC;IAC7B,MAAM,WAAW,GAAG,YAAY,OAAO,EAAE,CAAC;IAC1C,MAAM,UAAU,GAAG,OAAO,CAAC,IAAI;QAC7B,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC;QAC9C,CAAC,CAAC,EAAE,CAAC;IAEP,uCACK,OAAO,KACV,OAAO;QACP,WAAW;QACX,UAAU,IACV;AACJ,CAAC;AAnBD,4CAmBC"}
|
|
@@ -16,8 +16,11 @@ function default_1(tree, _options) {
|
|
|
16
16
|
name: options.appName,
|
|
17
17
|
tags: options.tags,
|
|
18
18
|
skipFormat: true,
|
|
19
|
+
rootProject: true,
|
|
19
20
|
});
|
|
20
21
|
tasks.push(appGenTask);
|
|
22
|
+
tree.delete('apps');
|
|
23
|
+
tree.delete('libs');
|
|
21
24
|
yield (0, devkit_1.formatFiles)(tree);
|
|
22
25
|
return (0, run_tasks_in_serial_1.runTasksInSerial)(...tasks);
|
|
23
26
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"preset.impl.js","sourceRoot":"","sources":["../../../../../../packages/remix/src/generators/preset/preset.impl.ts"],"names":[],"mappings":";;;AAAA,yCAAoE;AAEpE,2FAAqF;AACrF,sEAAmE;AACnE,oDAAiD;AACjD,+DAA2D;AAG3D,mBAA+B,IAAU,EAAE,QAA8B;;QACvE,MAAM,OAAO,GAAG,IAAA,oCAAgB,EAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;QACjD,MAAM,KAAK,GAAwB,EAAE,CAAC;QAEtC,MAAM,YAAY,GAAG,MAAM,IAAA,oBAAc,EAAC,IAAI,CAAC,CAAC;QAChD,KAAK,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QAEzB,MAAM,UAAU,GAAG,MAAM,IAAA,0BAAoB,EAAC,IAAI,EAAE;YAClD,IAAI,EAAE,OAAO,CAAC,OAAO;YACrB,IAAI,EAAE,OAAO,CAAC,IAAI;YAClB,UAAU,EAAE,IAAI;
|
|
1
|
+
{"version":3,"file":"preset.impl.js","sourceRoot":"","sources":["../../../../../../packages/remix/src/generators/preset/preset.impl.ts"],"names":[],"mappings":";;;AAAA,yCAAoE;AAEpE,2FAAqF;AACrF,sEAAmE;AACnE,oDAAiD;AACjD,+DAA2D;AAG3D,mBAA+B,IAAU,EAAE,QAA8B;;QACvE,MAAM,OAAO,GAAG,IAAA,oCAAgB,EAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;QACjD,MAAM,KAAK,GAAwB,EAAE,CAAC;QAEtC,MAAM,YAAY,GAAG,MAAM,IAAA,oBAAc,EAAC,IAAI,CAAC,CAAC;QAChD,KAAK,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QAEzB,MAAM,UAAU,GAAG,MAAM,IAAA,0BAAoB,EAAC,IAAI,EAAE;YAClD,IAAI,EAAE,OAAO,CAAC,OAAO;YACrB,IAAI,EAAE,OAAO,CAAC,IAAI;YAClB,UAAU,EAAE,IAAI;YAChB,WAAW,EAAE,IAAI;SAClB,CAAC,CAAC;QACH,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QAEvB,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;QACpB,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;QAEpB,MAAM,IAAA,oBAAW,EAAC,IAAI,CAAC,CAAC;QAExB,OAAO,IAAA,sCAAgB,EAAC,GAAG,KAAK,CAAC,CAAC;IACpC,CAAC;CAAA;AArBD,4BAqBC"}
|
|
@@ -5,18 +5,9 @@
|
|
|
5
5
|
"title": "",
|
|
6
6
|
"type": "object",
|
|
7
7
|
"properties": {
|
|
8
|
-
"remixAppName": {
|
|
9
|
-
"type": "string",
|
|
10
|
-
"description": "",
|
|
11
|
-
"$default": {
|
|
12
|
-
"$source": "argv",
|
|
13
|
-
"index": 0
|
|
14
|
-
},
|
|
15
|
-
"x-prompt": "What is the name of the app?"
|
|
16
|
-
},
|
|
17
8
|
"tags": {
|
|
18
9
|
"type": "string",
|
|
19
|
-
"description": "Add tags to the app (used for linting)",
|
|
10
|
+
"description": "Add tags to the app (used for linting).",
|
|
20
11
|
"alias": "t"
|
|
21
12
|
}
|
|
22
13
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const remixVersion = "^1.14.3";
|
|
2
|
+
export declare const isbotVersion = "^3.6.5";
|
|
3
|
+
export declare const reactVersion = "^18.2.0";
|
|
4
|
+
export declare const reactDomVersion = "^18.2.0";
|
|
5
|
+
export declare const typesReactVersion = "^18.0.25";
|
|
6
|
+
export declare const typesReactDomVersion = "^18.0.8";
|
|
7
|
+
export declare const eslintVersion = "^8.27.0";
|
|
8
|
+
export declare const typescriptVersion = "^4.8.4";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.typescriptVersion = exports.eslintVersion = exports.typesReactDomVersion = exports.typesReactVersion = exports.reactDomVersion = exports.reactVersion = exports.isbotVersion = exports.remixVersion = void 0;
|
|
4
|
+
exports.remixVersion = '^1.14.3';
|
|
5
|
+
exports.isbotVersion = '^3.6.5';
|
|
6
|
+
exports.reactVersion = '^18.2.0';
|
|
7
|
+
exports.reactDomVersion = '^18.2.0';
|
|
8
|
+
exports.typesReactVersion = '^18.0.25';
|
|
9
|
+
exports.typesReactDomVersion = '^18.0.8';
|
|
10
|
+
exports.eslintVersion = '^8.27.0';
|
|
11
|
+
exports.typescriptVersion = '^4.8.4';
|
|
12
|
+
//# sourceMappingURL=versions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"versions.js","sourceRoot":"","sources":["../../../../../packages/remix/src/utils/versions.ts"],"names":[],"mappings":";;;AAAa,QAAA,YAAY,GAAG,SAAS,CAAC;AACzB,QAAA,YAAY,GAAG,QAAQ,CAAC;AACxB,QAAA,YAAY,GAAG,SAAS,CAAC;AACzB,QAAA,eAAe,GAAG,SAAS,CAAC;AAC5B,QAAA,iBAAiB,GAAG,UAAU,CAAC;AAC/B,QAAA,oBAAoB,GAAG,SAAS,CAAC;AACjC,QAAA,aAAa,GAAG,SAAS,CAAC;AAC1B,QAAA,iBAAiB,GAAG,QAAQ,CAAC"}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"private": true,
|
|
3
|
-
"name": "<%= projectName %>",
|
|
4
|
-
"description": "",
|
|
5
|
-
"license": "",
|
|
6
|
-
"scripts": {
|
|
7
|
-
"build": "remix build",
|
|
8
|
-
"dev": "remix dev",
|
|
9
|
-
"start": "remix-serve build",
|
|
10
|
-
"typecheck": "tsc"
|
|
11
|
-
},
|
|
12
|
-
"dependencies": {
|
|
13
|
-
"@remix-run/node": "^1.14.0",
|
|
14
|
-
"@remix-run/react": "^1.14.0",
|
|
15
|
-
"@remix-run/serve": "^1.14.0",
|
|
16
|
-
"isbot": "^3.6.5",
|
|
17
|
-
"react": "^18.2.0",
|
|
18
|
-
"react-dom": "^18.2.0"
|
|
19
|
-
},
|
|
20
|
-
"devDependencies": {
|
|
21
|
-
"@remix-run/dev": "^1.14.0",
|
|
22
|
-
"@remix-run/eslint-config": "^1.14.0",
|
|
23
|
-
"@types/react": "^18.0.25",
|
|
24
|
-
"@types/react-dom": "^18.0.8",
|
|
25
|
-
"eslint": "^8.27.0",
|
|
26
|
-
"typescript": "^4.8.4"
|
|
27
|
-
},
|
|
28
|
-
"engines": {
|
|
29
|
-
"node": ">=14"
|
|
30
|
-
},
|
|
31
|
-
"sideEffects": false
|
|
32
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/src/generators/application/files/{remix.config.js__tmpl__ → common/remix.config.js__tmpl__}
RENAMED
|
File without changes
|
/package/src/generators/application/files/{remix.env.d.ts__tmpl__ → common/remix.env.d.ts__tmpl__}
RENAMED
|
File without changes
|
/package/src/generators/application/files/{tsconfig.json__tmpl__ → common/tsconfig.json__tmpl__}
RENAMED
|
File without changes
|
/package/src/generators/application/files/{.gitignore__tmpl__ → integrated/.gitignore__tmpl__}
RENAMED
|
File without changes
|