Browse Source

refactor(nocodb): move public to src/public

pull/5721/head
Wing-Kam Wong 2 years ago
parent
commit
e590cb245a
  1. 6
      packages/nocodb/Dockerfile
  2. 6
      packages/nocodb/Dockerfile.local
  3. 0
      packages/nocodb/src/public/css/fonts.montserrat.css
  4. 0
      packages/nocodb/src/public/css/fonts.roboto.css
  5. 0
      packages/nocodb/src/public/css/materialdesignicons.5.x.min.css
  6. 0
      packages/nocodb/src/public/css/swagger-ui-bundle.4.5.2.min.css
  7. 0
      packages/nocodb/src/public/css/vuetify.2.x.min.css
  8. 0
      packages/nocodb/src/public/favicon.ico
  9. 0
      packages/nocodb/src/public/icon.png
  10. 0
      packages/nocodb/src/public/js/axios.0.19.2.min.js
  11. 0
      packages/nocodb/src/public/js/redoc.standalone.min.js
  12. 0
      packages/nocodb/src/public/js/swagger-ui-bundle.4.5.2.min.js
  13. 0
      packages/nocodb/src/public/js/vue.2.6.14.min.js
  14. 0
      packages/nocodb/src/public/js/vue.global.js
  15. 0
      packages/nocodb/src/public/js/vuetify.2.x.min.js
  16. 2
      packages/nocodb/webpack.config.js

6
packages/nocodb/Dockerfile

@ -31,9 +31,9 @@ COPY ./package*.json ./
COPY ./docker/main.js ./docker/main.js COPY ./docker/main.js ./docker/main.js
#COPY ./docker/start.sh /usr/src/appEntry/start.sh #COPY ./docker/start.sh /usr/src/appEntry/start.sh
COPY ./docker/start-litestream.sh /usr/src/appEntry/start.sh COPY ./docker/start-litestream.sh /usr/src/appEntry/start.sh
COPY ./public/css/*.css ./docker/public/css/ COPY src/public/css/*.css ./docker/public/css/
COPY ./public/js/*.js ./docker/public/js/ COPY src/public/js/*.js ./docker/public/js/
COPY ./public/favicon.ico ./docker/public/ COPY src/public/favicon.ico ./docker/public/
# install production dependencies, # install production dependencies,
# reduce node_module size with modclean & removing sqlite deps, # reduce node_module size with modclean & removing sqlite deps,

6
packages/nocodb/Dockerfile.local

@ -14,9 +14,9 @@ COPY ./package*.json ./
COPY ./docker/nc-gui/ ./docker/nc-gui/ COPY ./docker/nc-gui/ ./docker/nc-gui/
COPY ./docker/main.js ./docker/index.js COPY ./docker/main.js ./docker/index.js
COPY ./docker/start-local.sh /usr/src/appEntry/start.sh COPY ./docker/start-local.sh /usr/src/appEntry/start.sh
COPY ./public/css/*.css ./docker/public/css/ COPY src/public/css/*.css ./docker/public/css/
COPY ./public/js/*.js ./docker/public/js/ COPY src/public/js/*.js ./docker/public/js/
COPY ./public/favicon.ico ./docker/public/ COPY src/public/favicon.ico ./docker/public/
# install production dependencies, # install production dependencies,
# reduce node_module size with modclean & removing sqlite deps, # reduce node_module size with modclean & removing sqlite deps,

0
packages/nocodb/public/css/fonts.montserrat.css → packages/nocodb/src/public/css/fonts.montserrat.css

0
packages/nocodb/public/css/fonts.roboto.css → packages/nocodb/src/public/css/fonts.roboto.css

0
packages/nocodb/public/css/materialdesignicons.5.x.min.css → packages/nocodb/src/public/css/materialdesignicons.5.x.min.css vendored

0
packages/nocodb/public/css/swagger-ui-bundle.4.5.2.min.css → packages/nocodb/src/public/css/swagger-ui-bundle.4.5.2.min.css vendored

0
packages/nocodb/public/css/vuetify.2.x.min.css → packages/nocodb/src/public/css/vuetify.2.x.min.css vendored

0
packages/nocodb/public/favicon.ico → packages/nocodb/src/public/favicon.ico

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

0
packages/nocodb/public/icon.png → packages/nocodb/src/public/icon.png

Before

Width:  |  Height:  |  Size: 6.3 KiB

After

Width:  |  Height:  |  Size: 6.3 KiB

0
packages/nocodb/public/js/axios.0.19.2.min.js → packages/nocodb/src/public/js/axios.0.19.2.min.js vendored

0
packages/nocodb/public/js/redoc.standalone.min.js → packages/nocodb/src/public/js/redoc.standalone.min.js vendored

0
packages/nocodb/public/js/swagger-ui-bundle.4.5.2.min.js → packages/nocodb/src/public/js/swagger-ui-bundle.4.5.2.min.js vendored

0
packages/nocodb/public/js/vue.2.6.14.min.js → packages/nocodb/src/public/js/vue.2.6.14.min.js vendored

0
packages/nocodb/public/js/vue.global.js → packages/nocodb/src/public/js/vue.global.js

0
packages/nocodb/public/js/vuetify.2.x.min.js → packages/nocodb/src/public/js/vuetify.2.x.min.js vendored

2
packages/nocodb/webpack.config.js

@ -44,7 +44,7 @@ module.exports = {
plugins: [ plugins: [
new webpack.EnvironmentPlugin(['EE']), new webpack.EnvironmentPlugin(['EE']),
new CopyPlugin({ new CopyPlugin({
patterns: [{ from: 'public', to: 'public' }], patterns: [{ from: 'src/public', to: 'public' }],
}), }),
], ],

Loading…
Cancel
Save