Skip to content

Commit f4c19f2

Browse files
committed
feat(deployment): initial commit
1 parent 9ed1dad commit f4c19f2

File tree

190 files changed

+15497
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

190 files changed

+15497
-1
lines changed

.circleci/config.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
version: 2
2+
machine:
3+
services:
4+
- docker
5+
6+
jobs:
7+
build:
8+
docker:
9+
- image: circleci/node:8.15
10+
environment:
11+
- NPM_CONFIG_LOGLEVEL: warn
12+
working_directory: ~/repo
13+
steps:
14+
- checkout
15+
- setup_remote_docker:
16+
docker_layer_caching: true
17+
- restore_cache:
18+
keys:
19+
- v1-dependencies-{{ checksum "package-lock.json" }}
20+
- run:
21+
name: Installing Dependencies
22+
command: npm install
23+
- run:
24+
name: Pruning Dependencies
25+
command: npm prune
26+
- save_cache:
27+
paths:
28+
- node_modules
29+
key: v1-dependencies-{{ checksum "package-lock.json" }}
30+
- run:
31+
name: Compiling Code
32+
command: npm run build
33+
- run:
34+
name: Linting Code
35+
command: npm run lint
36+
- deploy:
37+
name: Semantic Release
38+
command: npm run semantic-release

@types/atob/index.d.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
declare module 'atob' {
2+
const x: (stringToEncode: string) => string;
3+
export = x;
4+
}

@types/btoa/index.d.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
declare module 'btoa' {
2+
const x: (stringToEncode: string) => string;
3+
export = x;
4+
}

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,10 @@
1-
# foundation
1+
# foundation
2+
3+
## Installation
4+
`npm i -D @js-items/foundation`
5+
6+
This package is heavily inspired by:
7+
- [js-entity-repos](https://github.com/js-entity-repos)
8+
9+
Credits:
10+
- [ryansmith94](https://github.com/ryansmith94)
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import { BaseError } from "make-error";
2+
export default class ConflictingItemError extends BaseError {
3+
readonly itemName: string;
4+
readonly itemId: string;
5+
constructor(itemName: string, itemId: string);
6+
}

dist/errors/conflictingItemError.js

Lines changed: 28 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/errors/conflictingItemError.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/errors/itemNotFoundError.d.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import { BaseError } from "make-error";
2+
export default class ItemNotFoundError extends BaseError {
3+
readonly itemName: string;
4+
readonly itemId: string;
5+
constructor(itemName: string, itemId: string);
6+
}

dist/errors/itemNotFoundError.js

Lines changed: 28 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/errors/itemNotFoundError.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)