@maka/maka-cli 5.2.11 → 5.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +23 -35
- package/.claude/codebase-overview.md +0 -736
- package/.claude/mcp.json +0 -17
- package/.eslintrc.json +0 -29
- package/.github/workflows/npm-publish.yml +0 -35
- package/.mocharc.json +0 -3
- package/.vscode/mcp.json +0 -8
- package/CLAUDE.md +0 -239
- package/docs/MCP_SERVER.md +0 -396
- package/eslint.config.js +0 -19
- package/jest.config.js +0 -12
- package/test/integration/default.test.js +0 -84
- package/test/integration/fixtures/blaze/.maka/config.json +0 -30
- package/test/integration/fixtures/blaze/.tern-project +0 -17
- package/test/integration/fixtures/blaze/app/.meteor/.finished-upgraders +0 -17
- package/test/integration/fixtures/blaze/app/.meteor/.id +0 -7
- package/test/integration/fixtures/blaze/app/.meteor/packages +0 -21
- package/test/integration/fixtures/blaze/app/.meteor/platforms +0 -2
- package/test/integration/fixtures/blaze/app/.meteor/release +0 -1
- package/test/integration/fixtures/blaze/app/.meteor/versions +0 -78
- package/test/integration/fixtures/blaze/app/client/.gitkeep +0 -1
- package/test/integration/fixtures/blaze/app/client/body.html +0 -2
- package/test/integration/fixtures/blaze/app/client/head.html +0 -8
- package/test/integration/fixtures/blaze/app/client/main.js +0 -1
- package/test/integration/fixtures/blaze/app/imports/api/.gitkeep +0 -1
- package/test/integration/fixtures/blaze/app/imports/startup/client/index.js +0 -3
- package/test/integration/fixtures/blaze/app/imports/startup/client/routes.js +0 -25
- package/test/integration/fixtures/blaze/app/imports/startup/client/templates.js +0 -15
- package/test/integration/fixtures/blaze/app/imports/startup/lib/index.js +0 -1
- package/test/integration/fixtures/blaze/app/imports/startup/server/index.js +0 -1
- package/test/integration/fixtures/blaze/app/imports/ui/layouts/master-layout/master-layout.css +0 -5
- package/test/integration/fixtures/blaze/app/imports/ui/layouts/master-layout/master-layout.html +0 -3
- package/test/integration/fixtures/blaze/app/imports/ui/layouts/master-layout/master-layout.js +0 -29
- package/test/integration/fixtures/blaze/app/imports/ui/pages/home/home.css +0 -5
- package/test/integration/fixtures/blaze/app/imports/ui/pages/home/home.html +0 -5
- package/test/integration/fixtures/blaze/app/imports/ui/pages/home/home.js +0 -53
- package/test/integration/fixtures/blaze/app/imports/ui/pages/not-found/not-found.css +0 -5
- package/test/integration/fixtures/blaze/app/imports/ui/pages/not-found/not-found.html +0 -5
- package/test/integration/fixtures/blaze/app/imports/ui/pages/not-found/not-found.js +0 -53
- package/test/integration/fixtures/blaze/app/imports/ui/test-helpers.js +0 -25
- package/test/integration/fixtures/blaze/app/lib/.gitkeep +0 -1
- package/test/integration/fixtures/blaze/app/lib/main.js +0 -1
- package/test/integration/fixtures/blaze/app/packages/.gitkeep +0 -1
- package/test/integration/fixtures/blaze/app/private/.gitkeep +0 -1
- package/test/integration/fixtures/blaze/app/public/.gitkeep +0 -1
- package/test/integration/fixtures/blaze/app/public/favicon.ico +0 -0
- package/test/integration/fixtures/blaze/app/server/.gitkeep +0 -1
- package/test/integration/fixtures/blaze/app/server/main.js +0 -1
- package/test/integration/fixtures/blaze/bin/.gitkeep +0 -1
- package/test/integration/fixtures/blaze/build/.gitkeep +0 -1
- package/test/integration/fixtures/blaze/build/README +0 -4
- package/test/integration/fixtures/blaze/config/.gitkeep +0 -1
- package/test/integration/fixtures/blaze/config/development/env.sh +0 -9
- package/test/integration/fixtures/blaze/config/development/settings.json +0 -6
- package/test/integration/fixtures/blaze/config/production/env.sh +0 -9
- package/test/integration/fixtures/blaze/config/production/settings.json +0 -6
- package/test/integration/fixtures/blaze/config/staging/env.sh +0 -9
- package/test/integration/fixtures/blaze/config/staging/settings.json +0 -6
- package/test/integration/fixtures/react/.maka/config.json +0 -30
- package/test/integration/fixtures/react/.tern-project +0 -17
- package/test/integration/fixtures/react/app/.meteor/.finished-upgraders +0 -17
- package/test/integration/fixtures/react/app/.meteor/.id +0 -7
- package/test/integration/fixtures/react/app/.meteor/packages +0 -21
- package/test/integration/fixtures/react/app/.meteor/platforms +0 -2
- package/test/integration/fixtures/react/app/.meteor/release +0 -1
- package/test/integration/fixtures/react/app/.meteor/versions +0 -78
- package/test/integration/fixtures/react/app/client/.gitkeep +0 -1
- package/test/integration/fixtures/react/app/client/body.html +0 -3
- package/test/integration/fixtures/react/app/client/head.html +0 -8
- package/test/integration/fixtures/react/app/client/main.jsx +0 -1
- package/test/integration/fixtures/react/app/imports/api/.gitkeep +0 -1
- package/test/integration/fixtures/react/app/imports/startup/client/index.jsx +0 -12
- package/test/integration/fixtures/react/app/imports/startup/client/routes.jsx +0 -24
- package/test/integration/fixtures/react/app/imports/startup/client/templates.jsx +0 -21
- package/test/integration/fixtures/react/app/imports/startup/lib/index.jsx +0 -1
- package/test/integration/fixtures/react/app/imports/startup/server/index.jsx +0 -1
- package/test/integration/fixtures/react/app/imports/ui/layouts/master-layout/master-layout.css +0 -5
- package/test/integration/fixtures/react/app/imports/ui/layouts/master-layout/master-layout.jsx +0 -28
- package/test/integration/fixtures/react/app/imports/ui/pages/home/home.css +0 -5
- package/test/integration/fixtures/react/app/imports/ui/pages/home/home.jsx +0 -29
- package/test/integration/fixtures/react/app/imports/ui/pages/not-found/not-found.css +0 -5
- package/test/integration/fixtures/react/app/imports/ui/pages/not-found/not-found.jsx +0 -29
- package/test/integration/fixtures/react/app/imports/ui/test-helpers.jsx +0 -1
- package/test/integration/fixtures/react/app/lib/.gitkeep +0 -1
- package/test/integration/fixtures/react/app/lib/main.jsx +0 -1
- package/test/integration/fixtures/react/app/packages/.gitkeep +0 -1
- package/test/integration/fixtures/react/app/private/.gitkeep +0 -1
- package/test/integration/fixtures/react/app/public/.gitkeep +0 -1
- package/test/integration/fixtures/react/app/public/favicon.ico +0 -0
- package/test/integration/fixtures/react/app/server/.gitkeep +0 -1
- package/test/integration/fixtures/react/app/server/main.jsx +0 -1
- package/test/integration/fixtures/react/bin/.gitkeep +0 -1
- package/test/integration/fixtures/react/build/.gitkeep +0 -1
- package/test/integration/fixtures/react/build/README +0 -4
- package/test/integration/fixtures/react/config/.gitkeep +0 -1
- package/test/integration/fixtures/react/config/development/env.sh +0 -9
- package/test/integration/fixtures/react/config/development/settings.json +0 -6
- package/test/integration/fixtures/react/config/production/env.sh +0 -9
- package/test/integration/fixtures/react/config/production/settings.json +0 -6
- package/test/integration/fixtures/react/config/staging/env.sh +0 -9
- package/test/integration/fixtures/react/config/staging/settings.json +0 -6
- package/test/integration/fixtures/react-apollo/.maka/config.json +0 -30
- package/test/integration/fixtures/react-apollo/.tern-project +0 -17
- package/test/integration/fixtures/react-apollo/app/.meteor/.finished-upgraders +0 -17
- package/test/integration/fixtures/react-apollo/app/.meteor/.id +0 -7
- package/test/integration/fixtures/react-apollo/app/.meteor/packages +0 -21
- package/test/integration/fixtures/react-apollo/app/.meteor/platforms +0 -2
- package/test/integration/fixtures/react-apollo/app/.meteor/release +0 -1
- package/test/integration/fixtures/react-apollo/app/.meteor/versions +0 -78
- package/test/integration/fixtures/react-apollo/app/client/.gitkeep +0 -1
- package/test/integration/fixtures/react-apollo/app/client/body.html +0 -3
- package/test/integration/fixtures/react-apollo/app/client/head.html +0 -8
- package/test/integration/fixtures/react-apollo/app/client/main.jsx +0 -1
- package/test/integration/fixtures/react-apollo/app/imports/api/.gitkeep +0 -1
- package/test/integration/fixtures/react-apollo/app/imports/startup/client/index.jsx +0 -20
- package/test/integration/fixtures/react-apollo/app/imports/startup/client/routes.jsx +0 -24
- package/test/integration/fixtures/react-apollo/app/imports/startup/client/templates.jsx +0 -21
- package/test/integration/fixtures/react-apollo/app/imports/startup/lib/index.jsx +0 -1
- package/test/integration/fixtures/react-apollo/app/imports/startup/server/index.jsx +0 -25
- package/test/integration/fixtures/react-apollo/app/imports/ui/layouts/master-layout/master-layout.css +0 -5
- package/test/integration/fixtures/react-apollo/app/imports/ui/layouts/master-layout/master-layout.jsx +0 -28
- package/test/integration/fixtures/react-apollo/app/imports/ui/pages/home/home.css +0 -5
- package/test/integration/fixtures/react-apollo/app/imports/ui/pages/home/home.jsx +0 -34
- package/test/integration/fixtures/react-apollo/app/imports/ui/pages/not-found/not-found.css +0 -5
- package/test/integration/fixtures/react-apollo/app/imports/ui/pages/not-found/not-found.jsx +0 -34
- package/test/integration/fixtures/react-apollo/app/imports/ui/test-helpers.jsx +0 -1
- package/test/integration/fixtures/react-apollo/app/lib/.gitkeep +0 -1
- package/test/integration/fixtures/react-apollo/app/lib/main.jsx +0 -1
- package/test/integration/fixtures/react-apollo/app/packages/.gitkeep +0 -1
- package/test/integration/fixtures/react-apollo/app/private/.gitkeep +0 -1
- package/test/integration/fixtures/react-apollo/app/public/.gitkeep +0 -1
- package/test/integration/fixtures/react-apollo/app/public/favicon.ico +0 -0
- package/test/integration/fixtures/react-apollo/app/server/.gitkeep +0 -1
- package/test/integration/fixtures/react-apollo/app/server/main.jsx +0 -1
- package/test/integration/fixtures/react-apollo/bin/.gitkeep +0 -1
- package/test/integration/fixtures/react-apollo/build/.gitkeep +0 -1
- package/test/integration/fixtures/react-apollo/build/README +0 -4
- package/test/integration/fixtures/react-apollo/config/.gitkeep +0 -1
- package/test/integration/fixtures/react-apollo/config/development/env.sh +0 -9
- package/test/integration/fixtures/react-apollo/config/development/settings.json +0 -6
- package/test/integration/fixtures/react-apollo/config/production/env.sh +0 -9
- package/test/integration/fixtures/react-apollo/config/production/settings.json +0 -6
- package/test/integration/fixtures/react-apollo/config/staging/env.sh +0 -9
- package/test/integration/fixtures/react-apollo/config/staging/settings.json +0 -6
- package/test/integration/fixtures/react-apollo-ssr/.maka/config.json +0 -30
- package/test/integration/fixtures/react-apollo-ssr/.tern-project +0 -17
- package/test/integration/fixtures/react-apollo-ssr/app/.meteor/.finished-upgraders +0 -17
- package/test/integration/fixtures/react-apollo-ssr/app/.meteor/.id +0 -7
- package/test/integration/fixtures/react-apollo-ssr/app/.meteor/packages +0 -21
- package/test/integration/fixtures/react-apollo-ssr/app/.meteor/platforms +0 -2
- package/test/integration/fixtures/react-apollo-ssr/app/.meteor/release +0 -1
- package/test/integration/fixtures/react-apollo-ssr/app/.meteor/versions +0 -78
- package/test/integration/fixtures/react-apollo-ssr/app/client/.gitkeep +0 -1
- package/test/integration/fixtures/react-apollo-ssr/app/client/body.html +0 -3
- package/test/integration/fixtures/react-apollo-ssr/app/client/head.html +0 -8
- package/test/integration/fixtures/react-apollo-ssr/app/client/main.jsx +0 -1
- package/test/integration/fixtures/react-apollo-ssr/app/imports/api/.gitkeep +0 -1
- package/test/integration/fixtures/react-apollo-ssr/app/imports/startup/client/index.jsx +0 -29
- package/test/integration/fixtures/react-apollo-ssr/app/imports/startup/lib/index.jsx +0 -1
- package/test/integration/fixtures/react-apollo-ssr/app/imports/startup/lib/routes.jsx +0 -21
- package/test/integration/fixtures/react-apollo-ssr/app/imports/startup/lib/templates.jsx +0 -21
- package/test/integration/fixtures/react-apollo-ssr/app/imports/startup/server/index.jsx +0 -65
- package/test/integration/fixtures/react-apollo-ssr/app/imports/ui/layouts/master-layout/master-layout.jsx +0 -27
- package/test/integration/fixtures/react-apollo-ssr/app/imports/ui/pages/home/home.jsx +0 -33
- package/test/integration/fixtures/react-apollo-ssr/app/imports/ui/pages/not-found/not-found.jsx +0 -33
- package/test/integration/fixtures/react-apollo-ssr/app/imports/ui/test-helpers.jsx +0 -1
- package/test/integration/fixtures/react-apollo-ssr/app/lib/.gitkeep +0 -1
- package/test/integration/fixtures/react-apollo-ssr/app/lib/main.jsx +0 -1
- package/test/integration/fixtures/react-apollo-ssr/app/packages/.gitkeep +0 -1
- package/test/integration/fixtures/react-apollo-ssr/app/private/.gitkeep +0 -1
- package/test/integration/fixtures/react-apollo-ssr/app/public/.gitkeep +0 -1
- package/test/integration/fixtures/react-apollo-ssr/app/public/favicon.ico +0 -0
- package/test/integration/fixtures/react-apollo-ssr/app/server/.gitkeep +0 -1
- package/test/integration/fixtures/react-apollo-ssr/app/server/main.jsx +0 -1
- package/test/integration/fixtures/react-apollo-ssr/bin/.gitkeep +0 -1
- package/test/integration/fixtures/react-apollo-ssr/build/.gitkeep +0 -1
- package/test/integration/fixtures/react-apollo-ssr/build/README +0 -4
- package/test/integration/fixtures/react-apollo-ssr/config/.gitkeep +0 -1
- package/test/integration/fixtures/react-apollo-ssr/config/development/env.sh +0 -9
- package/test/integration/fixtures/react-apollo-ssr/config/development/settings.json +0 -6
- package/test/integration/fixtures/react-apollo-ssr/config/production/env.sh +0 -9
- package/test/integration/fixtures/react-apollo-ssr/config/production/settings.json +0 -6
- package/test/integration/fixtures/react-apollo-ssr/config/staging/env.sh +0 -9
- package/test/integration/fixtures/react-apollo-ssr/config/staging/settings.json +0 -6
- package/test/integration/fixtures/react-material/.maka/config.json +0 -30
- package/test/integration/fixtures/react-material/.tern-project +0 -17
- package/test/integration/fixtures/react-material/app/.meteor/.finished-upgraders +0 -17
- package/test/integration/fixtures/react-material/app/.meteor/.id +0 -7
- package/test/integration/fixtures/react-material/app/.meteor/packages +0 -21
- package/test/integration/fixtures/react-material/app/.meteor/platforms +0 -2
- package/test/integration/fixtures/react-material/app/.meteor/release +0 -1
- package/test/integration/fixtures/react-material/app/.meteor/versions +0 -78
- package/test/integration/fixtures/react-material/app/client/.gitkeep +0 -1
- package/test/integration/fixtures/react-material/app/client/body.html +0 -3
- package/test/integration/fixtures/react-material/app/client/head.html +0 -8
- package/test/integration/fixtures/react-material/app/client/main.jsx +0 -1
- package/test/integration/fixtures/react-material/app/imports/api/.gitkeep +0 -1
- package/test/integration/fixtures/react-material/app/imports/startup/client/index.jsx +0 -19
- package/test/integration/fixtures/react-material/app/imports/startup/client/routes.jsx +0 -24
- package/test/integration/fixtures/react-material/app/imports/startup/client/templates.jsx +0 -21
- package/test/integration/fixtures/react-material/app/imports/startup/lib/index.jsx +0 -1
- package/test/integration/fixtures/react-material/app/imports/startup/server/index.jsx +0 -1
- package/test/integration/fixtures/react-material/app/imports/ui/layouts/master-layout/master-layout.css +0 -5
- package/test/integration/fixtures/react-material/app/imports/ui/layouts/master-layout/master-layout.jsx +0 -28
- package/test/integration/fixtures/react-material/app/imports/ui/pages/home/home.css +0 -5
- package/test/integration/fixtures/react-material/app/imports/ui/pages/home/home.jsx +0 -29
- package/test/integration/fixtures/react-material/app/imports/ui/pages/not-found/not-found.css +0 -5
- package/test/integration/fixtures/react-material/app/imports/ui/pages/not-found/not-found.jsx +0 -29
- package/test/integration/fixtures/react-material/app/imports/ui/test-helpers.jsx +0 -1
- package/test/integration/fixtures/react-material/app/lib/.gitkeep +0 -1
- package/test/integration/fixtures/react-material/app/lib/main.jsx +0 -1
- package/test/integration/fixtures/react-material/app/packages/.gitkeep +0 -1
- package/test/integration/fixtures/react-material/app/private/.gitkeep +0 -1
- package/test/integration/fixtures/react-material/app/public/.gitkeep +0 -1
- package/test/integration/fixtures/react-material/app/public/favicon.ico +0 -0
- package/test/integration/fixtures/react-material/app/server/.gitkeep +0 -1
- package/test/integration/fixtures/react-material/app/server/main.jsx +0 -1
- package/test/integration/fixtures/react-material/bin/.gitkeep +0 -1
- package/test/integration/fixtures/react-material/build/.gitkeep +0 -1
- package/test/integration/fixtures/react-material/build/README +0 -4
- package/test/integration/fixtures/react-material/config/.gitkeep +0 -1
- package/test/integration/fixtures/react-material/config/development/env.sh +0 -9
- package/test/integration/fixtures/react-material/config/development/settings.json +0 -6
- package/test/integration/fixtures/react-material/config/production/env.sh +0 -9
- package/test/integration/fixtures/react-material/config/production/settings.json +0 -6
- package/test/integration/fixtures/react-material/config/staging/env.sh +0 -9
- package/test/integration/fixtures/react-material/config/staging/settings.json +0 -6
- package/test/integration/fixtures/react-ssr/.maka/config.json +0 -30
- package/test/integration/fixtures/react-ssr/.tern-project +0 -17
- package/test/integration/fixtures/react-ssr/app/.meteor/.finished-upgraders +0 -17
- package/test/integration/fixtures/react-ssr/app/.meteor/.id +0 -7
- package/test/integration/fixtures/react-ssr/app/.meteor/packages +0 -21
- package/test/integration/fixtures/react-ssr/app/.meteor/platforms +0 -2
- package/test/integration/fixtures/react-ssr/app/.meteor/release +0 -1
- package/test/integration/fixtures/react-ssr/app/.meteor/versions +0 -78
- package/test/integration/fixtures/react-ssr/app/client/.gitkeep +0 -1
- package/test/integration/fixtures/react-ssr/app/client/body.html +0 -3
- package/test/integration/fixtures/react-ssr/app/client/head.html +0 -8
- package/test/integration/fixtures/react-ssr/app/client/main.jsx +0 -1
- package/test/integration/fixtures/react-ssr/app/imports/api/.gitkeep +0 -1
- package/test/integration/fixtures/react-ssr/app/imports/startup/client/index.jsx +0 -21
- package/test/integration/fixtures/react-ssr/app/imports/startup/lib/index.jsx +0 -1
- package/test/integration/fixtures/react-ssr/app/imports/startup/lib/routes.jsx +0 -21
- package/test/integration/fixtures/react-ssr/app/imports/startup/lib/templates.jsx +0 -21
- package/test/integration/fixtures/react-ssr/app/imports/startup/server/index.jsx +0 -36
- package/test/integration/fixtures/react-ssr/app/imports/ui/layouts/master-layout/master-layout.jsx +0 -27
- package/test/integration/fixtures/react-ssr/app/imports/ui/pages/home/home.jsx +0 -28
- package/test/integration/fixtures/react-ssr/app/imports/ui/pages/not-found/not-found.jsx +0 -28
- package/test/integration/fixtures/react-ssr/app/imports/ui/test-helpers.jsx +0 -1
- package/test/integration/fixtures/react-ssr/app/lib/.gitkeep +0 -1
- package/test/integration/fixtures/react-ssr/app/lib/main.jsx +0 -1
- package/test/integration/fixtures/react-ssr/app/packages/.gitkeep +0 -1
- package/test/integration/fixtures/react-ssr/app/private/.gitkeep +0 -1
- package/test/integration/fixtures/react-ssr/app/public/.gitkeep +0 -1
- package/test/integration/fixtures/react-ssr/app/public/favicon.ico +0 -0
- package/test/integration/fixtures/react-ssr/app/server/.gitkeep +0 -1
- package/test/integration/fixtures/react-ssr/app/server/main.jsx +0 -1
- package/test/integration/fixtures/react-ssr/bin/.gitkeep +0 -1
- package/test/integration/fixtures/react-ssr/build/.gitkeep +0 -1
- package/test/integration/fixtures/react-ssr/build/README +0 -4
- package/test/integration/fixtures/react-ssr/config/.gitkeep +0 -1
- package/test/integration/fixtures/react-ssr/config/development/env.sh +0 -9
- package/test/integration/fixtures/react-ssr/config/development/settings.json +0 -6
- package/test/integration/fixtures/react-ssr/config/production/env.sh +0 -9
- package/test/integration/fixtures/react-ssr/config/production/settings.json +0 -6
- package/test/integration/fixtures/react-ssr/config/staging/env.sh +0 -9
- package/test/integration/fixtures/react-ssr/config/staging/settings.json +0 -6
- package/test/integration/fixtures/reflux/.maka/config.json +0 -30
- package/test/integration/fixtures/reflux/.tern-project +0 -17
- package/test/integration/fixtures/reflux/app/.meteor/.finished-upgraders +0 -17
- package/test/integration/fixtures/reflux/app/.meteor/.id +0 -7
- package/test/integration/fixtures/reflux/app/.meteor/packages +0 -21
- package/test/integration/fixtures/reflux/app/.meteor/platforms +0 -2
- package/test/integration/fixtures/reflux/app/.meteor/release +0 -1
- package/test/integration/fixtures/reflux/app/.meteor/versions +0 -78
- package/test/integration/fixtures/reflux/app/client/.gitkeep +0 -1
- package/test/integration/fixtures/reflux/app/client/body.html +0 -3
- package/test/integration/fixtures/reflux/app/client/head.html +0 -8
- package/test/integration/fixtures/reflux/app/client/main.jsx +0 -1
- package/test/integration/fixtures/reflux/app/imports/api/.gitkeep +0 -1
- package/test/integration/fixtures/reflux/app/imports/startup/client/index.jsx +0 -12
- package/test/integration/fixtures/reflux/app/imports/startup/client/routes.jsx +0 -24
- package/test/integration/fixtures/reflux/app/imports/startup/client/templates.jsx +0 -21
- package/test/integration/fixtures/reflux/app/imports/startup/lib/index.jsx +0 -1
- package/test/integration/fixtures/reflux/app/imports/startup/server/index.jsx +0 -1
- package/test/integration/fixtures/reflux/app/imports/ui/layouts/master-layout/master-layout.css +0 -5
- package/test/integration/fixtures/reflux/app/imports/ui/layouts/master-layout/master-layout.jsx +0 -31
- package/test/integration/fixtures/reflux/app/imports/ui/pages/home/home.css +0 -5
- package/test/integration/fixtures/reflux/app/imports/ui/pages/home/home.jsx +0 -33
- package/test/integration/fixtures/reflux/app/imports/ui/pages/not-found/not-found.css +0 -5
- package/test/integration/fixtures/reflux/app/imports/ui/pages/not-found/not-found.jsx +0 -33
- package/test/integration/fixtures/reflux/app/imports/ui/test-helpers.jsx +0 -1
- package/test/integration/fixtures/reflux/app/lib/.gitkeep +0 -1
- package/test/integration/fixtures/reflux/app/lib/main.jsx +0 -1
- package/test/integration/fixtures/reflux/app/packages/.gitkeep +0 -1
- package/test/integration/fixtures/reflux/app/private/.gitkeep +0 -1
- package/test/integration/fixtures/reflux/app/public/.gitkeep +0 -1
- package/test/integration/fixtures/reflux/app/public/favicon.ico +0 -0
- package/test/integration/fixtures/reflux/app/server/.gitkeep +0 -1
- package/test/integration/fixtures/reflux/app/server/main.jsx +0 -1
- package/test/integration/fixtures/reflux/bin/.gitkeep +0 -1
- package/test/integration/fixtures/reflux/build/.gitkeep +0 -1
- package/test/integration/fixtures/reflux/build/README +0 -4
- package/test/integration/fixtures/reflux/config/.gitkeep +0 -1
- package/test/integration/fixtures/reflux/config/development/env.sh +0 -9
- package/test/integration/fixtures/reflux/config/development/settings.json +0 -6
- package/test/integration/fixtures/reflux/config/production/env.sh +0 -9
- package/test/integration/fixtures/reflux/config/production/settings.json +0 -6
- package/test/integration/fixtures/reflux/config/staging/env.sh +0 -9
- package/test/integration/fixtures/reflux/config/staging/settings.json +0 -6
- package/test/integration/fixtures/reflux-apollo/.maka/config.json +0 -30
- package/test/integration/fixtures/reflux-apollo/.tern-project +0 -17
- package/test/integration/fixtures/reflux-apollo/app/.meteor/.finished-upgraders +0 -17
- package/test/integration/fixtures/reflux-apollo/app/.meteor/.id +0 -7
- package/test/integration/fixtures/reflux-apollo/app/.meteor/packages +0 -21
- package/test/integration/fixtures/reflux-apollo/app/.meteor/platforms +0 -2
- package/test/integration/fixtures/reflux-apollo/app/.meteor/release +0 -1
- package/test/integration/fixtures/reflux-apollo/app/.meteor/versions +0 -78
- package/test/integration/fixtures/reflux-apollo/app/client/.gitkeep +0 -1
- package/test/integration/fixtures/reflux-apollo/app/client/body.html +0 -3
- package/test/integration/fixtures/reflux-apollo/app/client/head.html +0 -8
- package/test/integration/fixtures/reflux-apollo/app/client/main.jsx +0 -1
- package/test/integration/fixtures/reflux-apollo/app/imports/api/.gitkeep +0 -1
- package/test/integration/fixtures/reflux-apollo/app/imports/startup/client/index.jsx +0 -20
- package/test/integration/fixtures/reflux-apollo/app/imports/startup/client/routes.jsx +0 -24
- package/test/integration/fixtures/reflux-apollo/app/imports/startup/client/templates.jsx +0 -21
- package/test/integration/fixtures/reflux-apollo/app/imports/startup/lib/index.jsx +0 -1
- package/test/integration/fixtures/reflux-apollo/app/imports/startup/server/index.jsx +0 -25
- package/test/integration/fixtures/reflux-apollo/app/imports/ui/layouts/master-layout/master-layout.css +0 -5
- package/test/integration/fixtures/reflux-apollo/app/imports/ui/layouts/master-layout/master-layout.jsx +0 -31
- package/test/integration/fixtures/reflux-apollo/app/imports/ui/pages/home/home.css +0 -5
- package/test/integration/fixtures/reflux-apollo/app/imports/ui/pages/home/home.jsx +0 -38
- package/test/integration/fixtures/reflux-apollo/app/imports/ui/pages/not-found/not-found.css +0 -5
- package/test/integration/fixtures/reflux-apollo/app/imports/ui/pages/not-found/not-found.jsx +0 -38
- package/test/integration/fixtures/reflux-apollo/app/imports/ui/test-helpers.jsx +0 -1
- package/test/integration/fixtures/reflux-apollo/app/lib/.gitkeep +0 -1
- package/test/integration/fixtures/reflux-apollo/app/lib/main.jsx +0 -1
- package/test/integration/fixtures/reflux-apollo/app/packages/.gitkeep +0 -1
- package/test/integration/fixtures/reflux-apollo/app/private/.gitkeep +0 -1
- package/test/integration/fixtures/reflux-apollo/app/public/.gitkeep +0 -1
- package/test/integration/fixtures/reflux-apollo/app/public/favicon.ico +0 -0
- package/test/integration/fixtures/reflux-apollo/app/server/.gitkeep +0 -1
- package/test/integration/fixtures/reflux-apollo/app/server/main.jsx +0 -1
- package/test/integration/fixtures/reflux-apollo/bin/.gitkeep +0 -1
- package/test/integration/fixtures/reflux-apollo/build/.gitkeep +0 -1
- package/test/integration/fixtures/reflux-apollo/build/README +0 -4
- package/test/integration/fixtures/reflux-apollo/config/.gitkeep +0 -1
- package/test/integration/fixtures/reflux-apollo/config/development/env.sh +0 -9
- package/test/integration/fixtures/reflux-apollo/config/development/settings.json +0 -6
- package/test/integration/fixtures/reflux-apollo/config/production/env.sh +0 -9
- package/test/integration/fixtures/reflux-apollo/config/production/settings.json +0 -6
- package/test/integration/fixtures/reflux-apollo/config/staging/env.sh +0 -9
- package/test/integration/fixtures/reflux-apollo/config/staging/settings.json +0 -6
- package/test/integration/fixtures/reflux-apollo-ssr/.maka/config.json +0 -30
- package/test/integration/fixtures/reflux-apollo-ssr/.tern-project +0 -17
- package/test/integration/fixtures/reflux-apollo-ssr/app/.meteor/.finished-upgraders +0 -17
- package/test/integration/fixtures/reflux-apollo-ssr/app/.meteor/.id +0 -7
- package/test/integration/fixtures/reflux-apollo-ssr/app/.meteor/packages +0 -21
- package/test/integration/fixtures/reflux-apollo-ssr/app/.meteor/platforms +0 -2
- package/test/integration/fixtures/reflux-apollo-ssr/app/.meteor/release +0 -1
- package/test/integration/fixtures/reflux-apollo-ssr/app/.meteor/versions +0 -78
- package/test/integration/fixtures/reflux-apollo-ssr/app/client/.gitkeep +0 -1
- package/test/integration/fixtures/reflux-apollo-ssr/app/client/body.html +0 -3
- package/test/integration/fixtures/reflux-apollo-ssr/app/client/head.html +0 -8
- package/test/integration/fixtures/reflux-apollo-ssr/app/client/main.jsx +0 -1
- package/test/integration/fixtures/reflux-apollo-ssr/app/imports/api/.gitkeep +0 -1
- package/test/integration/fixtures/reflux-apollo-ssr/app/imports/startup/client/index.jsx +0 -29
- package/test/integration/fixtures/reflux-apollo-ssr/app/imports/startup/lib/index.jsx +0 -1
- package/test/integration/fixtures/reflux-apollo-ssr/app/imports/startup/lib/routes.jsx +0 -21
- package/test/integration/fixtures/reflux-apollo-ssr/app/imports/startup/lib/templates.jsx +0 -21
- package/test/integration/fixtures/reflux-apollo-ssr/app/imports/startup/server/index.jsx +0 -65
- package/test/integration/fixtures/reflux-apollo-ssr/app/imports/ui/layouts/master-layout/master-layout.jsx +0 -27
- package/test/integration/fixtures/reflux-apollo-ssr/app/imports/ui/pages/home/home.jsx +0 -33
- package/test/integration/fixtures/reflux-apollo-ssr/app/imports/ui/pages/not-found/not-found.jsx +0 -33
- package/test/integration/fixtures/reflux-apollo-ssr/app/imports/ui/test-helpers.jsx +0 -1
- package/test/integration/fixtures/reflux-apollo-ssr/app/lib/.gitkeep +0 -1
- package/test/integration/fixtures/reflux-apollo-ssr/app/lib/main.jsx +0 -1
- package/test/integration/fixtures/reflux-apollo-ssr/app/packages/.gitkeep +0 -1
- package/test/integration/fixtures/reflux-apollo-ssr/app/private/.gitkeep +0 -1
- package/test/integration/fixtures/reflux-apollo-ssr/app/public/.gitkeep +0 -1
- package/test/integration/fixtures/reflux-apollo-ssr/app/public/favicon.ico +0 -0
- package/test/integration/fixtures/reflux-apollo-ssr/app/server/.gitkeep +0 -1
- package/test/integration/fixtures/reflux-apollo-ssr/app/server/main.jsx +0 -1
- package/test/integration/fixtures/reflux-apollo-ssr/bin/.gitkeep +0 -1
- package/test/integration/fixtures/reflux-apollo-ssr/build/.gitkeep +0 -1
- package/test/integration/fixtures/reflux-apollo-ssr/build/README +0 -4
- package/test/integration/fixtures/reflux-apollo-ssr/config/.gitkeep +0 -1
- package/test/integration/fixtures/reflux-apollo-ssr/config/development/env.sh +0 -9
- package/test/integration/fixtures/reflux-apollo-ssr/config/development/settings.json +0 -6
- package/test/integration/fixtures/reflux-apollo-ssr/config/production/env.sh +0 -9
- package/test/integration/fixtures/reflux-apollo-ssr/config/production/settings.json +0 -6
- package/test/integration/fixtures/reflux-apollo-ssr/config/staging/env.sh +0 -9
- package/test/integration/fixtures/reflux-apollo-ssr/config/staging/settings.json +0 -6
- package/test/integration/fixtures/reflux-material/.maka/config.json +0 -30
- package/test/integration/fixtures/reflux-material/.tern-project +0 -17
- package/test/integration/fixtures/reflux-material/app/.meteor/.finished-upgraders +0 -17
- package/test/integration/fixtures/reflux-material/app/.meteor/.id +0 -7
- package/test/integration/fixtures/reflux-material/app/.meteor/packages +0 -21
- package/test/integration/fixtures/reflux-material/app/.meteor/platforms +0 -2
- package/test/integration/fixtures/reflux-material/app/.meteor/release +0 -1
- package/test/integration/fixtures/reflux-material/app/.meteor/versions +0 -78
- package/test/integration/fixtures/reflux-material/app/client/.gitkeep +0 -1
- package/test/integration/fixtures/reflux-material/app/client/body.html +0 -3
- package/test/integration/fixtures/reflux-material/app/client/head.html +0 -8
- package/test/integration/fixtures/reflux-material/app/client/main.jsx +0 -1
- package/test/integration/fixtures/reflux-material/app/imports/api/.gitkeep +0 -1
- package/test/integration/fixtures/reflux-material/app/imports/startup/client/index.jsx +0 -19
- package/test/integration/fixtures/reflux-material/app/imports/startup/client/routes.jsx +0 -24
- package/test/integration/fixtures/reflux-material/app/imports/startup/client/templates.jsx +0 -21
- package/test/integration/fixtures/reflux-material/app/imports/startup/lib/index.jsx +0 -1
- package/test/integration/fixtures/reflux-material/app/imports/startup/server/index.jsx +0 -1
- package/test/integration/fixtures/reflux-material/app/imports/ui/layouts/master-layout/master-layout.css +0 -5
- package/test/integration/fixtures/reflux-material/app/imports/ui/layouts/master-layout/master-layout.jsx +0 -31
- package/test/integration/fixtures/reflux-material/app/imports/ui/pages/home/home.css +0 -5
- package/test/integration/fixtures/reflux-material/app/imports/ui/pages/home/home.jsx +0 -33
- package/test/integration/fixtures/reflux-material/app/imports/ui/pages/not-found/not-found.css +0 -5
- package/test/integration/fixtures/reflux-material/app/imports/ui/pages/not-found/not-found.jsx +0 -33
- package/test/integration/fixtures/reflux-material/app/imports/ui/test-helpers.jsx +0 -1
- package/test/integration/fixtures/reflux-material/app/lib/.gitkeep +0 -1
- package/test/integration/fixtures/reflux-material/app/lib/main.jsx +0 -1
- package/test/integration/fixtures/reflux-material/app/packages/.gitkeep +0 -1
- package/test/integration/fixtures/reflux-material/app/private/.gitkeep +0 -1
- package/test/integration/fixtures/reflux-material/app/public/.gitkeep +0 -1
- package/test/integration/fixtures/reflux-material/app/public/favicon.ico +0 -0
- package/test/integration/fixtures/reflux-material/app/server/.gitkeep +0 -1
- package/test/integration/fixtures/reflux-material/app/server/main.jsx +0 -1
- package/test/integration/fixtures/reflux-material/bin/.gitkeep +0 -1
- package/test/integration/fixtures/reflux-material/build/.gitkeep +0 -1
- package/test/integration/fixtures/reflux-material/build/README +0 -4
- package/test/integration/fixtures/reflux-material/config/.gitkeep +0 -1
- package/test/integration/fixtures/reflux-material/config/development/env.sh +0 -9
- package/test/integration/fixtures/reflux-material/config/development/settings.json +0 -6
- package/test/integration/fixtures/reflux-material/config/production/env.sh +0 -9
- package/test/integration/fixtures/reflux-material/config/production/settings.json +0 -6
- package/test/integration/fixtures/reflux-material/config/staging/env.sh +0 -9
- package/test/integration/fixtures/reflux-material/config/staging/settings.json +0 -6
- package/test/integration/fixtures/reflux-ssr/.maka/config.json +0 -30
- package/test/integration/fixtures/reflux-ssr/.tern-project +0 -17
- package/test/integration/fixtures/reflux-ssr/app/.meteor/.finished-upgraders +0 -17
- package/test/integration/fixtures/reflux-ssr/app/.meteor/.id +0 -7
- package/test/integration/fixtures/reflux-ssr/app/.meteor/packages +0 -21
- package/test/integration/fixtures/reflux-ssr/app/.meteor/platforms +0 -2
- package/test/integration/fixtures/reflux-ssr/app/.meteor/release +0 -1
- package/test/integration/fixtures/reflux-ssr/app/.meteor/versions +0 -78
- package/test/integration/fixtures/reflux-ssr/app/client/.gitkeep +0 -1
- package/test/integration/fixtures/reflux-ssr/app/client/body.html +0 -3
- package/test/integration/fixtures/reflux-ssr/app/client/head.html +0 -8
- package/test/integration/fixtures/reflux-ssr/app/client/main.jsx +0 -1
- package/test/integration/fixtures/reflux-ssr/app/imports/api/.gitkeep +0 -1
- package/test/integration/fixtures/reflux-ssr/app/imports/startup/client/index.jsx +0 -21
- package/test/integration/fixtures/reflux-ssr/app/imports/startup/lib/index.jsx +0 -1
- package/test/integration/fixtures/reflux-ssr/app/imports/startup/lib/routes.jsx +0 -21
- package/test/integration/fixtures/reflux-ssr/app/imports/startup/lib/templates.jsx +0 -21
- package/test/integration/fixtures/reflux-ssr/app/imports/startup/server/index.jsx +0 -36
- package/test/integration/fixtures/reflux-ssr/app/imports/ui/layouts/master-layout/master-layout.jsx +0 -30
- package/test/integration/fixtures/reflux-ssr/app/imports/ui/pages/home/home.jsx +0 -32
- package/test/integration/fixtures/reflux-ssr/app/imports/ui/pages/not-found/not-found.jsx +0 -32
- package/test/integration/fixtures/reflux-ssr/app/imports/ui/test-helpers.jsx +0 -1
- package/test/integration/fixtures/reflux-ssr/app/lib/.gitkeep +0 -1
- package/test/integration/fixtures/reflux-ssr/app/lib/main.jsx +0 -1
- package/test/integration/fixtures/reflux-ssr/app/packages/.gitkeep +0 -1
- package/test/integration/fixtures/reflux-ssr/app/private/.gitkeep +0 -1
- package/test/integration/fixtures/reflux-ssr/app/public/.gitkeep +0 -1
- package/test/integration/fixtures/reflux-ssr/app/public/favicon.ico +0 -0
- package/test/integration/fixtures/reflux-ssr/app/server/.gitkeep +0 -1
- package/test/integration/fixtures/reflux-ssr/app/server/main.jsx +0 -1
- package/test/integration/fixtures/reflux-ssr/bin/.gitkeep +0 -1
- package/test/integration/fixtures/reflux-ssr/build/.gitkeep +0 -1
- package/test/integration/fixtures/reflux-ssr/build/README +0 -4
- package/test/integration/fixtures/reflux-ssr/config/.gitkeep +0 -1
- package/test/integration/fixtures/reflux-ssr/config/development/env.sh +0 -9
- package/test/integration/fixtures/reflux-ssr/config/development/settings.json +0 -6
- package/test/integration/fixtures/reflux-ssr/config/production/env.sh +0 -9
- package/test/integration/fixtures/reflux-ssr/config/production/settings.json +0 -6
- package/test/integration/fixtures/reflux-ssr/config/staging/env.sh +0 -9
- package/test/integration/fixtures/reflux-ssr/config/staging/settings.json +0 -6
- package/test/integration/integration_helpers.js +0 -60
- package/tsconfig.json +0 -28
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
allow-deny@1.1.0
|
|
2
|
-
autopublish@1.0.7
|
|
3
|
-
autoupdate@1.4.0
|
|
4
|
-
babel-compiler@7.0.5
|
|
5
|
-
babel-runtime@1.2.2
|
|
6
|
-
base64@1.0.11
|
|
7
|
-
binary-heap@1.0.10
|
|
8
|
-
blaze@2.3.2
|
|
9
|
-
blaze-html-templates@1.1.2
|
|
10
|
-
blaze-tools@1.0.10
|
|
11
|
-
boilerplate-generator@1.4.0
|
|
12
|
-
caching-compiler@1.1.11
|
|
13
|
-
caching-html-compiler@1.1.2
|
|
14
|
-
callback-hook@1.1.0
|
|
15
|
-
check@1.3.1
|
|
16
|
-
ddp@1.4.0
|
|
17
|
-
ddp-client@2.3.2
|
|
18
|
-
ddp-common@1.4.0
|
|
19
|
-
ddp-server@2.1.2
|
|
20
|
-
deps@1.0.12
|
|
21
|
-
diff-sequence@1.1.0
|
|
22
|
-
dynamic-import@0.3.0
|
|
23
|
-
ecmascript@0.10.5
|
|
24
|
-
ecmascript-runtime@0.5.0
|
|
25
|
-
ecmascript-runtime-client@0.6.2
|
|
26
|
-
ecmascript-runtime-server@0.5.0
|
|
27
|
-
ejson@1.1.0
|
|
28
|
-
es5-shim@4.7.3
|
|
29
|
-
geojson-utils@1.0.10
|
|
30
|
-
hot-code-push@1.0.4
|
|
31
|
-
html-tools@1.0.11
|
|
32
|
-
htmljs@1.0.11
|
|
33
|
-
http@1.4.0
|
|
34
|
-
id-map@1.1.0
|
|
35
|
-
insecure@1.0.7
|
|
36
|
-
jquery@1.11.11
|
|
37
|
-
launch-screen@1.1.1
|
|
38
|
-
livedata@1.0.18
|
|
39
|
-
logging@1.1.20
|
|
40
|
-
meteor@1.8.6
|
|
41
|
-
meteor-base@1.3.0
|
|
42
|
-
minifier-css@1.3.1
|
|
43
|
-
minifier-js@2.3.3
|
|
44
|
-
minimongo@1.4.3
|
|
45
|
-
mobile-experience@1.0.5
|
|
46
|
-
mobile-status-bar@1.0.14
|
|
47
|
-
modules@0.11.5
|
|
48
|
-
modules-runtime@0.9.2
|
|
49
|
-
mongo@1.4.5
|
|
50
|
-
mongo-dev-server@1.1.0
|
|
51
|
-
mongo-id@1.0.7
|
|
52
|
-
npm-mongo@2.2.34
|
|
53
|
-
observe-sequence@1.0.16
|
|
54
|
-
ordered-dict@1.1.0
|
|
55
|
-
promise@0.10.2
|
|
56
|
-
random@1.1.0
|
|
57
|
-
reactive-var@1.0.11
|
|
58
|
-
reload@1.2.0
|
|
59
|
-
retry@1.1.0
|
|
60
|
-
routepolicy@1.0.13
|
|
61
|
-
server-render@0.3.0
|
|
62
|
-
shell-server@0.3.1
|
|
63
|
-
shim-common@0.1.0
|
|
64
|
-
socket-stream-client@0.1.0
|
|
65
|
-
spacebars@1.0.15
|
|
66
|
-
spacebars-compiler@1.1.3
|
|
67
|
-
standard-minifier-css@1.4.1
|
|
68
|
-
standard-minifier-js@2.3.2
|
|
69
|
-
templating@1.3.2
|
|
70
|
-
templating-compiler@1.3.3
|
|
71
|
-
templating-runtime@1.3.2
|
|
72
|
-
templating-tools@1.1.2
|
|
73
|
-
tracker@1.1.3
|
|
74
|
-
ui@1.0.13
|
|
75
|
-
underscore@1.0.10
|
|
76
|
-
url@1.2.0
|
|
77
|
-
webapp@1.5.0
|
|
78
|
-
webapp-hashing@1.0.9
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
<head>
|
|
2
|
-
<meta charset="utf-8">
|
|
3
|
-
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
4
|
-
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
5
|
-
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
|
|
6
|
-
<meta name="description" content="react-ssr">
|
|
7
|
-
<title>react-ssr</title>
|
|
8
|
-
</head>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import '/imports/startup/client/index.jsx';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/** @namespace Client */
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import ReactDOM from 'react-dom';
|
|
4
|
-
|
|
5
|
-
// Server Side Rendering sink and router classifier.
|
|
6
|
-
import { BrowserRouter } from 'react-router-dom'
|
|
7
|
-
import { onPageLoad } from "meteor/server-render";
|
|
8
|
-
import { browserHistory } from 'react-router';
|
|
9
|
-
|
|
10
|
-
import Routes from '../lib/routes.jsx';
|
|
11
|
-
|
|
12
|
-
const App = () => (
|
|
13
|
-
<BrowserRouter>
|
|
14
|
-
<Routes history={browserHistory}/>
|
|
15
|
-
</BrowserRouter>
|
|
16
|
-
);
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
onPageLoad(sink => {
|
|
20
|
-
ReactDOM.hydrate(<App />,document.getElementById('app'));
|
|
21
|
-
});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/** @namespace Common */
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The React Router client/server side routing definitions.
|
|
3
|
-
* @namespace Client.Routes
|
|
4
|
-
* @desc This is the main definition for the react router. Version 3.x
|
|
5
|
-
*/
|
|
6
|
-
import React from 'react';
|
|
7
|
-
import { Router, Route, IndexRoute, browserHistory } from 'react-router';
|
|
8
|
-
import * as Component from './templates.jsx';
|
|
9
|
-
|
|
10
|
-
const Routes = (props) => (
|
|
11
|
-
<Router history={ props.history }>
|
|
12
|
-
|
|
13
|
-
<Route path="/" component={Component.MasterLayout}>
|
|
14
|
-
<IndexRoute component={Component.Home}/>
|
|
15
|
-
</Route>
|
|
16
|
-
<Route path="*" component={ Component.MasterLayout }>
|
|
17
|
-
<IndexRoute component={ Component.NotFound }/>
|
|
18
|
-
</Route>
|
|
19
|
-
</Router>
|
|
20
|
-
);
|
|
21
|
-
export default Routes;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { NotFound } from '/imports/ui/pages/not-found/not-found.jsx';
|
|
2
|
-
|
|
3
|
-
import { Home } from '/imports/ui/pages/home/home.jsx';
|
|
4
|
-
|
|
5
|
-
import { MasterLayout } from '/imports/ui/layouts/master-layout/master-layout.jsx';
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* Blaze Templates
|
|
9
|
-
* * Layouts: Top level UI concept, pages are rendered within.
|
|
10
|
-
* * Pages: Main content UI concept, contains page context and UI components.
|
|
11
|
-
* * Components: Modular UI concept.
|
|
12
|
-
*
|
|
13
|
-
* @namespace Client.Templates
|
|
14
|
-
* @memberof Client
|
|
15
|
-
*/
|
|
16
|
-
|
|
17
|
-
export { MasterLayout };
|
|
18
|
-
|
|
19
|
-
export { Home };
|
|
20
|
-
|
|
21
|
-
export { NotFound };
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
/** @namespace Server */
|
|
2
|
-
|
|
3
|
-
import Routes from '../lib/routes.jsx';
|
|
4
|
-
import React from 'react';
|
|
5
|
-
import { renderToStaticMarkup } from 'react-dom/server';
|
|
6
|
-
import { onPageLoad } from 'meteor/server-render';
|
|
7
|
-
import { StaticRouter } from 'react-router-dom';
|
|
8
|
-
import { createMemoryHistory } from 'history';
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
import { ServerStyleSheet } from 'styled-components';
|
|
14
|
-
|
|
15
|
-
onPageLoad(sink => {
|
|
16
|
-
const history = createMemoryHistory(sink.request.url.pathname);
|
|
17
|
-
|
|
18
|
-
const App = (props) => (
|
|
19
|
-
<StaticRouter
|
|
20
|
-
location={props.location}
|
|
21
|
-
context={{}}>
|
|
22
|
-
<Routes history={history}/>
|
|
23
|
-
</StaticRouter>
|
|
24
|
-
);
|
|
25
|
-
|
|
26
|
-
const sheet = new ServerStyleSheet();
|
|
27
|
-
const html = renderToStaticMarkup(sheet.collectStyles(
|
|
28
|
-
<App location={sink.request.url} />
|
|
29
|
-
));
|
|
30
|
-
|
|
31
|
-
sink.appendToHead(sheet.getStyleTags());
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
sink.renderIntoElementById('app', html);
|
|
35
|
-
|
|
36
|
-
});
|
package/test/integration/fixtures/react-ssr/app/imports/ui/layouts/master-layout/master-layout.jsx
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import React, { Component } from 'react';
|
|
2
|
-
|
|
3
|
-
class MasterLayoutComponent extends Component {
|
|
4
|
-
static propTypes = {}
|
|
5
|
-
|
|
6
|
-
static defaultProps = {}
|
|
7
|
-
|
|
8
|
-
constructor(props) {
|
|
9
|
-
super(props);
|
|
10
|
-
this.state = {};
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
componentWillMount() {
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
componentDidMount() { }
|
|
17
|
-
|
|
18
|
-
componentWillUnmount() {
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
componentDidCatch(error, info) { console.log(error, info); }
|
|
22
|
-
|
|
23
|
-
render() { return (<div>{ this.props.children }</div>); }
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
const MasterLayout = MasterLayoutComponent;
|
|
27
|
-
export { MasterLayout, MasterLayoutComponent };
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import React, { Component } from 'react';
|
|
2
|
-
import { withTracker } from 'meteor/react-meteor-data';
|
|
3
|
-
|
|
4
|
-
class HomeComponent extends Component {
|
|
5
|
-
static propTypes = {}
|
|
6
|
-
|
|
7
|
-
static defaultProps = {}
|
|
8
|
-
|
|
9
|
-
constructor(props) {
|
|
10
|
-
super(props);
|
|
11
|
-
this.state = {};
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
componentWillMount() {
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
componentDidMount() { }
|
|
18
|
-
|
|
19
|
-
componentWillUnmount() {
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
render() {
|
|
23
|
-
return (<h2 className="home">Find me in app/imports/ui/pages/home/home</h2>);
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
const Home = withTracker(() => { return {}; })(HomeComponent);
|
|
27
|
-
|
|
28
|
-
export { Home, HomeComponent };
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import React, { Component } from 'react';
|
|
2
|
-
import { withTracker } from 'meteor/react-meteor-data';
|
|
3
|
-
|
|
4
|
-
class NotFoundComponent extends Component {
|
|
5
|
-
static propTypes = {}
|
|
6
|
-
|
|
7
|
-
static defaultProps = {}
|
|
8
|
-
|
|
9
|
-
constructor(props) {
|
|
10
|
-
super(props);
|
|
11
|
-
this.state = {};
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
componentWillMount() {
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
componentDidMount() { }
|
|
18
|
-
|
|
19
|
-
componentWillUnmount() {
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
render() {
|
|
23
|
-
return (<h2 className="not-found">Find me in app/imports/ui/pages/not-found/not-found</h2>);
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
const NotFound = withTracker(() => { return {}; })(NotFoundComponent);
|
|
27
|
-
|
|
28
|
-
export { NotFound, NotFoundComponent };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import '/imports/startup/lib/index.jsx';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import '/imports/startup/server/index.jsx';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
# This .sh file will be sourced before starting your application.
|
|
2
|
-
# You can use it to put environment variables you want accessible
|
|
3
|
-
# to the server side of your app by using process.env.MY_VAR
|
|
4
|
-
#
|
|
5
|
-
# Example:
|
|
6
|
-
# export MONGO_URL="mongodb://localhost:27017/myapp-development"
|
|
7
|
-
# export ROOT_URL="http://localhost:3000"
|
|
8
|
-
|
|
9
|
-
export SAMPLE_VARIABLE="somevalue"
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
# This .sh file will be sourced before starting your application.
|
|
2
|
-
# You can use it to put environment variables you want accessible
|
|
3
|
-
# to the server side of your app by using process.env.MY_VAR
|
|
4
|
-
#
|
|
5
|
-
# Example:
|
|
6
|
-
# export MONGO_URL="mongodb://localhost:27017/myapp-development"
|
|
7
|
-
# export ROOT_URL="http://localhost:3000"
|
|
8
|
-
|
|
9
|
-
export SAMPLE_VARIABLE="somevalue"
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
# This .sh file will be sourced before starting your application.
|
|
2
|
-
# You can use it to put environment variables you want accessible
|
|
3
|
-
# to the server side of your app by using process.env.MY_VAR
|
|
4
|
-
#
|
|
5
|
-
# Example:
|
|
6
|
-
# export MONGO_URL="mongodb://localhost:27017/myapp-development"
|
|
7
|
-
# export ROOT_URL="http://localhost:3000"
|
|
8
|
-
|
|
9
|
-
export SAMPLE_VARIABLE="somevalue"
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"engines": {
|
|
3
|
-
"html": "html",
|
|
4
|
-
"js": "jsx",
|
|
5
|
-
"css": "css",
|
|
6
|
-
"api": "none",
|
|
7
|
-
"client": "reflux",
|
|
8
|
-
"test": "none",
|
|
9
|
-
"graphql": "none",
|
|
10
|
-
"ssr": "false"
|
|
11
|
-
},
|
|
12
|
-
|
|
13
|
-
"template": {
|
|
14
|
-
"html": "false",
|
|
15
|
-
"js": "true",
|
|
16
|
-
"css": "true",
|
|
17
|
-
"test": "true"
|
|
18
|
-
},
|
|
19
|
-
"features": {
|
|
20
|
-
"withTracker": "true"
|
|
21
|
-
},
|
|
22
|
-
"route": {
|
|
23
|
-
"controller": "",
|
|
24
|
-
"template": "true"
|
|
25
|
-
},
|
|
26
|
-
|
|
27
|
-
"generator": {
|
|
28
|
-
"comments": "true"
|
|
29
|
-
}
|
|
30
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"libs": [
|
|
3
|
-
"browser",
|
|
4
|
-
"jquery",
|
|
5
|
-
"underscore"
|
|
6
|
-
],
|
|
7
|
-
"loadEagerly": [ "*.js", "*/*.js", "*/*/*.js", "*/*/*/*.js" ],
|
|
8
|
-
"dontLoad": [ ".meteor" ],
|
|
9
|
-
"plugins": {
|
|
10
|
-
"meteor": {}
|
|
11
|
-
},
|
|
12
|
-
"requirejs": {
|
|
13
|
-
"baseURL": "./",
|
|
14
|
-
"paths": {}
|
|
15
|
-
},
|
|
16
|
-
"node": {}
|
|
17
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
# This file contains information which helps Meteor properly upgrade your
|
|
2
|
-
# app when you run 'meteor update'. You should check it into version control
|
|
3
|
-
# with your project.
|
|
4
|
-
|
|
5
|
-
notices-for-0.9.0
|
|
6
|
-
notices-for-0.9.1
|
|
7
|
-
0.9.4-platform-file
|
|
8
|
-
notices-for-facebook-graph-api-2
|
|
9
|
-
1.2.0-standard-minifiers-package
|
|
10
|
-
1.2.0-meteor-platform-split
|
|
11
|
-
1.2.0-cordova-changes
|
|
12
|
-
1.2.0-breaking-changes
|
|
13
|
-
1.3.0-split-minifiers-package
|
|
14
|
-
1.4.0-remove-old-dev-bundle-link
|
|
15
|
-
1.4.1-add-shell-server-package
|
|
16
|
-
1.4.3-split-account-service-packages
|
|
17
|
-
1.5-add-dynamic-import-package
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
# This file contains a token that is unique to your project.
|
|
2
|
-
# Check it into your repository along with the rest of this directory.
|
|
3
|
-
# It can be used for purposes such as:
|
|
4
|
-
# - ensuring you don't accidentally deploy one app on top of another
|
|
5
|
-
# - providing package authors with aggregated statistics
|
|
6
|
-
|
|
7
|
-
hrqct95bu1p7.rwfqmq0gclg
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
# Meteor packages used by this project, one per line.
|
|
2
|
-
# Check this file (and the other files in this directory) into your repository.
|
|
3
|
-
#
|
|
4
|
-
# 'meteor add' and 'meteor remove' will edit this file for you,
|
|
5
|
-
# but you can also edit it by hand.
|
|
6
|
-
|
|
7
|
-
meteor-base@1.3.0 # Packages every Meteor app needs to have
|
|
8
|
-
mobile-experience@1.0.5 # Packages for a great mobile UX
|
|
9
|
-
mongo@1.4.2 # The database Meteor supports right now
|
|
10
|
-
blaze-html-templates@1.0.4 # Compile .html files into Meteor Blaze views
|
|
11
|
-
reactive-var@1.0.11 # Reactive variable for tracker
|
|
12
|
-
tracker@1.1.3 # Meteor's client-side reactive programming library
|
|
13
|
-
|
|
14
|
-
standard-minifier-css@1.4.0 # CSS minifier run for production mode
|
|
15
|
-
standard-minifier-js@2.3.1 # JS minifier run for production mode
|
|
16
|
-
es5-shim@4.7.0 # ECMAScript 5 compatibility for older browsers
|
|
17
|
-
ecmascript@0.10.0 # Enable ECMAScript2015+ syntax in app code
|
|
18
|
-
shell-server@0.3.1 # Server-side component of the `meteor shell` command
|
|
19
|
-
|
|
20
|
-
autopublish@1.0.7 # Publish all data to the clients (for prototyping)
|
|
21
|
-
insecure@1.0.7 # Allow all DB writes from clients (for prototyping)
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
METEOR@1.6.1
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
allow-deny@1.1.0
|
|
2
|
-
autopublish@1.0.7
|
|
3
|
-
autoupdate@1.4.0
|
|
4
|
-
babel-compiler@7.0.5
|
|
5
|
-
babel-runtime@1.2.2
|
|
6
|
-
base64@1.0.11
|
|
7
|
-
binary-heap@1.0.10
|
|
8
|
-
blaze@2.3.2
|
|
9
|
-
blaze-html-templates@1.1.2
|
|
10
|
-
blaze-tools@1.0.10
|
|
11
|
-
boilerplate-generator@1.4.0
|
|
12
|
-
caching-compiler@1.1.11
|
|
13
|
-
caching-html-compiler@1.1.2
|
|
14
|
-
callback-hook@1.1.0
|
|
15
|
-
check@1.3.1
|
|
16
|
-
ddp@1.4.0
|
|
17
|
-
ddp-client@2.3.2
|
|
18
|
-
ddp-common@1.4.0
|
|
19
|
-
ddp-server@2.1.2
|
|
20
|
-
deps@1.0.12
|
|
21
|
-
diff-sequence@1.1.0
|
|
22
|
-
dynamic-import@0.3.0
|
|
23
|
-
ecmascript@0.10.5
|
|
24
|
-
ecmascript-runtime@0.5.0
|
|
25
|
-
ecmascript-runtime-client@0.6.2
|
|
26
|
-
ecmascript-runtime-server@0.5.0
|
|
27
|
-
ejson@1.1.0
|
|
28
|
-
es5-shim@4.7.3
|
|
29
|
-
geojson-utils@1.0.10
|
|
30
|
-
hot-code-push@1.0.4
|
|
31
|
-
html-tools@1.0.11
|
|
32
|
-
htmljs@1.0.11
|
|
33
|
-
http@1.4.0
|
|
34
|
-
id-map@1.1.0
|
|
35
|
-
insecure@1.0.7
|
|
36
|
-
jquery@1.11.11
|
|
37
|
-
launch-screen@1.1.1
|
|
38
|
-
livedata@1.0.18
|
|
39
|
-
logging@1.1.20
|
|
40
|
-
meteor@1.8.6
|
|
41
|
-
meteor-base@1.3.0
|
|
42
|
-
minifier-css@1.3.1
|
|
43
|
-
minifier-js@2.3.3
|
|
44
|
-
minimongo@1.4.3
|
|
45
|
-
mobile-experience@1.0.5
|
|
46
|
-
mobile-status-bar@1.0.14
|
|
47
|
-
modules@0.11.5
|
|
48
|
-
modules-runtime@0.9.2
|
|
49
|
-
mongo@1.4.5
|
|
50
|
-
mongo-dev-server@1.1.0
|
|
51
|
-
mongo-id@1.0.7
|
|
52
|
-
npm-mongo@2.2.34
|
|
53
|
-
observe-sequence@1.0.16
|
|
54
|
-
ordered-dict@1.1.0
|
|
55
|
-
promise@0.10.2
|
|
56
|
-
random@1.1.0
|
|
57
|
-
reactive-var@1.0.11
|
|
58
|
-
reload@1.2.0
|
|
59
|
-
retry@1.1.0
|
|
60
|
-
routepolicy@1.0.13
|
|
61
|
-
server-render@0.3.0
|
|
62
|
-
shell-server@0.3.1
|
|
63
|
-
shim-common@0.1.0
|
|
64
|
-
socket-stream-client@0.1.0
|
|
65
|
-
spacebars@1.0.15
|
|
66
|
-
spacebars-compiler@1.1.3
|
|
67
|
-
standard-minifier-css@1.4.1
|
|
68
|
-
standard-minifier-js@2.3.2
|
|
69
|
-
templating@1.3.2
|
|
70
|
-
templating-compiler@1.3.3
|
|
71
|
-
templating-runtime@1.3.2
|
|
72
|
-
templating-tools@1.1.2
|
|
73
|
-
tracker@1.1.3
|
|
74
|
-
ui@1.0.13
|
|
75
|
-
underscore@1.0.10
|
|
76
|
-
url@1.2.0
|
|
77
|
-
webapp@1.5.0
|
|
78
|
-
webapp-hashing@1.0.9
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
<head>
|
|
2
|
-
<meta charset="utf-8">
|
|
3
|
-
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
4
|
-
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
5
|
-
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
|
|
6
|
-
<meta name="description" content="reflux">
|
|
7
|
-
<title>reflux</title>
|
|
8
|
-
</head>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import '/imports/startup/client/index.jsx';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Router, Route, IndexRoute, browserHistory } from 'react-router';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* The React Router client side routing definitions.
|
|
6
|
-
* @namespace Client.Routes
|
|
7
|
-
* @desc This is the main definition for the react router.
|
|
8
|
-
*/
|
|
9
|
-
|
|
10
|
-
import * as Component from './templates.jsx';
|
|
11
|
-
|
|
12
|
-
const Routes = () => (
|
|
13
|
-
<Router history={ browserHistory }>
|
|
14
|
-
|
|
15
|
-
<Route path="/" component={Component.MasterLayout}>
|
|
16
|
-
<IndexRoute component={Component.Home}/>
|
|
17
|
-
</Route>
|
|
18
|
-
<Route path="*" component={ Component.MasterLayout }>
|
|
19
|
-
<IndexRoute component={ Component.NotFound }/>
|
|
20
|
-
</Route>
|
|
21
|
-
</Router>
|
|
22
|
-
);
|
|
23
|
-
|
|
24
|
-
export default Routes;
|