Skip to content

Commit

Permalink
split package into smaller packages, browser build
Browse files Browse the repository at this point in the history
  • Loading branch information
jbr committed Jul 12, 2022
1 parent b89277f commit cc52e12
Show file tree
Hide file tree
Showing 75 changed files with 25,132 additions and 5,356 deletions.
24 changes: 0 additions & 24 deletions .eslintrc.js

This file was deleted.

22 changes: 22 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"parserOptions": {
"sourceType": "module",
"project": "./tsconfig.json"
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking",
"prettier"
],
"rules": {
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": [
"error",
{ "argsIgnorePattern": "^_", "varsIgnorePattern": "^_" }
]
}
}
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ docs
.log
.nyc_output
coverage

.parcel-cache
Binary file added hpke-0.2.0.tgz
Binary file not shown.
5 changes: 5 additions & 0 deletions lerna.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"packages": ["packages/*"],
"useNx": true,
"version": "0.0.0"
}
35 changes: 35 additions & 0 deletions nx.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"extends": "nx/presets/npm.json",
"tasksRunnerOptions": {
"default": {
"runner": "nx/tasks-runners/default",
"options": {
"cacheableOperations": [
"clean",
"build:clean",
"build",
"docs",
"test",
"lint",
"format",
"test:coverage",
"ci",
"benchmark",
"build:web",
"build:node",
"build:browser"
]
}
}
},
"targetDefaults": {
"build": {
"dependsOn": [
"^build"
]
}
},
"affected": {
"defaultBase": "main"
}
}
Loading

0 comments on commit cc52e12

Please sign in to comment.