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
2 changes: 1 addition & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,4 @@
"rules": {}
}
]
}
}
10 changes: 10 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,15 @@
"arcstack",
"factman",
"webapis"
],
"typescript.tsdk": "node_modules/typescript/lib",
"json.schemas": [
{
"url": "https://cdn.jsdelivr.net/npm/tsup/schema.json",
"fileMatch": [
"package.json",
"tsup.config.json"
]
}
]
}
1 change: 1 addition & 0 deletions index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from '@arcstack/permissions/src/PermissionsAPI'
17 changes: 15 additions & 2 deletions nx.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
{
"$schema": "./node_modules/nx/schemas/nx-schema.json",
"defaultBase": "main",
"targetDefaults": {
"build": {
"dependsOn": [
"^build",
"lint"
],
"outputs": [
"{projectRoot}/dist"
],
"cache": true
}
},
"plugins": [
{
"plugin": "@nx/eslint/plugin",
Expand All @@ -9,5 +21,6 @@
}
}
],
"nxCloudAccessToken": "OGM4ZTY1ZDItNTNhNi00YmU0LWI1MTUtNmRiNGVmYzg5MzZkfHJlYWQtd3JpdGU="
}
"nxCloudId": "66b806726340ec37c5b8ec1b",
"nxCloudAccessToken": "MmNiOTc0NDQtZDNhZS00Njg1LWE4M2EtMjUxNTQzNzNiOTU1fHJlYWQ="
}
51 changes: 38 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,20 @@
{
"name": "webapis",
"private": "true",
"name": "@arcstack/webapis",
"version": "0.0.1",
"namespace": "@arcstack",
"type": "module",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/ArcStackLab/webapis.git"
},
"packageManager": "pnpm@9.2.0",
"description": "A Comprehensive Integration of All Web Standard APIs",
"scripts": {
"lint": "prettier . --check && eslint",
"prebuild": "pnpx run-many -t build",
"build": "tsup",
"lint": "prettier . --check && eslint && tsc",
"format": "prettier . --write",
"uninstall-husky": "pnpm uninstall husky --no-save && git config --unset core.hooksPath && pnpm dlx rimraf .husky"
},
Expand All @@ -24,18 +28,39 @@
"eslint --fix --ext .js,.jsx,.ts,.tsx"
]
},
"entry": {
".": "./dist/index.js",
"PermissionsAPI": "./dist/PermissionsAPI.js"
},
"tsup": {
"entry": {
"index": "./index.ts",
"PermissionsAPI": "./packages/permissions/index.ts"
},
"splitting": false,
"sourcemap": true,
"dts": true,
"clean": true,
"platform": "browser",
"format": [
"esm"
]
},
"devDependencies": {
"@eslint/js": "^9.9.0",
"@nx/eslint": "19.5.7",
"esbuild": "0.23.0",
"eslint": "^9.9.0",
"@eslint/js": "^9.9.1",
"@nx/eslint": "19.8.0",
"@nx/eslint-plugin": "^19.8.0",
"esbuild": "^0.23.1",
"eslint": "^9.9.1",
"globals": "^15.9.0",
"husky": "^9.1.4",
"lint-staged": "^15.2.7",
"nx": "19.5.7",
"husky": "^9.1.5",
"lint-staged": "^15.2.10",
"nx": "19.8.0",
"prettier": "^3.3.3",
"typescript": "^5.2.2",
"typescript-eslint": "^8.0.1"
"tslib": "^2.7.0",
"tsup": "^8.2.4",
"typescript": "^5.5.4",
"typescript-eslint": "^8.4.0"
},
"keywords": [
"web",
Expand All @@ -44,4 +69,4 @@
],
"author": "factman",
"license": "MIT"
}
}
Loading