0.0.12 • Published 8 months ago

@awsless/ts-file-cache v0.0.12

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months 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

8 months ago

0.0.12

8 months ago

0.0.10

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago