rename nodejs package configurations
This commit is contained in:
@@ -3,7 +3,7 @@ import assert from 'node:assert/strict';
|
|||||||
import fs from 'node:fs';
|
import fs from 'node:fs';
|
||||||
import os from 'node:os';
|
import os from 'node:os';
|
||||||
import path from 'node:path';
|
import path from 'node:path';
|
||||||
import { buildRequestContent, getRequestConfigForFile, mergeRequestConfig } from './generate-http-docs.js';
|
import { buildRequestContent, getRequestConfigForFile, mergeRequestConfig } from './generate-http-requests.js';
|
||||||
|
|
||||||
test('does not inherit parent auth when a child config has no auth override', () => {
|
test('does not inherit parent auth when a child config has no auth override', () => {
|
||||||
const parentAuth = { type: 'bearer', token: 'parent-token' };
|
const parentAuth = { type: 'bearer', token: 'parent-token' };
|
||||||
Generated
+4
-1
@@ -1,9 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "generate-http-docs",
|
"name": "generate-http-requests",
|
||||||
|
"version": "0.0.1",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
|
"name": "generate-http-requests",
|
||||||
|
"version": "0.0.1",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"strip-json-comments": "^5.0.3",
|
"strip-json-comments": "^5.0.3",
|
||||||
"yaml": "^2.9.0"
|
"yaml": "^2.9.0"
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
{
|
{
|
||||||
|
"name": "generate-http-requests",
|
||||||
|
"version": "0.0.1",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"strip-json-comments": "^5.0.3",
|
"strip-json-comments": "^5.0.3",
|
||||||
|
|||||||
Reference in New Issue
Block a user