forked from NationalBankBelgium/stark
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(stark-testing): create separate stark-testing package. Replace t…
…esting specific dependencies by stark-testing in all stark packages and starter. Fixes #68. [#68][#84][#93]
- Loading branch information
1 parent
c691d71
commit 0bbcc9d
Showing
14 changed files
with
97 additions
and
49 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
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,4 +1,4 @@ | ||
/** | ||
* Look in ./config for karma.conf.js | ||
* Look in stark-testing for karma.conf.typescript.js | ||
*/ | ||
module.exports = require("./node_modules/@nationalbankbelgium/stark-build/config/karma.conf.typescript.js"); | ||
module.exports = require("./node_modules/@nationalbankbelgium/stark-testing/karma.conf.typescript.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
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 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,11 @@ | ||
const path = require("path"); | ||
|
||
/** | ||
* Helper functions. | ||
*/ | ||
// const ROOT = path.resolve(__dirname, '..'); | ||
const _root = path.resolve(process.cwd(), "."); // project root folder | ||
|
||
const root = path.join.bind(path, _root); | ||
|
||
exports.root = root; |
File renamed without changes.
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,38 @@ | ||
{ | ||
"name": "@nationalbankbelgium/stark-testing", | ||
"version": "0.0.0-PLACEHOLDER-VERSION", | ||
"main": "karma.conf.typescript.js", | ||
"types": "stark-testing.d.ts", | ||
"description": "Stark - Testing", | ||
"author": "Stark Team", | ||
"contributors": [ | ||
"PLACEHOLDER-CONTRIBUTORS" | ||
], | ||
"license": "MIT", | ||
"bugs": "https://github.com/nationalbankbelgium/stark/issues", | ||
"homepage": "https://github.com/nationalbankbelgium/stark", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/NationalBankBelgium/stark.git" | ||
}, | ||
"engines": { | ||
"node": ">=6.11.0", | ||
"npm": ">=5.3.0" | ||
}, | ||
"dependencies": { | ||
"@types/jasmine": "2.5.36", | ||
"@types/node": "6.0.101", | ||
"istanbul-instrumenter-loader": "3.0.0", | ||
"jasmine-core": "2.99.1", | ||
"karma": "2.0.0", | ||
"karma-chrome-launcher": "2.2.0", | ||
"karma-coverage": "1.1.1", | ||
"karma-jasmine": "1.1.1", | ||
"karma-mocha-reporter": "2.2.5", | ||
"karma-remap-coverage": "0.1.5", | ||
"karma-sourcemap-loader": "0.3.7", | ||
"karma-spec-reporter": "0.0.32", | ||
"karma-typescript": "3.0.12", | ||
"karma-typescript-angular2-transform": "1.0.2" | ||
} | ||
} |
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,20 @@ | ||
"use strict"; | ||
|
||
const resolve = require("rollup-plugin-node-resolve"); | ||
const commonjs = require("rollup-plugin-commonjs"); | ||
|
||
module.exports = { | ||
//export default { | ||
input: "../../dist/packages-dist/stark-testing/karma.conf.typescript.js", | ||
output: [ | ||
{ | ||
file: "../../dist/packages-dist/stark-testing/stark-testing.js", | ||
format: "cjs", | ||
name: "stark.testing" | ||
} | ||
], | ||
plugins: [ | ||
resolve(), | ||
commonjs() // converts date-fns to ES 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
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,4 +1,4 @@ | ||
/** | ||
* Look in ./config for karma.conf.js | ||
*/ | ||
module.exports = require("./node_modules/@nationalbankbelgium/stark-build/config/karma.conf.typescript.js"); | ||
module.exports = require("./node_modules/@nationalbankbelgium/stark-testing/karma.conf.typescript.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