Skip to content

Commit

Permalink
chore: update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
thetutlage committed Sep 18, 2024
1 parent c7fa431 commit c5e2032
Show file tree
Hide file tree
Showing 6 changed files with 70 additions and 74 deletions.
1 change: 0 additions & 1 deletion .husky/.gitignore

This file was deleted.

4 changes: 0 additions & 4 deletions .husky/commit-msg

This file was deleted.

2 changes: 2 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
import { configPkg } from '@adonisjs/eslint-config'
export default configPkg()
132 changes: 66 additions & 66 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,61 +22,53 @@
"scripts": {
"pretest": "npm run lint",
"test": "c8 npm run quick:test",
"clean": "del-cli build",
"lint": "eslint",
"format": "prettier --write .",
"typecheck": "tsc --noEmit",
"precompile": "npm run lint && npm run clean",
"precompile": "npm run lint",
"compile": "tsup-node && tsc --emitDeclarationOnly --declaration",
"build": "npm run compile",
"prepublishOnly": "npm run build",
"lint": "eslint . --ext=.ts",
"format": "prettier --write .",
"release": "np",
"version": "npm run build",
"sync-labels": "github-label-sync --labels .github/labels.json edge-js/edge",
"quick:test": "node --enable-source-maps --loader=ts-node/esm bin/test.ts"
"prepublishOnly": "npm run build",
"release": "release-it",
"quick:test": "node --import=ts-node-maintained/register/esm --enable-source-maps bin/test.ts"
},
"devDependencies": {
"@adonisjs/eslint-config": "^1.3.0",
"@adonisjs/prettier-config": "^1.3.0",
"@adonisjs/tsconfig": "^1.3.0",
"@commitlint/cli": "^19.2.0",
"@commitlint/config-conventional": "^19.1.0",
"@japa/assert": "^2.1.0",
"@japa/file-system": "^2.2.0",
"@japa/runner": "^3.1.1",
"@adonisjs/eslint-config": "^2.0.0-beta.7",
"@adonisjs/prettier-config": "^1.4.0",
"@adonisjs/tsconfig": "^1.4.0",
"@japa/assert": "^3.0.0",
"@japa/file-system": "^2.3.0",
"@japa/runner": "^3.1.4",
"@poppinss/dev-utils": "^2.0.3",
"@swc/core": "^1.4.8",
"@types/fs-readdir-recursive": "^1.1.2",
"@release-it/conventional-changelog": "^8.0.2",
"@swc/core": "^1.7.26",
"@types/fs-readdir-recursive": "^1.1.3",
"@types/he": "^1.2.3",
"@types/node": "^20.11.29",
"c8": "^9.1.0",
"@types/node": "^22.5.5",
"c8": "^10.1.2",
"dedent-js": "^1.0.1",
"del-cli": "^5.1.0",
"eslint": "^8.57.0",
"github-label-sync": "^2.2.0",
"husky": "^9.0.11",
"np": "^10.0.1",
"prettier": "^3.2.5",
"ts-node": "^10.9.2",
"tsup": "^8.0.2",
"typescript": "^5.4.2"
"eslint": "^9.10.0",
"prettier": "^3.3.3",
"release-it": "^17.6.0",
"ts-node-maintained": "^10.9.4",
"tsup": "^8.3.0",
"typescript": "^5.6.2"
},
"dependencies": {
"@poppinss/inspect": "^1.0.1",
"@poppinss/macroable": "^1.0.1",
"@poppinss/utils": "^6.7.2",
"@poppinss/macroable": "^1.0.3",
"@poppinss/utils": "^6.8.1",
"classnames": "^2.5.1",
"edge-error": "^4.0.1",
"edge-lexer": "^6.0.1",
"edge-parser": "^9.0.2",
"edge-lexer": "^6.0.2",
"edge-parser": "^9.0.3",
"fs-readdir-recursive": "^1.1.0",
"he": "^1.2.0",
"js-stringify": "^1.0.2",
"property-information": "^6.4.1",
"property-information": "^6.5.0",
"stringify-attributes": "^4.0.0"
},
"author": "virk",
"license": "MIT",
"homepage": "https://github.com/poppinss/edge#readme",
"repository": {
"type": "git",
Expand All @@ -85,42 +77,16 @@
"bugs": {
"url": "https://github.com/poppinss/edge/issues"
},
"directories": {
"example": "examples",
"test": "test"
},
"keywords": [
"template",
"mustache",
"edge"
],
"eslintConfig": {
"extends": "@adonisjs/eslint-config/package"
},
"prettier": "@adonisjs/prettier-config",
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"author": "virk",
"license": "MIT",
"publishConfig": {
"access": "public",
"tag": "latest"
},
"np": {
"message": "chore(release): %s",
"tag": "latest",
"branch": "main",
"anyBranch": false
},
"c8": {
"reporter": [
"text",
"html"
],
"exclude": [
"tests/**"
]
"provenance": true
},
"tsup": {
"entry": [
Expand All @@ -134,5 +100,39 @@
"dts": false,
"sourcemap": true,
"target": "esnext"
}
},
"release-it": {
"git": {
"requireCleanWorkingDir": true,
"requireUpstream": true,
"commitMessage": "chore(release): ${version}",
"tagAnnotation": "v${version}",
"push": true,
"tagName": "v${version}"
},
"github": {
"release": true
},
"npm": {
"publish": true,
"skipChecks": true
},
"plugins": {
"@release-it/conventional-changelog": {
"preset": {
"name": "angular"
}
}
}
},
"c8": {
"reporter": [
"text",
"html"
],
"exclude": [
"tests/**"
]
},
"prettier": "@adonisjs/prettier-config"
}
2 changes: 1 addition & 1 deletion tests/compiler.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import './assert_extend.js'
import dedent from 'dedent-js'
import { join } from 'node:path'
import { test } from '@japa/runner'
// @ts-ignore untyped module
// @ts-expect-error "untyped module"
import stringify from 'js-stringify'
import { TagTypes, MustacheTypes } from 'edge-lexer'

Expand Down
3 changes: 1 addition & 2 deletions tests_helpers/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,12 @@

import { sep } from 'node:path'
import { EOL } from 'node:os'
// @ts-ignore untyped module
// @ts-expect-error "untyped module"
import stringify from 'js-stringify'

export const BASE_URL = new URL('./tmp/', import.meta.url)

export function normalizeNewLines(value: string) {
// eslint-disable-next-line @typescript-eslint/quotes
return value.replace(/\+=\s"\\n"/g, `+= ${EOL === '\n' ? `"\\n"` : `"\\r\\n"`}`)
}

Expand Down

0 comments on commit c5e2032

Please sign in to comment.