fix(core): update
This commit is contained in:
		
							
								
								
									
										128
									
								
								.gitlab-ci.yml
									
									
									
									
									
								
							
							
						
						
									
										128
									
								
								.gitlab-ci.yml
									
									
									
									
									
								
							| @@ -1,128 +0,0 @@ | ||||
| # gitzone ci_default | ||||
| image: registry.gitlab.com/hosttoday/ht-docker-node:npmci | ||||
|  | ||||
| cache: | ||||
|   paths: | ||||
|     - .npmci_cache/ | ||||
|   key: '$CI_BUILD_STAGE' | ||||
|  | ||||
| stages: | ||||
|   - security | ||||
|   - test | ||||
|   - release | ||||
|   - metadata | ||||
|  | ||||
| before_script: | ||||
|   - pnpm install -g pnpm | ||||
|   - pnpm install -g @shipzone/npmci | ||||
|   - npmci npm prepare | ||||
|  | ||||
| # ==================== | ||||
| # security stage | ||||
| # ==================== | ||||
| # ==================== | ||||
| # security stage | ||||
| # ==================== | ||||
| auditProductionDependencies: | ||||
|   image: registry.gitlab.com/hosttoday/ht-docker-node:npmci | ||||
|   stage: security | ||||
|   script: | ||||
|      - npmci command npm config set registry https://registry.npmjs.org | ||||
|      - npmci command pnpm audit --audit-level=high --prod | ||||
|   tags: | ||||
|     - lossless | ||||
|     - docker | ||||
|   allow_failure: true | ||||
|  | ||||
| auditDevDependencies: | ||||
|   image: registry.gitlab.com/hosttoday/ht-docker-node:npmci | ||||
|   stage: security | ||||
|   script: | ||||
|     - npmci command npm config set registry https://registry.npmjs.org | ||||
|     - npmci command pnpm audit --audit-level=high --dev | ||||
|   tags: | ||||
|     - lossless | ||||
|     - docker | ||||
|   allow_failure: true | ||||
|  | ||||
| # ==================== | ||||
| # test stage | ||||
| # ==================== | ||||
|  | ||||
| testStable: | ||||
|   stage: test | ||||
|   script: | ||||
|     - npmci node install stable | ||||
|     - npmci npm install | ||||
|     - npmci npm test | ||||
|   coverage: /\d+.?\d+?\%\s*coverage/ | ||||
|   tags: | ||||
|     - docker | ||||
|  | ||||
| testBuild: | ||||
|   stage: test | ||||
|   script: | ||||
|     - npmci node install stable | ||||
|     - npmci npm install | ||||
|     - npmci npm build | ||||
|   coverage: /\d+.?\d+?\%\s*coverage/ | ||||
|   tags: | ||||
|     - docker | ||||
|  | ||||
| release: | ||||
|   stage: release | ||||
|   script: | ||||
|     - npmci node install stable | ||||
|     - npmci npm publish | ||||
|   only: | ||||
|     - tags | ||||
|   tags: | ||||
|     - lossless | ||||
|     - docker | ||||
|     - notpriv | ||||
|  | ||||
| # ==================== | ||||
| # metadata stage | ||||
| # ==================== | ||||
| codequality: | ||||
|   stage: metadata | ||||
|   allow_failure: true | ||||
|   only: | ||||
|     - tags | ||||
|   script: | ||||
|     - npmci command npm install -g typescript | ||||
|     - npmci npm prepare | ||||
|     - npmci npm install | ||||
|   tags: | ||||
|     - lossless | ||||
|     - docker | ||||
|     - priv | ||||
|  | ||||
| trigger: | ||||
|   stage: metadata | ||||
|   script: | ||||
|     - npmci trigger | ||||
|   only: | ||||
|     - tags | ||||
|   tags: | ||||
|     - lossless | ||||
|     - docker | ||||
|     - notpriv | ||||
|  | ||||
| pages: | ||||
|   stage: metadata | ||||
|   script: | ||||
|     - npmci node install stable | ||||
|     - npmci npm install | ||||
|     - npmci command npm run buildDocs | ||||
|   tags: | ||||
|     - lossless | ||||
|     - docker | ||||
|     - notpriv | ||||
|   only: | ||||
|     - tags | ||||
|   artifacts: | ||||
|     expire_in: 1 week | ||||
|     paths: | ||||
|       - public | ||||
|   allow_failure: true | ||||
							
								
								
									
										14
									
								
								package.json
									
									
									
									
									
								
							
							
						
						
									
										14
									
								
								package.json
									
									
									
									
									
								
							| @@ -14,18 +14,18 @@ | ||||
|     "buildDocs": "tsdoc" | ||||
|   }, | ||||
|   "devDependencies": { | ||||
|     "@gitzone/tsbuild": "^2.1.65", | ||||
|     "@gitzone/tsbundle": "^2.0.7", | ||||
|     "@gitzone/tsrun": "^1.2.39", | ||||
|     "@gitzone/tstest": "^1.0.73", | ||||
|     "@pushrocks/tapbundle": "^5.0.4", | ||||
|     "@git.zone/tsbuild": "^2.1.65", | ||||
|     "@git.zone/tsbundle": "^2.0.7", | ||||
|     "@git.zone/tsrun": "^1.2.39", | ||||
|     "@git.zone/tstest": "^1.0.73", | ||||
|     "@push.rocks/tapbundle": "^5.0.4", | ||||
|     "@types/node": "^18.7.23", | ||||
|     "why-is-node-running": "^2.2.2" | ||||
|   }, | ||||
|   "dependencies": { | ||||
|     "@designestate/dees-element": "^2.0.20", | ||||
|     "@design.estate/dees-element": "^2.0.20", | ||||
|     "@happy-dom/global-registrator": "^8.9.0", | ||||
|     "@pushrocks/smartpromise": "^3.1.7", | ||||
|     "@push.rocks/smartpromise": "^4.0.3", | ||||
|     "fake-indexeddb": "^4.0.1" | ||||
|   }, | ||||
|   "browserslist": [ | ||||
|   | ||||
							
								
								
									
										8316
									
								
								pnpm-lock.yaml
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										8316
									
								
								pnpm-lock.yaml
									
									
									
										generated
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							| @@ -1,5 +1,5 @@ | ||||
| import log from 'why-is-node-running'; | ||||
| import { expect, expectAsync, tap } from '@pushrocks/tapbundle'; | ||||
| import { expect, expectAsync, tap } from '@push.rocks/tapbundle'; | ||||
| import * as smartntml from '../ts/index.js'; | ||||
|  | ||||
| let testSmartntmlInstance: smartntml.Smartntml; | ||||
|   | ||||
| @@ -2,7 +2,7 @@ | ||||
|  * autocreated commitinfo by @pushrocks/commitinfo | ||||
|  */ | ||||
| export const commitinfo = { | ||||
|   name: '@pushrocks/smartntml', | ||||
|   version: '2.0.4', | ||||
|   description: 'lit-html for the backend' | ||||
|   name: '@push.rocks/smartntml', | ||||
|   version: '2.0.5', | ||||
|   description: 'Provides lit-html rendering capabilities for backend applications.' | ||||
| } | ||||
|   | ||||
| @@ -1,7 +1,7 @@ | ||||
| import './instrument/happydom.js'; | ||||
| import * as plugins from './smartntml.plugins.js'; | ||||
|  | ||||
| import * as deesElement from '@designestate/dees-element'; | ||||
| import * as deesElement from '@design.estate/dees-element'; | ||||
| export { deesElement }; | ||||
|  | ||||
| export class Smartntml { | ||||
|   | ||||
| @@ -1,10 +1,10 @@ | ||||
| // @pushrocks scope | ||||
| import * as smartpromise from '@pushrocks/smartpromise'; | ||||
| import * as smartpromise from '@push.rocks/smartpromise'; | ||||
|  | ||||
| export { smartpromise }; | ||||
|  | ||||
| // designestate | ||||
| import * as deesElement from '@designestate/dees-element'; | ||||
| import * as deesElement from '@design.estate/dees-element'; | ||||
|  | ||||
| export { deesElement }; | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user