Skip to content

Commit

Permalink
Fix all module renaming issues
Browse files Browse the repository at this point in the history
  • Loading branch information
austencollins committed Aug 6, 2015
1 parent 9eab29a commit ddb3973
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion api/users/show/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*/

// Dependencies
var MiddlewareIncoming = require('app-lib').middleware.Incoming;
var MiddlewareIncoming = require('jaws-lib').middleware.Incoming;

// Function
exports.handler = function(event, context) {
Expand Down
2 changes: 1 addition & 1 deletion api/users/signin/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*/

// Dependencies
var ModelUser = require('app-lib').models.User;
var ModelUser = require('jaws-lib').models.User;

// Function
exports.handler = function(event, context) {
Expand Down
2 changes: 1 addition & 1 deletion api/users/signup/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*/

// Dependencies
var ModelUser = require('app-lib').models.User;
var ModelUser = require('jaws-lib').models.User;

// Function
exports.handler = function(event, context) {
Expand Down
6 changes: 3 additions & 3 deletions cli/lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ JAWS.prototype.deploy = function(program) {

// Require ENV Variables
require('dotenv').config({
path: process.cwd() + '/node_modules/app-lib/.env'
path: process.cwd() + '/node_modules/jaws-lib/.env'
});

// Defaults
Expand Down Expand Up @@ -125,8 +125,8 @@ JAWS.prototype.deploy = function(program) {
// If node_modules folder doesn't exist, create it
if (!fs.existsSync(codeDirectory + '/node_modules')) fs.mkdirSync(codeDirectory + '/node_modules');

// Copy app-lib
wrench.copyDirSyncRecursive(process.cwd() + lib_path, codeDirectory + '/node_modules/app-lib');
// Copy jaws-lib
wrench.copyDirSyncRecursive(process.cwd() + lib_path, codeDirectory + '/node_modules/jaws-lib');

// Zip function
_this._zip(program, codeDirectory, function(err, buffer) {
Expand Down
2 changes: 1 addition & 1 deletion cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jaws-cli",
"version": "0.0.2",
"version": "0.0.3",
"description": "The JAWS Command line interface for easy testing and deploying of Lambda functions and more!",
"author": "Austen Collins <austen@servant.co>",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion lib/config/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

// Require ENV variables
require('dotenv').config({
path: process.cwd() + '/node_modules/app-lib/.env'
path: process.cwd() + '/node_modules/jaws-lib/.env'
});


Expand Down
2 changes: 1 addition & 1 deletion lib/models/model_user.js
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ User.prototype.signIn = function(data, callback) {
// Update User
user.sign_in_count++;


console.log(user);

/**
* Save
Expand Down
2 changes: 1 addition & 1 deletion lib/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jaws-lib",
"version": "0.0.2",
"version": "0.0.3",
"description": "The JAWS Stack's App Library. This is for re-usable, modular code that you can require in both your server and lambda functions",
"author": "Austen Collins <austen@servant.co>",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jaws-stack",
"version": "0.0.2",
"version": "0.0.3",
"description": "JAWS – The Javascript + AWS Stack",
"author": "Austen Collins <austen@servant.co>",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion site/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jaws-dev-server",
"version": "0.0.2",
"version": "0.0.3",
"description": "The JAWS Stack's local development server for you to use while building your website and static assets.",
"author": "Austen Collins <austen@servant.co>",
"license": "MIT",
Expand Down

0 comments on commit ddb3973

Please sign in to comment.