Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove packages collection and fix most pages #166

Merged
merged 19 commits into from
Dec 27, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ MONGO_URL=mongodb://mongo:27017/reaction
PORT=4080
PUBLIC_GRAPHQL_API_URL_HTTP=http://localhost:3000/graphql-beta
PUBLIC_GRAPHQL_API_URL_WS=ws://localhost:3000/graphql-beta
PUBLIC_FILES_BASE_URL=http://localhost:3000
PUBLIC_I18N_BASE_URL=http://localhost:3000
PUBLIC_STOREFRONT_HOME_URL=http://localhost:4000
ROOT_URL=http://localhost:4080
83 changes: 0 additions & 83 deletions client/modules/core/domains.js

This file was deleted.

98 changes: 0 additions & 98 deletions client/modules/core/domains.test.js

This file was deleted.

172 changes: 0 additions & 172 deletions client/modules/core/helpers/apps.js

This file was deleted.

8 changes: 0 additions & 8 deletions client/modules/core/helpers/permissions.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,3 @@ Template.registerHelper("hasAdminAccess", () => Reaction.hasAdminAccess());
* @returns {Boolean} return true if user has dashboard permission
*/
Template.registerHelper("hasDashboardAccess", () => Reaction.hasDashboardAccess());

/**
* @method allowGuestCheckout
* @memberof BlazeTemplateHelpers
* @summary check if guest users are allowed to checkout, uses [alanning:meteor-roles](http://alanning.github.io/meteor-roles/classes/Roles.html)
* @returns {Boolean} return true if shop has guest checkout enabled
*/
Template.registerHelper("allowGuestCheckout", () => Reaction.allowGuestCheckout());
3 changes: 0 additions & 3 deletions client/modules/core/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import Core from "./main";
import * as Apps from "./helpers/apps";
import * as Globals from "./helpers/globals";
import * as Utils from "./helpers/utils";
import { Subscriptions } from "./subscriptions";
Expand All @@ -11,10 +10,8 @@ import { Router } from "/client/modules/router";
import * as Collections from "/lib/collections";
import * as Schemas from "/lib/collections/schemas";


export const Reaction = Object.assign(
Core,
Apps,
Globals,
Utils,
{ Subscriptions },
Expand Down
Loading