@tailor-platform/create-sdk 0.12.1 → 0.12.3
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 +10 -0
- package/dist/index.js +4 -2
- package/package.json +2 -3
- package/templates/hello-world/package.json +2 -2
- package/templates/inventory-management/package.json +2 -2
- package/templates/multi-application/package.json +2 -2
- package/templates/testing/package.json +2 -2
- /package/templates/hello-world/{.gitignore → __dot__gitignore} +0 -0
- /package/templates/inventory-management/{.gitignore → __dot__gitignore} +0 -0
- /package/templates/multi-application/{.gitignore → __dot__gitignore} +0 -0
- /package/templates/testing/{.gitignore → __dot__gitignore} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @tailor-platform/create-sdk
|
|
2
2
|
|
|
3
|
+
## 0.12.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#101](https://github.com/tailor-platform/sdk/pull/101) [`029bd30`](https://github.com/tailor-platform/sdk/commit/029bd30b7c12ba9b69d7c61357da7bd312b72dad) Thanks [@remiposo](https://github.com/remiposo)! - Include .gitignore when running with npm
|
|
8
|
+
|
|
9
|
+
Fixed an issue where .gitignore was renamed to .npmignore when running with npm.
|
|
10
|
+
|
|
11
|
+
## 0.12.2
|
|
12
|
+
|
|
3
13
|
## 0.12.1
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|
package/dist/index.js
CHANGED
|
@@ -5,8 +5,8 @@ import { defineCommand, runMain } from "citty";
|
|
|
5
5
|
import pc from "picocolors";
|
|
6
6
|
import { readPackageJSON } from "pkg-types";
|
|
7
7
|
import { existsSync } from "node:fs";
|
|
8
|
-
import { cp, readdir } from "node:fs/promises";
|
|
9
|
-
import { resolve } from "node:path";
|
|
8
|
+
import { cp, readdir, rename } from "node:fs/promises";
|
|
9
|
+
import { join, resolve } from "node:path";
|
|
10
10
|
import { execa } from "execa";
|
|
11
11
|
|
|
12
12
|
//#region src/context.ts
|
|
@@ -88,6 +88,8 @@ const copyProject = async (ctx) => {
|
|
|
88
88
|
recursive: true,
|
|
89
89
|
force: true
|
|
90
90
|
});
|
|
91
|
+
const dotGitignorePath = join(ctx.projectDir, "__dot__gitignore");
|
|
92
|
+
if (existsSync(dotGitignorePath)) await rename(dotGitignorePath, join(ctx.projectDir, ".gitignore"));
|
|
91
93
|
s.stop("✅ Template copied");
|
|
92
94
|
};
|
|
93
95
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tailor-platform/create-sdk",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.3",
|
|
4
4
|
"description": "A CLI tool to quickly create a new Tailor Platform SDK project",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
"files": [
|
|
14
14
|
"dist",
|
|
15
15
|
"templates",
|
|
16
|
-
"templates/*/.gitignore",
|
|
17
16
|
"README.md",
|
|
18
17
|
"CHANGELOG.md",
|
|
19
18
|
"LICENSE"
|
|
@@ -38,6 +37,6 @@
|
|
|
38
37
|
"lint": "eslint --cache .",
|
|
39
38
|
"lint:fix": "eslint --cache --fix .",
|
|
40
39
|
"typecheck": "tsc --noEmit",
|
|
41
|
-
"prepublish": "node scripts/
|
|
40
|
+
"prepublish": "node scripts/prepare-templates.js && pnpm run build"
|
|
42
41
|
}
|
|
43
42
|
}
|
|
@@ -12,10 +12,10 @@
|
|
|
12
12
|
},
|
|
13
13
|
"devDependencies": {
|
|
14
14
|
"@eslint/js": "9.39.1",
|
|
15
|
-
"@tailor-platform/sdk": "0.12.
|
|
15
|
+
"@tailor-platform/sdk": "0.12.3",
|
|
16
16
|
"@types/node": "22.19.1",
|
|
17
17
|
"eslint": "9.39.1",
|
|
18
|
-
"prettier": "3.
|
|
18
|
+
"prettier": "3.7.1",
|
|
19
19
|
"typescript": "5.9.3",
|
|
20
20
|
"typescript-eslint": "8.48.0"
|
|
21
21
|
}
|
|
@@ -18,10 +18,10 @@
|
|
|
18
18
|
"devDependencies": {
|
|
19
19
|
"@eslint/js": "9.39.1",
|
|
20
20
|
"@tailor-platform/function-types": "0.7.2",
|
|
21
|
-
"@tailor-platform/sdk": "0.12.
|
|
21
|
+
"@tailor-platform/sdk": "0.12.3",
|
|
22
22
|
"@types/node": "22.19.1",
|
|
23
23
|
"eslint": "9.39.1",
|
|
24
|
-
"prettier": "3.
|
|
24
|
+
"prettier": "3.7.1",
|
|
25
25
|
"typescript": "5.9.3",
|
|
26
26
|
"typescript-eslint": "8.48.0"
|
|
27
27
|
}
|
|
@@ -14,10 +14,10 @@
|
|
|
14
14
|
},
|
|
15
15
|
"devDependencies": {
|
|
16
16
|
"@eslint/js": "9.39.1",
|
|
17
|
-
"@tailor-platform/sdk": "0.12.
|
|
17
|
+
"@tailor-platform/sdk": "0.12.3",
|
|
18
18
|
"@types/node": "22.19.1",
|
|
19
19
|
"eslint": "9.39.1",
|
|
20
|
-
"prettier": "3.
|
|
20
|
+
"prettier": "3.7.1",
|
|
21
21
|
"typescript": "5.9.3",
|
|
22
22
|
"typescript-eslint": "8.48.0"
|
|
23
23
|
}
|
|
@@ -21,11 +21,11 @@
|
|
|
21
21
|
"devDependencies": {
|
|
22
22
|
"@eslint/js": "9.39.1",
|
|
23
23
|
"@tailor-platform/function-types": "0.7.2",
|
|
24
|
-
"@tailor-platform/sdk": "0.12.
|
|
24
|
+
"@tailor-platform/sdk": "0.12.3",
|
|
25
25
|
"@types/node": "22.19.1",
|
|
26
26
|
"eslint": "9.39.1",
|
|
27
27
|
"graphql-request": "7.3.4",
|
|
28
|
-
"prettier": "3.
|
|
28
|
+
"prettier": "3.7.1",
|
|
29
29
|
"typescript": "5.9.3",
|
|
30
30
|
"typescript-eslint": "8.48.0",
|
|
31
31
|
"vitest": "4.0.14"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|