Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: migrate to nx workspace #1483

Draft
wants to merge 21 commits into
base: dev
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
feat: update package structure
  • Loading branch information
JosefBredereck committed Feb 6, 2023
commit 43a4986af529d55bcbd7b9d458436937196e96fd
27 changes: 0 additions & 27 deletions babel.config.js

This file was deleted.

72 changes: 15 additions & 57 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"postinstall": "yarn build:all",
"setup": "yarn",
"build:uikit": "cd packages/uikit-workshop && npm run build",
"precommit": "pretty-quick --staged",
"lint:fix": "npm run lint -- --fix",
"lint": "eslint --max-warnings 0 './packages/{core,cli,uikit-workshop}/**/*.js ' --ignore-path .eslintignore",
"test": "lerna run test",
Expand All @@ -23,55 +22,29 @@
"dependencies": {
"@pattern-lab/cli": "file:packages/cli",
"@pattern-lab/core": "file:packages/core",
"@basalt/twig-renderer": "^2.1.0",
"chokidar": "3.5.1",
"fs-extra": "^11.1.0",
"glob": "^7.1.6",
"gulp": "^4.0.2",
"handlebars": "4.7.7",
"liquidjs": "10.4.0",
"lodash": "4.17.21",
"markdown-it": "12.3.2",
"mustache": "4.2.0",
"tslib": "^2.3.0",
"twing": "^5.1.2",
"underscore": "^1.13.6",
"@11ty/eleventy": "^0.12.1",
"@11ty/eleventy-plugin-rss": "^1.1.2",
"@11ty/eleventy-plugin-syntaxhighlight": "^3.1.3",
"@tbranyen/jsdom": "^13.0.0",
"concurrently": "^4.1.0",
"html-minifier": "^4.0.0",
"json-to-scss": "^1.6.2",
"nunjucks": "^3.2.3",
"sass": "^1.32.8",
"slugify": "^1.5.0",
"stalfos": "github:hankchizljaw/stalfos#c8971d22726326cfc04089b2da4d51eeb1ebb0eb",
"colors": "1.4.0",
"connect": "3.7.0",
"cors": "2.8.5",
"event-stream": "3.3.4",
"faye-websocket": "0.11.x",
"http-auth": "4.1.x",
"http-auth-connect": "^1.0.5",
"morgan": "1.10.0",
"object-assign": "4.1.1",
"open": "8.0.9",
"proxy-middleware": "0.15.0",
"send": "0.18.0",
"serve-index": "1.9.1"
"@pattern-lab/docs": "file:packages/docs",
"@pattern-lab/engine-handlebars": "file:packages/engine-handlebars",
"@pattern-lab/engine-liquid": "file:packages/engine-liquid",
"@pattern-lab/engine-mustache": "file:packages/engine-mustache",
"@pattern-lab/engine-nunjucks": "file:packages/engine-nunjucks",
"@pattern-lab/engine-twig": "file:packages/engine-twig",
"@pattern-lab/engine-twig-php": "file:packages/engine-twig-php",
"@pattern-lab/engine-underscore": "file:packages/engine-underscore",
"@pattern-lab/live-server": "file:packages/live-server",
"@pattern-lab/plugin-tab": "file:packages/plugin-tab",
"@pattern-lab/starterkit-handlebars-demo": "file:packages/starterkit-handlebars-demo",
"@pattern-lab/starterkit-twig-demo": "file:packages/starterkit-twig-demo",
"@pattern-lab/types": "file:packages/types",
"tslib": "^2.3.0"
},
"devDependencies": {
"@auto-it/all-contributors": "10.38.5",
"@auto-it/conventional-commits": "10.38.5",
"@auto-it/first-time-contributor": "10.38.5",
"@auto-it/released": "^10.27.0",
"@babel/plugin-proposal-decorators": "^7.13.5",
"@babel/plugin-syntax-jsx": "^7.12.13",
"@jscutlery/semver": "^2.29.3",
"@nrwl/eslint-plugin-nx": "15.6.3",
"@nrwl/jest": "15.6.3",
"dos2unix-cli": "^1.0.1",
"@nrwl/js": "15.6.3",
"@nrwl/linter": "15.6.3",
"@nrwl/workspace": "15.6.3",
Expand All @@ -93,23 +66,8 @@
"jest-environment-jsdom": "28.1.1",
"nx": "15.6.3",
"prettier": "^2.8.1",
"pretty-quick": "^3.1.3",
"ts-jest": "28.0.5",
"ts-node": "10.9.1",
"tslib": "^2.3.0",
"typescript": "~4.8.2",
"@11ty/eleventy-navigation": "^0.3.2",
"@erquhart/rollup-plugin-node-builtins": "^2.1.5",
"bl": "^3.0.0",
"chokidar-cli": "^2.1.0",
"cross-env": "^5.2.0",
"make-dir-cli": "^2.0.0",
"rollup": "^1.16.1",
"rollup-plugin-commonjs": "^10.0.0",
"rollup-plugin-json": "^4.0.0",
"rollup-plugin-node-resolve": "^5.0.3",
"@fontsource/abel": "^4.5.7",
"@fontsource/raleway": "^4.5.11",
"copyfiles": "^2.4.1"
"typescript": "~4.8.2"
}
}
31 changes: 29 additions & 2 deletions packages/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,35 @@
"url": "https://github.com/bradfrost/pl-website-eleventy/issues"
},
"homepage": "https://github.com/bradfrost/pl-website-eleventy/#readme",
"gitHead": "80f62be442223e09bafb30d0529cbd768e03f2ac",
"dependencies": {
"@11ty/eleventy": "^0.12.1",
"@11ty/eleventy-plugin-rss": "^1.1.2",
"@11ty/eleventy-plugin-syntaxhighlight": "^3.1.3",
"@tbranyen/jsdom": "^13.0.0",
"concurrently": "^4.1.0",
"html-minifier": "^4.0.0",
"json-to-scss": "^1.6.2",
"nunjucks": "^3.2.3",
"sass": "^1.32.8",
"semver": "^6.3.0",
"slugify": "^1.5.0",
"stalfos": "github:hankchizljaw/stalfos#c8971d22726326cfc04089b2da4d51eeb1ebb0eb"
},
"devDependencies": {
"@11ty/eleventy-navigation": "^0.3.2",
"@erquhart/rollup-plugin-node-builtins": "^2.1.5",
"bl": "^3.0.0",
"chokidar-cli": "^2.1.0",
"cross-env": "^5.2.0",
"make-dir-cli": "^2.0.0",
"prettier": "^2.8.1",
"rollup": "^1.16.1",
"rollup-plugin-commonjs": "^10.0.0",
"rollup-plugin-json": "^4.0.0",
"rollup-plugin-node-resolve": "^5.0.3"
},
"engines": {
"node": ">=14.21.1"
}
},
"gitHead": "80f62be442223e09bafb30d0529cbd768e03f2ac"
}
5 changes: 5 additions & 0 deletions packages/engine-handlebars/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@
"bugs": "https://github.com/pattern-lab/patternlab-node/issues",
"author": "Brian Muenzenmeyer & Geoffrey Pursell",
"license": "MIT",
"dependencies": {
"fs-extra": "^10.0.0",
"glob": "^7.1.6",
"handlebars": "^4.7.7"
},
"engines": {
"node": ">=14.21.1"
},
Expand Down
4 changes: 4 additions & 0 deletions packages/engine-liquid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
"bugs": "https://github.com/pattern-lab/patternlab-node/issues",
"author": "Cameron Roe",
"license": "MIT",
"dependencies": {
"fs-extra": "10.0.0",
"liquidjs": "10.4.0"
},
"engines": {
"node": ">=14.21.1"
},
Expand Down
4 changes: 4 additions & 0 deletions packages/engine-mustache/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
"bugs": "https://github.com/pattern-lab/patternlab-node/issues",
"author": "Brian Muenzenmeyer & Geoffrey Pursell",
"license": "MIT",
"dependencies": {
"fs-extra": "10.0.0",
"mustache": "3.1.0"
},
"engines": {
"node": ">=14.21.1"
},
Expand Down
18 changes: 11 additions & 7 deletions packages/engine-nunjucks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,6 @@
"description": "The nunjucks PatternEngine for Pattern Lab / Node",
"repository": "https://github.com/pattern-lab/patternlab-node/tree/master/packages/engine-nunjucks",
"bugs": "https://github.com/pattern-lab/patternlab-node/issues",
"author": {
"name": "Dan White"
},
"deprecated": false,
"engines": {
"node": ">=14.21.1"
},
"keywords": [
"Pattern Lab",
"Atomic Web Design",
Expand All @@ -21,5 +14,16 @@
"Nunjucks"
],
"license": "MIT",
"author": {
"name": "Dan White"
},
"deprecated": false,
"dependencies": {
"fs-extra": "10.0.0",
"nunjucks": "^3.2.3"
},
"engines": {
"node": ">=14.21.1"
},
"gitHead": "80f62be442223e09bafb30d0529cbd768e03f2ac"
}
5 changes: 5 additions & 0 deletions packages/engine-twig-php/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@
}
],
"license": "MIT",
"dependencies": {
"@basalt/twig-renderer": "^2.0.0",
"chalk": "^4.1.0",
"fs-extra": "10.0.0"
},
"engines": {
"node": ">=14.21.1"
},
Expand Down
4 changes: 4 additions & 0 deletions packages/engine-twig/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
"bugs": "https://github.com/pattern-lab/patternlab-node/issues",
"author": "Brian Muenzenmeyer & Geoffrey Pursell",
"license": "MIT",
"dependencies": {
"fs-extra": "10.0.0",
"twing": "^5.0.2"
},
"engines": {
"node": ">=14.21.1"
},
Expand Down
3 changes: 3 additions & 0 deletions packages/engine-underscore/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
"bugs": "https://github.com/pattern-lab/patternlab-node/issues",
"author": "Brian Muenzenmeyer & Geoffrey Pursell",
"license": "MIT",
"dependencies": {
"underscore": "1.13.0"
},
"engines": {
"node": ">=14.21.1"
},
Expand Down
16 changes: 16 additions & 0 deletions packages/live-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,22 @@
"author": "Tapio Vierros",
"repository": "https://github.com/pattern-lab/patternlab-node/tree/master/packages/live-server",
"bugs": "https://github.com/pattern-lab/patternlab-node/issues",
"dependencies": {
"chokidar": "3.5.1",
"colors": "1.4.0",
"connect": "3.7.0",
"cors": "2.8.5",
"event-stream": "3.3.4",
"faye-websocket": "0.11.x",
"http-auth": "4.1.x",
"http-auth-connect": "^1.0.5",
"morgan": "1.10.0",
"object-assign": "4.1.1",
"open": "8.0.9",
"proxy-middleware": "0.15.0",
"send": "0.18.0",
"serve-index": "1.9.1"
},
"engines": {
"node": ">=14.21.1"
},
Expand Down
5 changes: 5 additions & 0 deletions packages/plugin-tab/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,10 @@
"author": "Brian Muenzenmeyer",
"license": "MIT",
"homepage": "https://github.com/pattern-lab/patternlab-node/tree/master/packages/plugin-tab",
"dependencies": {
"fs-extra": "10.0.0",
"glob": "7.1.6",
"lodash": "4.17.21"
},
"gitHead": "80f62be442223e09bafb30d0529cbd768e03f2ac"
}
5 changes: 5 additions & 0 deletions packages/starterkit-handlebars-demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@
"scripts": {
"build": "copyfiles ../../node_modules/@fontsource/abel/files/*.woff* ../../node_modules/@fontsource/raleway/files/*400-*.woff* ../../node_modules/@fontsource/raleway/files/*700-normal.woff* src/fonts -f && cd src/css && sass style.scss:style.css pattern-scaffolding.scss:pattern-scaffolding.css --load-path=../../../../node_modules/"
},
"devDependencies": {
"@fontsource/abel": "^4.5.7",
"@fontsource/raleway": "^4.5.11",
"copyfiles": "^2.4.1"
},
"engines": {
"node": ">=14.21.1"
}
Expand Down
Loading