Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(all): convert to TS #374

Merged
merged 31 commits into from
Apr 28, 2019
Merged
Changes from 1 commit
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
b63178a
refactor(all): convert to TS
bigopon Apr 22, 2019
6990db4
refactor(tests): convert to TS
bigopon Apr 23, 2019
9a5f7db
chore(dev): add tsdk & lint auto save
bigopon Apr 23, 2019
8e24979
chore(tests): to runnable state for tests
bigopon Apr 23, 2019
1bfc301
chore(tests): fix broken tests
bigopon Apr 23, 2019
6e83593
lint(all): add internal
bigopon Apr 23, 2019
3607bf3
build(all): move build to rollup
bigopon Apr 23, 2019
063ad9f
refactor(all): ensure no private members in dts
bigopon Apr 23, 2019
a8a4d7f
chore(dev): update dev deps
bigopon Apr 23, 2019
eceab53
chore(dev): update dev deps
bigopon Apr 23, 2019
e265b85
refactor(src): ensure no private memebers in dts
bigopon Apr 23, 2019
f451181
build(dev): add changelog scripts
bigopon Apr 23, 2019
23358fe
chore(all): remove unused build scripts
bigopon Apr 23, 2019
15b2210
lint(self-bb): fix lint issues
bigopon Apr 23, 2019
49a23ec
doc(readme): update readme
bigopon Apr 23, 2019
7585396
chore(clean): remove gulpfile.js
bigopon Apr 23, 2019
6aa889b
refactor(all): replace oneWay with toView
bigopon Apr 23, 2019
0bc04a3
refactor(compose): rename field for scope traversing toggle
bigopon Apr 24, 2019
5347777
chore(tests): add compose integration tests
bigopon Apr 24, 2019
70d21f2
refactor(signal): more minification friendly code
bigopon Apr 24, 2019
a9c4235
chore(ci): fix circle ci
bigopon Apr 24, 2019
b256e7f
refactor(show): more minification friendly code
bigopon Apr 24, 2019
ea0ece4
refactor(update-trigger): more minification friendly code
bigopon Apr 24, 2019
327ddd7
refactor(with): more minification friendly code
bigopon Apr 24, 2019
814fe14
refactor(compose): more minification friendly code
bigopon Apr 24, 2019
8278a40
refactor(array-repeat-strategy): more minification friendly code
bigopon Apr 24, 2019
c2f2f40
chore(tests): remove fdescribe
bigopon Apr 24, 2019
da9aad4
chore(build): add gulp, fix ci
bigopon Apr 24, 2019
92b1407
chore(ci): fix ci
bigopon Apr 24, 2019
943a834
refactor(compose): revert inherit binding context feat
bigopon Apr 26, 2019
4373bae
chore(clean): remove commented code
bigopon Apr 28, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore(tests): to runnable state for tests
  • Loading branch information
bigopon committed Apr 23, 2019

Verified

This commit was signed with the committer’s verified signature.
bibixx Bartosz Legięć
commit 8e249792b0d6a5e3911a0e0e3a10d272c2f47ae9
127 changes: 58 additions & 69 deletions karma.conf.js
Original file line number Diff line number Diff line change
@@ -1,81 +1,70 @@
// Karma configuration
// Generated on Fri Dec 05 2014 16:49:29 GMT-0500 (EST)
const path = require('path');
const { AureliaPlugin } = require('aurelia-webpack-plugin');

module.exports = function(config) {
const browsers = config.browsers;
config.set({

// base path that will be used to resolve all patterns (eg. files, exclude)
basePath: '',


// frameworks to use
// available frameworks: https://npmjs.org/browse/keyword/karma-adapter
frameworks: ['jspm', 'jasmine'],

jspm: {
// Edit this to your needs
loadFiles: ['test/**/*.js'],
serveFiles: ['src/**/*.js']
},


// list of files / patterns to load in the browser
files: [],


// list of files to exclude
exclude: [
],


// preprocess matching files before serving them to the browser
// available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor
frameworks: ["jasmine"],
files: ["test/**/*.spec.ts"],
preprocessors: {
'test/**/*.js': ['babel'],
'src/**/*.js': ['babel']
"test/**/*.spec.ts": ["webpack", "sourcemap"],
},
'babelPreprocessor': {
options: {
sourceMap: 'inline',
presets: [ 'es2015-loose', 'stage-1'],
plugins: [
'syntax-flow',
'transform-decorators-legacy',
'transform-flow-strip-types'
webpack: {
mode: "development",
entry: 'test/setup.ts',
resolve: {
extensions: [".ts", ".js"],
modules: ["src", 'test', "node_modules"],
alias: {
src: path.resolve(__dirname, "src"),
test: path.resolve(__dirname, 'test'),
'aurelia-templating-resources': path.resolve(__dirname, 'src/aurelia-templating-resources.ts')
}
},
devtool: browsers.indexOf('ChromeDebugging') > -1 ? 'eval-source-map' : 'inline-source-map',
module: {
rules: [
{
test: /\.ts$/,
loader: "ts-loader",
exclude: /node_modules/,
options: {
compilerOptions: {
sourceMap: true
}
}
},
{
test: /\.html$/i,
loader: 'html-loader'
}
]
},
plugins: [
new AureliaPlugin({ aureliaApp: undefined, dist: 'es2015' })
]
},
mime: {
"text/x-typescript": ["ts"]
},
reporters: ["mocha"],
webpackServer: { noInfo: config.noInfo },
browsers: browsers && browsers.length > 0 ? browsers : ['ChromeHeadless'],
customLaunchers: {
ChromeDebugging: {
base: "Chrome",
flags: ["--remote-debugging-port=9333"],
debug: true
}
},

// test results reporter to use
// possible values: 'dots', 'progress'
// available reporters: https://npmjs.org/browse/keyword/karma-reporter
reporters: ['progress'],


// web server port
port: 9876,


// enable / disable colors in the output (reporters and logs)
colors: true,


// level of logging
// possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG
logLevel: config.LOG_INFO,


// enable / disable watching file and executing tests whenever any file changes
autoWatch: true,


// start these browsers
// available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
browsers: ['Chrome'],


// Continuous Integration mode
// if true, Karma captures browsers, runs the tests and exits
singleRun: false
singleRun: false,
mochaReporter: {
ignoreSkipped: true
},
webpackMiddleware: {
logLevel: 'silent'
},
});
};
Loading