Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
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
35 changes: 35 additions & 0 deletions .angular-cli.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"project": {
"name": "in-memory-web-api"
},
"apps": [
{
"name": "lib",
"root": "",
"outDir": "dist-lib/",
"test": "test.ts",
"index": "integration/index.html",
"main": "integration/main.ts",
"polyfills": "polyfills.ts",
"tsconfig": "tsconfig.app.json",
"testTsconfig": "tsconfig.spec.json"
},
{
"name": "integration",
"root": "",
"outDir": "dist-integration/",
"test": "integration/test.integration.ts",
"index": "integration/index.html",
"main": "integration/main.ts",
"polyfills": "polyfills.ts",
"tsconfig": "integration/tsconfig.app.integration.json",
"testTsconfig": "integration/tsconfig.spec.integration.json"
}
],
"test": {
"karma": {
"config": "./karma.conf.js"
}
}
}
3 changes: 3 additions & 0 deletions .commitlintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": ["@commitlint/config-conventional"]
}
57 changes: 48 additions & 9 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,49 @@
aot
in-memory-web-api
node_modules
typings
# See http://help.github.com/ignore-files/ for more about ignoring files.

# compiled output
/dist
/tmp
/out-tsc
/src/environments/version.ts

# dependencies
/node_modules

# IDEs and editors
/.idea
.project
.classpath
.c9/
*.launch
.settings/
*.sublime-workspace
*.bak

# IDE - VSCode
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json

# misc
/.sass-cache
/connect.lock
/coverage
/libpeerconnection.log
npm-debug.log
src/**/*.d.ts
src/**/*.js
src/**/*.js.map
src/**/*.metadata.json
yarn.lock
testem.log
/typings
.test-results.json
/dist-lib
/dist-integration

# e2e
/e2e/*.js
/e2e/*.map

# System Files
.DS_Store
Thumbs.db
/storybook-static
/yarn-error.log
3 changes: 3 additions & 0 deletions .lintstagedrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"*.ts": ["prettier --write", "git add"]
}
15 changes: 0 additions & 15 deletions .npmignore

This file was deleted.

5 changes: 5 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"singleQuote": true,
"printWidth": 120,
"tabWidth": 2
}
6 changes: 2 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,8 @@ env:
before_script:
- sh -e /etc/init.d/xvfb start
install:
- npm install -g gulp
- npm install
script:
- npm run lint
- npm run tsc
- gulp build
- npm run test:once
- npm run build
- npm run test
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ Follow these steps for updating the library.

- git add, commit, and push.

- `npm publish`
- `npm publish dist --access public`

- Confirm that angular.io docs samples still work

Expand Down
198 changes: 0 additions & 198 deletions backend.service.d.ts

This file was deleted.

Loading