-
Notifications
You must be signed in to change notification settings - Fork 851
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(package): switch to publishing webpack bundle and compiled JS
BREAKING CHANGE: * `filter-data` attribute no longer supports returning a `$defer`'ed Previously you could supply to the `filter-data` attribute a `$defer`'ed object. Now, any asynchronous result must be supplied as a promise * UMD bundle no longer returns an angular `ngModule` but instead returns a namespace object RequireJS will be mostly affected by this change. See the demo-apps/es5-requirejs demo app for a working example of how to use ng-table with this module loader
- Loading branch information
1 parent
8c83561
commit 380c2d2
Showing
138 changed files
with
10,645 additions
and
5,397 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,31 @@ | ||
.temp | ||
.idea | ||
node_modules | ||
bower_components | ||
out | ||
typings | ||
npm-debug.log | ||
test/*.js | ||
npm-debug.* | ||
index.js | ||
index.d.ts | ||
index.js.map | ||
src/**/*.js | ||
src/**/*.js.map | ||
src/**/*.d.ts | ||
e2e/**/*.js | ||
e2e/**/*.js.map | ||
e2e/**/*.d.ts | ||
!e2e/**/global.d.ts | ||
!e2e/protractor*.js | ||
demo-apps/ts-webpack/src/**/*.js | ||
demo-apps/ts-webpack/src/**/*.js.map | ||
demo-apps/ts-webpack/src/**/*.d.ts | ||
!demo-apps/es5/index.js | ||
!demo-apps/es6-systemjs/index.js | ||
test/**/*.d.ts | ||
test/**/*.js.map | ||
test/**/*.js | ||
!test/index.js | ||
!test/index.d.ts | ||
# redundant webpack build artifacts produced by ExtractTextPlugin | ||
dist/styles.* | ||
bundles | ||
build | ||
build-stats.json | ||
docs |
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,19 +1,19 @@ | ||
.vscode | ||
.idea | ||
.temp | ||
bower_components | ||
demo-site | ||
docs | ||
examples-old | ||
out | ||
src | ||
test | ||
typings | ||
.bowerrc | ||
.vscode/ | ||
.idea/ | ||
.temp/ | ||
bundles/styles.* | ||
demo-apps/ | ||
demo-site/ | ||
docs/ | ||
e2e/ | ||
examples-old/ | ||
out/ | ||
scripts/ | ||
*.ts | ||
!*.d.ts | ||
test/ | ||
.editorconfig | ||
.jshintrc | ||
.travis.yml | ||
*.yml | ||
*.json | ||
*.js | ||
!/dist/*.js | ||
DeleteNodeModules.bat | ||
*.conf.js | ||
*.config.js |
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,25 +1,32 @@ | ||
language: node_js | ||
node_js: | ||
- node | ||
- node | ||
|
||
addons: | ||
sauce_connect: true | ||
|
||
env: | ||
global: | ||
- secure: gnwapHmalQ00mis28sRZQwmrkOWU7CyIyU3iKc1bixgGKZu6dhMUwQt2WA8HDkOLgSxSCSMigtzwuPvkxH6CRLbMnYwCDkCHZS9SvjrOLX+jZkORbSKRJUjlkRS3cjkY9AzKOYAOngAN07j0iqvsKx6UtdtEvA4QVM/ToQzVfi0= | ||
- secure: J9OuScEujGDV/JKBvOz7pgh/hzA6QEqJKo8wtQprsSuUnP1zdUvlRV+oKuGXAGnfsFlr/aw+7+djz4QbqITQeQDJaQ4Ui4/M8dfDp4kLKGH6U8obrnX79IERjgKZubs17dW+NcbIt6pNzJavOdLlvAZiQtQMcdXbHI+Xa0PoTHs= | ||
|
||
before_install: | ||
- npm install -g karma-cli | ||
- npm install -g grunt-cli | ||
- npm install -g bower | ||
- npm install -g karma-cli | ||
|
||
install: | ||
- npm prune && npm install | ||
- npm run setup | ||
- npm run build | ||
- npm prune && npm install | ||
- npm run setup:demo-apps | ||
|
||
before_script: | ||
- npm run build:all | ||
- '[ "${TRAVIS_PULL_REQUEST}" = "true" ] || npm run e2e-server:ci' | ||
|
||
script: | ||
- npm test | ||
- npm test | ||
- '[ "${TRAVIS_PULL_REQUEST}" = "true" ] || npm run e2e:ci' | ||
|
||
after_success: | ||
cat out/coverage/*/lcov.info | ./node_modules/coveralls/bin/coveralls.js | ||
after_success: cat out/coverage/*/lcov.info | ./node_modules/coveralls/bin/coveralls.js | ||
|
||
cache: | ||
directories: | ||
- node_modules | ||
- bower_components | ||
|
||
- node_modules |
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,46 @@ | ||
{ | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "Launch", | ||
"type": "node", | ||
"request": "launch", | ||
"program": "${workspaceRoot}/demo-apps/es6-webpack/_debug-webpack.js", | ||
"stopOnEntry": true, | ||
"args": [], | ||
"cwd": "${workspaceRoot}", | ||
"preLaunchTask": null, | ||
"runtimeExecutable": null, | ||
"runtimeArgs": [ | ||
"--nolazy" | ||
], | ||
"env": { | ||
"NODE_ENV": "development" | ||
}, | ||
"externalConsole": false, | ||
"sourceMaps": false, | ||
"outDir": null | ||
}, | ||
{ | ||
"name": "Attach", | ||
"type": "node", | ||
"request": "attach", | ||
"port": 5858, | ||
"address": "localhost", | ||
"restart": false, | ||
"sourceMaps": false, | ||
"outDir": null, | ||
"localRoot": "${workspaceRoot}", | ||
"remoteRoot": null | ||
}, | ||
{ | ||
"name": "Attach to Process", | ||
"type": "node", | ||
"request": "attach", | ||
"processId": "${command.PickProcess}", | ||
"port": 5858, | ||
"sourceMaps": false, | ||
"outDir": null | ||
} | ||
] | ||
} |
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
This file was deleted.
Oops, something went wrong.
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
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
|
||
<head> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | ||
<meta name="viewport" content="width=device-width"> | ||
|
||
<link rel="stylesheet" href="node_modules/bootstrap/dist/css/bootstrap.min.css"> | ||
<link rel="stylesheet" href="node_modules/ng-table/bundles/ng-table.css"> | ||
<script src="node_modules/angular/angular.min.js"></script> | ||
<script src="node_modules/ng-table/bundles/ng-table.js"></script> | ||
<script src="index.js"></script> | ||
<script src="src/my-table.component.js"></script> | ||
</head> | ||
|
||
<body ng-app="demo-app"> | ||
|
||
<h1>ng-table sample app (ES5)</h1> | ||
|
||
<my-table></my-table> | ||
|
||
</body> | ||
|
||
</html> |
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,5 @@ | ||
(function(){ | ||
'use strict'; | ||
|
||
angular.module('demo-app', ['ngTable']); | ||
})(); |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.