diff --git a/complex-todos-svelte/.meteor/packages b/complex-todos-svelte/.meteor/packages index 4c81957..554764a 100644 --- a/complex-todos-svelte/.meteor/packages +++ b/complex-todos-svelte/.meteor/packages @@ -6,29 +6,29 @@ meteor-base@1.5.1 # Packages every Meteor app needs to have mobile-experience@1.1.0 # Packages for a great mobile UX -mongo@1.12.0 # The database Meteor supports right now +mongo@1.16.6 # The database Meteor supports right now jquery # Wrapper package for npm-installed jquery -reactive-var@1.0.11 # Reactive variable for tracker -tracker@1.2.0 # Meteor's client-side reactive programming library +reactive-var@1.0.12 # Reactive variable for tracker +tracker@1.3.2 # Meteor's client-side reactive programming library -standard-minifier-css@1.7.3 # CSS minifier run for production mode -standard-minifier-js@2.6.1 # JS minifier run for production mode +standard-minifier-css@1.9.2 # CSS minifier run for production mode +standard-minifier-js@2.8.1 # JS minifier run for production mode es5-shim@4.8.0 # ECMAScript 5 compatibility for older browsers -ecmascript@0.15.3 # Enable ECMAScript2015+ syntax in app code -typescript@4.3.5 # Enable TypeScript syntax in .ts and .tsx modules +ecmascript@0.16.7 # Enable ECMAScript2015+ syntax in app code +typescript@4.9.4 # Enable TypeScript syntax in .ts and .tsx modules shell-server@0.5.0 # Server-side component of the `meteor shell` command svelte:compiler rdb:svelte-meteor-data -static-html +static-html@1.3.2 svelte:blaze-integration meteortesting:mocha # # Accounts and roles # -accounts-ui@1.4.0 -accounts-password@2.0.0 +accounts-ui@1.4.2 +accounts-password@2.3.4 # # Data layer @@ -40,7 +40,7 @@ dburles:mongo-collection-instances # Validated methods # mdg:validated-method -ddp-rate-limiter@1.1.0 +ddp-rate-limiter@1.2.0 # # Logging diff --git a/complex-todos-svelte/.meteor/release b/complex-todos-svelte/.meteor/release index 7760dfe..e8cfc7e 100644 --- a/complex-todos-svelte/.meteor/release +++ b/complex-todos-svelte/.meteor/release @@ -1 +1 @@ -METEOR@2.3.5 +METEOR@2.12 diff --git a/complex-todos-svelte/.meteor/versions b/complex-todos-svelte/.meteor/versions index 58e4277..6b5cd54 100644 --- a/complex-todos-svelte/.meteor/versions +++ b/complex-todos-svelte/.meteor/versions @@ -1,12 +1,12 @@ -accounts-base@2.0.1 -accounts-password@2.0.0 -accounts-ui@1.4.0 -accounts-ui-unstyled@1.5.0 +accounts-base@2.2.8 +accounts-password@2.3.4 +accounts-ui@1.4.2 +accounts-ui-unstyled@1.7.0 aldeed:collection2@3.4.1 -allow-deny@1.1.0 -autoupdate@1.7.0 -babel-compiler@7.7.0 -babel-runtime@1.5.0 +allow-deny@1.1.1 +autoupdate@1.8.0 +babel-compiler@7.10.4 +babel-runtime@1.5.1 base64@1.0.12 binary-heap@1.0.11 blaze@2.5.0 @@ -14,25 +14,25 @@ blaze-tools@1.1.2 boilerplate-generator@1.7.1 caching-compiler@1.2.2 caching-html-compiler@1.2.1 -callback-hook@1.3.1 -check@1.3.1 +callback-hook@1.5.1 +check@1.3.2 dburles:mongo-collection-instances@0.3.1 -ddp@1.4.0 -ddp-client@2.5.0 +ddp@1.4.1 +ddp-client@2.6.1 ddp-common@1.4.0 -ddp-rate-limiter@1.1.0 -ddp-server@2.4.1 -diff-sequence@1.1.1 -dynamic-import@0.7.1 -ecmascript@0.15.3 -ecmascript-runtime@0.7.0 -ecmascript-runtime-client@0.11.1 -ecmascript-runtime-server@0.10.1 -ejson@1.1.1 -email@2.1.1 +ddp-rate-limiter@1.2.0 +ddp-server@2.6.1 +diff-sequence@1.1.2 +dynamic-import@0.7.3 +ecmascript@0.16.7 +ecmascript-runtime@0.8.1 +ecmascript-runtime-client@0.12.1 +ecmascript-runtime-server@0.11.0 +ejson@1.1.3 +email@2.2.5 es5-shim@4.8.0 -fetch@0.1.1 -geojson-utils@1.0.10 +fetch@0.1.3 +geojson-utils@1.0.11 hot-code-push@1.0.4 html-tools@1.1.2 htmljs@1.1.1 @@ -44,54 +44,54 @@ launch-screen@1.3.0 less@3.0.2 livedata@1.0.18 localstorage@1.2.0 -logging@1.2.0 +logging@1.3.2 mdg:validated-method@1.2.0 -meteor@1.9.3 +meteor@1.11.2 meteor-base@1.5.1 meteortesting:browser-tests@1.3.4 meteortesting:mocha@2.0.2 meteortesting:mocha-core@8.1.2 -minifier-css@1.5.4 -minifier-js@2.6.1 -minimongo@1.7.0 +minifier-css@1.6.4 +minifier-js@2.7.5 +minimongo@1.9.3 mobile-experience@1.1.0 mobile-status-bar@1.1.0 -modern-browsers@0.1.5 -modules@0.16.0 -modules-runtime@0.12.0 -mongo@1.12.0 -mongo-decimal@0.1.2 +modern-browsers@0.1.9 +modules@0.19.0 +modules-runtime@0.13.1 +mongo@1.16.6 +mongo-decimal@0.1.3 mongo-dev-server@1.1.0 mongo-id@1.0.8 mongo-livedata@1.0.12 montiapm:agent@2.44.1 montiapm:meteorx@2.2.0 msavin:sjobs@4.1.0 -npm-mongo@3.9.1 +npm-mongo@4.16.0 observe-sequence@1.0.19 ordered-dict@1.1.0 ostrio:logger@2.0.9 ostrio:loggerconsole@2.0.5 -promise@0.12.0 +promise@0.12.2 raix:eventemitter@1.0.0 -random@1.2.0 -rate-limit@1.0.9 +random@1.2.1 +rate-limit@1.1.1 rdb:svelte-meteor-data@0.3.0 -react-fast-refresh@0.1.1 -reactive-dict@1.3.0 -reactive-var@1.0.11 +react-fast-refresh@0.2.7 +reactive-dict@1.3.1 +reactive-var@1.0.12 reload@1.3.1 retry@1.1.0 routepolicy@1.1.1 -service-configuration@1.1.0 -session@1.2.0 +service-configuration@1.3.1 +session@1.2.1 sha@1.0.9 shell-server@0.5.0 -socket-stream-client@0.4.0 +socket-stream-client@0.5.1 spacebars@1.2.0 spacebars-compiler@1.3.0 -standard-minifier-css@1.7.3 -standard-minifier-js@2.6.1 +standard-minifier-css@1.9.2 +standard-minifier-js@2.8.1 static-html@1.3.2 svelte:blaze-integration@0.4.0 svelte:compiler@3.31.2 @@ -100,10 +100,10 @@ templating-compiler@1.4.1 templating-runtime@1.5.0 templating-tools@1.2.1 tmeasday:check-npm-versions@1.0.2 -tracker@1.2.0 -typescript@4.3.5 -underscore@1.0.10 +tracker@1.3.2 +typescript@4.9.4 +underscore@1.0.13 url@1.3.2 -webapp@1.11.1 -webapp-hashing@1.1.0 +webapp@1.13.5 +webapp-hashing@1.1.1 zodern:meteor-package-versions@0.2.1 diff --git a/complex-todos-svelte/README.md b/complex-todos-svelte/README.md index 4e80ebf..1125697 100755 --- a/complex-todos-svelte/README.md +++ b/complex-todos-svelte/README.md @@ -1,8 +1,6 @@ -*** This tutorial is still in development - # Complex Todo List App -The Meteor Tutorial app. +A Meteor.js app which is using version 2.12 Use it to share a single todo list with your friends. The list updates on everyone's screen in real time, and you can make tasks private if you don't want others to see them. @@ -64,7 +62,7 @@ If you find a better approach, please help me to improve this project. ### Let's Start 1. Install Meteor.js -1. Clone the repo ```git clone https://github.com/guncebektas/complex-todos-svelte.git``` +1. Clone this repository 1. cd ```complex-todos-svelte-master``` 1. Run ```meteor npm install``` command 1. Run ```npm start``` command @@ -271,6 +269,8 @@ automatically for once. The current version will be stored in a server side collection named as ```_migrations```. +This example is using a custom migration module, and you may want to use officially recommended [percolate:migrations](https://github.com/percolatestudio/meteor-migrations). + ### Jobs Our application will probably need some jobs which run in a period of time. For example; a report can be generated every diff --git a/complex-todos-svelte/cypress/integration/utilities/doLogin.js b/complex-todos-svelte/cypress/integration/utilities/doLogin.js index d0539e7..625b646 100644 --- a/complex-todos-svelte/cypress/integration/utilities/doLogin.js +++ b/complex-todos-svelte/cypress/integration/utilities/doLogin.js @@ -1,5 +1,5 @@ -import {TEST} from '../constants/constantsForTests.js'; import {waitForMeteorSubscriptions} from '../../support/commands.js'; +import {TEST} from "../constants/test.js"; /** * Login with provided user name and password (subscription aware) @@ -9,21 +9,21 @@ import {waitForMeteorSubscriptions} from '../../support/commands.js'; export function doLogin(username = TEST.USER.DEMO.USERNAME, password = TEST.USER.DEMO.PASSWORD) { cy.visit('/'); - + cy.get('#login-sign-in-link').click(); - + cy.get('#login-username').clear().type(TEST.USER.TEST.USERNAME); - + cy.get('#login-password').clear().type(TEST.USER.TEST.PASSWORD); - + cy.get('#login-buttons-password').click(); - + cy.get('#login-name-link').should('contain', TEST.USER.TEST.USERNAME); - + cy.window().its('Meteor').invoke('userId').should((userId) => { expect(userId).not.to.be.null; }); - + waitForMeteorSubscriptions(); -} \ No newline at end of file +} diff --git a/complex-todos-svelte/package-lock.json b/complex-todos-svelte/package-lock.json index 02a61a8..410704e 100755 --- a/complex-todos-svelte/package-lock.json +++ b/complex-todos-svelte/package-lock.json @@ -1368,7 +1368,7 @@ "lodash._reinterpolate": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/lodash._reinterpolate/-/lodash._reinterpolate-3.0.0.tgz", - "integrity": "sha1-DM8tiRZq8Ds2Y8eWU4t1rG4RTZ0=" + "integrity": "sha512-xYHt68QRoYGjeeM/XOE1uJtvXQAgvszfBhjV4yvsQH0u2i9I6cI6c6/eG4Hh3UAOVn0y/xAXwmTzEay49Q//HA==" }, "lodash.once": { "version": "4.1.1", @@ -2423,9 +2423,9 @@ "integrity": "sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA==" }, "simpl-schema": { - "version": "1.10.2", - "resolved": "https://registry.npmjs.org/simpl-schema/-/simpl-schema-1.10.2.tgz", - "integrity": "sha512-s53RTUqy4sLR9ah8Jqgs2yqyQeImYDPWGqBxcboJRj4FN3Z022r1TEeYkN0k6sxVtE1E+dXk0aFEbRnEiFHB8w==", + "version": "1.13.1", + "resolved": "https://registry.npmjs.org/simpl-schema/-/simpl-schema-1.13.1.tgz", + "integrity": "sha512-20Qc2X13TvLJYY37eapvJ5CWyYYSScX2BJV5RcP4A15efA4k8c0XEsp9F/RofQi/IMrp7PzyxTXyjwlG7EFhCQ==", "requires": { "clone": "^2.1.2", "message-box": "^0.2.7", diff --git a/complex-todos-svelte/package.json b/complex-todos-svelte/package.json index b42e96f..3958917 100755 --- a/complex-todos-svelte/package.json +++ b/complex-todos-svelte/package.json @@ -14,7 +14,7 @@ "jquery": "^3.4.1", "meteor-node-stubs": "^1.0.0", "node-cache": "^5.1.2", - "simpl-schema": "^1.10.2", + "simpl-schema": "^1.13.1", "svelte": "^3.31.2", "svelte-routing": "^1.6.0" },