Skip to content

Commit

Permalink
Merge pull request #208 from xylabs/feature/static-implements
Browse files Browse the repository at this point in the history
Static implements package
  • Loading branch information
JoelBCarter authored Feb 26, 2023
2 parents a730f1e + 658a3b2 commit 878aed8
Show file tree
Hide file tree
Showing 43 changed files with 657 additions and 25 deletions.
16 changes: 12 additions & 4 deletions packages/api/.npmignore
Original file line number Diff line number Diff line change
@@ -1,12 +1,20 @@
.*
.env
.eslintcache
.example.env
tsconfig*
rollup.config.ts
jest.config.js
rollup.config.ts
yarn.lock
**/*.spec.ts
**/*.snap

.tsconfig*

.github
.pnp.*
.vscode
.yarn/*
.eslintcache
coverage
cspell.json
node_modules
swagger.json
packages
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ApiEndpoint } from './ApiEndpoint'
import { ApiEndpoint } from '../ApiEndpoint'

describe('ApiEndpoint', () => {
test('checking happy path', () => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { getApiStage } from './getApiStage'
import { getApiStage } from '../getApiStage'

describe('getApiStage', () => {
test('checking happy path', () => {
Expand Down
6 changes: 6 additions & 0 deletions packages/api/src/spec/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"compilerOptions": {
"experimentalDecorators": true
},
"extends": "@xylabs/tsconfig-jest"
}
20 changes: 20 additions & 0 deletions packages/assert/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
.*
.env
.eslintcache
.example.env
tsconfig*
jest.config.js
rollup.config.ts
yarn.lock
**/*.spec.ts
**/*.snap

.github
.pnp.*
.vscode
.yarn/*
coverage
cspell.json
node_modules
swagger.json
packages
20 changes: 20 additions & 0 deletions packages/bignumber/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
.*
.env
.eslintcache
.example.env
tsconfig*
jest.config.js
rollup.config.ts
yarn.lock
**/*.spec.ts
**/*.snap

.github
.pnp.*
.vscode
.yarn/*
coverage
cspell.json
node_modules
swagger.json
packages
20 changes: 20 additions & 0 deletions packages/decimal-precision/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
.*
.env
.eslintcache
.example.env
tsconfig*
jest.config.js
rollup.config.ts
yarn.lock
**/*.spec.ts
**/*.snap

.github
.pnp.*
.vscode
.yarn/*
coverage
cspell.json
node_modules
swagger.json
packages
20 changes: 20 additions & 0 deletions packages/delay/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
.*
.env
.eslintcache
.example.env
tsconfig*
jest.config.js
rollup.config.ts
yarn.lock
**/*.spec.ts
**/*.snap

.github
.pnp.*
.vscode
.yarn/*
coverage
cspell.json
node_modules
swagger.json
packages
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { delay } from './delay'
import { delay } from '../delay'

describe('delay', () => {
test('checking happy path', async () => {
Expand Down
6 changes: 6 additions & 0 deletions packages/delay/src/spec/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"compilerOptions": {
"experimentalDecorators": true
},
"extends": "@xylabs/tsconfig-jest"
}
16 changes: 12 additions & 4 deletions packages/eth-address/.npmignore
Original file line number Diff line number Diff line change
@@ -1,12 +1,20 @@
.*
.env
.eslintcache
.example.env
tsconfig*
rollup.config.ts
jest.config.js
rollup.config.ts
yarn.lock
**/*.spec.ts
**/*.snap

.tsconfig*

.github
.pnp.*
.vscode
.yarn/*
.eslintcache
coverage
cspell.json
node_modules
swagger.json
packages
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { EthAddress } from './EthAddress'
import { EthAddress } from '../EthAddress'

describe('EthAddress', () => {
test('checking happy path', () => {
Expand Down
6 changes: 6 additions & 0 deletions packages/eth-address/src/spec/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"compilerOptions": {
"experimentalDecorators": true
},
"extends": "@xylabs/tsconfig-jest"
}
20 changes: 20 additions & 0 deletions packages/exists/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
.*
.env
.eslintcache
.example.env
tsconfig*
jest.config.js
rollup.config.ts
yarn.lock
**/*.spec.ts
**/*.snap

.github
.pnp.*
.vscode
.yarn/*
coverage
cspell.json
node_modules
swagger.json
packages
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { exists } from './index'
import { exists } from '../index'

const filterableValues = [undefined, null]
const nonfilterableValue = {}
Expand Down
6 changes: 6 additions & 0 deletions packages/exists/src/spec/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"compilerOptions": {
"experimentalDecorators": true
},
"extends": "@xylabs/tsconfig-jest"
}
20 changes: 20 additions & 0 deletions packages/forget/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
.*
.env
.eslintcache
.example.env
tsconfig*
jest.config.js
rollup.config.ts
yarn.lock
**/*.spec.ts
**/*.snap

.github
.pnp.*
.vscode
.yarn/*
coverage
cspell.json
node_modules
swagger.json
packages
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { delay } from '@xylabs/delay'

import { forget, ForgetPromise } from './forget'
import { forget, ForgetPromise } from '../forget'

describe('forget', () => {
beforeAll(() => {
Expand Down
6 changes: 6 additions & 0 deletions packages/forget/src/spec/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"compilerOptions": {
"experimentalDecorators": true
},
"extends": "@xylabs/tsconfig-jest"
}
20 changes: 20 additions & 0 deletions packages/jest-helpers/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
.*
.env
.eslintcache
.example.env
tsconfig*
jest.config.js
rollup.config.ts
yarn.lock
**/*.spec.ts
**/*.snap

.github
.pnp.*
.vscode
.yarn/*
coverage
cspell.json
node_modules
swagger.json
packages
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { describeIf } from './describeIf'
import { describeIf } from '../describeIf'

describe('describeIf', () => {
describeIf(true)('This block should run', () => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { itIf } from './itIf'
import { itIf } from '../itIf'

describe('itIf', () => {
itIf(true)('should run', () => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { testIf } from './testIf'
import { testIf } from '../testIf'

describe('testIf', () => {
testIf(true)('should run', () => {
Expand Down
6 changes: 6 additions & 0 deletions packages/jest-helpers/src/spec/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"compilerOptions": {
"experimentalDecorators": true
},
"extends": "@xylabs/tsconfig-jest"
}
16 changes: 12 additions & 4 deletions packages/log/.npmignore
Original file line number Diff line number Diff line change
@@ -1,12 +1,20 @@
.*
.env
.eslintcache
.example.env
tsconfig*
rollup.config.ts
jest.config.js
rollup.config.ts
yarn.lock
**/*.spec.ts
**/*.snap

.tsconfig*

.github
.pnp.*
.vscode
.yarn/*
.eslintcache
coverage
cspell.json
node_modules
swagger.json
packages
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Log } from './Log'
import { Log } from '../Log'

describe('Log', () => {
test('checking happy path', () => {
Expand Down
6 changes: 6 additions & 0 deletions packages/log/src/spec/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"compilerOptions": {
"experimentalDecorators": true
},
"extends": "@xylabs/tsconfig-jest"
}
20 changes: 20 additions & 0 deletions packages/promise/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
.*
.env
.eslintcache
.example.env
tsconfig*
jest.config.js
rollup.config.ts
yarn.lock
**/*.spec.ts
**/*.snap

.github
.pnp.*
.vscode
.yarn/*
coverage
cspell.json
node_modules
swagger.json
packages
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { fulfilled } from './fulfilled'
import { fulfilled } from '../fulfilled'

const getAllResolvedPromises = () => {
return Promise.allSettled([Promise.resolve('yes')])
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { fulfilledValues } from './fulfilledValues'
import { fulfilledValues } from '../fulfilledValues'

const getAllResolvedPromises = () => {
return Promise.allSettled([Promise.resolve('yes')])
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { rejected } from './rejected'
import { rejected } from '../rejected'

const getAllResolvedPromises = () => {
return Promise.allSettled([Promise.resolve('yes')])
Expand Down
Loading

0 comments on commit 878aed8

Please sign in to comment.