-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Engineer - Build application start as an engine app (#374)
- Loading branch information
Adam Yahid
authored
Oct 1, 2020
1 parent
6599ed8
commit 35b2a6c
Showing
98 changed files
with
1,884 additions
and
732 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,53 +1,41 @@ | ||
{ | ||
// Use IntelliSense to learn about possible attributes. | ||
// Hover to view descriptions of existing attributes. | ||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
|
||
{ | ||
"type": "node", | ||
"request": "launch", | ||
"name": "Mocha Current", | ||
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha", | ||
"args": [ | ||
"--timeout", | ||
"999999", | ||
"${file}" | ||
], | ||
"outputCapture": "std" | ||
}, | ||
{ | ||
"type": "node", | ||
"request": "launch", | ||
"name": "Mocha Pup Current", | ||
"program": "${workspaceFolder}/node_modules/mocha-pup/cjs/cli.js", | ||
"args": [ | ||
"${file}", | ||
"--dev" | ||
], | ||
"outputCapture": "std", | ||
"internalConsoleOptions": "openOnSessionStart" | ||
}, | ||
{ | ||
"type": "node", | ||
"request": "attach", | ||
"name": "Attach", | ||
"port": 9229 | ||
}, | ||
{ | ||
"type": "node", | ||
"request": "launch", | ||
"name": "Engine start", | ||
"program": "${workspaceFolder}/node_modules/@wixc3/engine-scripts/cli.js", | ||
"args": [ | ||
"start", | ||
], | ||
"runtimeArgs": [ | ||
"--inspect" | ||
], | ||
"outputCapture": "std", | ||
"autoAttachChildProcesses": true | ||
}, | ||
] | ||
// Use IntelliSense to learn about possible attributes. | ||
// Hover to view descriptions of existing attributes. | ||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"type": "node", | ||
"request": "launch", | ||
"name": "Mocha Current", | ||
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha", | ||
"args": ["--timeout", "999999", "${file}"], | ||
"outputCapture": "std" | ||
}, | ||
{ | ||
"type": "node", | ||
"request": "launch", | ||
"name": "Mocha Pup Current", | ||
"program": "${workspaceFolder}/node_modules/mocha-pup/cjs/cli.js", | ||
"args": ["${file}", "--dev"], | ||
"outputCapture": "std", | ||
"internalConsoleOptions": "openOnSessionStart" | ||
}, | ||
{ | ||
"type": "node", | ||
"request": "attach", | ||
"name": "Attach", | ||
"port": 9229 | ||
}, | ||
{ | ||
"type": "node", | ||
"request": "launch", | ||
"name": "Engine start", | ||
"program": "${workspaceFolder}/node_modules/@wixc3/engine-scripts/cli.js", | ||
"args": ["start"], | ||
"runtimeArgs": ["--inspect"], | ||
"outputCapture": "std", | ||
"autoAttachChildProcesses": true | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"version": "14.4.5", | ||
"version": "15.0.0-rc.7", | ||
"npmClient": "yarn", | ||
"useWorkspaces": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/usr/bin/env node | ||
const { normalize, dirname } = require('path'); | ||
|
||
if (__dirname.endsWith(normalize('/packages/engineer/bin'))) { | ||
const configFilePath = require.resolve('../../../tsconfig.json'); | ||
const { createNodeExtension } = require('@ts-tools/node'); | ||
const nodeExtension = createNodeExtension({ configFilePath }); | ||
require.extensions['.ts'] = nodeExtension; | ||
require.extensions['.tsx'] = nodeExtension; | ||
|
||
const { options: tsconfigPathsOptions } = require('tsconfig-paths/lib/options'); | ||
tsconfigPathsOptions.cwd = dirname(configFilePath); | ||
require('tsconfig-paths/register'); | ||
require('../src/cli'); | ||
} else { | ||
require('../cjs/src/cli'); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/usr/bin/env node | ||
const { dirname } = require('path'); | ||
|
||
const configFilePath = require.resolve('../../tsconfig.json'); | ||
const { createNodeExtension } = require('@ts-tools/node'); | ||
const nodeExtension = createNodeExtension({ configFilePath }); | ||
require.extensions['.ts'] = nodeExtension; | ||
require.extensions['.tsx'] = nodeExtension; | ||
|
||
const { options: tsconfigPathsOptions } = require('tsconfig-paths/lib/options'); | ||
tsconfigPathsOptions.cwd = dirname(configFilePath); | ||
require('tsconfig-paths/register'); | ||
require('./scripts/build'); |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...hboard/components/dashboard/dashboard.tsx → ...hboard/components/dashboard/dashboard.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...d/feature-selection/feature-selection.tsx → ...d/feature-selection/feature-selection.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
packages/scripts/src/server-types.ts → ...engineer/engine-dashboard/server-types.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.