Skip to content

Commit

Permalink
[ZEPPELIN-5792] Remove bower references
Browse files Browse the repository at this point in the history
  • Loading branch information
matthias-koch committed Sep 19, 2023
1 parent fe2e108 commit 8a789c4
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 38 deletions.
34 changes: 0 additions & 34 deletions zeppelin-web/Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,40 +130,6 @@ module.exports = function(grunt) {
}
},

// Automatically inject Bower components into the app
wiredep: {
ci: {
src: ['<%= yeoman.app %>/index.html'],
ignorePath: /\.\.\//,
exclude: [
]
},
dist: {
src: ['<%= yeoman.app %>/index.html'],
ignorePath: /\.\.\//,
exclude: [
],
},
test: {
devDependencies: true,
src: '<%= karma.unit.configFile %>',
ignorePath: /\.\.\//,
exclude: [
],
fileTypes: {
js: {
block: /(([\s\t]*)\/{2}\s*?bower:\s*?(\S*))(\n|\r|.)*?(\/{2}\s*endbower)/gi,
detect: {
js: /'(.*\.js)'/gi
},
replace: {
js: '\'{{filePath}}\','
}
}
}
}
},

// Reads HTML for usemin blocks to enable smart builds that automatically
// concat, minify and revision files. Creates configurations in memory so
// additional tasks can operate on them
Expand Down
3 changes: 1 addition & 2 deletions zeppelin-web/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ It is recommended to install node 6.0.0+ since Zeppelin uses 6.9.1+ (see [creati
All build commands are described in [package.json](./package.json)

```sh
# install required depepdencies and bower packages (only once)
$ npm install -g npm
# install required depepdencies (only once)
$ npm install

# build zeppelin-web for production
Expand Down
2 changes: 1 addition & 1 deletion zeppelin-web/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
<executions>

<execution>
<id>install node and npm-install</id>
<id>install node and npm</id>
<goals>
<goal>install-node-and-npm</goal>
</goals>
Expand Down
2 changes: 1 addition & 1 deletion zeppelin-web/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ module.exports = function makeWebpackConfig () {
// Compiles ES6 and ES7 into ES5 code
test: /\.(js|jsx)$/,
use: ['ng-annotate-loader', 'babel-loader'],
exclude: /(node_modules|bower_components)/,
exclude: /(node_modules)/,
}, {
// CSS LOADER
// Reference: https://github.com/webpack/css-loader
Expand Down

0 comments on commit 8a789c4

Please sign in to comment.