Skip to content

Commit 5cf7806

Browse files
committed
new version 1.0.6
1 parent b01acae commit 5cf7806

File tree

10 files changed

+260
-118
lines changed

10 files changed

+260
-118
lines changed

.gitignore

+47-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,48 @@
1+
# profiling files
2+
chrome-profiler-events*.json
3+
speed-measure-plugin*.json
14

2-
/tmp-*
5+
# misc
6+
/.sass-cache
7+
/connect.lock
8+
/coverage
9+
/libpeerconnection.log
10+
npm-debug.log
11+
yarn-error.log
12+
testem.log
13+
/typings
14+
15+
16+
# System Files
17+
.DS_Store
18+
Thumbs.db
19+
20+
21+
/node_modules
22+
/tmp*
23+
/dist*
24+
/bundle*
25+
/browser
26+
/browser*
27+
/module*
28+
/backup
29+
/module
30+
/www
31+
/Thumbs.db
32+
/.DS_Store
33+
/**/.DS_Store
34+
/npm-debug.log*
35+
/.sass-cache
36+
/.sourcemaps
37+
/.npmrc
38+
/tslint.json
39+
/.editorconfig
40+
41+
42+
43+
44+
# container git projects
45+
46+
47+
# =====================
48+
*.filetemplate

.vscode/settings.json

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"workbench.colorCustomizations": {
3+
"activityBar.background": "#999694",
4+
"activityBar.foreground": "#000000",
5+
"statusBar.background": "#999694"
6+
},
7+
"workbench.colorTheme": "Default Light+",
8+
"files.exclude": {}
9+
}

server-express/.gitignore

+58-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,61 @@
1-
# See http://help.github.com/ignore-files/ for more about ignoring files.
1+
# profiling files
2+
chrome-profiler-events*.json
3+
speed-measure-plugin*.json
4+
5+
# misc
6+
/.sass-cache
7+
/connect.lock
8+
/coverage
9+
/libpeerconnection.log
10+
npm-debug.log
11+
yarn-error.log
12+
testem.log
13+
/typings
14+
/tests-environments
15+
16+
# System Files
17+
.DS_Store
18+
Thumbs.db
219

3-
# compiled output
4-
/dist
520

6-
# dependencies
721
/node_modules
8-
/tmp-*
22+
/tmp*
23+
/dist*
24+
/bundle*
25+
/browser
26+
/browser*
27+
/module*
28+
/backup
29+
/module
30+
/www
31+
/Thumbs.db
32+
/.DS_Store
33+
/**/.DS_Store
34+
/npm-debug.log*
35+
/.sass-cache
36+
/.sourcemaps
37+
/tsconfig.isomorphic.json
38+
/tsconfig.browser.json
39+
/.vscode/launch.json
40+
/.vscode/tasks.json
41+
/tsconfig.json
42+
/.npmrc
43+
/tslint.json
44+
/.editorconfig
45+
/index.js
46+
/index.d.ts
47+
/index.js.map
48+
/webpack.config.js
49+
/webpack.backend-bundle-build.js
50+
/run.js
51+
/tsconfig.isomorphic.json.filetemplate
52+
/tsconfig.browser.json.filetemplate
53+
/.vscode/launch.json.filetemplate
54+
/.vscode/tasks.json.filetemplate
55+
/tsconfig.json.filetemplate
56+
57+
58+
59+
60+
# =====================
61+
*.filetemplate

server-express/.npmignore

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
.vscode
2+
dist/
3+
src/
4+
/docs
5+
/preview
6+
/tests
7+
tsconfig.json
8+
npm-debug.log*
9+
.npmrc
10+
tslint.json
11+
.editorconfig

server-express/.vscode/launch.json

+52-21
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,54 @@
11
{
2-
"version": "0.2.0",
3-
"configurations": [
4-
{
5-
"type": "node",
6-
"request": "launch",
7-
"name": "Launch Program",
8-
"program": "${workspaceFolder}/dist/run.js"
9-
},
10-
{
11-
"type": "node",
12-
"request": "launch",
13-
"remoteRoot": "${workspaceRoot}/dist",
14-
"name": "Nodemon server",
15-
"runtimeExecutable": "nodemon",
16-
"program": "${workspaceFolder}/dist/run.js",
17-
"restart": true,
18-
"sourceMaps": true,
19-
"console": "internalConsole",
20-
"internalConsoleOptions": "neverOpen"
21-
},
22-
]
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"type": "node",
6+
"request": "launch",
7+
"name": "Launch Server standalone",
8+
"program": "${workspaceFolder}/run.js",
9+
"args": [
10+
"--ENVoverride=%7B%0A%20%20%20%20%22clientProjectName%22%3A%20%22server-express%22%0A%7D"
11+
],
12+
"runtimeArgs": [
13+
"--nolazy",
14+
"-r",
15+
"ts-node/register",
16+
"--experimental-worker"
17+
]
18+
},
19+
{
20+
"name": "Debugger with ng serve",
21+
"type": "chrome",
22+
"request": "launch",
23+
"preLaunchTask": "Ng Serve",
24+
"postDebugTask": "terminateall",
25+
"sourceMaps": true,
26+
"webRoot": "${workspaceFolder}",
27+
"sourceMapPathOverrides": {
28+
"webpack:/*": "${webRoot}/*",
29+
"/./*": "${webRoot}/*",
30+
"/tmp-src/*": "${webRoot}/*",
31+
"/*": "*",
32+
"/./~/*": "${webRoot}/node_modules/*"
33+
}
34+
},
35+
{
36+
"type": "node",
37+
"request": "attach",
38+
"name": "Attach to global cli tool",
39+
"port": 9229,
40+
"skipFiles": [
41+
"<node_internals>/**"
42+
]
43+
}
44+
],
45+
"compounds": [
46+
{
47+
"name": "Debug backend/frontend",
48+
"configurations": [
49+
"Launch Server standalone",
50+
"Debugger with ng serve"
51+
]
52+
}
53+
]
2354
}

server-express/.vscode/settings.json

+14-33
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,15 @@
11
{
2-
"html.format.wrapAttributes": "force-aligned",
3-
"editor.rulers": [
4-
80,
5-
100,
6-
120
7-
],
8-
"tslint.enable": false,
9-
"workbench.colorCustomizations": {
10-
"activityBar.background": "#72adc9",
11-
"activityBar.foreground": "#000000"
12-
},
13-
"workbench.colorTheme": "Default Light+",
14-
"files.exclude": {
15-
// "node_modules": true,
16-
// "tmp*": true,
17-
// "dist*": true,
18-
// "bundle*": true,
19-
// "browser": true,
20-
// "module": true,
21-
// "www": true,
22-
// "Thumbs.db": true,
23-
// ".DS_Store": true,
24-
// "npm-debug.log*": true,
25-
// ".sass-cache": true,
26-
// ".sourcemaps": true,
27-
// "tslint.json": true,
28-
// ".editorconfig": true,
29-
// ".gitignore": true,
30-
// ".npmignore": true,
31-
// ".npmrc": true
32-
}
33-
}
34-
2+
"html.format.wrapAttributes": "force-aligned",
3+
"editor.rulers": [
4+
80,
5+
100,
6+
120
7+
],
8+
"tslint.enable": false,
9+
"workbench.colorCustomizations": {
10+
"activityBar.background": "#72adc9",
11+
"activityBar.foreground": "#000000"
12+
},
13+
"workbench.colorTheme": "Default Light+",
14+
"files.exclude": {}
15+
}

server-express/.vscode/tasks.json

+50-10
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,51 @@
11
{
2-
// See https://go.microsoft.com/fwlink/?LinkId=733558
3-
// for the documentation about the tasks.json format
4-
"version": "0.1.0",
5-
"command": "tsc",
6-
"isShellCommand": true,
7-
"args": [
8-
"-w"
9-
],
10-
"showOutput": "always"
11-
}
2+
"version": "2.0.0",
3+
"tasks": [
4+
{
5+
"label": "terminateall",
6+
"command": "echo ${input:terminate}",
7+
"type": "shell",
8+
"problemMatcher": []
9+
},
10+
{
11+
"label": "Ng Serve",
12+
"type": "shell",
13+
"command": "tnp build",
14+
"isBackground": true,
15+
"presentation": {
16+
"reveal": "always"
17+
},
18+
"group": {
19+
"kind": "build",
20+
"isDefault": true
21+
},
22+
"problemMatcher": {
23+
"owner": "typescript",
24+
"source": "ts",
25+
"applyTo": "closedDocuments",
26+
"fileLocation": [
27+
"relative",
28+
"${cwd}"
29+
],
30+
"pattern": "$tsc",
31+
"background": {
32+
"activeOnStart": true,
33+
"beginsPattern": {
34+
"regexp": "(.*?)"
35+
},
36+
"endsPattern": {
37+
"regexp": "Compiled |Failed to compile."
38+
}
39+
}
40+
}
41+
}
42+
],
43+
"inputs": [
44+
{
45+
"id": "terminate",
46+
"type": "command",
47+
"command": "workbench.action.tasks.terminate",
48+
"args": "terminateAll"
49+
}
50+
]
51+
}

server-express/environment.js

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
2+
const path = require('path')
3+
var { config } = { config: {} };
4+
5+
config = {
6+
7+
domain: 'server-express.example.domain.com',
8+
9+
10+
}
11+
module.exports = exports = { config };

server-express/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"private": false
2929
},
3030
"name": "server-express",
31-
"version": "1.0.5",
31+
"version": "1.0.6",
3232
"description": "",
3333
"main": "app.js",
3434
"dependencies": {

0 commit comments

Comments
 (0)