diff --git a/index.html b/index.html index 3d2b9df..f0ee999 100644 --- a/index.html +++ b/index.html @@ -5,469 +5,75 @@ Librarie.js sample page - - - + + - .SearchFilterPanel label.Category > * { - margin-top: 0.15rem; - vertical-align: top !important; - } + - #overlay { - position: fixed; - display: none; - width: 100%; - height: 100%; - top: 0; - left: 0; - right: 0; - bottom: 0; - background-color: rgba(0,0,0,0.5); - z-index: 2; - } - - +
- -
- -
- - - + + + \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index d2d6018..caaac8b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@dynamods/librariejs", - "version": "1.0.3", + "version": "1.0.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@dynamods/librariejs", - "version": "1.0.3", + "version": "1.0.4", "license": "MIT", "dependencies": { "core-js": "^3.36.1", @@ -33,6 +33,7 @@ "enzyme": "^3.11.0", "enzyme-adapter-react-16": "^1.15.5", "enzyme-to-json": "^3.6.1", + "file-loader": "^6.2.0", "jest": "^29.6.4", "jest-environment-jsdom": "^29.6.4", "jest-junit": "^16.0.0", @@ -4075,6 +4076,58 @@ "bser": "2.1.1" } }, + "node_modules/file-loader": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/file-loader/-/file-loader-6.2.0.tgz", + "integrity": "sha512-qo3glqyTa61Ytg4u73GultjHGjdRyig3tG6lPtyX/jOEJvHif9uB0/OCI2Kif6ctF3caQTW2G5gym21oAsI4pw==", + "dev": true, + "dependencies": { + "loader-utils": "^2.0.0", + "schema-utils": "^3.0.0" + }, + "engines": { + "node": ">= 10.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "webpack": "^4.0.0 || ^5.0.0" + } + }, + "node_modules/file-loader/node_modules/loader-utils": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.4.tgz", + "integrity": "sha512-xXqpXoINfFhgua9xiqD8fPFHgkoq1mmmpE92WlDbm9rNRd/EbRb+Gqf908T2DMfuHjjJlksiK2RbHVOdD/MqSw==", + "dev": true, + "dependencies": { + "big.js": "^5.2.2", + "emojis-list": "^3.0.0", + "json5": "^2.1.2" + }, + "engines": { + "node": ">=8.9.0" + } + }, + "node_modules/file-loader/node_modules/schema-utils": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.3.0.tgz", + "integrity": "sha512-pN/yOAvcC+5rQ5nERGuwrjLlYvLTbCibnZ1I7B1LaiAz9BRBlE9GMgE/eqV30P7aJQUf7Ddimy/RsbYO/GrVGg==", + "dev": true, + "dependencies": { + "@types/json-schema": "^7.0.8", + "ajv": "^6.12.5", + "ajv-keywords": "^3.5.2" + }, + "engines": { + "node": ">= 10.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + } + }, "node_modules/fill-range": { "version": "7.0.1", "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", diff --git a/package.json b/package.json index 6bbf3e7..23bf322 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@dynamods/librariejs", - "version": "1.0.3", + "version": "1.0.4", "description": "Project that contains all hosted contents of Dynamo Windows client", "main": "index.js", "scripts": { @@ -10,7 +10,7 @@ "build": "cross-env NODE_ENV=production --mode=development webpack", "bundle": "cross-env NODE_ENV=production --mode=production webpack", "copy": "cp package.json dist/ && cp README.md dist/ && cp -r license_output dist/", - "production": "npm run bundle && npm run copy", + "production": "npm run bundle && npm run copy && rm -r dist/build/resources", "serve": "npm run dev & node ./index.js", "lic_direct": "npx @adsk/adsk-npm-license-puller --path . --app-name 'librariejs' --verbose --about-box ./license_output/about-box_direct.html --about-box-type desktop --year 2022 --paos ./license_output/paos_direct.csv", "lic_transitive": "npx @adsk/adsk-npm-license-puller --path . --app-name 'librariejs' --verbose --about-box ./license_output/about-box_transitive.html --about-box-type desktop --transitive --year 2022 --paos ./license_output/paos_transitive.csv", @@ -47,6 +47,7 @@ "enzyme": "^3.11.0", "enzyme-adapter-react-16": "^1.15.5", "enzyme-to-json": "^3.6.1", + "file-loader": "^6.2.0", "jest": "^29.6.4", "jest-environment-jsdom": "^29.6.4", "jest-junit": "^16.0.0", diff --git a/webpack.config.js b/webpack.config.js index a850e77..c4665d1 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -19,10 +19,11 @@ module.exports = { target: "web", output: { filename: productionBuild ? "librarie.min.js" : "librarie.js", - path: path.join(__dirname, '/dist/build'), + path: path.join(__dirname, '/dist/build/'), publicPath: "./dist/build/", libraryTarget: "umd", library: "LibraryEntryPoint", + clean: true }, optimization:{ minimize: !!productionBuild,