fix(build): migrate package config to .smartconfig and align build tooling

This commit is contained in:
2026-03-27 16:56:48 +00:00
parent f4f4ec5024
commit caf228b32d
8 changed files with 1680 additions and 1531 deletions

View File

@@ -35,5 +35,15 @@
},
"@ship.zone/szci": {
"npmGlobalTools": []
},
"@git.zone/tsbundle": {
"bundles": [
{
"from": "./ts/index.ts",
"to": "./dist_bundle/bundle.js",
"outputMode": "bundle",
"bundler": "esbuild"
}
]
}
}

View File

@@ -1,5 +1,13 @@
# Changelog
## 2026-03-27 - 2.2.4 - fix(build)
migrate package config to .smartconfig and align build tooling
- replace npmextra.json with .smartconfig.json and include tsbundle bundle configuration
- update build script and package files list to use the new smartconfig-based setup
- bump build-related dependencies and add Node types to tsconfig
- add definite assignment assertions for element properties to satisfy TypeScript checks
## 2026-03-12 - 2.2.3 - fix(repo)
no changes to commit

View File

@@ -1,4 +1,4 @@
Copyright (c) 2020 Lossless GmbH (hello@lossless.com)
Copyright (c) 2020 Task Venture Capital GmbH (hello@task.vc)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal

View File

@@ -10,17 +10,17 @@
"license": "MIT",
"scripts": {
"test": "(tstest test/ --verbose)",
"build": "(tsbuild tsfolders --web --allowimplicitany && tsbundle npm)",
"build": "(tsbuild tsfolders --web --allowimplicitany && tsbundle)",
"buildDocs": "tsdoc"
},
"devDependencies": {
"@git.zone/tsbuild": "^4.1.2",
"@git.zone/tsbundle": "^2.8.3",
"@git.zone/tstest": "^3.1.8",
"@types/node": "^25.0.10"
"@git.zone/tsbuild": "^4.4.0",
"@git.zone/tsbundle": "^2.10.0",
"@git.zone/tstest": "^3.6.1",
"@types/node": "^25.5.0"
},
"dependencies": {
"@design.estate/dees-domtools": "^2.5.1",
"@design.estate/dees-domtools": "^2.5.3",
"@push.rocks/isounique": "^1.0.5",
"@push.rocks/smartrx": "^3.0.10",
"lit": "^3.3.2"
@@ -37,7 +37,7 @@
"dist_ts_web/**/*",
"assets/**/*",
"cli.js",
"npmextra.json",
".smartconfig.json",
"readme.md"
],
"keywords": [

3168
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@design.estate/dees-element',
version: '2.2.3',
version: '2.2.4',
description: 'A library for creating custom elements extending the lit element class with additional functionalities.'
}

View File

@@ -21,10 +21,10 @@ export class DeesElement extends plugins.lit.LitElement {
public domtoolsPromise: Promise<plugins.domtools.DomTools>;
@plugins.lit.property()
public accessor domtools: plugins.domtools.DomTools;
public accessor domtools!: plugins.domtools.DomTools;
public rxSubscriptions: plugins.smartrx.rxjs.Subscription[] = [];
private themeSubscription: plugins.smartrx.rxjs.Subscription;
private themeSubscription!: plugins.smartrx.rxjs.Subscription;
private elementDomReadyDeferred = plugins.domtools.plugins.smartpromise.defer();
public elementDomReady = this.elementDomReadyDeferred.promise;

View File

@@ -4,7 +4,8 @@
"module": "NodeNext",
"moduleResolution": "NodeNext",
"esModuleInterop": true,
"verbatimModuleSyntax": true
"verbatimModuleSyntax": true,
"types": ["node"]
},
"exclude": [
"dist_*/**/*.d.ts"