Skip to content

Commit

Permalink
build: support pnpm and update yarn to 4
Browse files Browse the repository at this point in the history
  • Loading branch information
cipchk committed Oct 31, 2023
1 parent d9ea22f commit 9528fff
Show file tree
Hide file tree
Showing 5 changed files with 979 additions and 74 deletions.
14 changes: 12 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
node_modules
npm-debug.log
# package-lock.json
yarn.lock
yarn-error.log
pnpm-lock.yaml
/coverage
/coverage-report
/junit
Expand Down Expand Up @@ -32,3 +31,14 @@ src/assets/style.dark.css
/integration
scripts/build/var.less
/schematics/plugin/files/rtl

# Yarn
yarn.lock
yarn-error.log
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions
.pnp.*
2 changes: 2 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# https://pnpm.io/npmrc#node-linker
node-linker=hoisted
893 changes: 893 additions & 0 deletions .yarn/releases/yarn-4.0.1.cjs

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
yarnPath: .yarn/releases/yarn-4.0.1.cjs
nodeLinker: node-modules
142 changes: 70 additions & 72 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@
},
"homepage": "https://ng-alain.com",
"engines": {
"node": "^16.13.0 || ^18.10.0",
"yarn": ">=1.21.1 <2",
"npm": "Please use yarn instead of NPM to install dependencies"
"node": "^16.13.0 || ^18.10.0"
},
"scripts": {
"ng-high-memory": "node --max_old_space_size=8000 ./node_modules/@angular/cli/bin/ng",
Expand Down Expand Up @@ -61,126 +59,126 @@
"@angular/common": "^16.2.0",
"@angular/compiler": "^16.2.0",
"@angular/core": "^16.2.0",
"@angular/elements": "^16.2.0",
"@angular/forms": "^16.2.0",
"@angular/platform-browser": "^16.2.0",
"@angular/platform-browser-dynamic": "^16.2.0",
"@angular/platform-server": "^16.2.0",
"@angular/router": "^16.2.0",
"rxjs": "~7.8.0",
"tslib": "^2.3.0",
"zone.js": "~0.13.0",
"@angular/service-worker": "^16.2.0",
"@angular/platform-server": "^16.2.0",
"@angular/elements": "^16.2.0",
"@antv/data-set": "^0.11.8",
"@antv/g2": "^4.2.10",
"echarts": "^5.4.3",
"@github/hotkey": "^2.0.1",
"@ng-util/monaco-editor": "^16.0.0",
"@nguniversal/express-engine": "^16.2.0",
"@stackblitz/sdk": "^1.9.0",
"codesandbox": "^2.2.3",
"@webcomponents/custom-elements": "^1.6.0",
"ajv": "^8.12.0",
"ajv-formats": "^2.1.1",
"aos": "^3.0.0-beta.6",
"codesandbox": "^2.2.3",
"echarts": "^5.4.3",
"express": "^4.18.2",
"extend": "^3.0.2",
"file-saver": "^2.0.5",
"isutf8": "^4.0.0",
"ng-github-button": "^16.0.0",
"ng-zorro-antd": "^16.2.2",
"ngx-color": "~9.0.0",
"ngx-countdown": "^16.0.0",
"ngx-highlight-js": "^16.1.0",
"ngx-tinymce": "^16.0.0",
"qrious": "^4.0.2",
"@webcomponents/custom-elements": "^1.6.0",
"aos": "^3.0.0-beta.6",
"@ng-util/monaco-editor": "^16.0.0",
"@nguniversal/express-engine": "^16.2.0",
"express": "^4.18.2",
"isutf8": "^4.0.0",
"@github/hotkey": "^2.0.1"
"rxjs": "~7.8.0",
"tslib": "^2.3.0",
"zone.js": "~0.13.0"
},
"devDependencies": {
"@angular-devkit/build-angular": "^16.2.0",
"@angular-eslint/builder": "~16.1.1",
"@angular-eslint/eslint-plugin": "~16.1.1",
"@angular-eslint/eslint-plugin-template": "~16.1.1",
"@angular-eslint/schematics": "~16.1.1",
"@angular-eslint/template-parser": "~16.1.1",
"@angular/cli": "~16.2.0",
"@angular/compiler-cli": "^16.2.0",
"@types/jasmine": "~4.3.0",
"jasmine-core": "~4.6.0",
"karma": "~6.4.0",
"karma-chrome-launcher": "~3.2.0",
"karma-coverage": "~2.2.0",
"karma-jasmine": "~5.1.0",
"karma-jasmine-html-reporter": "~2.1.0",
"typescript": "~5.1.3",
"codelyzer": "^6.0.2",
"jasmine-spec-reporter": "^7.0.0",
"protractor": "~7.0.0",
"ts-node": "~10.9.1",
"@angular/language-service": "^16.2.0",
"@types/jasminewd2": "~2.0.10",
"karma-junit-reporter": "^2.0.1",
"karma-spec-reporter": "0.0.36",
"karma-viewport": "^1.0.9",
"@commitlint/cli": "^17.7.1",
"@commitlint/config-angular": "^17.7.0",
"@nguniversal/builders": "^16.2.0",
"@types/aos": "^3.0.4",
"@types/file-saver": "^2.0.5",
"@types/deep-extend": "^0.6.0",
"@types/express": "^4.17.17",
"@types/extend": "^3.0.1",
"@types/file-saver": "^2.0.5",
"@types/fs-extra": "^11.0.1",
"@types/jasmine": "~4.3.0",
"@types/jasminewd2": "~2.0.10",
"@types/mockjs": "^1.0.7",
"@types/parse5": "^7.0.0",
"karma-summary-reporter": "^3.1.1",
"karma-parallel": "^0.3.1",
"@typescript-eslint/eslint-plugin": "~6.4.1",
"@typescript-eslint/parser": "~6.4.1",
"chalk": "^5.3.0",
"codecov": "^3.8.3",
"codelyzer": "^6.0.2",
"conventional-changelog-cli": "^4.0.0",
"eslint": "^8.48.0",
"eslint-config-prettier": "~9.0.0",
"eslint-plugin-deprecation": "~1.5.0",
"eslint-plugin-import": "~2.28.1",
"eslint-plugin-jsdoc": "~46.5.0",
"eslint-plugin-prefer-arrow": "~1.2.3",
"eslint-plugin-prettier": "~5.0.0",
"fs-extra": "^11.1.1",
"@types/fs-extra": "^11.0.1",
"html-minifier-terser": "^7.2.0",
"husky": "^8.0.3",
"jasmine-core": "~4.6.0",
"jasmine-spec-reporter": "^7.0.0",
"jsonml.js": "^0.1.0",
"jszip": "^3.10.1",
"karma": "~6.4.0",
"karma-chrome-launcher": "~3.2.0",
"karma-coverage": "~2.2.0",
"karma-jasmine": "~5.1.0",
"karma-jasmine-html-reporter": "~2.1.0",
"karma-junit-reporter": "^2.0.1",
"karma-parallel": "^0.3.1",
"karma-spec-reporter": "0.0.36",
"karma-summary-reporter": "^3.1.1",
"karma-viewport": "^1.0.9",
"klaw-sync": "^6.0.0",
"less-vars-to-js": "^1.3.0",
"less-bundle-promise": "^1.0.11",
"less-plugin-clean-css": "^1.5.1",
"less-plugin-npm-import": "^2.1.0",
"less-vars-to-js": "^1.3.0",
"lint-staged": "^14.0.1",
"mark-twain": "^2.0.3",
"mockjs": "^1.1.0",
"mustache": "^4.2.0",
"ng-alain-codelyzer": "^0.0.1",
"ng-alain-plugin-theme": "^15.0.1",
"ng-alain-sts": "^0.0.2",
"ng-packagr": "^16.2.1",
"parse5": "^7.1.2",
"plyr": "^3.7.8",
"prettier": "^3.0.2",
"protractor": "~7.0.0",
"raw-loader": "^4.0.2",
"readline-sync": "^1.4.10",
"screenfull": "^6.0.2",
"sitemap": "^7.1.1",
"source-map-explorer": "^2.5.3",
"stream": "0.0.2",
"stylelint": "^15.10.3",
"stylelint-config-clean-order": "^5.2.0",
"stylelint-config-standard": "^34.0.0",
"stylelint-declaration-block-no-ignored-properties": "^2.7.0",
"stylelint-config-clean-order": "^5.2.0",
"source-map-explorer": "^2.5.3",
"xlsx": "^0.18.5",
"jszip": "^3.10.1",
"plyr": "^3.7.8",
"screenfull": "^6.0.2",
"less-bundle-promise": "^1.0.11",
"ng-alain-codelyzer": "^0.0.1",
"ng-alain-sts": "^0.0.2",
"ng-alain-plugin-theme": "^15.0.1",
"tsconfig-paths": "^4.2.0",
"@nguniversal/builders": "^16.2.0",
"@types/express": "^4.17.17",
"html-minifier-terser": "^7.2.0",
"terser": "^5.19.2",
"@commitlint/cli": "^17.7.1",
"@commitlint/config-angular": "^17.7.0",
"@angular-eslint/builder": "~16.1.1",
"@angular-eslint/eslint-plugin": "~16.1.1",
"@angular-eslint/eslint-plugin-template": "~16.1.1",
"@angular-eslint/schematics": "~16.1.1",
"@angular-eslint/template-parser": "~16.1.1",
"@typescript-eslint/eslint-plugin": "~6.4.1",
"@typescript-eslint/parser": "~6.4.1",
"eslint": "^8.48.0",
"eslint-config-prettier": "~9.0.0",
"eslint-plugin-import": "~2.28.1",
"eslint-plugin-jsdoc": "~46.5.0",
"eslint-plugin-prefer-arrow": "~1.2.3",
"eslint-plugin-prettier": "~5.0.0",
"eslint-plugin-deprecation": "~1.5.0",
"lint-staged": "^14.0.1",
"raw-loader": "^4.0.2",
"swagger-typescript-api": "^12.0.4",
"sitemap": "^7.1.1"
"terser": "^5.19.2",
"ts-node": "~10.9.1",
"tsconfig-paths": "^4.2.0",
"typescript": "~5.1.3",
"xlsx": "^0.18.5"
},
"lint-staged": {
"(schematics|scripts|packages)/**/!(tslint-rules|testing)/!(polyfills).{html,ts}": [
Expand Down

0 comments on commit 9528fff

Please sign in to comment.