1
0
mirror of https://github.com/dkmstr/openuds-gui.git synced 2024-12-21 13:33:48 +03:00

Updated to yarn 4.x

This commit is contained in:
Adolfo Gómez García 2024-07-10 04:50:36 +02:00
parent fc0e01355b
commit c3e7fc56c5
No known key found for this signature in database
GPG Key ID: DD1ABF20724CDA23
6 changed files with 53 additions and 12 deletions

3
.gitignore vendored
View File

@ -9,6 +9,8 @@
# dependencies
/node_modules
yarn.lock
.yarn
.pnp.*
# IDEs and editors
/.idea
@ -44,4 +46,3 @@ testem.log
# System Files
.DS_Store
Thumbs.db
.vscode

7
.vscode/extensions.json vendored Normal file
View File

@ -0,0 +1,7 @@
{
"recommendations": [
"arcanis.vscode-zipfs",
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode"
]
}

22
.vscode/launch.json vendored Normal file
View File

@ -0,0 +1,22 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "chrome",
"request": "launch",
"name": "Launch Chrome",
"url": "http://172.27.0.1:8000", // For auth first, later go to :9000
"webRoot": "${workspaceFolder}"
},
{
"type": "firefox",
"request": "launch",
"name": "Launch Firefox",
"url": "http://172.27.0.1:8000", // For auth first, later go to :9000
"webRoot": "${workspaceFolder}"
}
]
}

16
.vscode/settings.json vendored
View File

@ -1,6 +1,14 @@
{
"python.linting.enabled": true,
"python.pythonPath": "/usr/bin/python3",
"prettier.singleQuote": true,
"typescript.preferences.quoteStyle": "single"
"python.linting.enabled": true,
"python.pythonPath": "/usr/bin/python3",
"prettier.singleQuote": true,
"typescript.preferences.quoteStyle": "single",
"search.exclude": {
"**/.yarn": true,
"**/.pnp.*": true
},
"eslint.nodePath": ".yarn/sdks",
"prettier.prettierPath": ".yarn/sdks/prettier/index.js",
"typescript.tsdk": ".yarn/sdks/typescript/lib",
"typescript.enablePromptUseWorkspaceTsdk": true
}

View File

@ -26,10 +26,11 @@
"src/favicon.ico"
],
"styles": [
"src/styles.scss"
"src/styles.scss",
"vendor/cookieconsent/cookieconsent.min.css"
],
"scripts": [
"node_modules/cookieconsent/build/cookieconsent.min.js"
"vendor/cookieconsent/cookieconsent.min.js"
],
"extractLicenses": false,
"sourceMap": true,
@ -85,10 +86,11 @@
"polyfills": "src/polyfills.ts",
"tsConfig": "src/tsconfig.spec.json",
"scripts": [
"node_modules/cookieconsent/build/cookieconsent.min.js"
"vendor/cookieconsent/cookieconsent.min.js"
],
"styles": [
"src/styles.scss"
"src/styles.scss",
"vendor/cookieconsent/cookieconsent.min.css"
],
"assets": [
"src/static",

View File

@ -5,7 +5,7 @@
"scripts": {
"ng": "ng",
"start": "ng serve --host 0.0.0.0 --port 9000 --proxy-config proxy.conf.json",
"build": "ng build --configuration production --subresource-integrity --output-hashing=none --aot --delete-output-path --deploy-url /uds/res/modern/ --base-href /uds/page",
"build": "ng build --configuration production --subresource-integrity --output-hashing=none --aot --delete-output-path --deploy-url /uds/res/modern/ --base-href /uds/page && yarn postbuild",
"postbuild": "python3 toUDS.py",
"test": "ng test",
"lint": "ng lint",
@ -27,7 +27,6 @@
"@angular/platform-browser": "^18.0.3",
"@angular/platform-browser-dynamic": "^18.0.3",
"@angular/router": "^18.0.3",
"cookieconsent": "^3.1.1",
"core-js": "^3.21.1",
"rxjs": "^7.5.4",
"tslib": "^2.3.1",
@ -45,6 +44,7 @@
"@angular/cli": "^18.0.4",
"@angular/compiler-cli": "^18.0.3",
"@angular/language-service": "^18.0.3",
"@types/cookieconsent": "^3",
"@types/jasmine": "~3.6.0",
"@types/jasminewd2": "~2.0.6",
"@types/node": "^12.11.1",
@ -70,5 +70,6 @@
"protractor": "^7.0.0",
"ts-node": "~8.4.1",
"typescript": "~5.4.5"
}
},
"packageManager": "yarn@4.3.1"
}