Skip to content

Commit

Permalink
fix: deno publish
Browse files Browse the repository at this point in the history
  • Loading branch information
MaSch0212 committed Nov 1, 2024
1 parent b91a07d commit 9672ca8
Show file tree
Hide file tree
Showing 19 changed files with 18 additions and 19 deletions.
1 change: 0 additions & 1 deletion deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
"@std/expect": "jsr:@std/expect@^1.0.5",
"@std/testing": "jsr:@std/testing@^1.0.4",
"@std/text": "jsr:@std/text@^1.0.7",
"@types/fs-extra": "npm:@types/fs-extra@^11.0.4",
"@types/node": "npm:@types/node@^22.7.5",
"concurrently": "npm:concurrently@^9.0.1",
"fs-extra": "npm:fs-extra@^11.2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/codegen/generator.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { resolve } from 'node:path';

// @deno-types="npm:@types/fs-extra"
// @deno-types="npm:@types/fs-extra@11"
import fs from 'fs-extra';

import { OpenApiParser } from '../parse/parser.ts';
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/parse/parser.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import path from 'node:path';
import { cwd } from 'node:process';

// @deno-types="npm:@types/fs-extra"
// @deno-types="npm:@types/fs-extra@11"
import fs from 'fs-extra';
import * as YAML from 'yaml';

Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/utils/asset-manager.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { basename, resolve } from 'node:path';
import { fileURLToPath } from 'node:url';

// @deno-types="npm:@types/fs-extra"
// @deno-types="npm:@types/fs-extra@11"
import fs from 'fs-extra';

export class AssetManager {
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/utils/file-system.utils.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { resolve } from 'node:path';

// @deno-types="npm:@types/fs-extra"
// @deno-types="npm:@types/fs-extra@11"
import fs from 'fs-extra';

import type { Nullable } from './type.utils.ts';
Expand Down
2 changes: 1 addition & 1 deletion packages/kotlin/src/generators/models/model-generator.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { dirname } from 'node:path';

// @deno-types="npm:@types/fs-extra"
// @deno-types="npm:@types/fs-extra@11"
import fs from 'fs-extra';

import {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { dirname } from 'node:path';

// @deno-types="npm:@types/fs-extra"
// @deno-types="npm:@types/fs-extra@11"
import fs from 'fs-extra';

import {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { resolve } from 'node:path';

// @deno-types="npm:@types/fs-extra"
// @deno-types="npm:@types/fs-extra@11"
import fs from 'fs-extra';

import {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// @deno-types="npm:@types/fs-extra"
// @deno-types="npm:@types/fs-extra@11"
import fs from 'fs-extra';

import {
Expand Down
2 changes: 1 addition & 1 deletion packages/kotlin/tests/openapi-models.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { join } from 'node:path';

import { afterEach, describe, test } from '@std/testing/bdd';
import { restore, stub } from '@std/testing/mock';
// @deno-types="npm:@types/fs-extra"
// @deno-types="npm:@types/fs-extra@11"
import fs from 'fs-extra';

import { OpenApiGenerator, toCustomCase } from '@goast/core';
Expand Down
2 changes: 1 addition & 1 deletion packages/typescript/src/file-builder.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { dirname } from 'node:path';

// @deno-types="npm:@types/fs-extra"
// @deno-types="npm:@types/fs-extra@11"
import fs from 'fs-extra';

import { type AppendParam, type AppendValue, isAppendValue, type Nullable, SourceBuilder } from '@goast/core';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { resolve } from 'node:path';

// @deno-types="npm:@types/fs-extra"
// @deno-types="npm:@types/fs-extra@11"
import fs from 'fs-extra';

import {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { resolve } from 'node:path';

// @deno-types="npm:@types/fs-extra"
// @deno-types="npm:@types/fs-extra@11"
import fs from 'fs-extra';

import {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { resolve } from 'node:path';

// @deno-types="npm:@types/fs-extra"
// @deno-types="npm:@types/fs-extra@11"
import fs from 'fs-extra';

import {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { resolve } from 'node:path';

// @deno-types="npm:@types/fs-extra"
// @deno-types="npm:@types/fs-extra@11"
import fs from 'fs-extra';

import {
Expand Down
2 changes: 1 addition & 1 deletion packages/typescript/tests/openapi-models.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { join } from 'node:path';

// @deno-types="npm:@types/fs-extra"
// @deno-types="npm:@types/fs-extra@11"
import fs from 'fs-extra';

import { OpenApiGenerator, toCustomCase } from '@goast/core';
Expand Down
2 changes: 1 addition & 1 deletion scripts/build_npm.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { build, type BuildOptions, emptyDir } from '@deno/dnt';
import { resolve } from 'node:path';
// @deno-types="npm:@types/fs-extra"
// @deno-types="npm:@types/fs-extra@11"
import fs from 'fs-extra';

type GoastNpmOptions = {
Expand Down
2 changes: 1 addition & 1 deletion test/utils/paths.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { dirname, join } from 'node:path';
import { fileURLToPath } from 'node:url';
// @deno-types="npm:@types/fs-extra"
// @deno-types="npm:@types/fs-extra@11"
import fs from 'fs-extra';

declare const __dirname: string | undefined;
Expand Down
2 changes: 1 addition & 1 deletion test/utils/verify.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { toKebabCase } from '@std/text';
// @deno-types="npm:@types/fs-extra"
// @deno-types="npm:@types/fs-extra@11"
import fs from 'fs-extra';
import { spawn } from 'node:child_process';
import { basename, dirname, join, relative, resolve } from 'node:path';
Expand Down

0 comments on commit 9672ca8

Please sign in to comment.