cvminigames


Namecvminigames JSON
Version 0.0.20 PyPI version JSON
download
home_pagehttps://godatadriven.com/blog/a-practical-guide-to-setuptools-and-pyproject-toml
Summarycvminigames package description
upload_time2023-01-24 00:10:30
maintainer
docs_urlNone
authorYou
requires_python
licenseBSD 3-Clause License
keywords cvminigames setuptools
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # <a href="https://karpatic.github.io/CVminiGames.github.io/">CVMiniGames</a>

## Welcome! 

please visit the official [website](https://cvminigames.com/) for more information

Scrip1 - > exportedComponent
Scrip2 - > Nothing
file.worker.js - > console.log('workerhelper')

## index.js: 
- Entirely Async  
- Import Chardin
- if (window.location.search contains 'viewone')
- - lay load assets
- - document.body.innerHTML 


###  Entry
- head: './src/head.js',
- index: './src/index.js'

### Optimization
- minimizer
- - `TerserPlugin` => sourcemap: true, **removeComments: commentedOut**
- - `OptimizeCssAssetsPlugin`
- splitChunks: all

### Output
- ChunkFileNames
- GlobalObject: "this"

### Module Rules
- .worker.js => `worker-loader`: inline: true
- .jsx => `babel-loader`: 
- - presets: ["@babel/preset-env", "@babel/preset-react"], 
- - plugins: [ '@babel/transform-runtime' ]
- .css or .s[ac]ss => 
- - `MiniCssExtractPlugin`: hmr: iffInDevMode
- - `css-loader`
- - `postcss-loader`:  Plugins: [`postcss-preset-env`, `cssnano`]
- - `sass-loader`: .s[ac]ss Only
- .svg => `svg-inline-loader?classPrefix`
- .(png|jpg|gif|ico) => `url-loader`: limit: false
- .(csv|tsv)$/ => `csv-loader`

### plugins
- `CleanWebpackPlugin`
- `MiniCssExtractPlugin`
- `HtmlWebpackInlineSourcePlugin`(HtmlWebpackPlugin)
- `HtmlWebpackPlugin` =>
- - templateContent: "<!DOCTYPE html> <html lang="en"> <div id="head"></div> <body> <div id="body"></div> </body> </html>",
- - inlineSource: env.NODE_ENV == 'local' ? false : '^(index).*.(css)$', 
- - inject: 'head'
- `ScriptExtHtmlWebpackPlugin`
- - **Delete '/head/' e.g [vendors~head] Before deploy**
- - preload: (index|imported).*.(js|json|svg|css),
- - prefetch: .(js|json|svg|css),
- - defaultAttribute: 'async',
- `WebpackPwaManifest`: Inline Specifications
- `WorkboxPlugin.GenerateSW`
- - **Commented out**
- - swDest: './sw.js',
- - runtimeCaching: [/\.(?:png|jpg|jpeg|svg|js)$/]
- `CopyWebpackPlugin`: ['./src/data', './src/header.json', './src/error', './src/.htaccess',  './src/robots.txt' ] 

### devServer
- A proxy was set up to deliver data from the localhost path /data during dev.
- For production, copyWebpackPlugin is used and the path just works.
- https://webpack.js.org/loaders/file-loader/ removes this complication.




npm install @capacitor/android
npx cap init
npx cap add android
npx cap open android






# Dependency description and caveats

## [react-snap](https://github.com/stereobooster/react-snap/blob/master/doc/alternatives.md)

https://github.com/stereobooster/react-snap/blob/master/doc/recipes.md
https://github.com/stereobooster/react-snap/blob/master/tests/examples/partial/index.js
https://github.com/stereobooster/react-snap/blob/88ef70dd419158c18b9845034513dc84a3e100d9/index.js

React-snapshot Follows every relative URL to crawl the whole site.
We move build/index.html to build/200.html at the beginning, because it's a nice convention. 
Hosts like surge.sh understand this, serving 200.html if no snapshot exists for a URL. 
If you use a different host I'm sure you can make it do the same.
The default snapshot delay is 50ms.
  
Works with routing strategies using the HTML5 history API. No hash(bang) URLs.
https://github.com/stereobooster/react-snap/blob/master/doc/behind-the-scenes.md


https://blobanimation.com/

Compress pics w/ webP 
- Tries to use generator rules first if applicable and then minimizer. 
- must optimize generator outputs separately
Keep Init Page under 14Kb's 
Use native fonts
Inline Critical CSS.
No need for preload img/tags


https://webpack.js.org/api/module-methods/
https://webpack.js.org/guides/asset-modules/
https://www.npmjs.com/package/@ionic/core



https://developers.google.com/search/docs/crawling-indexing/qualify-outbound-links
https://www.searchenginejournal.com/important-tags-seo/156440/
SERP: visit schema.org and see whether they’ve got any tags that can be applied to your types of pages.


https://developers.google.com/search/docs/crawling-indexing/sitemaps/build-sitemap#autositemap
Google: generate sitemap
Submit your sitemap to Google: https://www.google.com/ping?sitemap=https://cvminigames.com/sitemap.txt

the maps and tables need fixing
https://www.link-assistant.com/news/structured-data-for-seo.html

admin only: 
manifest
https://github.com/icelam/html-inline-script-webpack-plugin
https://github.com/webpack-contrib/json-minimizer-webpack-plugin/tree/master/test

python packaging uses dist and webpack does not.

            

Raw data

            {
    "_id": null,
    "home_page": "https://godatadriven.com/blog/a-practical-guide-to-setuptools-and-pyproject-toml",
    "name": "cvminigames",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "cvminigames,setuptools",
    "author": "You",
    "author_email": "your@email.address",
    "download_url": "https://files.pythonhosted.org/packages/db/84/2c63d50ca88174980ff72cea694b4d855c825e6e8d8a3c4c31f2c4c058ef/cvminigames-0.0.20.tar.gz",
    "platform": null,
    "description": "# <a href=\"https://karpatic.github.io/CVminiGames.github.io/\">CVMiniGames</a>\r\n\r\n## Welcome! \r\n\r\nplease visit the official [website](https://cvminigames.com/) for more information\r\n\r\nScrip1 - > exportedComponent\r\nScrip2 - > Nothing\r\nfile.worker.js - > console.log('workerhelper')\r\n\r\n## index.js: \r\n- Entirely Async  \r\n- Import Chardin\r\n- if (window.location.search contains 'viewone')\r\n- - lay load assets\r\n- - document.body.innerHTML \r\n\r\n\r\n###  Entry\r\n- head: './src/head.js',\r\n- index: './src/index.js'\r\n\r\n### Optimization\r\n- minimizer\r\n- - `TerserPlugin` => sourcemap: true, **removeComments: commentedOut**\r\n- - `OptimizeCssAssetsPlugin`\r\n- splitChunks: all\r\n\r\n### Output\r\n- ChunkFileNames\r\n- GlobalObject: \"this\"\r\n\r\n### Module Rules\r\n- .worker.js => `worker-loader`: inline: true\r\n- .jsx => `babel-loader`: \r\n- - presets: [\"@babel/preset-env\", \"@babel/preset-react\"], \r\n- - plugins: [ '@babel/transform-runtime' ]\r\n- .css or .s[ac]ss => \r\n- - `MiniCssExtractPlugin`: hmr: iffInDevMode\r\n- - `css-loader`\r\n- - `postcss-loader`:  Plugins: [`postcss-preset-env`, `cssnano`]\r\n- - `sass-loader`: .s[ac]ss Only\r\n- .svg => `svg-inline-loader?classPrefix`\r\n- .(png|jpg|gif|ico) => `url-loader`: limit: false\r\n- .(csv|tsv)$/ => `csv-loader`\r\n\r\n### plugins\r\n- `CleanWebpackPlugin`\r\n- `MiniCssExtractPlugin`\r\n- `HtmlWebpackInlineSourcePlugin`(HtmlWebpackPlugin)\r\n- `HtmlWebpackPlugin` =>\r\n- - templateContent: \"<!DOCTYPE html> <html lang=\"en\"> <div id=\"head\"></div> <body> <div id=\"body\"></div> </body> </html>\",\r\n- - inlineSource: env.NODE_ENV == 'local' ? false : '^(index).*.(css)$', \r\n- - inject: 'head'\r\n- `ScriptExtHtmlWebpackPlugin`\r\n- - **Delete '/head/' e.g [vendors~head] Before deploy**\r\n- - preload: (index|imported).*.(js|json|svg|css),\r\n- - prefetch: .(js|json|svg|css),\r\n- - defaultAttribute: 'async',\r\n- `WebpackPwaManifest`: Inline Specifications\r\n- `WorkboxPlugin.GenerateSW`\r\n- - **Commented out**\r\n- - swDest: './sw.js',\r\n- - runtimeCaching: [/\\.(?:png|jpg|jpeg|svg|js)$/]\r\n- `CopyWebpackPlugin`: ['./src/data', './src/header.json', './src/error', './src/.htaccess',  './src/robots.txt' ] \r\n\r\n### devServer\r\n- A proxy was set up to deliver data from the localhost path /data during dev.\r\n- For production, copyWebpackPlugin is used and the path just works.\r\n- https://webpack.js.org/loaders/file-loader/ removes this complication.\r\n\r\n\r\n\r\n\r\nnpm install @capacitor/android\r\nnpx cap init\r\nnpx cap add android\r\nnpx cap open android\r\n\r\n\r\n\r\n\r\n\r\n\r\n# Dependency description and caveats\r\n\r\n## [react-snap](https://github.com/stereobooster/react-snap/blob/master/doc/alternatives.md)\r\n\r\nhttps://github.com/stereobooster/react-snap/blob/master/doc/recipes.md\r\nhttps://github.com/stereobooster/react-snap/blob/master/tests/examples/partial/index.js\r\nhttps://github.com/stereobooster/react-snap/blob/88ef70dd419158c18b9845034513dc84a3e100d9/index.js\r\n\r\nReact-snapshot Follows every relative URL to crawl the whole site.\r\nWe move build/index.html to build/200.html at the beginning, because it's a nice convention. \r\nHosts like surge.sh understand this, serving 200.html if no snapshot exists for a URL. \r\nIf you use a different host I'm sure you can make it do the same.\r\nThe default snapshot delay is 50ms.\r\n  \r\nWorks with routing strategies using the HTML5 history API. No hash(bang) URLs.\r\nhttps://github.com/stereobooster/react-snap/blob/master/doc/behind-the-scenes.md\r\n\r\n\r\nhttps://blobanimation.com/\r\n\r\nCompress pics w/ webP \r\n- Tries to use generator rules first if applicable and then minimizer. \r\n- must optimize generator outputs separately\r\nKeep Init Page under 14Kb's \r\nUse native fonts\r\nInline Critical CSS.\r\nNo need for preload img/tags\r\n\r\n\r\nhttps://webpack.js.org/api/module-methods/\r\nhttps://webpack.js.org/guides/asset-modules/\r\nhttps://www.npmjs.com/package/@ionic/core\r\n\r\n\r\n\r\nhttps://developers.google.com/search/docs/crawling-indexing/qualify-outbound-links\r\nhttps://www.searchenginejournal.com/important-tags-seo/156440/\r\nSERP: visit schema.org and see whether they\u2019ve got any tags that can be applied to your types of pages.\r\n\r\n\r\nhttps://developers.google.com/search/docs/crawling-indexing/sitemaps/build-sitemap#autositemap\r\nGoogle: generate sitemap\r\nSubmit your sitemap to Google: https://www.google.com/ping?sitemap=https://cvminigames.com/sitemap.txt\r\n\r\nthe maps and tables need fixing\r\nhttps://www.link-assistant.com/news/structured-data-for-seo.html\r\n\r\nadmin only: \r\nmanifest\r\nhttps://github.com/icelam/html-inline-script-webpack-plugin\r\nhttps://github.com/webpack-contrib/json-minimizer-webpack-plugin/tree/master/test\r\n\r\npython packaging uses dist and webpack does not.\r\n",
    "bugtrack_url": null,
    "license": "BSD 3-Clause License",
    "summary": "cvminigames package description",
    "version": "0.0.20",
    "split_keywords": [
        "cvminigames",
        "setuptools"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c40dd6777f749e6ffcbccb04b440efaa51f4d5591a3797b0e3ff2ddd14e60b7b",
                "md5": "74363c77b936ed4daba3c2ade43fdc05",
                "sha256": "a6d126aa952b6f2abd9dbc2a2edf84df9466fd0b396738e28648dda0a952c9b8"
            },
            "downloads": -1,
            "filename": "cvminigames-0.0.20-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "74363c77b936ed4daba3c2ade43fdc05",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 7319,
            "upload_time": "2023-01-24T00:10:28",
            "upload_time_iso_8601": "2023-01-24T00:10:28.779723Z",
            "url": "https://files.pythonhosted.org/packages/c4/0d/d6777f749e6ffcbccb04b440efaa51f4d5591a3797b0e3ff2ddd14e60b7b/cvminigames-0.0.20-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "db842c63d50ca88174980ff72cea694b4d855c825e6e8d8a3c4c31f2c4c058ef",
                "md5": "0a0d86085c2b4f268ca8bf41b7274520",
                "sha256": "0041044b00631fdf29ad28a9eff21937b8fd7e1605b8b7ac126ed811e9320fea"
            },
            "downloads": -1,
            "filename": "cvminigames-0.0.20.tar.gz",
            "has_sig": false,
            "md5_digest": "0a0d86085c2b4f268ca8bf41b7274520",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 7390,
            "upload_time": "2023-01-24T00:10:30",
            "upload_time_iso_8601": "2023-01-24T00:10:30.717348Z",
            "url": "https://files.pythonhosted.org/packages/db/84/2c63d50ca88174980ff72cea694b4d855c825e6e8d8a3c4c31f2c4c058ef/cvminigames-0.0.20.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-01-24 00:10:30",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "lcname": "cvminigames"
}
        
You
Elapsed time: 0.03497s