Skip to content

Commit

Permalink
[feat] archetype
Browse files Browse the repository at this point in the history
  • Loading branch information
scott-wyatt committed Sep 29, 2018
1 parent 2a1dd69 commit b3eeb2e
Show file tree
Hide file tree
Showing 37 changed files with 12 additions and 39 deletions.
2 changes: 2 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@ test-performance/
.istanbul.yml
.travis.yml
appveyor.yml
.circleci
.idea
File renamed without changes.
3 changes: 0 additions & 3 deletions lib/archetype/package.json → archetype/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@
},
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"files": [
"dist"
],
"dependencies": {
"@fabrix/fabrix": "^1.5",
"@fabrix/spool-router": "^1.5"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions archetype/src/config/env/testing/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export {}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion lib/archetype/src/server.ts → archetype/src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

import { FabrixApp } from '@fabrix/fabrix'
import * as App from '.'
import * as App from './'

const app = new FabrixApp(App)

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 0 additions & 1 deletion lib/archetype/src/config/env/production/index.ts

This file was deleted.

25 changes: 0 additions & 25 deletions lib/archetype/src/config/env/production/log.ts

This file was deleted.

5 changes: 1 addition & 4 deletions lib/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,8 @@
"**/*.ts",
"index.ts"
],
"exclude": [
"archetype/**/*.ts"
],
"paths": {
"@fabrix/*": ["./*"],
"@fabrix/fabrix": ["./Farbix"]
"@fabrix/fabrix": ["./index"]
}
}
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 6 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@fabrix/fabrix",
"version": "1.5.5",
"version": "1.5.7",
"description": "Strongly Typed Modern Web Application Framework for Node.js",
"keywords": [
"framework",
Expand All @@ -20,6 +20,8 @@
"fabrix.ts",
"typescript",
"server",
"cqrs",
"event-sourcing",
"graphql"
],
"scripts": {
Expand All @@ -29,15 +31,15 @@
"test": "npm run clean && npm run lint && npm run build && nyc mocha",
"test-performance": "mocha test-performance",
"prepublishOnly": "npm run compile",
"compile": "npm run clean && npm run archetype && npm run build",
"compile": "npm run clean && npm run build",
"clean": "rm -rf dist",
"archetype": "copyfiles -u 1 -a ./lib/archetype/* -a ./lib/archetype/**/* -a ./lib/archetype/**/**/* -a ./lib/archetype/**/**/**/* ./dist/",
"ci": "cd .. && ci"
},
"main": "dist/index",
"typings": "dist/index",
"files": [
"dist"
"dist",
"archetype"
],
"pre-commit": [
"test"
Expand Down

0 comments on commit b3eeb2e

Please sign in to comment.