@citolab/tspci 2.5.30-beta.10 → 2.5.30-beta.11
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 +11 -0
- package/package.json +2 -2
- package/src/cli.js +10 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [2.5.30-beta.11](/compare/v2.5.30-beta.10...v2.5.30-beta.11) (2025-02-04)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* add tailwindcss to devDependencies and set version based on @tailwindcss/postcss 907b541
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## [2.5.30-beta.10](/compare/v2.5.30-beta.9...v2.5.30-beta.10) (2025-02-04)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @citolab/tspci
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@citolab/tspci",
|
|
3
|
-
"version": "2.5.30-beta.
|
|
3
|
+
"version": "2.5.30-beta.11",
|
|
4
4
|
"description": "an opiniated typescript ims-pci builder with tao integration",
|
|
5
5
|
"author": "patrick <patrick.deklein@cito.nl>",
|
|
6
6
|
"repository": "@citolab/tspci",
|
|
@@ -51,5 +51,5 @@
|
|
|
51
51
|
"resolutions": {
|
|
52
52
|
"chokidar": "^4.0.0"
|
|
53
53
|
},
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "b49f38a0dcf06c589224b7730c5dc9cbd31ccccd"
|
|
55
55
|
}
|
package/src/cli.js
CHANGED
|
@@ -304,13 +304,23 @@ const run = async () => {
|
|
|
304
304
|
const packageJsonCliContent = fs.readFileSync(packageJsonCli, "utf8");
|
|
305
305
|
const packageJsonCliContentJson = JSON.parse(packageJsonCliContent);
|
|
306
306
|
// add all plugins to package.json and map the version to the version in tspci package.json
|
|
307
|
+
let version = "latest";
|
|
307
308
|
for (const pluginName of pluginNames) {
|
|
308
309
|
const pluginVersion = packageJsonCliContentJson.dependencies[pluginName];
|
|
310
|
+
if (pluginName === "@tailwindcss/postcss") {
|
|
311
|
+
version = pluginVersion.toString();
|
|
312
|
+
}
|
|
309
313
|
packageJsonContentJson.devDependencies = {
|
|
310
314
|
...packageJsonContentJson.devDependencies,
|
|
311
315
|
[pluginName]: pluginVersion,
|
|
312
316
|
};
|
|
313
317
|
}
|
|
318
|
+
|
|
319
|
+
// add tailwindcss itself to the devDependencies
|
|
320
|
+
packageJsonContentJson.devDependencies = {
|
|
321
|
+
...packageJsonContentJson.devDependencies,
|
|
322
|
+
tailwindcss: version,
|
|
323
|
+
};
|
|
314
324
|
const newPackageJsonContent = JSON.stringify(packageJsonContentJson, null, 2);
|
|
315
325
|
fs.writeFileSync(packageJson, newPackageJsonContent);
|
|
316
326
|
// copy tailwind config file
|