diff --git a/packages/changelog-github/package.json b/packages/changelog-github/package.json index aaabfc270f..963bc3cb6e 100644 --- a/packages/changelog-github/package.json +++ b/packages/changelog-github/package.json @@ -4,6 +4,7 @@ "description": "A changelog entry generator for GitHub that links to PRs and users", "author": "Swiss Post ", "license": "Apache-2.0", + "private": false, "repository": { "type": "git", "url": "https://github.com/swisspost/design-system.git" @@ -17,7 +18,8 @@ }, "main": "./dist/index.js", "scripts": { - "build": "tsc" + "build": "tsc", + "clean": "rimraf dist" }, "dependencies": { "@changesets/get-github-info": "0.6.0", @@ -26,6 +28,8 @@ }, "devDependencies": { "@changesets/parse": "*", - "typescript": "5.5.4" - } + "typescript": "5.5.4", + "rimraf": "6.0.1" + }, + "keywords": [] } diff --git a/packages/components-angular/package.json b/packages/components-angular/package.json index 04519844ac..fcda61e2dd 100644 --- a/packages/components-angular/package.json +++ b/packages/components-angular/package.json @@ -1,14 +1,26 @@ { "name": "@swisspost/design-system-components-angular-workspace", "version": "1.1.10-next.4", + "description": "Wrapper arround @swisspost/design-system-components for angular", + "author": "Swiss Post ", + "license": "Apache-2.0", + "private": false, + "repository": { + "type": "git", + "url": "https://github.com/swisspost/design-system.git" + }, + "homepage": "https://design-system.post.ch", + "bugs": { + "url": "https://github.com/swisspost/design-system/issues" + }, "scripts": { "start": "ng serve --port 9210", "build": "ng build components", + "clean": "rimraf dist .angular", "lint": "ng lint", "e2e": "ng e2e --watch=false", "e2e:watch": "ng e2e" }, - "private": true, "dependencies": { "@angular/animations": "18.2.10", "@angular/common": "18.2.10", @@ -43,6 +55,7 @@ "karma-jasmine": "5.1.0", "karma-jasmine-html-reporter": "2.1.0", "ng-packagr": "18.1.0", - "typescript": "5.5.4" + "typescript": "5.5.4", + "rimraf": "6.0.1" } } diff --git a/packages/components-react/package.json b/packages/components-react/package.json index 76bb2f2ae5..783b75733a 100644 --- a/packages/components-react/package.json +++ b/packages/components-react/package.json @@ -1,9 +1,10 @@ { "name": "@swisspost/design-system-components-react", - "version": "9.0.0-next.4", - "description": "Design System React Components for easy integration with the React ecosystem", - "author": "Swiss Post ", +"version": "9.0.0-next.4", +"description": "Design System React Components for easy integration with the React ecosystem", +"author": "Swiss Post ", "license": "Apache-2.0", + "private": false, "repository": { "type": "git", "url": "https://github.com/swisspost/design-system.git" @@ -12,21 +13,21 @@ "bugs": { "url": "https://github.com/swisspost/design-system/issues" }, - "main": "dist/index.js", - "types": "dist/index.d.ts", - "files": [ - "dist" - ], "publishConfig": { "access": "public", "linkDirectory": true }, + "files": [ + "dist" + ], + "main": "dist/index.js", + "types": "dist/index.d.ts", "scripts": { "build": "pnpm run clean && pnpm run compile", "clean": "rimraf dist", "compile": "pnpm run tsc", - "tsc": "tsc -p .", - "lint": "eslint src/**/*.ts" + "lint": "eslint src/**/*.ts", + "tsc": "tsc -p ." }, "dependencies": { "@swisspost/design-system-components": "workspace:9.0.0-next.4" diff --git a/packages/components/package.json b/packages/components/package.json index 253f6811f7..a468230978 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -2,27 +2,32 @@ "name": "@swisspost/design-system-components", "version": "9.0.0-next.4", "description": "A collection of web components built with Stencil JS for the Swiss Post Design System.", + "author": "Swiss Post ", "license": "Apache-2.0", - "main": "dist/index.cjs.js", - "module": "dist/index.js", - "types": "dist/types/index.d.ts", - "collection": "dist/collection/collection-manifest.json", - "collection:main": "dist/collection/index.js", - "unpkg": "dist/post-components/post-components.esm.js", "private": false, "repository": { "type": "git", "url": "https://github.com/swisspost/design-system" }, + "homepage": "https://design-system.post.ch", + "bugs": { + "url": "https://github.com/swisspost/design-system/issues" + }, + "publishConfig": { + "access": "public", + "linkDirectory": true + }, "files": [ "dist/", "loader/", "loaders/" ], - "publishConfig": { - "access": "public", - "linkDirectory": true - }, + "main": "dist/index.cjs.js", + "module": "dist/index.js", + "types": "dist/types/index.d.ts", + "collection": "dist/collection/collection-manifest.json", + "collection:main": "dist/collection/index.js", + "unpkg": "dist/post-components/post-components.esm.js", "scripts": { "dev": "stencil build --dev --port 9200 --serve --watch --docs --docs-readme", "start": "stencil build --dev --watch --docs --docs-readme", diff --git a/packages/documentation/package.json b/packages/documentation/package.json index 054769c301..c4583a9c78 100644 --- a/packages/documentation/package.json +++ b/packages/documentation/package.json @@ -4,6 +4,7 @@ "description": "Swiss Post Design System Documentation.", "author": "Swiss Post ", "license": "Apache-2.0", + "private": false, "repository": { "type": "git", "url": "https://github.com/swisspost/design-system.git" @@ -13,7 +14,6 @@ "url": "https://github.com/swisspost/design-system/issues" }, "main": "index.js", - "private": true, "scripts": { "prebuild:managerui": "sass --update --load-path=node_modules .storybook/styles/manager.scss public/manager/ui.css", "start": "pnpm clean && pnpm prebuild:managerui --style=expanded & storybook dev -p 9000 --quiet --docs", @@ -79,5 +79,6 @@ "sass": "1.78.0", "storybook": "8.2.7", "typescript": "5.5.4" - } + }, + "keywords": [] } diff --git a/packages/icons/package.json b/packages/icons/package.json index bfab4bb763..8be7f554d8 100644 --- a/packages/icons/package.json +++ b/packages/icons/package.json @@ -4,6 +4,7 @@ "description": "A collection of Swiss Post icons intended for use with the Design System.", "author": "Swiss Post ", "license": "Apache-2.0", + "private": false, "repository": { "type": "git", "url": "https://github.com/swisspost/design-system.git" @@ -19,7 +20,6 @@ "files": [ "public" ], - "private": false, "scripts": { "dev": "http-server ./public -o -a localhost -p 9330", "fetchSVGs": "ts-node src/index.ts", diff --git a/packages/internet-header/package.json b/packages/internet-header/package.json index 3fc3baad3d..27f52bb9b0 100644 --- a/packages/internet-header/package.json +++ b/packages/internet-header/package.json @@ -4,6 +4,7 @@ "description": "The header for client facing applications.", "author": "Swiss Post ", "license": "Apache-2.0", + "private": true, "repository": { "type": "git", "url": "https://github.com/swisspost/design-system.git" @@ -12,14 +13,6 @@ "bugs": { "url": "https://github.com/swisspost/design-system/issues" }, - "main": "loader/index.cjs.js", - "module": "loader/index.js", - "es2017": "loader/index.es2017.js", - "types": "loader/index.d.ts", - "collection": "dist/collection/collection-manifest.json", - "collection:main": "dist/collection/index.js", - "unpkg": "dist/swisspost-internet-header/swisspost-internet-header.esm.js", - "private": true, "publishConfig": { "access": "restricted" }, @@ -27,6 +20,13 @@ "dist/", "loader/" ], + "main": "loader/index.cjs.js", + "module": "loader/index.js", + "es2017": "loader/index.es2017.js", + "types": "loader/index.d.ts", + "collection": "dist/collection/collection-manifest.json", + "collection:main": "dist/collection/index.js", + "unpkg": "dist/swisspost-internet-header/swisspost-internet-header.esm.js", "scripts": { "dev": "stencil build --serve --port 9310 --watch --docs-readme --dev --config stencil.config.dev.ts", "start": "stencil build --watch --docs-readme", diff --git a/packages/intranet-header-workspace/package.json b/packages/intranet-header-workspace/package.json index 4765f5d611..950fa6b684 100644 --- a/packages/intranet-header-workspace/package.json +++ b/packages/intranet-header-workspace/package.json @@ -1,15 +1,24 @@ { "name": "@swisspost/design-system-intranet-header-workspace", "version": "3.0.22-next.4", + "description": "Package containing examples for the intranet header component.", "license": "Apache-2.0", "private": true, + "repository": { + "type": "git", + "url": "https://github.com/swisspost/design-system.git" + }, + "homepage": "https://design-system.post.ch", + "bugs": { + "url": "https://github.com/swisspost/design-system/issues" + }, "scripts": { + "build": "ng build intranet-header", "clean": "rimraf dist", + "lint": "ng lint", "start": "npm-run-all --parallel --print-label start:**", "start:lib": "rimraf dist/intranet-header && ng build intranet-header --watch", - "start:app": "wait-on dist/intranet-header && ng serve --port 9320", - "build": "ng build intranet-header", - "lint": "ng lint" + "start:app": "wait-on dist/intranet-header && ng serve --port 9320" }, "dependencies": { "@angular/animations": "18.2.10", diff --git a/packages/migrations/package.json b/packages/migrations/package.json index 2cf92879b2..b58acaf533 100644 --- a/packages/migrations/package.json +++ b/packages/migrations/package.json @@ -4,16 +4,21 @@ "description": "Scripts to migrate an Angular application from one Design System version to another.", "author": "Swiss Post ", "license": "Apache-2.0", + "private": false, "repository": { "type": "git", "url": "https://github.com/swisspost/design-system.git" }, - "files": [ - "dist/" - ], + "homepage": "https://design-system.post.ch", + "bugs": { + "url": "https://github.com/swisspost/design-system/issues" + }, "publishConfig": { "access": "public" }, + "files": [ + "dist/" + ], "scripts": { "copy-files": "copyfiles -f LICENSE README.md package.json CONTRIBUTING.md CHANGELOG.md src/migrations.json dist", "build": "tsc -p tsconfig.json && pnpm copy-files", @@ -36,11 +41,11 @@ "eslint": "8.57.0", "rimraf": "6.0.1" }, + "keywords": [ + "schematics" + ], "schematics": "./dist/migrations.json", "ng-update": { "migrations": "./dist/migrations.json" - }, - "keywords": [ - "schematics" - ] + } } diff --git a/packages/nextjs-integration/package.json b/packages/nextjs-integration/package.json index 11fe8acd03..6d778240c8 100644 --- a/packages/nextjs-integration/package.json +++ b/packages/nextjs-integration/package.json @@ -1,12 +1,24 @@ { "name": "@swisspost/design-system-nextjs-integration", "version": "0.1.14-next.4", + "description": "NextJS example integration of the Swiss Post Design System", + "author": "Swiss Post ", + "license": "Apache-2.0", "private": true, + "repository": { + "type": "git", + "url": "https://github.com/swisspost/design-system.git" + }, + "homepage": "https://design-system.post.ch", + "bugs": { + "url": "https://github.com/swisspost/design-system/issues" + }, "scripts": { - "dev": "next dev", "build": "next build", - "start": "next start", - "lint": "next lint" + "clean": "rimraf .next", + "dev": "next dev", + "lint": "next lint", + "start": "next start" }, "dependencies": { "@swisspost/design-system-components-react": "workspace:9.0.0-next.4", @@ -24,8 +36,10 @@ "eslint": "^8", "eslint-config-next": "14.2.5", "postcss": "^8", + "rimraf": "6.0.1", "sass": "1.78.0", "tailwindcss": "^3.3.0", "typescript": "^5" - } + }, + "keywords": [] } diff --git a/packages/styles-primeng-workspace/package.json b/packages/styles-primeng-workspace/package.json index bfc99bbf30..4e6ffabb06 100644 --- a/packages/styles-primeng-workspace/package.json +++ b/packages/styles-primeng-workspace/package.json @@ -1,17 +1,26 @@ { "name": "@swisspost/design-system-styles-primeng-workspace", - "description": "Showcase for a Post like custom prime-ng theme", "version": "1.0.6-next.4", + "description": "Showcase for a Post like custom prime-ng theme", + "author": "Swiss Post ", "license": "Apache-2.0", "private": true, + "repository": { + "type": "git", + "url": "https://github.com/swisspost/design-system.git" + }, + "homepage": "https://design-system.post.ch", + "bugs": { + "url": "https://github.com/swisspost/design-system/issues" + }, "scripts": { + "build": "ng build styles-primeng", "clean": "rimraf dist", + "lint": "stylelint projects/styles-primeng/src/**/*.scss", + "lint:fix": "stylelint projects/styles-primeng/src/**/*.scss --fix", "start": "npm-run-all --parallel watch:lib serve:app", - "build": "ng build styles-primeng", - "watch:lib": "ng build --watch --configuration development styles-primeng", "serve:app": "ng serve --port 9325", - "lint": "stylelint projects/styles-primeng/src/**/*.scss", - "lint:fix": "stylelint projects/styles-primeng/src/**/*.scss --fix" + "watch:lib": "ng build --watch --configuration development styles-primeng" }, "dependencies": { "@angular/animations": "18.2.10", @@ -46,5 +55,6 @@ "stylelint-prettier": "5.0.2", "stylelint-scss": "6.4.1", "typescript": "5.5.4" - } + }, + "keywords": [] } diff --git a/packages/styles/package.json b/packages/styles/package.json index 97215527b6..94674fb502 100644 --- a/packages/styles/package.json +++ b/packages/styles/package.json @@ -4,6 +4,7 @@ "description": "Design System Styles for the Swiss Post web platform.", "author": "Swiss Post ", "license": "Apache-2.0", + "private": false, "repository": { "type": "git", "url": "https://github.com/swisspost/design-system.git" @@ -27,22 +28,6 @@ "lint": "stylelint src/**/*.scss !src/tokens/temp/**", "lint:fix": "stylelint src/**/*.scss !src/tokens/temp/** --fix" }, - "peerDependencies": { - "@angular/core": "^18.0.0", - "@ng-bootstrap/ng-bootstrap": "^17.0.0", - "bootstrap": "~5.3.0" - }, - "peerDependenciesMeta": { - "@ng-bootstrap/ng-bootstrap": { - "optional": true - }, - "@angular/core": { - "optional": true - }, - "bootstrap": { - "optional": true - } - }, "dependencies": { "@popperjs/core": "2.11.8", "bootstrap": "5.3.3", @@ -72,11 +57,21 @@ "typescript": "5.5.4", "vite": "5.4.8" }, - "sass": { - "includePaths": [ - "node_modules" - ], - "outputDir": "./dist" + "peerDependencies": { + "@angular/core": "^18.0.0", + "@ng-bootstrap/ng-bootstrap": "^17.0.0", + "bootstrap": "~5.3.0" + }, + "peerDependenciesMeta": { + "@ng-bootstrap/ng-bootstrap": { + "optional": true + }, + "@angular/core": { + "optional": true + }, + "bootstrap": { + "optional": true + } }, "keywords": [ "scss", @@ -88,5 +83,11 @@ "design-system", "ui", "frontend" - ] + ], + "sass": { + "includePaths": [ + "node_modules" + ], + "outputDir": "./dist" + } } diff --git a/packages/tokens/package.json b/packages/tokens/package.json index 2bc80f0ddb..4f88b86759 100644 --- a/packages/tokens/package.json +++ b/packages/tokens/package.json @@ -4,6 +4,8 @@ "description": "Design Tokens for the Swiss Post Design System.", "author": "Swiss Post ", "license": "Apache-2.0", + "private": true, + "type": "module", "repository": { "type": "git", "url": "https://github.com/swisspost/design-system.git" @@ -12,13 +14,23 @@ "bugs": { "url": "https://github.com/swisspost/design-system/issues" }, - "type": "module", + "publishConfig": { + "directory": "./dist", + "access": "public", + "linkDirectory": true + }, "scripts": { "copy-files": "copyfiles -f package.json README.md CONTRIBUTING.md CHANGELOG.md LICENSE dist", "build": "pnpm clean && node ./build.js && pnpm copy-files", "clean": "rimraf dist", "build:verbose": "node ./build.js --verbosity=verbose" }, + "devDependencies": { + "@tokens-studio/sd-transforms": "1.2.2", + "copyfiles": "2.4.1", + "rimraf": "6.0.1", + "style-dictionary": "4.0.1" + }, "keywords": [ "tokens", "tokens studio", @@ -26,16 +38,5 @@ "design-system", "ui", "frontend" - ], - "publishConfig": { - "directory": "./dist", - "access": "public", - "linkDirectory": true - }, - "devDependencies": { - "@tokens-studio/sd-transforms": "1.2.2", - "copyfiles": "2.4.1", - "rimraf": "6.0.1", - "style-dictionary": "4.0.1" - } + ] }