@maka/maka-cli 5.3.0 → 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 +5 -4
- 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 -54
- package/.mocharc.json +0 -3
- package/.vscode/mcp.json +0 -8
- package/CLAUDE.md +0 -239
- package/eslint.config.js +0 -28
- 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 -30
|
@@ -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-ssr">
|
|
7
|
-
<title>reflux-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/reflux-ssr/app/imports/ui/layouts/master-layout/master-layout.jsx
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Component } from 'reflux';
|
|
3
|
-
|
|
4
|
-
class MasterLayoutComponent extends Component {
|
|
5
|
-
static propTypes = {}
|
|
6
|
-
|
|
7
|
-
static defaultProps = {}
|
|
8
|
-
|
|
9
|
-
constructor(props) {
|
|
10
|
-
super(props);
|
|
11
|
-
this.state = {};
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
componentWillMount() {
|
|
15
|
-
super.componentWillMount();
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
componentDidMount() { }
|
|
19
|
-
|
|
20
|
-
componentWillUnmount() {
|
|
21
|
-
super.componentWillUnmount();
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
componentDidCatch(error, info) { console.log(error, info); }
|
|
25
|
-
|
|
26
|
-
render() { return (<div>{ this.props.children }</div>); }
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
const MasterLayout = MasterLayoutComponent;
|
|
30
|
-
export { MasterLayout, MasterLayoutComponent };
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Component } from 'reflux';
|
|
3
|
-
import { withTracker } from 'meteor/react-meteor-data';
|
|
4
|
-
|
|
5
|
-
class HomeComponent extends Component {
|
|
6
|
-
static propTypes = {}
|
|
7
|
-
|
|
8
|
-
static defaultProps = {}
|
|
9
|
-
|
|
10
|
-
constructor(props) {
|
|
11
|
-
super(props);
|
|
12
|
-
this.state = {};
|
|
13
|
-
this.store = null;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
componentWillMount() {
|
|
17
|
-
super.componentWillMount();
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
componentDidMount() { }
|
|
21
|
-
|
|
22
|
-
componentWillUnmount() {
|
|
23
|
-
super.componentWillUnmount();
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
render() {
|
|
27
|
-
return (<h2 className="home">Find me in app/imports/ui/pages/home/home</h2>);
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
const Home = withTracker(() => { return {}; })(HomeComponent);
|
|
31
|
-
|
|
32
|
-
export { Home, HomeComponent };
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Component } from 'reflux';
|
|
3
|
-
import { withTracker } from 'meteor/react-meteor-data';
|
|
4
|
-
|
|
5
|
-
class NotFoundComponent extends Component {
|
|
6
|
-
static propTypes = {}
|
|
7
|
-
|
|
8
|
-
static defaultProps = {}
|
|
9
|
-
|
|
10
|
-
constructor(props) {
|
|
11
|
-
super(props);
|
|
12
|
-
this.state = {};
|
|
13
|
-
this.store = null;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
componentWillMount() {
|
|
17
|
-
super.componentWillMount();
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
componentDidMount() { }
|
|
21
|
-
|
|
22
|
-
componentWillUnmount() {
|
|
23
|
-
super.componentWillUnmount();
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
render() {
|
|
27
|
-
return (<h2 className="not-found">Find me in app/imports/ui/pages/not-found/not-found</h2>);
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
const NotFound = withTracker(() => { return {}; })(NotFoundComponent);
|
|
31
|
-
|
|
32
|
-
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,60 +0,0 @@
|
|
|
1
|
-
var fs = require('fs');
|
|
2
|
-
var chdir = require('chdir');
|
|
3
|
-
var spawn = require('child_process').spawn;
|
|
4
|
-
var rimraf = require('rimraf').sync;
|
|
5
|
-
var path = require('path');
|
|
6
|
-
var concat = require('concat-stream');
|
|
7
|
-
var mkdirp = require('mkdirp').sync;
|
|
8
|
-
|
|
9
|
-
module.exports = {
|
|
10
|
-
compare: function(fixtureName, opts, callback) {
|
|
11
|
-
var fixtureFolder = './test/integration/fixtures/' + fixtureName;
|
|
12
|
-
if (!fs.existsSync((fixtureFolder))) {
|
|
13
|
-
callback('Fixture ' + fixtureName + ' cannot be located at ' + fixtureFolder);
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
var outFolder = './test/integration/out/' + fixtureName;
|
|
17
|
-
if (fs.existsSync(outFolder)) {
|
|
18
|
-
rimraf(outFolder)
|
|
19
|
-
}
|
|
20
|
-
mkdirp(outFolder);
|
|
21
|
-
//mkdirp(outFolder + '/.meteor');
|
|
22
|
-
//fs.appendFileSync(outFolder + '/.meteor/packages', '');
|
|
23
|
-
//fs.appendFileSync(outFolder + '/.meteor/release', '');
|
|
24
|
-
|
|
25
|
-
var makaPath = path.resolve('.', 'bin/maka');
|
|
26
|
-
chdir(outFolder, function() {
|
|
27
|
-
var opts = ['init', '--confirm', '--self-test'].concat(opts);
|
|
28
|
-
var maka = spawn(makaPath, opts);
|
|
29
|
-
|
|
30
|
-
maka.stderr.pipe(process.stdout);
|
|
31
|
-
maka.on('close', function() {
|
|
32
|
-
|
|
33
|
-
var diff = spawn('diff', ['-u',
|
|
34
|
-
'--ignore-all-space',
|
|
35
|
-
'-x', '.gitkeep',
|
|
36
|
-
'-x', '.id',
|
|
37
|
-
'-x', 'versions',
|
|
38
|
-
'-x', 'packages',
|
|
39
|
-
'-x', 'favicon.ico',
|
|
40
|
-
'-r',
|
|
41
|
-
path.resolve('.', outFolder),
|
|
42
|
-
path.resolve('.', fixtureFolder)]);
|
|
43
|
-
|
|
44
|
-
var diffOutput = null;
|
|
45
|
-
diff.stdout.pipe(concat(function(output) {
|
|
46
|
-
diffOutput = output.toString();
|
|
47
|
-
}));
|
|
48
|
-
|
|
49
|
-
diff.on('close', function(exitCode) {
|
|
50
|
-
if (exitCode == 0) {
|
|
51
|
-
callback(null);
|
|
52
|
-
}
|
|
53
|
-
else {
|
|
54
|
-
callback(diffOutput);
|
|
55
|
-
}
|
|
56
|
-
})
|
|
57
|
-
})
|
|
58
|
-
});
|
|
59
|
-
}
|
|
60
|
-
};
|
package/tsconfig.json
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"ignoreDeprecations": "6.0",
|
|
4
|
-
"esModuleInterop": true,
|
|
5
|
-
"target": "esnext",
|
|
6
|
-
"module": "esnext",
|
|
7
|
-
"allowJs": true,
|
|
8
|
-
"checkJs": true,
|
|
9
|
-
"outDir": "bundle/typescript",
|
|
10
|
-
"rootDir": ".",
|
|
11
|
-
"strict": false,
|
|
12
|
-
"forceConsistentCasingInFileNames": true,
|
|
13
|
-
"declaration": true,
|
|
14
|
-
"strictNullChecks": true,
|
|
15
|
-
"strictPropertyInitialization": true,
|
|
16
|
-
"resolveJsonModule": true,
|
|
17
|
-
"moduleResolution": "node",
|
|
18
|
-
"sourceMap": true,
|
|
19
|
-
"baseUrl": ".",
|
|
20
|
-
"paths": {
|
|
21
|
-
"*": [ "src/*", "*" ]
|
|
22
|
-
},
|
|
23
|
-
"allowSyntheticDefaultImports": true
|
|
24
|
-
},
|
|
25
|
-
"exclude": [ "node_modules", "bundle", "src/templates", "**/*.test.ts", "**/*.test.js" ],
|
|
26
|
-
"include": [
|
|
27
|
-
"./src"
|
|
28
|
-
]
|
|
29
|
-
}
|
|
30
|
-
|