fix(test): move test workspace into .nogit and add bundled fixture project files
This commit is contained in:
@@ -1,5 +1,11 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 2026-04-30 - 2.14.3 - fix(test)
|
||||||
|
move test workspace into .nogit and add bundled fixture project files
|
||||||
|
|
||||||
|
- updates package scripts to clone and run the sandbox test repository from .nogit/test
|
||||||
|
- adds a complete test fixture project under test/ for CLI, template, and documentation-related test scenarios
|
||||||
|
|
||||||
## 2026-04-30 - 2.14.2 - fix(package)
|
## 2026-04-30 - 2.14.2 - fix(package)
|
||||||
correct package entry point extension and align test scripts with pnpm
|
correct package entry point extension and align test scripts with pnpm
|
||||||
|
|
||||||
|
|||||||
+13
-13
@@ -11,21 +11,21 @@
|
|||||||
"gzone": "./cli.js"
|
"gzone": "./cli.js"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "(pnpm run clean && pnpm run prepareTest && pnpm run testCli && pnpm run testFormat && pnpm run testCommit && pnpm run testDeprecate && pnpm run testVersion && pnpm run testReadme && pnpm run testUpdate && pnpm run testTemplateNpm && pnpm run testTemplateLit) && rm -rf test",
|
"test": "(pnpm run clean && pnpm run prepareTest && pnpm run testCli && pnpm run testFormat && pnpm run testCommit && pnpm run testDeprecate && pnpm run testVersion && pnpm run testReadme && pnpm run testUpdate && pnpm run testTemplateNpm && pnpm run testTemplateLit) && rm -rf .nogit/test",
|
||||||
"build": "tsbuild tsfolders",
|
"build": "tsbuild tsfolders",
|
||||||
"clean": "(rm -rf test/)",
|
"clean": "(rm -rf .nogit/test/)",
|
||||||
"prepareTest": "(git clone https://gitlab.com/sandboxzone/sandbox-npmts.git test/)",
|
"prepareTest": "(mkdir -p .nogit && git clone https://gitlab.com/sandboxzone/sandbox-npmts.git .nogit/test/)",
|
||||||
"testBuild": "pnpm run build && rm -r dist/",
|
"testBuild": "pnpm run build && rm -r dist/",
|
||||||
"testCli": "(cd test && node ../cli.ts.js)",
|
"testCli": "(cd .nogit/test && node ../../cli.ts.js)",
|
||||||
"testCommit": "(cd test && node ../cli.ts.js commit)",
|
"testCommit": "(cd .nogit/test && node ../../cli.ts.js commit)",
|
||||||
"testDeprecate": "(cd test && node ../cli.ts.js deprecate)",
|
"testDeprecate": "(cd .nogit/test && node ../../cli.ts.js deprecate)",
|
||||||
"testOpen": "(cd test && node ../cli.ts.js open ci)",
|
"testOpen": "(cd .nogit/test && node ../../cli.ts.js open ci)",
|
||||||
"testReadme": "(cd test && node ../cli.ts.js readme)",
|
"testReadme": "(cd .nogit/test && node ../../cli.ts.js readme)",
|
||||||
"testFormat": "(cd test && node ../cli.ts.js format)",
|
"testFormat": "(cd .nogit/test && node ../../cli.ts.js format)",
|
||||||
"testTemplateNpm": "(rm -rf test/testtemplate_npm/ && mkdir test/testtemplate_npm && cd test/testtemplate_npm && node ../../cli.ts.js template npm)",
|
"testTemplateNpm": "(rm -rf .nogit/test/testtemplate_npm/ && mkdir -p .nogit/test/testtemplate_npm && cd .nogit/test/testtemplate_npm && node ../../../cli.ts.js template npm)",
|
||||||
"testTemplateLit": "(rm -rf test/testtemplate_lit/ && mkdir test/testtemplate_lit && cd test/testtemplate_lit && node ../../cli.ts.js template lit)",
|
"testTemplateLit": "(rm -rf .nogit/test/testtemplate_lit/ && mkdir -p .nogit/test/testtemplate_lit && cd .nogit/test/testtemplate_lit && node ../../../cli.ts.js template lit)",
|
||||||
"testUpdate": "(cd test && node ../cli.ts.js update)",
|
"testUpdate": "(cd .nogit/test && node ../../cli.ts.js update)",
|
||||||
"testVersion": "(cd test && node ../cli.ts.js -v)",
|
"testVersion": "(cd .nogit/test && node ../../cli.ts.js -v)",
|
||||||
"buildDocs": "tsdoc"
|
"buildDocs": "tsdoc"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
|
|||||||
Submodule
+1
Submodule test added at 0b89443584
@@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@git.zone/cli',
|
name: '@git.zone/cli',
|
||||||
version: '2.14.2',
|
version: '2.14.3',
|
||||||
description: 'A comprehensive CLI tool for enhancing and managing local development workflows with gitzone utilities, focusing on project setup, version control, code formatting, and template management.'
|
description: 'A comprehensive CLI tool for enhancing and managing local development workflows with gitzone utilities, focusing on project setup, version control, code formatting, and template management.'
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user