-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* feat:#1218 moving folders * feat:#1218 moving planner to separated folder * feat:#1218 tweak serverless.yml * feat: #1218 finish serverless, update tests * feat: #1218 check server exist before start
- Loading branch information
Cuong Vu
authored
May 21, 2020
1 parent
a35834a
commit 1c5b0fe
Showing
52 changed files
with
374 additions
and
90 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
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.
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,31 @@ | ||
const yargs = require('yargs') | ||
const { spawn } = require('child_process') | ||
|
||
const stage = yargs.argv.stage | ||
|
||
// relative to the root of web-components package | ||
const listServerlessYmlFiles = ['src/search-widget/server/serverless.yml'] | ||
|
||
const buildServerlessList = () => { | ||
listServerlessYmlFiles.forEach(file => { | ||
const build = spawn('serverless', ['webpack', '--config', file, '--out', 'dist', '--stage', stage]) | ||
build.stdout.on('data', function(data) { | ||
console.info('stdout: ' + data.toString()) | ||
}) | ||
|
||
build.stderr.on('data', function(data) { | ||
console.error('stderr: ' + data.toString()) | ||
}) | ||
|
||
build.on('exit', function(code) { | ||
console.info(`Building ${file} exited with code ${code.toString()}`) | ||
}) | ||
|
||
build.on('error', function(err) { | ||
console.error(`An error happened \n${err}`) | ||
process.exit(1) | ||
}) | ||
}) | ||
} | ||
|
||
buildServerlessList() |
2 changes: 1 addition & 1 deletion
2
...web-components/src/scripts/format-code.js → ...ges/web-components/scripts/format-code.js
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
4 changes: 2 additions & 2 deletions
4
...onents/src/scripts/generate-css-output.js → ...components/scripts/generate-css-output.js
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
...ges/web-components/src/scripts/get-env.js → packages/web-components/scripts/get-env.js
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.
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,31 @@ | ||
const yargs = require('yargs') | ||
const { spawn } = require('child_process') | ||
|
||
const stage = yargs.argv.stage | ||
|
||
// relative to the root of web-components package | ||
const listServerlessYmlFiles = ['src/search-widget/server/serverless.yml'] | ||
|
||
const deployServerlessList = () => { | ||
listServerlessYmlFiles.forEach(file => { | ||
const deploy = spawn('serverless', ['deploy', '--config', file, '--stage', stage]) | ||
deploy.stdout.on('data', function(data) { | ||
console.info('stdout: ' + data.toString()) | ||
}) | ||
|
||
deploy.stderr.on('data', function(data) { | ||
console.error('stderr: ' + data.toString()) | ||
}) | ||
|
||
deploy.on('exit', function(code) { | ||
console.info(`Deploying ${file} exited with code ${code.toString()}`) | ||
}) | ||
|
||
deploy.on('error', function(err) { | ||
console.error(`An error happened \n${err}`) | ||
process.exit(1) | ||
}) | ||
}) | ||
} | ||
|
||
deployServerlessList() |
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
File renamed without changes.
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
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
34 changes: 0 additions & 34 deletions
34
packages/web-components/src/appointment-bookings/client/components/time-cell.svelte
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.