appstash 0.2.0 → 0.2.1
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.
- package/README.md +39 -3
- package/package.json +8 -5
package/README.md
CHANGED
|
@@ -6,8 +6,6 @@ Simple, clean application directory resolution for Node.js applications.
|
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
8
|
npm install appstash
|
|
9
|
-
# or
|
|
10
|
-
pnpm add appstash
|
|
11
9
|
```
|
|
12
10
|
|
|
13
11
|
## Features
|
|
@@ -242,4 +240,42 @@ console.log(dirs.config); // /opt/myapp/.myapp/config
|
|
|
242
240
|
- **Clean**: No pollution of exports, minimal API surface
|
|
243
241
|
- **Graceful**: Never throws, always returns valid paths
|
|
244
242
|
- **Fallback**: XDG only as absolute fallback, not primary
|
|
245
|
-
- **Focused**: Just directory resolution, no state management
|
|
243
|
+
- **Focused**: Just directory resolution, no state management
|
|
244
|
+
|
|
245
|
+
---
|
|
246
|
+
|
|
247
|
+
## Development
|
|
248
|
+
|
|
249
|
+
### Setup
|
|
250
|
+
|
|
251
|
+
1. Clone the repository:
|
|
252
|
+
|
|
253
|
+
```bash
|
|
254
|
+
git clone https://github.com/hyperweb-io/dev-utils.git
|
|
255
|
+
```
|
|
256
|
+
|
|
257
|
+
2. Install dependencies:
|
|
258
|
+
|
|
259
|
+
```bash
|
|
260
|
+
cd dev-utils
|
|
261
|
+
pnpm install
|
|
262
|
+
pnpm build
|
|
263
|
+
```
|
|
264
|
+
|
|
265
|
+
3. Test the package of interest:
|
|
266
|
+
|
|
267
|
+
```bash
|
|
268
|
+
cd packages/<packagename>
|
|
269
|
+
pnpm test:watch
|
|
270
|
+
```
|
|
271
|
+
|
|
272
|
+
## Credits
|
|
273
|
+
|
|
274
|
+
Built for developers, with developers.
|
|
275
|
+
👉 https://launchql.com | https://hyperweb.io
|
|
276
|
+
|
|
277
|
+
## Disclaimer
|
|
278
|
+
|
|
279
|
+
AS DESCRIBED IN THE LICENSES, THE SOFTWARE IS PROVIDED "AS IS", AT YOUR OWN RISK, AND WITHOUT WARRANTIES OF ANY KIND.
|
|
280
|
+
|
|
281
|
+
No developer or entity involved in creating this software will be liable for any claims or damages whatsoever associated with your use, inability to use, or your interaction with other users of the code, including any direct, indirect, incidental, special, exemplary, punitive or consequential damages, or loss of profits, cryptocurrencies, tokens, or anything else of value.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "appstash",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"author": "Dan Lynch <pyramation@gmail.com>",
|
|
5
5
|
"description": "Simple, clean application directory resolution",
|
|
6
6
|
"main": "index.js",
|
|
@@ -20,14 +20,17 @@
|
|
|
20
20
|
"url": "https://github.com/hyperweb-io/dev-utils/issues"
|
|
21
21
|
},
|
|
22
22
|
"scripts": {
|
|
23
|
-
"copy": "
|
|
24
|
-
"clean": "rimraf dist
|
|
23
|
+
"copy": "makage assets",
|
|
24
|
+
"clean": "rimraf dist",
|
|
25
25
|
"prepublishOnly": "npm run build",
|
|
26
|
-
"build": "npm run clean
|
|
26
|
+
"build": "npm run clean && makage build-ts && npm run copy",
|
|
27
27
|
"lint": "eslint . --fix",
|
|
28
28
|
"test": "jest",
|
|
29
29
|
"test:watch": "jest --watch"
|
|
30
30
|
},
|
|
31
|
+
"devDependencies": {
|
|
32
|
+
"makage": "0.1.3"
|
|
33
|
+
},
|
|
31
34
|
"keywords": [
|
|
32
35
|
"directories",
|
|
33
36
|
"config",
|
|
@@ -37,5 +40,5 @@
|
|
|
37
40
|
"xdg",
|
|
38
41
|
"appdirs"
|
|
39
42
|
],
|
|
40
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "6eb73b8f975306bef631af4a32f054fd225c36f9"
|
|
41
44
|
}
|