Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,6 @@ jobs:
- name: Setup
uses: actions/checkout@v6

- name: Setup Node
uses: actions/setup-node@v6
with:
node-version: lts/*

- name: Install Dependencies
run: npm ci

- name: Build
run: npm run build

- name: Setup Deno
uses: denoland/setup-deno@v2
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ jobs:
npm install

- name: Build
run: npm run build
run: npm run build -- --mode lib

- name: Publish to npm
run: npm publish --access public
run: npm publish --access public --provenance

- name: Publish to JSR
run: npx jsr publish
30 changes: 6 additions & 24 deletions deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,39 +2,21 @@
"name": "@lcweden/jsontext",
"version": "0.1.0",
"license": "MIT",
"exports": {
".": "./src/index.ts"
},
"tasks": {
"bench": "deno bench --allow-all",
"check": "deno check && deno fmt --check && deno lint",
"check": "deno check src/index.ts",
"format": "deno fmt",
"lint": "deno lint",
"test": "deno test --coverage --allow-all"
},
"imports": {
"#src/*": "./src/*.ts",
"#src/": "./src/",
"#std/assert": "jsr:@std/assert@1"
},
"fmt": {
"lineWidth": 100
},
"lint": {
"rules": {
"tags": [
"recommended"
],
"exclude": [
"no-sloppy-imports"
]
}
},
"exclude": [
"node_modules/",
"public/",
"dist/",
"vite.config.ts"
],
"exports": { ".": "./src/index.ts" },
"fmt": { "lineWidth": 100 },
"lint": { "rules": { "tags": ["recommended"], "include": ["no-slow-types"] } },
"exclude": ["node_modules/", "public/", "dist/", "vite.config.ts"],
"publish": {
"include": ["src/", "README.md", "LICENSE", "deno.json"],
"exclude": ["tests/", ".github/", ".vscode/", "dist/", "public/"]
Expand Down
Loading