Skip to content
This repository was archived by the owner on Oct 31, 2023. It is now read-only.

Commit 37865d8

Browse files
authored
Merge pull request #76 from marpme/refactor-project-structure
refactor: rebuild project structure (simplification)
2 parents c108bd6 + 8a7f7ac commit 37865d8

33 files changed

+842
-3360
lines changed

.npmignore

Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
lerna-debug.log*
8+
9+
# Diagnostic reports (https://nodejs.org/api/report.html)
10+
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
11+
12+
# Runtime data
13+
pids
14+
*.pid
15+
*.seed
16+
*.pid.lock
17+
18+
# Directory for instrumented libs generated by jscoverage/JSCover
19+
lib-cov
20+
21+
# Coverage directory used by tools like istanbul
22+
coverage
23+
*.lcov
24+
25+
# nyc test coverage
26+
.nyc_output
27+
28+
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
29+
.grunt
30+
31+
# Bower dependency directory (https://bower.io/)
32+
bower_components
33+
34+
# node-waf configuration
35+
.lock-wscript
36+
37+
# Compiled binary addons (https://nodejs.org/api/addons.html)
38+
build/Release
39+
40+
# Dependency directories
41+
node_modules/
42+
jspm_packages/
43+
44+
# TypeScript v1 declaration files
45+
typings/
46+
47+
# TypeScript cache
48+
*.tsbuildinfo
49+
50+
# Optional npm cache directory
51+
.npm
52+
53+
# Optional eslint cache
54+
.eslintcache
55+
56+
# Microbundle cache
57+
.rpt2_cache/
58+
.rts2_cache_cjs/
59+
.rts2_cache_es/
60+
.rts2_cache_umd/
61+
62+
# Optional REPL history
63+
.node_repl_history
64+
65+
# Output of 'npm pack'
66+
*.tgz
67+
68+
# Yarn Integrity file
69+
.yarn-integrity
70+
71+
# dotenv environment variables file
72+
.env
73+
.env.test
74+
75+
# parcel-bundler cache (https://parceljs.org/)
76+
.cache
77+
78+
# Next.js build output
79+
.next
80+
81+
# Nuxt.js build / generate output
82+
.nuxt
83+
dist
84+
85+
# Gatsby files
86+
.cache/
87+
# Comment in the public line in if your project uses Gatsby and *not* Next.js
88+
# https://nextjs.org/blog/next-9-1#public-directory-support
89+
# public
90+
91+
# vuepress build output
92+
.vuepress/dist
93+
94+
# Serverless directories
95+
.serverless/
96+
97+
# FuseBox cache
98+
.fusebox/
99+
100+
# DynamoDB Local files
101+
.dynamodb/
102+
103+
# TernJS port file
104+
.tern-port
105+
106+
.idea

.prettierignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
dist/
2+
coverage/
23
node_modules/
3-
packages/*/coverage
4-
packages/*/dist

CHANGELOG.md

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,18 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6-
# [0.1.0](https://github.com/marpme/next-testing/compare/v0.0.8...v0.1.0) (2023-03-10)
6+
# [0.1.0](https://github.com/marpme/next-testing-api/compare/v0.0.8...v0.1.0) (2023-03-10)
77

88
### Features
99

10-
- Add setQuery to NextApiRequestBuilder ([86ef86d](https://github.com/marpme/next-testing/commit/86ef86ddc82ced191a5a37dfbaf06a0829ea2a18))
10+
- Add setQuery to NextApiRequestBuilder ([86ef86d](https://github.com/marpme/next-testing-api/commit/86ef86ddc82ced191a5a37dfbaf06a0829ea2a18))
1111

12-
## [0.0.8](https://github.com/marpme/next-testing/compare/v0.0.7...v0.0.8) (2023-02-26)
12+
## [0.0.8](https://github.com/marpme/next-testing-api/compare/v0.0.7...v0.0.8) (2023-02-26)
1313

14-
**Note:** Version bump only for package root
14+
**Note:** Version bump only for package @next-testing/api
1515

16-
## [0.0.7](https://github.com/marpme/next-testing/compare/v0.0.6...v0.0.7) (2022-12-13)
16+
## [0.0.7](https://github.com/marpme/next-testing-api/compare/v0.0.6...v0.0.7) (2022-12-13)
1717

1818
### Bug Fixes
1919

20-
- format checker ([b6d995c](https://github.com/marpme/next-testing/commit/b6d995c8c8199651b3ada1fed19d432c8392163a))
21-
- prettier and eslint checks on CI ([355e99b](https://github.com/marpme/next-testing/commit/355e99bc4eaa6a229ca9a87bc456566eec9f8270))
22-
- remove extranous allowBranch from lerna ([b8cff14](https://github.com/marpme/next-testing/commit/b8cff148a03e18d01c35185553882abd09648aaf))
23-
- sonar report for monorepo module ([cb9adcc](https://github.com/marpme/next-testing/commit/cb9adcca84de760e8d7fec5b014f9a5b9eb8162c))
20+
- prettier and eslint checks on CI ([355e99b](https://github.com/marpme/next-testing-api/commit/355e99bc4eaa6a229ca9a87bc456566eec9f8270))

README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
# ✨ NextJS Testing Framework ✨
1+
<div align="center">
2+
<img alt="logo" width="300" src="./logo.svg">
3+
4+
<em>Simplifying the struggle of mocking and reimplementing NextAPIRequests and NextAPIResponses
5+
in order to test and validate NextJS serverless functions.</em>
6+
27

38
![npm (tag)](https://img.shields.io/npm/v/@next-testing/api/latest)
49
![NPM](https://img.shields.io/npm/l/@next-testing/api)
@@ -8,9 +13,7 @@
813
[![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=marpme_next-testing&metric=reliability_rating)](https://sonarcloud.io/summary/new_code?id=marpme_next-testing)
914
[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=marpme_next-testing&metric=coverage)](https://sonarcloud.io/summary/new_code?id=marpme_next-testing)
1015

11-
12-
Simplifying the struggle of mocking and reimplementing NextAPIRequests and NextAPIResponses
13-
in order to test and validate NextJS serverless functions.
16+
</div>
1417

1518
# Installation
1619

SECURITY.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
## Supported Versions
44

5-
| Version | Supported |
6-
| ------- | ------------------ |
7-
| >= 0.0.3 | :white_check_mark: |
5+
| Version | Supported |
6+
|----------| ------------------ |
7+
| `>= 0.1.0` | :white_check_mark: |
88

99
## Reporting a Vulnerability
1010

logo.svg

Lines changed: 3 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)