@nexim/service-worker 1.0.0-alpha.0 → 1.0.0-alpha.2
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/CHANGELOG.md +10 -0
- package/README.md +3 -4
- package/dist/main.cjs +2 -2
- package/dist/main.mjs +2 -2
- package/package.json +49 -20
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,16 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [1.0.0-alpha.2](https://github.com/the-nexim/nanolib/compare/@nexim/service-worker@1.0.0-alpha.1...@nexim/service-worker@1.0.0-alpha.2) (2025-01-05)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @nexim/service-worker
|
|
9
|
+
|
|
10
|
+
## [1.0.0-alpha.1](https://github.com/the-nexim/nanolib/compare/@nexim/service-worker@1.0.0-alpha.0...@nexim/service-worker@1.0.0-alpha.1) (2024-12-24)
|
|
11
|
+
|
|
12
|
+
### Code Refactoring
|
|
13
|
+
|
|
14
|
+
* migrate scripts to use wireit for improved build process ([#23](https://github.com/the-nexim/nanolib/issues/23)) ([3376d29](https://github.com/the-nexim/nanolib/commit/3376d2944332f3f28a91eba6b63a8fa981faf774)) by @arashagp
|
|
15
|
+
|
|
6
16
|
## 1.0.0-alpha.0 (2024-12-17)
|
|
7
17
|
|
|
8
18
|
### Features
|
package/README.md
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
# @nexim/service-worker
|
|
2
2
|
|
|
3
|
-

|
|
3
|
+

|
|
5
4
|

|
|
6
|
-

|
|
6
|
+

|
|
8
7
|
|
|
9
8
|
## Overview
|
|
10
9
|
|
package/dist/main.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @nexim/service-worker v1.0.0-alpha.
|
|
1
|
+
/* @nexim/service-worker v1.0.0-alpha.2 */
|
|
2
2
|
"use strict";
|
|
3
3
|
var __defProp = Object.defineProperty;
|
|
4
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -28,7 +28,7 @@ module.exports = __toCommonJS(main_exports);
|
|
|
28
28
|
var import_flux = require("@alwatr/flux");
|
|
29
29
|
var import_logger = require("@alwatr/logger");
|
|
30
30
|
var import_package_tracer = require("@alwatr/package-tracer");
|
|
31
|
-
__dev_mode__: import_package_tracer.packageTracer.add("@nexim/service-worker", "1.0.0-alpha.
|
|
31
|
+
__dev_mode__: import_package_tracer.packageTracer.add("@nexim/service-worker", "1.0.0-alpha.2");
|
|
32
32
|
var logger = /* @__PURE__ */ (0, import_logger.createLogger)("@nexim/service-worker");
|
|
33
33
|
var serviceWorkerSignal = /* @__PURE__ */ new import_flux.AlwatrSignal({
|
|
34
34
|
name: "serviceWorker"
|
package/dist/main.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
/* @nexim/service-worker v1.0.0-alpha.
|
|
1
|
+
/* @nexim/service-worker v1.0.0-alpha.2 */
|
|
2
2
|
|
|
3
3
|
// src/main.ts
|
|
4
4
|
import { AlwatrSignal } from "@alwatr/flux";
|
|
5
5
|
import { createLogger } from "@alwatr/logger";
|
|
6
6
|
import { packageTracer } from "@alwatr/package-tracer";
|
|
7
|
-
__dev_mode__: packageTracer.add("@nexim/service-worker", "1.0.0-alpha.
|
|
7
|
+
__dev_mode__: packageTracer.add("@nexim/service-worker", "1.0.0-alpha.2");
|
|
8
8
|
var logger = /* @__PURE__ */ createLogger("@nexim/service-worker");
|
|
9
9
|
var serviceWorkerSignal = /* @__PURE__ */ new AlwatrSignal({
|
|
10
10
|
name: "serviceWorker"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nexim/service-worker",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.2",
|
|
4
4
|
"description": "Utilities to simplify the usage of service workers in your web applications.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"worker",
|
|
@@ -36,24 +36,12 @@
|
|
|
36
36
|
"files": [
|
|
37
37
|
"**/*.{js,mjs,cjs,map,d.ts,html,md,LEGAL.txt}",
|
|
38
38
|
"LICENSE",
|
|
39
|
-
"!**/*.test.js"
|
|
40
|
-
"!demo/**/*"
|
|
39
|
+
"!**/*.test.js"
|
|
41
40
|
],
|
|
42
41
|
"scripts": {
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"build:ts": "tsc --build",
|
|
47
|
-
"c": "yarn run clean",
|
|
48
|
-
"cb": "yarn run clean && yarn run build",
|
|
49
|
-
"clean": "rm -rfv dist *.tsbuildinfo",
|
|
50
|
-
"d": "yarn run build:es && yarn node --enable-source-maps --trace-warnings",
|
|
51
|
-
"t": "yarn run test",
|
|
52
|
-
"test": "NODE_OPTIONS=\"$NODE_OPTIONS --enable-source-maps --experimental-vm-modules\" ava",
|
|
53
|
-
"w": "yarn run watch",
|
|
54
|
-
"watch": "yarn run watch:ts & yarn run watch:es",
|
|
55
|
-
"watch:es": "yarn run build:es --watch",
|
|
56
|
-
"watch:ts": "yarn run build:ts --watch --preserveWatchOutput"
|
|
42
|
+
"build": "wireit",
|
|
43
|
+
"test": "wireit",
|
|
44
|
+
"watch": "wireit"
|
|
57
45
|
},
|
|
58
46
|
"dependencies": {
|
|
59
47
|
"@alwatr/flux": "^4.0.2",
|
|
@@ -63,12 +51,53 @@
|
|
|
63
51
|
"devDependencies": {
|
|
64
52
|
"@alwatr/nano-build": "^5.0.0",
|
|
65
53
|
"@alwatr/type-helper": "^5.0.0",
|
|
66
|
-
"@nexim/typescript-config": "^1.0
|
|
54
|
+
"@nexim/typescript-config": "^1.1.0",
|
|
67
55
|
"ava": "^6.2.0",
|
|
68
|
-
"typescript": "^5.
|
|
56
|
+
"typescript": "^5.7.2",
|
|
57
|
+
"wireit": "^0.14.9"
|
|
69
58
|
},
|
|
70
59
|
"publishConfig": {
|
|
71
60
|
"access": "public"
|
|
72
61
|
},
|
|
73
|
-
"
|
|
62
|
+
"wireit": {
|
|
63
|
+
"test": {
|
|
64
|
+
"command": "NODE_OPTIONS=\"$NODE_OPTIONS --enable-source-maps --experimental-vm-modules\" ava"
|
|
65
|
+
},
|
|
66
|
+
"build": {
|
|
67
|
+
"dependencies": [
|
|
68
|
+
"build:type",
|
|
69
|
+
"build:es"
|
|
70
|
+
]
|
|
71
|
+
},
|
|
72
|
+
"build:es": {
|
|
73
|
+
"command": "nano-build --preset=module",
|
|
74
|
+
"files": [
|
|
75
|
+
"src",
|
|
76
|
+
"tsconfig.json"
|
|
77
|
+
],
|
|
78
|
+
"clean": "if-file-deleted",
|
|
79
|
+
"output": [
|
|
80
|
+
"dist",
|
|
81
|
+
"tsconfig.tsbuildinfo"
|
|
82
|
+
]
|
|
83
|
+
},
|
|
84
|
+
"build:type": {
|
|
85
|
+
"command": "tsc --build"
|
|
86
|
+
},
|
|
87
|
+
"watch": {
|
|
88
|
+
"dependencies": [
|
|
89
|
+
"watch:es",
|
|
90
|
+
"watch:ts"
|
|
91
|
+
]
|
|
92
|
+
},
|
|
93
|
+
"watch:ts": {
|
|
94
|
+
"command": "tsc --build --watch --preserveWatchOutput",
|
|
95
|
+
"service": true
|
|
96
|
+
},
|
|
97
|
+
"watch:es": {
|
|
98
|
+
"command": "nano-build --preset=module --watch",
|
|
99
|
+
"service": true
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
"gitHead": "52096aedc16222a434b2badfe7e860f671c1c5f8"
|
|
74
103
|
}
|