Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
aleclarson committed May 25, 2024
1 parent c640e13 commit 3f51bd2
Show file tree
Hide file tree
Showing 79 changed files with 942 additions and 511 deletions.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * from './src/index'
export * from './src/index.js'
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"private": true,
"scripts": {
"prepare": "indo --skipInstall",
"build": "pnpm --no-bail --filter './src' --filter './src/*' --workspace-concurrency 1 build",
"build:packages": "pnpm --no-bail --filter './packages/**/*' build",
"dev": "pnpm --no-bail --filter './src' --filter './src/*' --parallel dev",
Expand All @@ -26,7 +27,7 @@
"rollup": "^2.62.1",
"rollup-plugin-dts": "^4.1.0",
"tsup": "^5.12.8",
"typescript": "4.8.4",
"typescript": "5.4.5",
"vite": "npm:@alloc/vite@*",
"vitest": "^0.34.1"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/aws/cloudfront/index.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * from './src/index'
export * from './src/index.js'
4 changes: 2 additions & 2 deletions packages/aws/cloudfront/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"declaration": true,
"esModuleInterop": true,
"lib": ["es2018"],
"module": "node16",
"moduleResolution": "node16",
"module": "esnext",
"moduleResolution": "bundler",
"noUnusedLocals": false,
"outDir": "dist",
"strict": true,
Expand Down
4 changes: 2 additions & 2 deletions packages/aws/s3-website/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export * from './src/index'
export * from './src/runtime'
export * from './src/index.js'
export * from './src/runtime.js'
4 changes: 2 additions & 2 deletions packages/aws/s3-website/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"declaration": true,
"esModuleInterop": true,
"lib": ["es2018"],
"module": "node16",
"moduleResolution": "node16",
"module": "esnext",
"moduleResolution": "bundler",
"noUnusedLocals": false,
"outDir": "dist",
"strict": true,
Expand Down
2 changes: 1 addition & 1 deletion packages/aws/s3/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export * from './src/index'
export * from './src/index.js'
export * from './src/index.ssr'
4 changes: 2 additions & 2 deletions packages/aws/s3/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"declaration": true,
"esModuleInterop": true,
"lib": ["es2018"],
"module": "node16",
"moduleResolution": "node16",
"module": "esnext",
"moduleResolution": "bundler",
"noUnusedLocals": false,
"outDir": "dist",
"strict": true,
Expand Down
2 changes: 1 addition & 1 deletion packages/aws/utils/index.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * from './src/index'
export * from './src/index.js'
4 changes: 2 additions & 2 deletions packages/aws/utils/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"declaration": true,
"esModuleInterop": true,
"lib": ["es2018"],
"module": "node16",
"moduleResolution": "node16",
"module": "esnext",
"moduleResolution": "bundler",
"noUnusedLocals": false,
"outDir": "dist",
"strict": true,
Expand Down
2 changes: 1 addition & 1 deletion packages/cloudflare/cache/index.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * from './src/index'
export * from './src/index.js'
2 changes: 1 addition & 1 deletion packages/cloudflare/cache/src/index.ssr.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * from './ssr/purge'
export * from './ssr/purge.js'
2 changes: 1 addition & 1 deletion packages/cloudflare/cache/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export * from './purgeAllFiles'
export * from './ssr/purge'
export * from './ssr/purge.js'
4 changes: 2 additions & 2 deletions packages/cloudflare/cache/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"declaration": true,
"esModuleInterop": true,
"lib": ["es2018"],
"module": "node16",
"moduleResolution": "node16",
"module": "esnext",
"moduleResolution": "bundler",
"noUnusedLocals": false,
"outDir": "dist",
"strict": true,
Expand Down
2 changes: 1 addition & 1 deletion packages/cloudflare/dns/index.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * from './src/index'
export * from './src/index.js'
2 changes: 1 addition & 1 deletion packages/cloudflare/dns/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { secrets } from '@saus/cloudflare-request'
import { addDeployHook, addDeployTarget, addSecrets } from 'saus/deploy'
import { DnsRecordList } from './types.js'

const hook = addDeployHook(() => import('./hook.js.js'))
const hook = addDeployHook(() => import('./hook.js'))
addSecrets(useCloudflareDNS, secrets)

export function useCloudflareDNS(zoneId: string, records: DnsRecordList) {
Expand Down
4 changes: 2 additions & 2 deletions packages/cloudflare/dns/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"declaration": true,
"esModuleInterop": true,
"lib": ["es2018"],
"module": "node16",
"moduleResolution": "node16",
"module": "esnext",
"moduleResolution": "bundler",
"noUnusedLocals": false,
"outDir": "dist",
"strict": true,
Expand Down
2 changes: 1 addition & 1 deletion packages/cloudflare/page-rules/index.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * from './src/index'
export * from './src/index.js'
4 changes: 2 additions & 2 deletions packages/cloudflare/page-rules/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"declaration": true,
"esModuleInterop": true,
"lib": ["es2018"],
"module": "node16",
"moduleResolution": "node16",
"module": "esnext",
"moduleResolution": "bundler",
"noUnusedLocals": false,
"outDir": "dist",
"strict": true,
Expand Down
2 changes: 1 addition & 1 deletion packages/cloudflare/request/index.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * from './src/index'
export * from './src/index.js'
4 changes: 2 additions & 2 deletions packages/cloudflare/request/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"declaration": true,
"esModuleInterop": true,
"lib": ["es2018"],
"module": "node16",
"moduleResolution": "node16",
"module": "esnext",
"moduleResolution": "bundler",
"noUnusedLocals": false,
"outDir": "dist",
"strict": true,
Expand Down
4 changes: 2 additions & 2 deletions packages/cloudform/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export * from './src/index'
export * from './src/types'
export * from './src/index.js'
export * from './src/types.js'
4 changes: 2 additions & 2 deletions packages/cloudform/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"declaration": true,
"esModuleInterop": true,
"lib": ["es2018"],
"module": "node16",
"moduleResolution": "node16",
"module": "esnext",
"moduleResolution": "bundler",
"noUnusedLocals": false,
"outDir": "dist",
"strict": true,
Expand Down
2 changes: 1 addition & 1 deletion packages/cloudimage/index.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * from './src/index'
export * from './src/index.js'
2 changes: 1 addition & 1 deletion packages/cloudimage/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { addDeployHook, addDeployTarget, addSecrets } from 'saus/deploy'
import { Config } from './config.js'
import secrets from './secrets.js'

const hook = addDeployHook(() => import('./hook.js.js'))
const hook = addDeployHook(() => import('./hook.js'))
addSecrets(useCloudimage, secrets)

export function useCloudimage(config: Config) {
Expand Down
4 changes: 2 additions & 2 deletions packages/cloudimage/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"declaration": true,
"esModuleInterop": true,
"lib": ["es2018"],
"module": "node16",
"moduleResolution": "node16",
"module": "esnext",
"moduleResolution": "bundler",
"noUnusedLocals": false,
"outDir": "dist",
"strict": true,
Expand Down
2 changes: 1 addition & 1 deletion packages/git-push/index.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * from './src/index'
export * from './src/index.js'
2 changes: 1 addition & 1 deletion packages/git-push/src/push.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { addDeployHook, addDeployTarget } from 'saus/deploy'
import { PushConfig } from './config.js'

const hook = addDeployHook(() => import('./push-hook.js.js'))
const hook = addDeployHook(() => import('./push-hook.js'))

/**
* Push a local clone to its origin.
Expand Down
4 changes: 2 additions & 2 deletions packages/git-push/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"declaration": true,
"esModuleInterop": true,
"lib": ["es2018"],
"module": "node16",
"moduleResolution": "node16",
"module": "esnext",
"moduleResolution": "bundler",
"noUnusedLocals": false,
"outDir": "dist",
"strict": true,
Expand Down
2 changes: 1 addition & 1 deletion packages/page-store/index.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * from './src/index'
export * from './src/index.js'
4 changes: 2 additions & 2 deletions packages/page-store/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"declaration": true,
"esModuleInterop": true,
"lib": ["es2018"],
"module": "node16",
"moduleResolution": "node16",
"module": "esnext",
"moduleResolution": "bundler",
"noUnusedLocals": false,
"outDir": "dist",
"strict": true,
Expand Down
4 changes: 2 additions & 2 deletions packages/react/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"esModuleInterop": true,
"jsx": "react",
"lib": ["es2018"],
"module": "node16",
"moduleResolution": "node16",
"module": "esnext",
"moduleResolution": "bundler",
"noUnusedLocals": true,
"outDir": "dist",
"strict": true,
Expand Down
2 changes: 1 addition & 1 deletion packages/react/types/index.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * from '../src/index'
export * from '../src/index.js'
2 changes: 1 addition & 1 deletion packages/react/types/plugin.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * from '../src/plugin'
export * from '../src/plugin.js'
2 changes: 1 addition & 1 deletion packages/secrets/index.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * from './src/index'
export * from './src/index.js'
4 changes: 2 additions & 2 deletions packages/secrets/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"declaration": true,
"esModuleInterop": true,
"lib": ["es2018"],
"module": "node16",
"moduleResolution": "node16",
"module": "esnext",
"moduleResolution": "bundler",
"noUnusedLocals": false,
"outDir": "dist",
"strict": true,
Expand Down
2 changes: 1 addition & 1 deletion packages/vercel/index.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * from './src/index'
export * from './src/index.js'
4 changes: 2 additions & 2 deletions packages/vercel/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"declaration": true,
"esModuleInterop": true,
"lib": ["es2018"],
"module": "node16",
"moduleResolution": "node16",
"module": "esnext",
"moduleResolution": "bundler",
"noUnusedLocals": false,
"outDir": "dist",
"strict": true,
Expand Down
2 changes: 1 addition & 1 deletion packages/webp/index.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * from './src/convert'
export * from './src/convert.js'
4 changes: 2 additions & 2 deletions packages/webp/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"declaration": true,
"esModuleInterop": true,
"lib": ["es2018"],
"module": "node16",
"moduleResolution": "node16",
"module": "esnext",
"moduleResolution": "bundler",
"noUnusedLocals": true,
"outDir": "dist",
"strict": true,
Expand Down
Loading

0 comments on commit 3f51bd2

Please sign in to comment.