Skip to content

Commit

Permalink
Automatic structural changes for Deno
Browse files Browse the repository at this point in the history
  • Loading branch information
denoify_ci committed May 21, 2020
1 parent 4ca52ad commit 06c245d
Show file tree
Hide file tree
Showing 193 changed files with 593 additions and 911 deletions.
38 changes: 0 additions & 38 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

10 changes: 0 additions & 10 deletions .github/ISSUE_TEMPLATE/custom.md

This file was deleted.

20 changes: 0 additions & 20 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

102 changes: 0 additions & 102 deletions .github/workflows/ci.yaml

This file was deleted.

112 changes: 0 additions & 112 deletions .github/workflows/publish.yaml

This file was deleted.

49 changes: 2 additions & 47 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,47 +1,2 @@
# Logs
logs
*.log
npm-debug.log*

# Runtime data
pids
*.pid
*.seed

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# nyc test coverage
.nyc_output

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# node-waf configuration
.lock-wscript

# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules
jspm_packages

# Optional npm cache directory
.npm

# Optional REPL history
.node_repl_history

dist/test
.vscode

.DS_Store


/dist
/deno_dist
/mod.ts

/node_modules
32 changes: 16 additions & 16 deletions src/lib/Ctx.ts → lib/Ctx.ts
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
import { Polyfill as Set } from "minimal-polyfills/Set";
import { Polyfill as WeakMap } from "minimal-polyfills/WeakMap";
import { assert } from "../tools/typeSafety/assert";
import { typeGuard } from "../tools/typeSafety/typeGuard";
import { LazyEvt } from "./LazyEvt";
import { importProxy } from "./importProxy";
import { Handler } from "./types/Handler";
import { defineAccessors } from "../tools/typeSafety/defineAccessors";
import { overwriteReadonlyProp } from "../tools/typeSafety/overwriteReadonlyProp";

type EvtLike<T> = import("./types/helper/UnpackEvt").EvtLike<T>;
type Evt<T> = import("./types/interfaces").Evt<T>;
type CtxLike<T> = import("./types/interfaces").CtxLike<T>;
type DoneOrAborted<Result> = import("./types/interfaces/Ctx").DoneOrAborted<Result>;

export type Ctx<Result> = import("./types/interfaces").Ctx<Result>;
import { Polyfill as Set } from "https://raw.github.com/garronej/minimal_polyfills/2.0.1/Set.ts";
import { Polyfill as WeakMap } from "https://raw.github.com/garronej/minimal_polyfills/2.0.1/WeakMap.ts";
import { assert } from "../tools/typeSafety/assert.ts";
import { typeGuard } from "../tools/typeSafety/typeGuard.ts";
import { LazyEvt } from "./LazyEvt.ts";
import { importProxy } from "./importProxy.ts";
import { Handler } from "./types/Handler.ts";
import { defineAccessors } from "../tools/typeSafety/defineAccessors.ts";
import { overwriteReadonlyProp } from "../tools/typeSafety/overwriteReadonlyProp.ts";

type EvtLike<T> = import("./types/helper/UnpackEvt.ts").EvtLike<T>;
type Evt<T> = import("./types/interfaces/index.ts").Evt<T>;
type CtxLike<T> = import("./types/interfaces/index.ts").CtxLike<T>;
type DoneOrAborted<Result> = import("./types/interfaces/Ctx.ts").DoneOrAborted<Result>;

export type Ctx<Result> = import("./types/interfaces/index.ts").Ctx<Result>;

class CtxImpl<Result> implements Ctx<Result>{

Expand Down
4 changes: 2 additions & 2 deletions src/lib/Evt.asNonPostable.ts → lib/Evt.asNonPostable.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

import { ToNonPostableEvt } from "./types/helper/ToNonPostableEvt";
type EvtLike<T>= import("./types/helper/UnpackEvt").EvtLike<T>;
import { ToNonPostableEvt } from "./types/helper/ToNonPostableEvt.ts";
type EvtLike<T>= import("./types/helper/UnpackEvt.ts").EvtLike<T>;

/** https://docs.evt.land/api/evt/asnonpostable */
export function asNonPostable<E extends EvtLike<any>>(evt: E): ToNonPostableEvt<E>{
Expand Down
4 changes: 2 additions & 2 deletions src/lib/Evt.asPostable.ts → lib/Evt.asPostable.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

import { ToPostableEvt } from "./types/helper/ToPostableEvt";
type EvtLike<T>= import("./types/helper/UnpackEvt").EvtLike<T>;
import { ToPostableEvt } from "./types/helper/ToPostableEvt.ts";
type EvtLike<T>= import("./types/helper/UnpackEvt.ts").EvtLike<T>;

/**
* https://docs.evt.land/api/evt/aspostable
Expand Down
Loading

0 comments on commit 06c245d

Please sign in to comment.