@simplysm/sd-cli 14.0.9 → 14.0.10
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@simplysm/sd-cli",
|
|
3
|
-
"version": "14.0.
|
|
3
|
+
"version": "14.0.10",
|
|
4
4
|
"description": "Simplysm package - CLI tool",
|
|
5
5
|
"author": "simplysm",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -39,9 +39,9 @@
|
|
|
39
39
|
"vite-plugin-pwa": "^1.2.0",
|
|
40
40
|
"vite-tsconfig-paths": "^6.1.1",
|
|
41
41
|
"yargs": "^18.0.0",
|
|
42
|
-
"@simplysm/core-common": "14.0.
|
|
43
|
-
"@simplysm/
|
|
44
|
-
"@simplysm/
|
|
42
|
+
"@simplysm/core-common": "14.0.10",
|
|
43
|
+
"@simplysm/core-node": "14.0.10",
|
|
44
|
+
"@simplysm/storage": "14.0.10"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@types/semver": "^7.7.1",
|
|
@@ -11,14 +11,14 @@ describe("ngtsc-build-core: NgtscProgram AOT compilation", () => {
|
|
|
11
11
|
beforeAll(() => {
|
|
12
12
|
// Clean dist before tests
|
|
13
13
|
if (fs.existsSync(distDir)) {
|
|
14
|
-
fs.rmSync(distDir, { recursive: true, force: true });
|
|
14
|
+
fs.rmSync(distDir, { recursive: true, force: true, maxRetries: 3, retryDelay: 100 });
|
|
15
15
|
}
|
|
16
16
|
});
|
|
17
17
|
|
|
18
18
|
afterAll(() => {
|
|
19
19
|
// Clean up dist after tests
|
|
20
20
|
if (fs.existsSync(distDir)) {
|
|
21
|
-
fs.rmSync(distDir, { recursive: true, force: true });
|
|
21
|
+
fs.rmSync(distDir, { recursive: true, force: true, maxRetries: 3, retryDelay: 100 });
|
|
22
22
|
}
|
|
23
23
|
});
|
|
24
24
|
|
|
@@ -63,7 +63,7 @@ describe("ngtsc-build-core: NgtscProgram AOT compilation", () => {
|
|
|
63
63
|
it("outputs .d.ts files with Angular type metadata", async () => {
|
|
64
64
|
// Clean dist and run with dts: true
|
|
65
65
|
if (fs.existsSync(distDir)) {
|
|
66
|
-
fs.rmSync(distDir, { recursive: true, force: true });
|
|
66
|
+
fs.rmSync(distDir, { recursive: true, force: true, maxRetries: 3, retryDelay: 100 });
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
const result = await runNgtscBuild({
|
|
@@ -96,7 +96,7 @@ describe("ngtsc-build-core: NgtscProgram AOT compilation", () => {
|
|
|
96
96
|
// Acceptance: Scenario "run()에서 dts: false면 .d.ts를 생략한다"
|
|
97
97
|
it("omits .d.ts when output is {js: true, dts: false}", async () => {
|
|
98
98
|
if (fs.existsSync(distDir)) {
|
|
99
|
-
fs.rmSync(distDir, { recursive: true, force: true });
|
|
99
|
+
fs.rmSync(distDir, { recursive: true, force: true, maxRetries: 3, retryDelay: 100 });
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
const result = await runNgtscBuild({
|
|
@@ -119,7 +119,7 @@ describe("ngtsc-build-core: NgtscProgram AOT compilation", () => {
|
|
|
119
119
|
// Acceptance: Scenario "TypeScript + Angular diagnostics를 통합 수집한다"
|
|
120
120
|
it("collects diagnostics from both TypeScript and Angular compiler", async () => {
|
|
121
121
|
if (fs.existsSync(distDir)) {
|
|
122
|
-
fs.rmSync(distDir, { recursive: true, force: true });
|
|
122
|
+
fs.rmSync(distDir, { recursive: true, force: true, maxRetries: 3, retryDelay: 100 });
|
|
123
123
|
}
|
|
124
124
|
|
|
125
125
|
const result = await runNgtscBuild({
|
|
@@ -153,7 +153,7 @@ describe("ngtsc-build-core: NgtscProgram AOT compilation", () => {
|
|
|
153
153
|
// Acceptance: Scenario "scss/styles.scss가 CSS로 컴파일되어 dist에 출력된다"
|
|
154
154
|
it("compiles scss/styles.scss to dist/styles.css", async () => {
|
|
155
155
|
if (fs.existsSync(distDir)) {
|
|
156
|
-
fs.rmSync(distDir, { recursive: true, force: true });
|
|
156
|
+
fs.rmSync(distDir, { recursive: true, force: true, maxRetries: 3, retryDelay: 100 });
|
|
157
157
|
}
|
|
158
158
|
|
|
159
159
|
const result = await runNgtscBuild({
|