@jseeio/jsee 0.4.1 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. package/CHANGELOG.md +90 -0
  2. package/LICENSE +21 -0
  3. package/README.md +583 -55
  4. package/dist/2b3e1faf89f94a483539.png +0 -0
  5. package/dist/416d91365b44e4b4f477.png +0 -0
  6. package/dist/8f2c4d11474275fbc161.png +0 -0
  7. package/dist/jsee.core.js +1 -0
  8. package/dist/jsee.full.js +1 -0
  9. package/dist/jsee.runtime.js +2 -1
  10. package/package.json +84 -18
  11. package/src/app.js +130 -33
  12. package/src/cli.js +474 -64
  13. package/src/extended-imports.js +11 -0
  14. package/src/main.js +264 -45
  15. package/src/overlay.js +26 -1
  16. package/src/utils.js +390 -12
  17. package/templates/common-inputs.js +88 -0
  18. package/templates/common-outputs.js +340 -4
  19. package/templates/minimal-app.vue +367 -0
  20. package/templates/minimal-input.vue +573 -0
  21. package/templates/minimal-output.vue +426 -0
  22. package/templates/virtual-table.vue +194 -0
  23. package/.claude/settings.local.json +0 -13
  24. package/.eslintrc.js +0 -38
  25. package/AGENTS.md +0 -65
  26. package/CLAUDE.md +0 -5
  27. package/CNAME +0 -1
  28. package/_config.yml +0 -26
  29. package/dist/jsee.js +0 -1
  30. package/jest-puppeteer.config.js +0 -14
  31. package/jest.config.js +0 -8
  32. package/jest.unit.config.js +0 -8
  33. package/load/index.html +0 -52
  34. package/templates/bulma-app.vue +0 -242
  35. package/templates/bulma-input.vue +0 -125
  36. package/templates/bulma-output.vue +0 -101
  37. package/test/class.html +0 -22
  38. package/test/code.html +0 -25
  39. package/test/codew.html +0 -25
  40. package/test/example-class.js +0 -8
  41. package/test/example-sum.js +0 -3
  42. package/test/fixtures/lodash-like.js +0 -15
  43. package/test/fixtures/upload-sample.csv +0 -3
  44. package/test/importw.html +0 -28
  45. package/test/minimal.html +0 -14
  46. package/test/minimal1.html +0 -13
  47. package/test/minimal2.html +0 -15
  48. package/test/minimal3.html +0 -10
  49. package/test/minimal4.html +0 -22
  50. package/test/pipeline.html +0 -52
  51. package/test/python.html +0 -41
  52. package/test/string.html +0 -26
  53. package/test/stringw.html +0 -29
  54. package/test/sum.schema.json +0 -17
  55. package/test/sumw.schema.json +0 -15
  56. package/test/test-basic.test.js +0 -603
  57. package/test/test-python.test.js +0 -23
  58. package/test/unit/cli-fetch.test.js +0 -229
  59. package/test/unit/utils.test.js +0 -888
  60. package/webpack.config.js +0 -101
package/webpack.config.js DELETED
@@ -1,101 +0,0 @@
1
- const path = require('path')
2
- const { VueLoaderPlugin } = require('vue-loader') // Support Vue's SFCs
3
- const TerserPlugin = require('terser-webpack-plugin') // Minimize code
4
- const webpack = require('webpack')
5
- const package = require('./package.json')
6
-
7
- module.exports = (env) => {
8
- const config = {
9
- entry: './src/main.js',
10
- output: {
11
- filename: env.RUNTIME ? 'jsee.runtime.js' : 'jsee.js',
12
- path: path.resolve(__dirname, 'dist'),
13
- publicPath: '/dist/', // Should fix Uncaught Error when downloaded: Automatic publicPath is not supported in this browser
14
- library: {
15
- type: 'umd',
16
- name: 'JSEE',
17
- export: 'default',
18
- },
19
- },
20
- // Define loaders
21
- module: {
22
- rules: [
23
- {
24
- test: /\.vue$/,
25
- loader: 'vue-loader'
26
- },
27
- {
28
- test: /\.js$/,
29
- loader: 'babel-loader'
30
- },
31
- {
32
- test: /\.html/,
33
- type: 'asset/source'
34
- },
35
- {
36
- test: /\.css$/,
37
- use: [
38
- 'vue-style-loader',
39
- 'css-loader',
40
- ]
41
- },
42
- {
43
- test: /worker\.js$/,
44
- loader: "worker-loader",
45
- options: {
46
- inline: 'no-fallback'
47
- },
48
- },
49
- {
50
- test: /\.scss$/,
51
- use: [
52
- 'vue-style-loader',
53
- 'css-loader',
54
- 'sass-loader'
55
- ]
56
- }
57
- ]
58
- },
59
- plugins: [
60
- new VueLoaderPlugin(),
61
- // Replace those values in the code
62
- new webpack.DefinePlugin({
63
- 'VERSION': JSON.stringify(package.version),
64
- 'RUNTIME': JSON.stringify(env.RUNTIME),
65
- })
66
- ],
67
- // Load different versions of vue based on RUNTIME value
68
- resolve: {
69
- alias: {
70
- vue$: env.RUNTIME
71
- ? 'vue/dist/vue.runtime.esm-bundler.js'
72
- : 'vue/dist/vue.esm-bundler'
73
- },
74
- fallback: {}
75
- },
76
- // Update recommended size limit
77
- performance: {
78
- hints: false,
79
- maxEntrypointSize: 512000,
80
- maxAssetSize: 512000
81
- },
82
- // Remove comments
83
- optimization: {
84
- minimize: true,
85
- minimizer: [new TerserPlugin({
86
- extractComments: false,
87
- terserOptions: {
88
- format: {
89
- comments: false,
90
- },
91
- }
92
- })],
93
- },
94
- // Source map
95
- devtool: env.DEVELOPMENT
96
- ? 'eval-source-map'
97
- : false
98
- }
99
-
100
- return config
101
- }