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
10 changes: 3 additions & 7 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file

# Dependabot version updates for the npm package.
version: 2
updates:
- package-ecosystem: "" # See documentation for possible values
directory: "/" # Location of package manifests
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "weekly"
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@ jobs:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020
with:
node-version: 20
node-version: 22
cache: npm
- name: Install dependencies
run: npm install --no-audit --no-fund
run: npm ci --no-audit --no-fund
- name: Build and run tests
run: npm test
- name: Generate API coverage report
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,10 @@ jobs:
with:
node-version: 22
registry-url: https://registry.npmjs.org
cache: npm

- name: Install dependencies
run: npm install --no-audit --no-fund
run: npm ci --no-audit --no-fund

- name: Run tests and TypeScript build
run: npm test
Expand Down
76 changes: 17 additions & 59 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,46 +8,16 @@
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./string": {
"types": "./dist/string.d.ts",
"import": "./dist/string.js"
},
"./object": {
"types": "./dist/object.d.ts",
"import": "./dist/object.js"
},
"./async": {
"types": "./dist/async.d.ts",
"import": "./dist/async.js"
},
"./url": {
"types": "./dist/url.d.ts",
"import": "./dist/url.js"
},
"./validation": {
"types": "./dist/validation.d.ts",
"import": "./dist/validation.js"
},
"./http": {
"types": "./dist/http.d.ts",
"import": "./dist/http.js"
},
"./browser": {
"types": "./dist/browser.d.ts",
"import": "./dist/browser.js"
},
"./env": {
"types": "./dist/env.d.ts",
"import": "./dist/env.js"
},
"./logger": {
"types": "./dist/logger.d.ts",
"import": "./dist/logger.js"
}
".": { "types": "./dist/index.d.ts", "import": "./dist/index.js" },
"./string": { "types": "./dist/string.d.ts", "import": "./dist/string.js" },
"./object": { "types": "./dist/object.d.ts", "import": "./dist/object.js" },
"./async": { "types": "./dist/async.d.ts", "import": "./dist/async.js" },
"./url": { "types": "./dist/url.d.ts", "import": "./dist/url.js" },
"./validation": { "types": "./dist/validation.d.ts", "import": "./dist/validation.js" },
"./http": { "types": "./dist/http.d.ts", "import": "./dist/http.js" },
"./browser": { "types": "./dist/browser.d.ts", "import": "./dist/browser.js" },
"./env": { "types": "./dist/env.d.ts", "import": "./dist/env.js" },
"./logger": { "types": "./dist/logger.d.ts", "import": "./dist/logger.js" }
},
"files": ["dist", "README.md", "LICENSE"],
"scripts": {
Expand All @@ -58,22 +28,10 @@
"prepack": "npm run build"
},
"keywords": ["javascript", "typescript", "utilities", "web", "nextjs", "developer-tools"],
"engines": {
"node": ">=18"
},
"devDependencies": {
"c8": "^10.1.3",
"typescript": "^5.8.3"
},
"repository": {
"type": "git",
"url": "https://github.com/Velclaw/OCode.js.git"
},
"bugs": {
"url": "https://github.com/Velclaw/OCode.js/issues"
},
"homepage": "https://github.com/Velclaw/OCode.js#readme",
"dependencies": {
"@vercel/analytics": "^2.0.1"
}
}
"engines": { "node": ">=18" },
"devDependencies": { "c8": "^10.1.3", "typescript": "^5.8.3" },
"repository": { "type": "git", "url": "https://github.com/OCodejs/OCodejs.git" },
"bugs": { "url": "https://github.com/OCodejs/OCodejs/issues" },
"homepage": "https://github.com/OCodejs/OCodejs#readme",
"dependencies": { "@vercel/analytics": "^2.0.1" }
}
Loading