This repository has been archived by the owner on Jul 30, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial Application State Stores Implementation (#137)
* reset the repostory structure * more reconfiguration * Add basic application store * store unit tests * unit tests * default operations * README * Process concept * More work on processes and tests * update readme on changes to process * update dojo dependencies to ~0.1.0 * README updates * README updates * lower case process.ts * update code examples * add byId function in examples * Optional invalidate argument on store.apply * Add operations, apply and get to ProcessResult * Add undo manager to provide application wide undos * Uppercase Store.ts * import using the correct case * Unit tests for undo manager * clean up * More README * explain the flow control when executing processes * Default segements that do not exist assuming that numeric segments are an array otherwise empty object * Support creating decorators from a callback and a createProcess factory that has preapplied callbacks * Add global undo manager that provides an undo function and decorator that can be used across process * Updated README * Upgrade to intern4 * package-lock.json * case sensitivity again
- Loading branch information
Showing
62 changed files
with
8,859 additions
and
10,421 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,9 @@ | ||
module.exports = function (grunt) { | ||
const gruntConfig = { | ||
require('grunt-dojo2').initConfig(grunt, { | ||
typedoc: { | ||
options: { | ||
ignoreCompilerErrors: true // Remove this once compile errors are resolved | ||
} | ||
}, | ||
|
||
watch: { | ||
dev: { | ||
files: '**/*.ts', | ||
tasks: ['dev'], | ||
options: { | ||
spawn: false | ||
} | ||
} | ||
} | ||
}; | ||
grunt.initConfig(gruntConfig); | ||
require('grunt-dojo2').initConfig(grunt, gruntConfig); | ||
|
||
grunt.loadNpmTasks('grunt-contrib-watch'); | ||
}); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
{ | ||
"capabilities": { | ||
"project": "Dojo 2", | ||
"name": "@dojo/stores" | ||
}, | ||
"environments": [ | ||
{ "browserName": "node" } | ||
], | ||
"suites": [ | ||
"./_build/tests/unit/all.js" | ||
], | ||
"functionalSuites": [ | ||
"./_build/tests/functional/all.js" | ||
], | ||
"loader": { | ||
"script": "dojo2", | ||
"options": { | ||
"packages": [ | ||
{ "name": "src", "location": "_build/src" }, | ||
{ "name": "tests", "location": "_build/tests" }, | ||
{ "name": "@dojo", "location": "node_modules/@dojo" }, | ||
{ "name": "sinon", "location": "node_modules/sinon/pkg", "main": "sinon" } | ||
] | ||
} | ||
}, | ||
"coverage": [ | ||
"./_build/src/**/*.js" | ||
], | ||
"configs": { | ||
"local": { | ||
"tunnel": "selenium", | ||
"environments+": [ | ||
{ "browserName": "chrome" } | ||
] | ||
}, | ||
"browserstack": { | ||
"tunnel": "browserstack", | ||
"capabilities+": { | ||
"browserstack.debug": false | ||
}, | ||
"environments+": [ | ||
{ "browserName": "edge" }, | ||
{ "browserName": "chrome", "platform": "WINDOWS" }, | ||
{ "browserName": "firefox", "os": "WINDOWS", "os_version": "10" }, | ||
{ "browserName": "safari", "version": "9.1", "platform": "MAC" }, | ||
{ "browserName": "iPhone", "version": "9.1" } | ||
] | ||
}, | ||
"saucelabs": { | ||
"tunnel": "saucelabs", | ||
"capabilities+": { | ||
"fixSessionCapabilities": false | ||
}, | ||
|
||
"defaultTimeout": 10000, | ||
"environments+": [ | ||
{ "browserName": "internet explorer", "version": [ "11.0" ], "platform": "Windows 7" }, | ||
{ "browserName": "firefox", "version": "43", "platform": "Windows 10" }, | ||
{ "browserName": "chrome", "platform": "Windows 10" } | ||
], | ||
"maxConcurrency": 4 | ||
} | ||
} | ||
} |
Oops, something went wrong.