Skip to content

Commit

Permalink
ezedge
Browse files Browse the repository at this point in the history
  • Loading branch information
ydcjeff committed Apr 5, 2024
1 parent 3bb2fe2 commit fa4203f
Show file tree
Hide file tree
Showing 63 changed files with 954 additions and 1,589 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ jobs:

- uses: actions/setup-node@v3
with:
node-version: 20
cache-dependency-path: "**/package.json"
node-version: lts
cache-dependency-path: '**/package.json'

- run: pnpm i
- run: pnpm run test-unit
# - run: pnpm run test-unit
- run: pnpm run fmt-check
8 changes: 4 additions & 4 deletions .github/workflows/deno_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ jobs:

- uses: actions/setup-node@v3
with:
node-version: 20
node-version: lts

- run: pnpm i
- run: pnpm run --filter edgekit-test build
- run: pnpm run build

- uses: denoland/deployctl@v1
with:
project: 'edgekit-test'
entrypoint: 'deno/main.js'
project: 'ezedge-test'
entrypoint: 'server/main.js'
root: 'tests/dist'
22 changes: 4 additions & 18 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,30 +3,16 @@ name: release
on:
push:
tags:
- "*"
- '*'

jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- uses: pnpm/action-setup@v2
- uses: denoland/setup-deno@v1
with:
version: latest
deno-version: v1.x

- uses: actions/setup-node@v3
with:
node-version: 20
registry-url: https://registry.npmjs.org/

- run: pnpm i
- run: pnpm publish --access public --no-git-checks -r modules
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- uses: yyx990803/release-tag@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
- run: deno publish --no-check
6 changes: 2 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,5 @@ dist
package-lock.json
yarn.lock
pnpm-lock.yaml

# EdgeKit server build output
.netlify
.vercel
deno.lock
bun.lockb
3 changes: 0 additions & 3 deletions .npmrc

This file was deleted.

4 changes: 4 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "https://json.schemastore.org/prettierrc",
"singleQuote": true
}
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# EdgeKit
# ezedge

- ![npm package version](https://img.shields.io/npm/v/edgekit)
- ![node compatibility](https://img.shields.io/node/v/edgekit)
- ![ci status](https://github.com/alpineland/edgekit/actions/workflows/ci.yml/badge.svg?branch=main)
- [Source](https://github.com/alpineland/edgekit)
- [Docs](https://edgekit.deno.dev)
- ![npm package version](https://img.shields.io/npm/v/ezedge)
- ![node compatibility](https://img.shields.io/node/v/ezedge)
- ![ci status](https://github.com/alpineland/ezedge/actions/workflows/ci.yml/badge.svg?branch=main)
- [Source](https://github.com/alpineland/ezedge)
- [Docs](https://ezedge.deno.dev)

## License

Expand Down
15 changes: 15 additions & 0 deletions deno.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"name": "@ydcjeff/ezedge",
"version": "0.0.7",
"exports": {
".": "./src/runtime/mod.ts",
"./vite": "./src/vite/mod.ts",
"./entry_server": "./src/runtime/entry_server.ts"
},
"imports": {
"@ydcjeff/ezedge/entry_server": "./src/runtime/entry_server.ts"
},
"publish": {
"include": ["src"]
}
}
26 changes: 0 additions & 26 deletions dprint.json

This file was deleted.

1 change: 0 additions & 1 deletion edgekit/node/index.d.ts

This file was deleted.

102 changes: 0 additions & 102 deletions edgekit/node/mod.js

This file was deleted.

33 changes: 0 additions & 33 deletions edgekit/package.json

This file was deleted.

23 changes: 0 additions & 23 deletions edgekit/runtime/ambient.d.ts

This file was deleted.

0 comments on commit fa4203f

Please sign in to comment.