Skip to content
This repository was archived by the owner on Feb 2, 2018. It is now read-only.

Commit 5595fb1

Browse files
committed
Revert project structure changes as discussed in #7
Will remove `package.json` once #8 has landed.
1 parent 4190c1d commit 5595fb1

File tree

10 files changed

+13
-27
lines changed

10 files changed

+13
-27
lines changed

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@
4242
"@loopback/testlab": "^4.0.0-alpha.7",
4343
"@types/mocha": "^2.2.43",
4444
"mocha": "^3.5.3",
45-
"ts-node": "^3.3.0",
4645
"tslint": "^5.7.0",
4746
"typescript": "^2.5.2"
4847
}

src/controllers/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Controllers
2+
3+
This directory contains source files for the controllers exported by this extension.

src/decorator-txIdFromHeader/index.ts

Lines changed: 0 additions & 6 deletions
This file was deleted.

src/decorator-txIdFromHeader/decorators/README.md renamed to src/decorators/README.md

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -26,20 +26,3 @@ You can check out the following resource to learn more about decorators and how
2626

2727
- [TypeScript Handbook: Decorators](https://www.typescriptlang.org/docs/handbook/decorators.html)
2828
- [Decorators in LoopBack](http://loopback.io/doc/en/lb4/Decorators.html)
29-
30-
## Contributions
31-
32-
- [Guidelines](http://loopback.io/doc/en/contrib/index.html)
33-
- [Join the team](https://github.com/strongloop/loopback-next/issues/110)
34-
35-
## Tests
36-
37-
Run `npm test` from the root folder.
38-
39-
## Contributors
40-
41-
See [all contributors](https://github.com/strongloop/loopback-next-extension-starter/graphs/contributors).
42-
43-
## License
44-
45-
MIT

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
// This file is licensed under the MIT License.
44
// License text available at https://opensource.org/licenses/MIT
55

6-
export * from './decorator-txIdFromHeader';
6+
export * from './decorators/txIdFromHeader.decorator';

src/providers/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Providers
2+
3+
This directory contains providers contributing additional bindings, for example
4+
custom sequence actions.

src/repositories/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Repositories
2+
3+
This directory contains code for repositories provided by this extension.

test/mocha.opts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
--compilers ts:ts-node/register
21
--recursive
32
--reporter dot
3+
dist/test

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"lib": ["es2017", "dom"],
1010
"module": "commonjs",
1111
"moduleResolution": "node",
12-
"target": "es6",
12+
"target": "es2017",
1313
"outDir": "dist",
1414
"sourceMap": true,
1515
"declaration": true

0 commit comments

Comments
 (0)