WIP - add extractor, generate snippet_data
This commit is contained in:
59
node_modules/name-all-modules-plugin/.npmignore
generated
vendored
Normal file
59
node_modules/name-all-modules-plugin/.npmignore
generated
vendored
Normal file
@ -0,0 +1,59 @@
|
||||
# Logs
|
||||
logs
|
||||
*.log
|
||||
npm-debug.log*
|
||||
yarn-debug.log*
|
||||
yarn-error.log*
|
||||
|
||||
# Runtime data
|
||||
pids
|
||||
*.pid
|
||||
*.seed
|
||||
*.pid.lock
|
||||
|
||||
# Directory for instrumented libs generated by jscoverage/JSCover
|
||||
lib-cov
|
||||
|
||||
# Coverage directory used by tools like istanbul
|
||||
coverage
|
||||
|
||||
# nyc test coverage
|
||||
.nyc_output
|
||||
|
||||
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
|
||||
.grunt
|
||||
|
||||
# Bower dependency directory (https://bower.io/)
|
||||
bower_components
|
||||
|
||||
# node-waf configuration
|
||||
.lock-wscript
|
||||
|
||||
# Compiled binary addons (http://nodejs.org/api/addons.html)
|
||||
build/Release
|
||||
|
||||
# Dependency directories
|
||||
node_modules/
|
||||
jspm_packages/
|
||||
|
||||
# Typescript v1 declaration files
|
||||
typings/
|
||||
|
||||
# Optional npm cache directory
|
||||
.npm
|
||||
|
||||
# Optional eslint cache
|
||||
.eslintcache
|
||||
|
||||
# Optional REPL history
|
||||
.node_repl_history
|
||||
|
||||
# Output of 'npm pack'
|
||||
*.tgz
|
||||
|
||||
# Yarn Integrity file
|
||||
.yarn-integrity
|
||||
|
||||
# dotenv environment variables file
|
||||
.env
|
||||
|
||||
21
node_modules/name-all-modules-plugin/LICENSE
generated
vendored
Normal file
21
node_modules/name-all-modules-plugin/LICENSE
generated
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2017 timse
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
2
node_modules/name-all-modules-plugin/README.md
generated
vendored
Normal file
2
node_modules/name-all-modules-plugin/README.md
generated
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
# name-all-modules-plugin
|
||||
Names all remaining modules that do not get named via NamedModulesPlugin
|
||||
17
node_modules/name-all-modules-plugin/index.js
generated
vendored
Normal file
17
node_modules/name-all-modules-plugin/index.js
generated
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
function NameAllModulesPlugin() {
|
||||
}
|
||||
|
||||
NameAllModulesPlugin.prototype.apply = function (compiler) {
|
||||
compiler.plugin("compilation", (compilation) => {
|
||||
compilation.plugin("before-module-ids", (modules) => {
|
||||
modules.forEach((module) => {
|
||||
if (module.id !== null) {
|
||||
return;
|
||||
}
|
||||
module.id = module.identifier();
|
||||
});
|
||||
});
|
||||
});
|
||||
};
|
||||
|
||||
module.exports = NameAllModulesPlugin;
|
||||
44
node_modules/name-all-modules-plugin/package.json
generated
vendored
Normal file
44
node_modules/name-all-modules-plugin/package.json
generated
vendored
Normal file
@ -0,0 +1,44 @@
|
||||
{
|
||||
"_from": "name-all-modules-plugin@^1.0.1",
|
||||
"_id": "name-all-modules-plugin@1.0.1",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha1-Cr+2rYNXGLn7Te8GdOBmV6lUN1w=",
|
||||
"_location": "/name-all-modules-plugin",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "range",
|
||||
"registry": true,
|
||||
"raw": "name-all-modules-plugin@^1.0.1",
|
||||
"name": "name-all-modules-plugin",
|
||||
"escapedName": "name-all-modules-plugin",
|
||||
"rawSpec": "^1.0.1",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "^1.0.1"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/gatsby"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/name-all-modules-plugin/-/name-all-modules-plugin-1.0.1.tgz",
|
||||
"_shasum": "0abfb6ad835718b9fb4def0674e06657a954375c",
|
||||
"_spec": "name-all-modules-plugin@^1.0.1",
|
||||
"_where": "/Users/stefanfejes/Projects/30-seconds-of-python-code/node_modules/gatsby",
|
||||
"author": {
|
||||
"name": "Tim Sebastian",
|
||||
"email": "tim.sebastian@gmail.com"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/timse/name-all-modules-plugin/issues"
|
||||
},
|
||||
"bundleDependencies": false,
|
||||
"deprecated": false,
|
||||
"description": "Names all remaining modules that do not get named via NamedModulesPlugin Edit",
|
||||
"homepage": "https://github.com/timse/name-all-modules-plugin#readme",
|
||||
"license": "MIT",
|
||||
"main": "index.js",
|
||||
"name": "name-all-modules-plugin",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+ssh://git@github.com/timse/name-all-modules-plugin.git"
|
||||
},
|
||||
"version": "1.0.1"
|
||||
}
|
||||
Reference in New Issue
Block a user