static-file-mapper-build 0.3.39 → 0.3.42

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +21 -1
  2. package/package.json +5 -6
package/README.md CHANGED
@@ -1,3 +1,23 @@
1
- # Static File Mapper
1
+ [![npm version](https://badge.fury.io/js/static-file-mapper-build.svg)](https://badge.fury.io/js/static-file-mapper-build)
2
+
3
+ # Static File Mapper Build
2
4
 
3
5
  Helps with managing static files for frontend deployments during deployments.
6
+
7
+ This utility has been developed for the [Goldstack](https://goldstack.party) starter project builder. Check it out for starting your next project ❤️
8
+ ## Installation
9
+
10
+ ```bash
11
+ npm install static-file-mapper-build
12
+ ```
13
+
14
+ ## Usage
15
+
16
+ This library helps tracking paths to generated static files for deployment bundles during build time.
17
+ ```typescript
18
+ import { createStaticFileMapperBuild } from 'static-file-mapper-build';
19
+
20
+ // Example usage
21
+ const mapper = createStaticFileMapperBuild();
22
+
23
+ ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "static-file-mapper-build",
3
- "version": "0.3.39",
3
+ "version": "0.3.42",
4
4
  "description": "Helps tracking path to generated static files for deployment bundles",
5
5
  "keywords": [
6
6
  "javascript"
@@ -26,16 +26,15 @@
26
26
  "compile-watch:light": "nodemon --watch ./src/ -e '*' --exec 'yarn compile'",
27
27
  "coverage": "jest --collect-coverage --passWithNoTests --config=./jest.config.js --runInBand",
28
28
  "prepublishOnly": "yarn run build",
29
- "publish": "utils-git changed --exec \"yarn npm publish $@\"",
29
+ "publish": "yarn npm publish --tolerate-republish",
30
30
  "test": "jest --passWithNoTests --config=./jest.config.js --runInBand",
31
- "version:apply": "utils-git changed --exec \"yarn version $@ && yarn version apply\""
31
+ "patch-when-changed": "git diff --quiet HEAD^...HEAD -- . && git diff --quiet -- . && git diff --quiet --staged -- . || yarn version patch"
32
32
  },
33
33
  "dependencies": {
34
- "@goldstack/utils-sh": "0.5.34",
35
- "static-file-mapper": "0.3.27"
34
+ "@goldstack/utils-sh": "0.5.38",
35
+ "static-file-mapper": "0.3.30"
36
36
  },
37
37
  "devDependencies": {
38
- "@goldstack/utils-git": "0.2.22",
39
38
  "@swc/core": "^1.15.8",
40
39
  "@swc/jest": "^0.2.39",
41
40
  "@types/aws-lambda": "^8.10.159",