0.0.12 • Published 1 year ago

@awsless/ts-file-cache v0.0.12

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@awsless/ts-file-cache

Attempt to create a hash from an js/ts file and all it's dependecies. The goal is to generate a new hash when ever the file or it's dependecies change.

const workspace = await loadWorkspace('.')
const hash = await generateFileHash(workspace, "./file.ts")
const workspace = await loadWorkspace('.')
const hash = await generateFolderHash(workspace, "./src")

Known issue's

  • When we walk the AST tree with the "swc-walk" package it could fail in some code bases. Right now we just silently fail which could lead to an incorrect cache key.
0.0.11

1 year ago

0.0.12

1 year ago

0.0.10

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago