-
Notifications
You must be signed in to change notification settings - Fork 300
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
default to enable loading app webpack config
- Loading branch information
Showing
32 changed files
with
249 additions
and
64 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
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 @@ | ||
import winston from "winston"; | ||
import { makeWinstonLogger } from "./winston-logger"; | ||
|
||
export const logger = makeWinstonLogger(winston); | ||
export { logger } from "@xarc/dev-base"; |
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,3 @@ | ||
|
||
const { eslintRcTestTypeScript } = require("@xarc/module-dev"); | ||
module.exports = { extends: eslintRcTestTypeScript }; |
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,8 @@ | ||
.nyc_output | ||
coverage | ||
dist | ||
node_modules | ||
# recommend avoid committing package-lock.* file because a module's CI | ||
# should use latest dep, as an app that consumes a module would have its | ||
# own lockfile, but remove this if you want to commit the package lock file. | ||
*-lock* |
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,3 @@ | ||
# `@xarc/dev-base` | ||
|
||
https://www.electrode.io/ |
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,68 @@ | ||
{ | ||
"name": "@xarc/dev-base", | ||
"version": "0.0.1", | ||
"description": "", | ||
"main": "dist/index.js", | ||
"homepage": "http://www.electrode.io", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/electrode-io/electrode.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/electrode-io/electrode/issues" | ||
}, | ||
"scripts": { | ||
"build": "tsc", | ||
"test": "xrun xarc/test-only", | ||
"prepublishOnly": "xrun [[build, docs], xarc/check]", | ||
"docs": "xrun xarc/docs", | ||
"coverage": "xrun xarc/test-cov" | ||
}, | ||
"keywords": [], | ||
"author": "Electrode (http://www.electrode.io/)", | ||
"contributors": [ | ||
"Joel Chen <[email protected]>" | ||
], | ||
"license": "Apache-2.0", | ||
"publishConfig": { | ||
"registry": "https://registry.npmjs.com/", | ||
"access": "public" | ||
}, | ||
"devDependencies": { | ||
"@istanbuljs/nyc-config-typescript": "^1.0.1", | ||
"@types/node": "^14.14.16", | ||
"@typescript-eslint/eslint-plugin": "^4.11.0", | ||
"@typescript-eslint/parser": "^4.11.0", | ||
"@xarc/module-dev": "^4.0.0", | ||
"babel-eslint": "^10.1.0", | ||
"eslint": "^7.16.0", | ||
"eslint-config-walmart": "^2.2.1", | ||
"eslint-plugin-filenames": "^1.1.0", | ||
"eslint-plugin-jsdoc": "^30.7.9", | ||
"eslint-plugin-tsdoc": "^0.2.11", | ||
"prettier": "^2.2.1", | ||
"source-map-support": "^0.5.19", | ||
"ts-node": "^9.1.1", | ||
"typedoc": "^0.20.13", | ||
"typescript": "^4.1.3" | ||
}, | ||
"dependencies": { | ||
"tslib": "^2.1.0", | ||
"winston": "^2.4.4" | ||
}, | ||
"files": [ | ||
"dist" | ||
], | ||
"prettier": { | ||
"printWidth": 100 | ||
}, | ||
"@xarc/module-dev": { | ||
"features": [ | ||
"eslint", | ||
"eslintTS", | ||
"prettier", | ||
"typedoc", | ||
"typescript" | ||
] | ||
} | ||
} |
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 @@ | ||
export * from "./logger"; |
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,4 @@ | ||
import winston from "winston"; | ||
import { makeWinstonLogger } from "./winston-logger"; | ||
|
||
export const logger = makeWinstonLogger(winston); |
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,20 @@ | ||
{ | ||
"compilerOptions": { | ||
"outDir": "dist", | ||
"lib": ["es2018"], | ||
"module": "CommonJS", | ||
"esModuleInterop": true, | ||
"target": "ES2018", | ||
"preserveConstEnums": true, | ||
"sourceMap": true, | ||
"declaration": true, | ||
"types": ["node"], | ||
"forceConsistentCasingInFileNames": true, | ||
"noImplicitReturns": true, | ||
"alwaysStrict": true, | ||
"strictFunctionTypes": true, | ||
"allowJs": true, | ||
"importHelpers": true | ||
}, | ||
"include": ["src"] | ||
} |
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,2 @@ | ||
import { loadTasks } from "@xarc/module-dev"; | ||
loadTasks(); |
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 |
---|---|---|
|
@@ -34,6 +34,7 @@ | |
"Joel Chen <[email protected]>" | ||
], | ||
"dependencies": { | ||
"@xarc/dev-base": "^0.0.1", | ||
"autoprefixer": "^9.6.0", | ||
"babel-loader": "^8.1.0", | ||
"chalk": "^4.1.0", | ||
|
@@ -146,7 +147,8 @@ | |
"dependencies": { | ||
"electrode-cdn-file-loader": "../electrode-cdn-file-loader", | ||
"electrode-node-resolver": "../electrode-node-resolver", | ||
"webpack-config-composer": "../webpack-config-composer" | ||
"webpack-config-composer": "../webpack-config-composer", | ||
"@xarc/dev-base": "../xarc-dev-base" | ||
}, | ||
"devDependencies": { | ||
"@xarc/app": "../xarc-app", | ||
|
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
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
Oops, something went wrong.