Skip to content

Commit

Permalink
build: drop Node for now
Browse files Browse the repository at this point in the history
We will delegate building to JSR before the 2.0 release.
  • Loading branch information
KnorpelSenf committed Dec 16, 2024
1 parent 1caa9cd commit d120405
Show file tree
Hide file tree
Showing 9 changed files with 6 additions and 197 deletions.
8 changes: 0 additions & 8 deletions .editorconfig

This file was deleted.

31 changes: 1 addition & 30 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,30 +1 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Dependency directories
node_modules/

# lock files will not be published, so no need to store it
package-lock.json

# Output of 'npm pack'
*.tgz

# Test coverage
test/coverage
test/cov_profile
coverage.lcov

# Build output
deno_cache/
out/
/test/coverage
2 changes: 1 addition & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"recommendations": ["denoland.vscode-deno", "editorconfig.editorconfig"]
"recommendations": ["denoland.vscode-deno"]
}
3 changes: 0 additions & 3 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
"editor.codeActionsOnSave": {
"source.fixAll": "explicit"
},
"deno.enable": true,
"deno.config": "./deno.jsonc",
"deno.lint": true,
"[typescript]": {
"editor.defaultFormatter": "denoland.vscode-deno"
},
Expand Down
41 changes: 0 additions & 41 deletions bundling/bundle-web.ts

This file was deleted.

20 changes: 4 additions & 16 deletions deno.jsonc
Original file line number Diff line number Diff line change
@@ -1,24 +1,12 @@
{
"lock": false,
"nodeModulesDir": "none",
"tasks": {
"check": "deno cache --check=all --allow-import src/mod.ts",
"backport": "deno run --no-prompt --allow-read=. --allow-write=. https://deno.land/x/[email protected]/src/cli.ts tsconfig.json",
"test": "deno test --seed=123456 --parallel --allow-import ./test/",
"dev": "deno fmt && deno lint && deno task test && deno task check",
"coverage": "rm -rf ./test/cov_profile && deno task test --coverage=./test/cov_profile && deno coverage --lcov --output=./coverage.lcov ./test/cov_profile",
"report": "genhtml ./coverage.lcov --output-directory ./test/coverage/ && echo 'Point your browser to test/coverage/index.html to see the test coverage report.'",
"bundle-web": "mkdir -p out deno_cache && cd bundling && DENO_DIR=$PWD/../deno_cache deno run --unstable --quiet --allow-net --allow-read --allow-env=DENO_DIR,XDG_CACHE_HOME,HOME,DENO_AUTH_TOKENS --allow-write=../out,$PWD/../deno_cache bundle-web.ts dev ../src/mod.ts",
"check": "deno check --all src/mod.ts",
"test": "deno test --seed=123456 -I test/",
"ok": "deno fmt && deno lint && deno task test && deno task check",
// TODO: bring back coverage reports
"contribs": "deno run --allow-env --allow-read --allow-write=. --allow-net=api.github.com --allow-sys npm:all-contributors-cli"
},
"exclude": [
"./bundling/bundles",
"./deno_cache/",
"./node_modules/",
"./out/",
"./package-lock.json",
"./test/cov_profile"
],
"fmt": {
"indentWidth": 4,
"proseWrap": "preserve"
Expand Down
71 changes: 0 additions & 71 deletions package.json

This file was deleted.

26 changes: 0 additions & 26 deletions tsconfig.json

This file was deleted.

1 change: 0 additions & 1 deletion types.d.ts

This file was deleted.

1 comment on commit d120405

@KnorpelSenf
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Closes #710

Please sign in to comment.