Skip to content

Commit

Permalink
use npm workspaces will save time for the next upgrades, charts, buil…
Browse files Browse the repository at this point in the history
…ds build locally
  • Loading branch information
pavlo-poimanov committed Nov 15, 2024
1 parent 47ac7d5 commit 8f0b366
Show file tree
Hide file tree
Showing 32 changed files with 973 additions and 25,166 deletions.
File renamed without changes.
8 changes: 8 additions & 0 deletions .yarnrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
# yarn lockfile v1


registry "https://registry.npmjs.com/"
"@solarwinds:registry" "https://artifactory-oo.solarwinds.com/artifactory/api/npm/npm-oo"
"@solarwindscloud:registry" "https://artifactory-oo.solarwinds.com/artifactory/api/npm/npm-oo"
lastUpdateCheck 1730892694737
81 changes: 79 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,89 @@
{
"author": "SolarWinds <[email protected]>",
"description": "SolarWinds Nova Framework",
"workspaces": [
"packages/*"
],
"engines": {
"node": ">=18"
},
"devDependencies": {
"@angular-devkit/build-angular": "^16.2.16",
"@angular-devkit/core": "^16.2.16",
"@angular-devkit/schematics": "^16.2.16",
"@angular-devkit/schematics-cli": "^16.2.16",
"@angular-eslint/builder": "^16.2.16",
"@angular-eslint/eslint-plugin": "^16.2.16",
"@angular-eslint/eslint-plugin-template": "^16.2.16",
"@angular-eslint/schematics": "^16.2.16",
"@angular-eslint/template-parser": "^16.2.16",
"@angular/animations": "^16.2.12",
"@angular/cdk": "^16.2.14",
"@angular/cli": "^16.2.16",
"@angular/common": "^16.2.12",
"@angular/compiler": "^16.2.12",
"@angular/compiler-cli": "^16.2.12",
"@angular/core": "^16.2.12",
"@angular/forms": "^16.2.12",
"@angular/language-service": "^16.2.12",
"@angular/localize": "^16.2.12",
"@angular/platform-browser": "^16.2.12",
"@angular/platform-browser-dynamic": "^16.2.12",
"@angular/router": "^16.2.12",
"@axe-core/webdriverjs": "^4.5.1",
"@compodoc/compodoc": "1.1.23",
"@percy/cli": "^1.13.0",
"@percy/protractor": "^2.0.1",
"@schematics/angular": "^16.2.16",
"@stackblitz/sdk": "1.11.0",
"@types/jasmine": "4.6.4",
"@types/jasminewd2": "2.0.13",
"@types/lodash": "4.17.13",
"@types/node": "^14.18.63",
"@types/proxyquire": "1.3.31",
"@types/selenium-webdriver": "3.0.26",
"@typescript-eslint/eslint-plugin": "5.62.0",
"@typescript-eslint/parser": "5.62.0",
"copyfiles": "^2.4.1",
"core-js": "^3.26.0",
"eslint": "^8.28.0",
"eslint-import-resolver-typescript": "3.6.3",
"eslint-plugin-import": "2.31.0",
"eslint-plugin-jsdoc": "^39.6.2",
"eslint-plugin-prefer-arrow": "^1.2.3",
"highlight.js": "11.10.0",
"jasmine-core": "~4.0.0",
"jasmine-reporters": "^2.5.2",
"jasmine-spec-reporter": "^7.0.0",
"jsonc-parser": "3.3.1",
"karma": "6.4.4",
"karma-chrome-launcher": "~3.1.1",
"karma-coverage": "2.2.1",
"karma-jasmine": "~5.1.0",
"karma-jasmine-html-reporter": "2.1.0",
"karma-spec-reporter": "^0.0.34",
"less": "~4.1.1",
"lodash": "^4.17.21",
"lz-string": "^1.5.0",
"moment": "2.29.4",
"moment-timezone": "^0.5.38",
"ng-packagr": "^16.2.3",
"npm-run-all": "^4.1.5",
"prettier": "^2.7.1",
"prettier-plugin-sort-json": "^0.0.3",
"protractor": "^7.0.0",
"raw-loader": "^4.0.2",
"rimraf": "^3.0.2",
"rxjs": "^7.8.0",
"selenium-webdriver": "^4.6.0",
"snyk": "^1.1064.0",
"typescript": "~5.0.4"
"start-server-and-test": "^1.14.0",
"symlink-dir": "^6.0.3",
"ts-node": "^10.9.1",
"tslib": "^2.4.1",
"typescript": "~5.1.3",
"webpack": "^5.76.0",
"zone.js": "~0.13.0"
},
"license": "Apache-2.0",
"main": "index.js",
Expand Down Expand Up @@ -44,6 +121,6 @@
"trigger-pipeline-build-ci": "bash scripts/trigger-pipeline-build",
"verify-ci": "bash scripts/verify-published"
},
"version": "15.0.11-0",
"version": "16.0.0-0",
"packageManager": "[email protected]"
}
2 changes: 1 addition & 1 deletion packages/bits/.compodocrc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "./node_modules/@compodoc/compodoc/src/config/schema.json",
"$schema": "/node_modules/@compodoc/compodoc/src/config/schema.json",
"assetsFolder": "src/docs/assets",
"disableLifeCycleHooks": true,
"disablePrivate": true,
Expand Down
2 changes: 1 addition & 1 deletion packages/bits/angular.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"$schema": "/node_modules/@angular/cli/lib/config/schema.json",
"cli": {
"analytics": false
},
Expand Down
2 changes: 1 addition & 1 deletion packages/bits/ng-package-dev.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "./node_modules/ng-packagr/ng-package.schema.json",
"$schema": "/node_modules/ng-packagr/ng-package.schema.json",
"allowedNonPeerDependencies": ["."],
"deleteDestPath": false,
"lib": {
Expand Down
2 changes: 1 addition & 1 deletion packages/bits/ng-package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "./node_modules/ng-packagr/ng-package.schema.json",
"$schema": "/node_modules/ng-packagr/ng-package.schema.json",
"allowedNonPeerDependencies": ["."],
"lib": {
"entryFile": "./src/public_api.ts"
Expand Down
88 changes: 6 additions & 82 deletions packages/bits/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,89 +8,13 @@
],
"description": "SolarWinds Nova Framework",
"devDependencies": {
"@angular-devkit/build-angular": "^16.2.16",
"@angular-devkit/core": "^16.2.16",
"@angular-devkit/schematics": "^16.2.16",
"@angular-devkit/schematics-cli": "^16.2.16",
"@angular-eslint/builder": "^16.2.16",
"@angular-eslint/eslint-plugin": "^16.2.16",
"@angular-eslint/eslint-plugin-template": "^16.2.16",
"@angular-eslint/schematics": "^16.2.16",
"@angular-eslint/template-parser": "^16.2.16",
"@angular/animations": "^16.2.12",
"@angular/cdk": "^16.2.14",
"@angular/cli": "^16.2.16",
"@angular/common": "^16.2.12",
"@angular/compiler": "^16.2.12",
"@angular/compiler-cli": "^16.2.12",
"@angular/core": "^16.2.12",
"@angular/forms": "^16.2.12",
"@angular/language-service": "^16.2.12",
"@angular/localize": "^16.2.12",
"@angular/platform-browser": "^16.2.12",
"@angular/platform-browser-dynamic": "^16.2.12",
"@angular/router": "^16.2.12",
"@apollo/client": "^3.7.2",
"@axe-core/webdriverjs": "^4.5.1",
"@compodoc/compodoc": "1.1.23",
"@percy/cli": "^1.13.0",
"@percy/protractor": "^2.0.1",
"@schematics/angular": "^16.2.16",
"@stackblitz/sdk": "1.11.0",
"@types/jasmine": "4.6.4",
"@types/jasminewd2": "2.0.13",
"@types/lodash": "4.17.13",
"@types/node": "^14.18.63",
"@types/proxyquire": "1.3.31",
"@types/selenium-webdriver": "3.0.26",
"@typescript-eslint/eslint-plugin": "5.62.0",
"@typescript-eslint/parser": "5.62.0",
"animate.css": "^4.1.1",
"apollo-angular": "^5.0.2",
"bootstrap-less-port": "^0.3.0",
"copyfiles": "^2.4.1",
"core-js": "^3.26.0",
"eslint": "^8.2.0",
"eslint-import-resolver-typescript": "3.6.3",
"eslint-plugin-import": "2.31.0",
"eslint-plugin-jsdoc": "^39.6.2",
"eslint-plugin-prefer-arrow": "^1.2.3",
"graphql": "15.9.0",
"highlight.js": "11.10.0",
"jasmine-core": "~4.0.0",
"jasmine-reporters": "^2.5.2",
"jasmine-spec-reporter": "^7.0.0",
"jsonc-parser": "3.3.1",
"karma": "6.4.4",
"karma-chrome-launcher": "~3.1.1",
"karma-coverage": "2.2.1",
"karma-jasmine": "~5.1.0",
"karma-jasmine-html-reporter": "2.1.0",
"karma-spec-reporter": "^0.0.34",
"less": "~4.1.1",
"lodash": "^4.17.21",
"lz-string": "^1.5.0",
"graphql": "^16.6.0",
"@apollo/client": "^3.7.2",
"modernizr": "~3.12.0",
"moment": "2.29.4",
"moment-timezone": "^0.5.38",
"ng-packagr": "^16.2.3",
"npm-run-all": "^4.1.5",
"prettier": "^2.7.1",
"prettier-plugin-sort-json": "^0.0.3",
"protractor": "^7.0.0",
"proxyquire": "^2.1.3",
"raw-loader": "^4.0.2",
"rxjs": "^7.8.0",
"selenium-webdriver": "^4.6.0",
"start-server-and-test": "^1.14.0",
"ts-node": "^10.9.1",
"tslib": "^2.4.1",
"typescript": "~5.1.3",
"webpack": "^5.76.0",
"zone.js": "~0.13.0"
},
"engines": {
"node": ">=18"
"proxyquire": "^2.1.3"
},
"exports": {
"./sdk/atoms": {
Expand Down Expand Up @@ -168,7 +92,7 @@
"e2e": "start-server-and-test serve-examples:prod 4200 e2e:base",
"e2e:base": "ng e2e",
"e2e:ci": "ng e2e",
"e2e:debug": "yarn run pree2e:base && node --inspect-brk ./node_modules/protractor/bin/protractor ./protractor-gui.conf.js",
"e2e:debug": "yarn run pree2e:base && node --inspect-brk /node_modules/protractor/bin/protractor ./protractor-gui.conf.js",
"e2e:full": "yarn run e2e:base -c full",
"e2e:gui": "yarn run e2e:base -c gui",
"e2e:serve": "yarn run e2e:base -c serve",
Expand All @@ -183,7 +107,7 @@
"prebuild-examples": "run-s compile-colors compile-demo-paths",
"precompodoc": "node scripts/compile-global-less-styles.js",
"pree2e:base": "webdriver-manager update --gecko=false --standalone=false",
"prepublish": "modernizr -c ./src/vendor/modernizr.config.json -d ./node_modules/modernizr/",
"prepublish": "modernizr -c ./src/vendor/modernizr.config.json -d /node_modules/modernizr/",
"preserve-examples": "yarn run compile-colors",
"prettier": "prettier --config ./.prettierrc.js",
"prettier-check": "yarn run prettier --check .",
Expand All @@ -206,6 +130,6 @@
"xliff:lib": "ng extract-i18n lib && ngx-extractor -i \"src/**/*.ts\" -f xlf -o .tmp-i18n/messages.xlf && xliffmerge --profile xliffmerge.json"
},
"typings": "public_api.d.ts",
"version": "15.0.11-0",
"version": "16.0.0-0",
"packageManager": "[email protected]"
}
2 changes: 1 addition & 1 deletion packages/bits/schematics/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "nova-schematics",
"license": "Apache-2.0",
"version": "15.0.11-0",
"version": "16.0.0-0",
"scripts": {
"assemble": "run-s build copy:json copy:data test copy:dist",
"build": "tsc -p tsconfig.json",
Expand Down
2 changes: 1 addition & 1 deletion packages/bits/schematics/src/collection.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "../../node_modules/@angular-devkit/schematics/collection-schema.json",
"$schema": "/node_modules/@angular-devkit/schematics/collection-schema.json",
"schematics": {
"ng-add": {
"description": "Installs and configures the bits library.",
Expand Down
2 changes: 1 addition & 1 deletion packages/bits/schematics/src/migration.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "../../node_modules/@angular-devkit/schematics/collection-schema.json",
"$schema": "/node_modules/@angular-devkit/schematics/collection-schema.json",
"schematics": {
"nova-migration-v13": {
"version": "13",
Expand Down
2 changes: 1 addition & 1 deletion packages/bits/src/styles/cdk-overlay-override.less
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import "../../node_modules/@angular/cdk/overlay-prebuilt.css";
@import "@angular/cdk/overlay-prebuilt.css";
@import (reference) "./nui-framework-variables.less";
.nui .cdk-overlay-container {
z-index: @zindex-tooltip;
Expand Down
12 changes: 6 additions & 6 deletions packages/bits/src/styles/grid.less
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/

@import "../../node_modules/bootstrap-less-port/less/mixins/_breakpoints";
@import "../../node_modules/bootstrap-less-port/less/mixins/_grid-framework";
@import "../../node_modules/bootstrap-less-port/less/mixins/_grid";
@import "bootstrap-less-port/less/mixins/_breakpoints";
@import "bootstrap-less-port/less/mixins/_grid-framework";
@import "bootstrap-less-port/less/mixins/_grid";

@import "../../node_modules/bootstrap-less-port/less/_grid";
@import "../../node_modules/bootstrap-less-port/less/utilities/_display";
@import "../../node_modules/bootstrap-less-port/less/utilities/_flex";
@import "bootstrap-less-port/less/_grid";
@import "bootstrap-less-port/less/utilities/_display";
@import "bootstrap-less-port/less/utilities/_flex";
6 changes: 3 additions & 3 deletions packages/bits/src/styles/nui-framework.less
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ html.dark-nova-theme {
}

.nui {
@import (less) "../../node_modules/animate.css/animate.css";
@import (less) "animate.css/animate.css";

// Reset and dependencies
@import "normalize.less";
Expand All @@ -57,8 +57,8 @@ html.dark-nova-theme {
@import "layouts/flex.less";

// Utility classes
@import "../../node_modules/bootstrap-less-port/less/utilities/_sizing";
@import "../../node_modules/bootstrap-less-port/less/utilities/_spacing";
@import "bootstrap-less-port/less/utilities/_sizing";
@import "bootstrap-less-port/less/utilities/_spacing";
@import "utilities.less";
@import "responsive-utilities.less";

Expand Down
6 changes: 3 additions & 3 deletions packages/charts/angular.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"$schema": "/node_modules/@angular/cli/lib/config/schema.json",
"cli": {
"analytics": false
},
Expand Down Expand Up @@ -151,10 +151,10 @@
"outputPath": "./.tmp-css",
"sourceMap": true,
"stylePreprocessorOptions": {
"includePaths": ["node_modules"]
"includePaths": ["../../node_modules"]
},
"styles": ["src/styles.less"],
"tsConfig": "tsconfig.json",
"tsConfig": "./src/tsconfig.css.json",
"vendorChunk": true
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import (reference) "../src/nui-charts";
@import (reference) "../../../../../../../src/styles/nui-charts";

.projected-value,
.projected-unit-label {
Expand Down
2 changes: 1 addition & 1 deletion packages/charts/ng-package-dev.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "node_modules/ng-packagr/ng-package.schema.json",
"$schema": "/node_modules/ng-packagr/ng-package.schema.json",
"allowedNonPeerDependencies": ["."],
"deleteDestPath": false,
"lib": {
Expand Down
2 changes: 1 addition & 1 deletion packages/charts/ng-package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "node_modules/ng-packagr/ng-package.schema.json",
"$schema": "/node_modules/ng-packagr/ng-package.schema.json",
"allowedNonPeerDependencies": ["."],
"lib": {
"entryFile": "./src/public-api.ts"
Expand Down
Loading

0 comments on commit 8f0b366

Please sign in to comment.