Skip to content

Commit

Permalink
chore: format
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeffrieh authored and github-actions[bot] committed May 15, 2024
1 parent 4bed0bc commit 086f6be
Show file tree
Hide file tree
Showing 7 changed files with 99 additions and 99 deletions.
2 changes: 1 addition & 1 deletion environments/node/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
console.log("Hello via Bun!");
console.log("Hello via Bun!");
20 changes: 10 additions & 10 deletions environments/node/package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "node",
"module": "index.ts",
"type": "module",
"devDependencies": {
"@types/bun": "latest"
},
"peerDependencies": {
"typescript": "^5.0.0"
}
}
"name": "node",
"module": "index.ts",
"type": "module",
"devDependencies": {
"@types/bun": "latest"
},
"peerDependencies": {
"typescript": "^5.0.0"
}
}
44 changes: 22 additions & 22 deletions environments/node/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
{
"compilerOptions": {
// Enable latest features
"lib": ["ESNext", "DOM"],
"target": "ESNext",
"module": "ESNext",
"moduleDetection": "force",
"jsx": "react-jsx",
"allowJs": true,
"compilerOptions": {
// Enable latest features
"lib": ["ESNext", "DOM"],
"target": "ESNext",
"module": "ESNext",
"moduleDetection": "force",
"jsx": "react-jsx",
"allowJs": true,

// Bundler mode
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"verbatimModuleSyntax": true,
"noEmit": true,
// Bundler mode
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"verbatimModuleSyntax": true,
"noEmit": true,

// Best practices
"strict": true,
"skipLibCheck": true,
"noFallthroughCasesInSwitch": true,
// Best practices
"strict": true,
"skipLibCheck": true,
"noFallthroughCasesInSwitch": true,

// Some stricter flags (disabled by default)
"noUnusedLocals": false,
"noUnusedParameters": false,
"noPropertyAccessFromIndexSignature": false
}
// Some stricter flags (disabled by default)
"noUnusedLocals": false,
"noUnusedParameters": false,
"noPropertyAccessFromIndexSignature": false
}
}
2 changes: 1 addition & 1 deletion environments/vite/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
console.log("Hello via Bun!");
console.log("Hello via Bun!");
20 changes: 10 additions & 10 deletions environments/vite/package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "vite",
"module": "index.ts",
"type": "module",
"devDependencies": {
"@types/bun": "latest"
},
"peerDependencies": {
"typescript": "^5.0.0"
}
}
"name": "vite",
"module": "index.ts",
"type": "module",
"devDependencies": {
"@types/bun": "latest"
},
"peerDependencies": {
"typescript": "^5.0.0"
}
}
44 changes: 22 additions & 22 deletions environments/vite/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
{
"compilerOptions": {
// Enable latest features
"lib": ["ESNext", "DOM"],
"target": "ESNext",
"module": "ESNext",
"moduleDetection": "force",
"jsx": "react-jsx",
"allowJs": true,
"compilerOptions": {
// Enable latest features
"lib": ["ESNext", "DOM"],
"target": "ESNext",
"module": "ESNext",
"moduleDetection": "force",
"jsx": "react-jsx",
"allowJs": true,

// Bundler mode
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"verbatimModuleSyntax": true,
"noEmit": true,
// Bundler mode
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"verbatimModuleSyntax": true,
"noEmit": true,

// Best practices
"strict": true,
"skipLibCheck": true,
"noFallthroughCasesInSwitch": true,
// Best practices
"strict": true,
"skipLibCheck": true,
"noFallthroughCasesInSwitch": true,

// Some stricter flags (disabled by default)
"noUnusedLocals": false,
"noUnusedParameters": false,
"noPropertyAccessFromIndexSignature": false
}
// Some stricter flags (disabled by default)
"noUnusedLocals": false,
"noUnusedParameters": false,
"noPropertyAccessFromIndexSignature": false
}
}
66 changes: 33 additions & 33 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,35 +1,35 @@
{
"name": "@effectai/sdk",
"workspaces": ["docs", "src"],
"scripts": {
"test": "bun --env-file=.env test",
"test:watch": "bun --env-file=.env test --watch",
"test:only": "bun --env-file=.env test --watch --only",
"test:coverage": "bun --env-file=.env test --coverage",
"dev": "tsc -w",
"build": "tsc --project src/tsconfig.build.json --module es2020",
"lint": "biome lint --apply .",
"format": "biome format --write .",
"check": "biome check --apply .",
"changeset": "changeset",
"changeset:public": "bun scripts/updateVersion.ts && bun build && changeset publish",
"changeset:version": "changeset version && bun install --frozen-lockfile && bun scripts/updateVersion.ts",
"docs:dev": "cd docs && bun run dev",
"docs:build": "cd docs && bun run build",
"docs:preview": "cd docs && bun run preview"
},
"devDependencies": {
"@biomejs/biome": "1.7.0",
"@wharfkit/wallet-plugin-privatekey": "^1.0.0",
"@changesets/changelog-github": "^0.4.5",
"@changesets/cli": "^2.23.2",
"@greymass/abi2core": "^2.0.1",
"@size-limit/preset-big-lib": "^11.1.2",
"@types/bun": "^1.1.1",
"typescript": "5.4.2"
},
"trustedDependencies": ["@biomejs/biome"],
"dependencies": {
"gh-pages": "^6.1.1"
}
"name": "@effectai/sdk",
"workspaces": ["docs", "src"],
"scripts": {
"test": "bun --env-file=.env test",
"test:watch": "bun --env-file=.env test --watch",
"test:only": "bun --env-file=.env test --watch --only",
"test:coverage": "bun --env-file=.env test --coverage",
"dev": "tsc -w",
"build": "tsc --project src/tsconfig.build.json --module es2020",
"lint": "biome lint --apply .",
"format": "biome format --write .",
"check": "biome check --apply .",
"changeset": "changeset",
"changeset:public": "bun scripts/updateVersion.ts && bun build && changeset publish",
"changeset:version": "changeset version && bun install --frozen-lockfile && bun scripts/updateVersion.ts",
"docs:dev": "cd docs && bun run dev",
"docs:build": "cd docs && bun run build",
"docs:preview": "cd docs && bun run preview"
},
"devDependencies": {
"@biomejs/biome": "1.7.0",
"@wharfkit/wallet-plugin-privatekey": "^1.0.0",
"@changesets/changelog-github": "^0.4.5",
"@changesets/cli": "^2.23.2",
"@greymass/abi2core": "^2.0.1",
"@size-limit/preset-big-lib": "^11.1.2",
"@types/bun": "^1.1.1",
"typescript": "5.4.2"
},
"trustedDependencies": ["@biomejs/biome"],
"dependencies": {
"gh-pages": "^6.1.1"
}
}

0 comments on commit 086f6be

Please sign in to comment.