@_linked/cli 1.41.0 → 1.41.1
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 +6 -0
- package/lib/esm/interfaces.d.ts +1 -1
- package/lib/esm/interfaces.js.map +1 -1
- package/package.json +1 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.41.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#220](https://github.com/linked-fw/cli/pull/220) [`e695372`](https://github.com/linked-fw/cli/commit/e695372eba7d3635643789fd5aff0ff05884ded1) Thanks [@flyon](https://github.com/flyon)! - Remove the unused `postcss`, `postcss-url` and `@tailwindcss/postcss` dependencies. Tailwind is compiled by `@tailwindcss/vite` (still a dependency), and Vite brings its own `postcss`.
|
|
8
|
+
|
|
3
9
|
## 1.41.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
package/lib/esm/interfaces.d.ts
CHANGED
|
@@ -86,7 +86,7 @@ export interface LinkedServerConfig {
|
|
|
86
86
|
export interface LinkedConfig {
|
|
87
87
|
/**
|
|
88
88
|
* CSS processing mode (shared by the Vite build and the server for SSR)
|
|
89
|
-
* - 'tailwind': Use Tailwind CSS v4
|
|
89
|
+
* - 'tailwind': Use Tailwind CSS v4 via the @tailwindcss/vite plugin. Still supports CSS Modules for .module.css files
|
|
90
90
|
* - 'postcss': Use PostCSS with nesting support and CSS Modules for .module.css files
|
|
91
91
|
* @default 'postcss'
|
|
92
92
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../src/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["export interface ModuleConfig {\n internals?: string[] | '*';\n entry?: string;\n filename?: string;\n declarations?: boolean;\n internalsources?: string[];\n externals?: {[npmModule: string]: string};\n target?: 'es5' | 'es6';\n es5?: ModuleConfig;\n es6?: ModuleConfig;\n dev?: ModuleConfig;\n prod?: ModuleConfig;\n debug?: boolean;\n alias?: {[oldNpmPath: string]: string};\n provide?: {};\n environment?: 'nodejs' | 'browser' | 'polymorphic';\n outputPath?: string;\n bundlePath?: string;\n es5Server?: boolean;\n analyse?: boolean;\n cssIdentName?: string;\n beforeBuildCommand?: string;\n afterBuildCommand?: string;\n afterBuildCommandProduction?: string;\n afterFirstBuildCommand?: string;\n cssGlobalModulePaths?: string;\n cssMode?: 'tailwind' | 'postcss';\n cssFileName?: string;\n //used to overwrite tsConfig settings of the usual build process\n tsConfigOverwrites?: Object;\n}\n\nexport interface AdjustedModuleConfig extends ModuleConfig {\n watch?: boolean;\n productionMode?: boolean;\n}\n\nexport interface PackageDetails {\n path: string;\n packageName: string;\n}\n\n/**\n * Server-specific configuration\n */\nexport interface LinkedServerConfig {\n /**\n * Paths to cache for server-side rendering (SSR)\n * Cached pages will be served from memory for faster response times\n */\n cachePaths?: string[];\n\n /**\n * Cache timeout in milliseconds for SSR rendered pages\n * After this time, cached pages will be re-rendered\n * @default 300000 (5 minutes)\n */\n cacheTimeout?: number;\n\n /**\n * Enable multi-core server processing (requires @semantu/multicore)\n * Spawns worker processes to handle requests across multiple CPU cores\n * @default false\n */\n multiCore?: boolean;\n\n /**\n * Function that loads the app component (for SSR and hot reloading)\n * Must be a function to support hot module reloading\n */\n loadAppComponent?: () => any;\n\n /**\n * Function that loads the app routes configuration (for SSR preloading)\n * Must be a function to support hot module reloading\n * Should return a RoutesModule from 'lincd-server'\n */\n loadRoutes?: () => Promise<any>;\n\n /**\n * Serve only the backend API (`/call/...`, `/api/...` and provider routes):\n * no server-side page rendering, so page requests get a 404.\n * `linked start --api-only` sets this.\n * @default false\n */\n apiOnly?: boolean;\n}\n\n/**\n * Complete Linked configuration\n */\nexport interface LinkedConfig {\n /**\n * CSS processing mode (shared by the Vite build and the server for SSR)\n * - 'tailwind': Use Tailwind CSS v4
|
|
1
|
+
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../src/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["export interface ModuleConfig {\n internals?: string[] | '*';\n entry?: string;\n filename?: string;\n declarations?: boolean;\n internalsources?: string[];\n externals?: {[npmModule: string]: string};\n target?: 'es5' | 'es6';\n es5?: ModuleConfig;\n es6?: ModuleConfig;\n dev?: ModuleConfig;\n prod?: ModuleConfig;\n debug?: boolean;\n alias?: {[oldNpmPath: string]: string};\n provide?: {};\n environment?: 'nodejs' | 'browser' | 'polymorphic';\n outputPath?: string;\n bundlePath?: string;\n es5Server?: boolean;\n analyse?: boolean;\n cssIdentName?: string;\n beforeBuildCommand?: string;\n afterBuildCommand?: string;\n afterBuildCommandProduction?: string;\n afterFirstBuildCommand?: string;\n cssGlobalModulePaths?: string;\n cssMode?: 'tailwind' | 'postcss';\n cssFileName?: string;\n //used to overwrite tsConfig settings of the usual build process\n tsConfigOverwrites?: Object;\n}\n\nexport interface AdjustedModuleConfig extends ModuleConfig {\n watch?: boolean;\n productionMode?: boolean;\n}\n\nexport interface PackageDetails {\n path: string;\n packageName: string;\n}\n\n/**\n * Server-specific configuration\n */\nexport interface LinkedServerConfig {\n /**\n * Paths to cache for server-side rendering (SSR)\n * Cached pages will be served from memory for faster response times\n */\n cachePaths?: string[];\n\n /**\n * Cache timeout in milliseconds for SSR rendered pages\n * After this time, cached pages will be re-rendered\n * @default 300000 (5 minutes)\n */\n cacheTimeout?: number;\n\n /**\n * Enable multi-core server processing (requires @semantu/multicore)\n * Spawns worker processes to handle requests across multiple CPU cores\n * @default false\n */\n multiCore?: boolean;\n\n /**\n * Function that loads the app component (for SSR and hot reloading)\n * Must be a function to support hot module reloading\n */\n loadAppComponent?: () => any;\n\n /**\n * Function that loads the app routes configuration (for SSR preloading)\n * Must be a function to support hot module reloading\n * Should return a RoutesModule from 'lincd-server'\n */\n loadRoutes?: () => Promise<any>;\n\n /**\n * Serve only the backend API (`/call/...`, `/api/...` and provider routes):\n * no server-side page rendering, so page requests get a 404.\n * `linked start --api-only` sets this.\n * @default false\n */\n apiOnly?: boolean;\n}\n\n/**\n * Complete Linked configuration\n */\nexport interface LinkedConfig {\n /**\n * CSS processing mode (shared by the Vite build and the server for SSR)\n * - 'tailwind': Use Tailwind CSS v4 via the @tailwindcss/vite plugin. Still supports CSS Modules for .module.css files\n * - 'postcss': Use PostCSS with nesting support and CSS Modules for .module.css files\n * @default 'postcss'\n */\n cssMode?: 'tailwind' | 'postcss';\n\n /**\n * Server configuration\n */\n server?: LinkedServerConfig;\n\n /**\n * Materialize this app's registered shapes into its data store as SHACL\n * (`sh:NodeShape`) on boot — so its app-data holds the shapes its instances\n * validate/query against. Runs in LinkedServer.start()/initOnly().\n * @default true\n * Set `false` for a server whose default dataset is a context-router (e.g. CN),\n * or an app that manages its own shape/dataset lifecycle.\n */\n syncShapesOnBoot?: boolean;\n}\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@_linked/cli",
|
|
3
|
-
"version": "1.41.
|
|
3
|
+
"version": "1.41.1",
|
|
4
4
|
"packageManager": "npm@11.21.0",
|
|
5
5
|
"description": "Command line tools for the @_linked/* packages and apps",
|
|
6
6
|
"main": "lib/esm/index.js",
|
|
@@ -72,7 +72,6 @@
|
|
|
72
72
|
"dependencies": {
|
|
73
73
|
"@_linked/core": "^2.22.8",
|
|
74
74
|
"@_linked/localize": "^0.3.0",
|
|
75
|
-
"@tailwindcss/postcss": "^4.1.4",
|
|
76
75
|
"@tailwindcss/vite": "^4.1.4",
|
|
77
76
|
"@types/node": "^20.12.7",
|
|
78
77
|
"@types/react": "^19.3.0",
|
|
@@ -92,8 +91,6 @@
|
|
|
92
91
|
"glob": "^10.3.12",
|
|
93
92
|
"minimatch": "^9.0.4",
|
|
94
93
|
"ora": "^8.0.1",
|
|
95
|
-
"postcss": "^8.5.3",
|
|
96
|
-
"postcss-url": "^10.1.3",
|
|
97
94
|
"require-extensions": "^0.0.4",
|
|
98
95
|
"rimraf": "^5.0.7",
|
|
99
96
|
"semver": "^7.8.5",
|