-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
31 changed files
with
188 additions
and
98 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,3 +6,4 @@ node_modules | |
.DS_Store | ||
dist | ||
_workbench.ts | ||
docs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
{ | ||
"yaml.schemas": { | ||
"https://json.schemastore.org/github-action.json": "./.github/workflows/build.yml" | ||
} | ||
}, | ||
"typescript.tsdk": "node_modules/typescript/lib" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ | |
"main": "./dist/index.js", | ||
"module": "./dist/index.mjs", | ||
"types": "./dist/index.d.ts", | ||
"type": "module", | ||
"repository": "https://github.com/hopinc/hop-js.git", | ||
"author": "Hop <[email protected]>", | ||
"license": "MIT", | ||
|
@@ -22,7 +23,8 @@ | |
"scripts": { | ||
"build": "rm -rf dist && tsup", | ||
"bench": "HOP_DEBUG=true ts-node _workbench.ts", | ||
"release": "yarn build && yarn npm publish && rm -rf dist" | ||
"release": "yarn build && yarn npm publish && rm -rf dist", | ||
"vercel-build": "yarn typedoc src/index.ts" | ||
}, | ||
"devDependencies": { | ||
"@types/glob": "^7.2.0", | ||
|
@@ -31,7 +33,8 @@ | |
"prettier": "^2.7.1", | ||
"ts-node": "^10.9.1", | ||
"tsup": "^6.2.2", | ||
"typescript": "^4.7.4" | ||
"typedoc": "^0.23.11", | ||
"typescript": "^4.8.2" | ||
}, | ||
"dependencies": { | ||
"@onehop/json-methods": "^1.1.1", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
export * from './hop'; | ||
export * from './permissions'; | ||
export * from './rest'; | ||
export * from './util'; | ||
export * from './hop.js'; | ||
export * from './permissions.js'; | ||
export * from './rest/index.js'; | ||
export * from './util/index.js'; | ||
|
||
// Commonly used in the API, so nice to export in two place | ||
export {type APIAuthentication} from './rest'; | ||
export {ContainerState, RuntimeType} from './rest/types/ignite'; | ||
export {type APIAuthentication} from './rest/index.js'; | ||
export {ContainerState, RuntimeType} from './rest/types/ignite.js'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
export * from './client'; | ||
export * from './endpoints'; | ||
export * from './types'; | ||
export * from './client.js'; | ||
export * from './endpoints.js'; | ||
export * from './types/index.js'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
import * as Channels from './channels'; | ||
import * as Registry from './registry'; | ||
import * as Ignite from './ignite'; | ||
import * as Pipe from './pipe'; | ||
import * as Projects from './projects'; | ||
import * as Users from './users'; | ||
import * as Channels from './channels.js'; | ||
import * as Registry from './registry.js'; | ||
import * as Ignite from './ignite.js'; | ||
import * as Pipe from './pipe.js'; | ||
import * as Projects from './projects.js'; | ||
import * as Users from './users.js'; | ||
|
||
export {Pipe, Users, Projects, Ignite, Channels, Registry}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
import * as API from './api'; | ||
export * from '../../util/types'; | ||
import * as API from './api.js'; | ||
export * from '../../util/types.js'; | ||
export {API}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
export {channels} from './channels'; | ||
export {ignite} from './ignite'; | ||
export {pipe} from './pipe'; | ||
export {projects} from './projects'; | ||
export {registry} from './registry'; | ||
export {users} from './users'; | ||
export {channels} from './channels.js'; | ||
export {ignite} from './ignite.js'; | ||
export {pipe} from './pipe.js'; | ||
export {projects} from './projects.js'; | ||
export {registry} from './registry.js'; | ||
export {users} from './users.js'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
export * from './constants'; | ||
export * from './size'; | ||
export * from './types'; | ||
export * from './constants.js'; | ||
export * from './size.js'; | ||
export * from './types.js'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
export * from './ids'; | ||
export * from './ids.js'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.