@nexim/element 1.0.6 → 1.1.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/CHANGELOG.md +16 -0
- package/README.md +4 -4
- package/dist/main.cjs +2 -7
- package/dist/main.mjs +2 -2
- package/package.json +53 -21
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,22 @@
|
|
|
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.1.1](https://github.com/the-nexim/nanolib/compare/@nexim/element@1.1.0...@nexim/element@1.1.1) (2025-01-05)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* **element:** build for browser platform ([02b4573](https://github.com/the-nexim/nanolib/commit/02b45737e00d22d56c729bc4e5b80aa72edaf007)) by @njfamirm
|
|
11
|
+
|
|
12
|
+
## [1.1.0](https://github.com/the-nexim/nanolib/compare/@nexim/element@1.0.6...@nexim/element@1.1.0) (2024-12-24)
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
|
|
16
|
+
* **service-worker:** add service worker utilities and logging support ([#18](https://github.com/the-nexim/nanolib/issues/18)) ([d428086](https://github.com/the-nexim/nanolib/commit/d428086dd98fbb5dfd077d14de4de8dd29ed78dc)) by @
|
|
17
|
+
|
|
18
|
+
### Code Refactoring
|
|
19
|
+
|
|
20
|
+
* 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
|
|
21
|
+
|
|
6
22
|
## [1.0.6](https://github.com/the-nexim/nanolib/compare/@nexim/element@1.0.5...@nexim/element@1.0.6) (2024-12-10)
|
|
7
23
|
|
|
8
24
|
**Note:** Version bump only for package @nexim/element
|
package/README.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# @nexim/element
|
|
2
2
|
|
|
3
|
-

|
|
4
|
+

|
|
5
5
|

|
|
6
|
-

|
|
7
|
+

|
|
8
8
|
|
|
9
9
|
## Overview
|
|
10
10
|
|
package/dist/main.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @nexim/element v1.
|
|
1
|
+
/* @nexim/element v1.1.1 */
|
|
2
2
|
"use strict";
|
|
3
3
|
var __defProp = Object.defineProperty;
|
|
4
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -144,11 +144,6 @@ function LoggerMixin(superClass) {
|
|
|
144
144
|
}
|
|
145
145
|
|
|
146
146
|
// src/main.ts
|
|
147
|
-
__dev_mode__: import_package_tracer.packageTracer.add("@nexim/element", "1.
|
|
148
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
149
|
-
0 && (module.exports = {
|
|
150
|
-
LightDomMixin,
|
|
151
|
-
LoggerMixin
|
|
152
|
-
});
|
|
147
|
+
__dev_mode__: import_package_tracer.packageTracer.add("@nexim/element", "1.1.1");
|
|
153
148
|
/*! For license information please see main.cjs.LEGAL.txt */
|
|
154
149
|
//# sourceMappingURL=main.cjs.map
|
package/dist/main.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @nexim/element v1.
|
|
1
|
+
/* @nexim/element v1.1.1 */
|
|
2
2
|
|
|
3
3
|
// src/main.ts
|
|
4
4
|
import { packageTracer } from "@alwatr/package-tracer";
|
|
@@ -120,7 +120,7 @@ function LoggerMixin(superClass) {
|
|
|
120
120
|
}
|
|
121
121
|
|
|
122
122
|
// src/main.ts
|
|
123
|
-
__dev_mode__: packageTracer.add("@nexim/element", "1.
|
|
123
|
+
__dev_mode__: packageTracer.add("@nexim/element", "1.1.1");
|
|
124
124
|
export {
|
|
125
125
|
LightDomMixin,
|
|
126
126
|
LoggerMixin
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nexim/element",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"description": "Utility functions and mixins for building high-performance web components with Lit.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"lit",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"directory": "packages/element"
|
|
22
22
|
},
|
|
23
23
|
"license": "AGPL-3.0-only",
|
|
24
|
-
"author": "S. Amir Mohammad Najafi <njfamirm@gmail.com> (www.njfamirm.ir)",
|
|
24
|
+
"author": "S. Amir Mohammad Najafi <njfamirm@gmail.com> (https://www.njfamirm.ir)",
|
|
25
25
|
"contributors": [
|
|
26
26
|
"Arash Ghardashpoor <arash.qardashpoor@gmail.com> (https://www.agpagp.ir)"
|
|
27
27
|
],
|
|
@@ -39,24 +39,12 @@
|
|
|
39
39
|
"files": [
|
|
40
40
|
"**/*.{js,mjs,cjs,map,d.ts,html,md,LEGAL.txt}",
|
|
41
41
|
"LICENSE",
|
|
42
|
-
"!**/*.test.js"
|
|
43
|
-
"!demo/**/*"
|
|
42
|
+
"!**/*.test.js"
|
|
44
43
|
],
|
|
45
44
|
"scripts": {
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"build:ts": "tsc --build",
|
|
50
|
-
"c": "yarn run clean",
|
|
51
|
-
"cb": "yarn run clean && yarn run build",
|
|
52
|
-
"clean": "rm -rfv dist *.tsbuildinfo",
|
|
53
|
-
"d": "yarn run build:es && yarn node --enable-source-maps --trace-warnings",
|
|
54
|
-
"t": "yarn run test",
|
|
55
|
-
"test": "NODE_OPTIONS=\"$NODE_OPTIONS --enable-source-maps --experimental-vm-modules\" ava",
|
|
56
|
-
"w": "yarn run watch",
|
|
57
|
-
"watch": "yarn run watch:ts & yarn run watch:es",
|
|
58
|
-
"watch:es": "yarn run build:es --watch",
|
|
59
|
-
"watch:ts": "yarn run build:ts --watch --preserveWatchOutput"
|
|
45
|
+
"build": "wireit",
|
|
46
|
+
"test": "wireit",
|
|
47
|
+
"watch": "wireit"
|
|
60
48
|
},
|
|
61
49
|
"dependencies": {
|
|
62
50
|
"@alwatr/logger": "^5.0.0",
|
|
@@ -66,12 +54,56 @@
|
|
|
66
54
|
},
|
|
67
55
|
"devDependencies": {
|
|
68
56
|
"@alwatr/nano-build": "^5.0.0",
|
|
69
|
-
"@nexim/typescript-config": "^1.0
|
|
57
|
+
"@nexim/typescript-config": "^1.1.0",
|
|
70
58
|
"ava": "^6.2.0",
|
|
71
|
-
"typescript": "^5.
|
|
59
|
+
"typescript": "^5.7.2",
|
|
60
|
+
"wireit": "^0.14.9"
|
|
72
61
|
},
|
|
73
62
|
"publishConfig": {
|
|
74
63
|
"access": "public"
|
|
75
64
|
},
|
|
76
|
-
"
|
|
65
|
+
"nano-build": {
|
|
66
|
+
"platform": "browser"
|
|
67
|
+
},
|
|
68
|
+
"wireit": {
|
|
69
|
+
"test": {
|
|
70
|
+
"command": "NODE_OPTIONS=\"$NODE_OPTIONS --enable-source-maps --experimental-vm-modules\" ava"
|
|
71
|
+
},
|
|
72
|
+
"build": {
|
|
73
|
+
"dependencies": [
|
|
74
|
+
"build:type",
|
|
75
|
+
"build:es"
|
|
76
|
+
]
|
|
77
|
+
},
|
|
78
|
+
"build:es": {
|
|
79
|
+
"command": "nano-build --preset=module",
|
|
80
|
+
"files": [
|
|
81
|
+
"src",
|
|
82
|
+
"tsconfig.json"
|
|
83
|
+
],
|
|
84
|
+
"clean": "if-file-deleted",
|
|
85
|
+
"output": [
|
|
86
|
+
"dist",
|
|
87
|
+
"tsconfig.tsbuildinfo"
|
|
88
|
+
]
|
|
89
|
+
},
|
|
90
|
+
"build:type": {
|
|
91
|
+
"command": "tsc --build"
|
|
92
|
+
},
|
|
93
|
+
"watch": {
|
|
94
|
+
"dependencies": [
|
|
95
|
+
"watch:es",
|
|
96
|
+
"watch:ts"
|
|
97
|
+
]
|
|
98
|
+
},
|
|
99
|
+
"watch:ts": {
|
|
100
|
+
"command": "tsc --build --watch --preserveWatchOutput",
|
|
101
|
+
"service": true
|
|
102
|
+
},
|
|
103
|
+
"watch:es": {
|
|
104
|
+
"command": "nano-build --preset=module --watch",
|
|
105
|
+
"service": true
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
"gitHead": "52096aedc16222a434b2badfe7e860f671c1c5f8"
|
|
77
109
|
}
|