@misterzik/create-kiss 1.0.0 → 1.0.2

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 (184) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +53 -53
  3. package/bin/create-kiss.js +90 -90
  4. package/package.json +47 -47
  5. package/template/dist/assets/fonts/.gitkeep +0 -0
  6. package/template/dist/assets/images/iphone-screen.png +0 -0
  7. package/template/dist/assets/images/logo.png +0 -0
  8. package/template/dist/assets/images/simon-lee-earth.jpg +0 -0
  9. package/template/dist/assets/images/wavy.svg +7 -0
  10. package/template/dist/bundle.js +2 -0
  11. package/template/dist/bundle.js.map +1 -0
  12. package/template/dist/css/app.css +3 -0
  13. package/template/dist/css/app.css.map +1 -0
  14. package/template/dist/index.html +4 -0
  15. package/template/node_modules/.package-lock.json +6800 -6779
  16. package/template/node_modules/@babel/parser/bin/babel-parser.js +0 -0
  17. package/template/node_modules/@parcel/watcher-linux-x64-glibc/README.md +1 -0
  18. package/template/node_modules/@parcel/watcher-linux-x64-glibc/package.json +33 -0
  19. package/template/node_modules/@parcel/watcher-linux-x64-glibc/watcher.node +0 -0
  20. package/template/node_modules/@parcel/watcher-linux-x64-musl/LICENSE +21 -0
  21. package/template/node_modules/@parcel/watcher-linux-x64-musl/README.md +1 -0
  22. package/template/node_modules/@parcel/{watcher-win32-x64 → watcher-linux-x64-musl}/package.json +5 -2
  23. package/template/node_modules/@parcel/watcher-linux-x64-musl/watcher.node +0 -0
  24. package/template/node_modules/@types/html-minifier-terser/LICENSE +0 -0
  25. package/template/node_modules/@types/html-minifier-terser/README.md +0 -0
  26. package/template/node_modules/@types/html-minifier-terser/index.d.ts +0 -0
  27. package/template/node_modules/@types/html-minifier-terser/package.json +0 -0
  28. package/template/node_modules/@types/retry/LICENSE +0 -0
  29. package/template/node_modules/@types/retry/README.md +0 -0
  30. package/template/node_modules/@types/retry/index.d.ts +0 -0
  31. package/template/node_modules/@types/retry/package.json +0 -0
  32. package/template/node_modules/acorn/bin/acorn +0 -0
  33. package/template/node_modules/animate.css/animate.min.css +0 -0
  34. package/template/node_modules/ansi-html-community/bin/ansi-html +0 -0
  35. package/template/node_modules/baseline-browser-mapping/dist/cli.js +0 -0
  36. package/template/node_modules/browserslist/cli.js +0 -0
  37. package/template/node_modules/core-js-compat/data.json +0 -0
  38. package/template/node_modules/core-js-compat/entries.json +0 -0
  39. package/template/node_modules/core-js-compat/external.json +0 -0
  40. package/template/node_modules/core-js-compat/modules-by-versions.json +0 -0
  41. package/template/node_modules/core-js-compat/modules.json +0 -0
  42. package/template/node_modules/css-loader/node_modules/semver/bin/semver.js +0 -0
  43. package/template/node_modules/cssesc/bin/cssesc +0 -0
  44. package/template/node_modules/detect-libc/bin/detect-libc.js +0 -0
  45. package/template/node_modules/envinfo/dist/cli.js +0 -0
  46. package/template/node_modules/esrecurse/package.json +0 -0
  47. package/template/node_modules/flat/cli.js +0 -0
  48. package/template/node_modules/he/bin/he +0 -0
  49. package/template/node_modules/hpack.js/bin/benchmark +0 -0
  50. package/template/node_modules/html-minifier-terser/cli.js +0 -0
  51. package/template/node_modules/import-local/fixtures/cli.js +0 -0
  52. package/template/node_modules/is-docker/cli.js +0 -0
  53. package/template/node_modules/is-inside-container/cli.js +0 -0
  54. package/template/node_modules/jsesc/bin/jsesc +0 -0
  55. package/template/node_modules/json5/lib/cli.js +0 -0
  56. package/template/node_modules/micromatch/LICENSE +0 -0
  57. package/template/node_modules/mime/cli.js +0 -0
  58. package/template/node_modules/mime/src/build.js +0 -0
  59. package/template/node_modules/multicast-dns/cli.js +0 -0
  60. package/template/node_modules/nanoid/bin/nanoid.cjs +0 -0
  61. package/template/node_modules/node-addon-api/tools/conversion.js +0 -0
  62. package/template/node_modules/open/xdg-open +0 -0
  63. package/template/node_modules/regenerate-unicode-properties/index.js +0 -0
  64. package/template/node_modules/regjsparser/bin/parser +0 -0
  65. package/template/node_modules/resolve/bin/resolve +0 -0
  66. package/template/node_modules/sass/sass.js +0 -0
  67. package/template/node_modules/semver/bin/semver.js +0 -0
  68. package/template/node_modules/shell-quote/print.py +0 -0
  69. package/template/node_modules/terser/bin/terser +0 -0
  70. package/template/node_modules/terser/bin/uglifyjs +0 -0
  71. package/template/node_modules/unicode-canonical-property-names-ecmascript/index.js +0 -0
  72. package/template/node_modules/unicode-match-property-ecmascript/index.js +0 -0
  73. package/template/node_modules/unicode-match-property-value-ecmascript/index.js +0 -0
  74. package/template/node_modules/unicode-property-aliases-ecmascript/index.js +0 -0
  75. package/template/node_modules/update-browserslist-db/cli.js +0 -0
  76. package/template/node_modules/uuid/dist/bin/uuid +0 -0
  77. package/template/node_modules/webpack/bin/webpack.js +0 -0
  78. package/template/node_modules/webpack-cli/bin/cli.js +0 -0
  79. package/template/node_modules/webpack-dev-server/bin/webpack-dev-server.js +0 -0
  80. package/template/node_modules/which/bin/node-which +0 -0
  81. package/template/package-lock.json +7069 -7069
  82. package/template/package.json +37 -37
  83. package/template/src/assets/images/wavy.svg +6 -6
  84. package/template/src/index.html +287 -287
  85. package/template/src/js/app.js +62 -62
  86. package/template/src/scss/app.scss +583 -583
  87. package/template/webpack.config.js +116 -116
  88. package/template/node_modules/.bin/acorn +0 -16
  89. package/template/node_modules/.bin/acorn.cmd +0 -17
  90. package/template/node_modules/.bin/acorn.ps1 +0 -28
  91. package/template/node_modules/.bin/ansi-html +0 -16
  92. package/template/node_modules/.bin/ansi-html.cmd +0 -17
  93. package/template/node_modules/.bin/ansi-html.ps1 +0 -28
  94. package/template/node_modules/.bin/baseline-browser-mapping +0 -16
  95. package/template/node_modules/.bin/baseline-browser-mapping.cmd +0 -17
  96. package/template/node_modules/.bin/baseline-browser-mapping.ps1 +0 -28
  97. package/template/node_modules/.bin/browserslist +0 -16
  98. package/template/node_modules/.bin/browserslist.cmd +0 -17
  99. package/template/node_modules/.bin/browserslist.ps1 +0 -28
  100. package/template/node_modules/.bin/cssesc +0 -16
  101. package/template/node_modules/.bin/cssesc.cmd +0 -17
  102. package/template/node_modules/.bin/cssesc.ps1 +0 -28
  103. package/template/node_modules/.bin/detect-libc +0 -16
  104. package/template/node_modules/.bin/detect-libc.cmd +0 -17
  105. package/template/node_modules/.bin/detect-libc.ps1 +0 -28
  106. package/template/node_modules/.bin/envinfo +0 -16
  107. package/template/node_modules/.bin/envinfo.cmd +0 -17
  108. package/template/node_modules/.bin/envinfo.ps1 +0 -28
  109. package/template/node_modules/.bin/flat +0 -16
  110. package/template/node_modules/.bin/flat.cmd +0 -17
  111. package/template/node_modules/.bin/flat.ps1 +0 -28
  112. package/template/node_modules/.bin/he +0 -16
  113. package/template/node_modules/.bin/he.cmd +0 -17
  114. package/template/node_modules/.bin/he.ps1 +0 -28
  115. package/template/node_modules/.bin/html-minifier-terser +0 -16
  116. package/template/node_modules/.bin/html-minifier-terser.cmd +0 -17
  117. package/template/node_modules/.bin/html-minifier-terser.ps1 +0 -28
  118. package/template/node_modules/.bin/import-local-fixture +0 -16
  119. package/template/node_modules/.bin/import-local-fixture.cmd +0 -17
  120. package/template/node_modules/.bin/import-local-fixture.ps1 +0 -28
  121. package/template/node_modules/.bin/is-docker +0 -16
  122. package/template/node_modules/.bin/is-docker.cmd +0 -17
  123. package/template/node_modules/.bin/is-docker.ps1 +0 -28
  124. package/template/node_modules/.bin/is-inside-container +0 -16
  125. package/template/node_modules/.bin/is-inside-container.cmd +0 -17
  126. package/template/node_modules/.bin/is-inside-container.ps1 +0 -28
  127. package/template/node_modules/.bin/jsesc +0 -16
  128. package/template/node_modules/.bin/jsesc.cmd +0 -17
  129. package/template/node_modules/.bin/jsesc.ps1 +0 -28
  130. package/template/node_modules/.bin/json5 +0 -16
  131. package/template/node_modules/.bin/json5.cmd +0 -17
  132. package/template/node_modules/.bin/json5.ps1 +0 -28
  133. package/template/node_modules/.bin/mime +0 -16
  134. package/template/node_modules/.bin/mime.cmd +0 -17
  135. package/template/node_modules/.bin/mime.ps1 +0 -28
  136. package/template/node_modules/.bin/multicast-dns +0 -16
  137. package/template/node_modules/.bin/multicast-dns.cmd +0 -17
  138. package/template/node_modules/.bin/multicast-dns.ps1 +0 -28
  139. package/template/node_modules/.bin/nanoid +0 -16
  140. package/template/node_modules/.bin/nanoid.cmd +0 -17
  141. package/template/node_modules/.bin/nanoid.ps1 +0 -28
  142. package/template/node_modules/.bin/node-which +0 -16
  143. package/template/node_modules/.bin/node-which.cmd +0 -17
  144. package/template/node_modules/.bin/node-which.ps1 +0 -28
  145. package/template/node_modules/.bin/parser +0 -16
  146. package/template/node_modules/.bin/parser.cmd +0 -17
  147. package/template/node_modules/.bin/parser.ps1 +0 -28
  148. package/template/node_modules/.bin/regjsparser +0 -16
  149. package/template/node_modules/.bin/regjsparser.cmd +0 -17
  150. package/template/node_modules/.bin/regjsparser.ps1 +0 -28
  151. package/template/node_modules/.bin/resolve +0 -16
  152. package/template/node_modules/.bin/resolve.cmd +0 -17
  153. package/template/node_modules/.bin/resolve.ps1 +0 -28
  154. package/template/node_modules/.bin/sass +0 -16
  155. package/template/node_modules/.bin/sass.cmd +0 -17
  156. package/template/node_modules/.bin/sass.ps1 +0 -28
  157. package/template/node_modules/.bin/semver +0 -16
  158. package/template/node_modules/.bin/semver.cmd +0 -17
  159. package/template/node_modules/.bin/semver.ps1 +0 -28
  160. package/template/node_modules/.bin/terser +0 -16
  161. package/template/node_modules/.bin/terser.cmd +0 -17
  162. package/template/node_modules/.bin/terser.ps1 +0 -28
  163. package/template/node_modules/.bin/update-browserslist-db +0 -16
  164. package/template/node_modules/.bin/update-browserslist-db.cmd +0 -17
  165. package/template/node_modules/.bin/update-browserslist-db.ps1 +0 -28
  166. package/template/node_modules/.bin/uuid +0 -16
  167. package/template/node_modules/.bin/uuid.cmd +0 -17
  168. package/template/node_modules/.bin/uuid.ps1 +0 -28
  169. package/template/node_modules/.bin/webpack +0 -16
  170. package/template/node_modules/.bin/webpack-cli +0 -16
  171. package/template/node_modules/.bin/webpack-cli.cmd +0 -17
  172. package/template/node_modules/.bin/webpack-cli.ps1 +0 -28
  173. package/template/node_modules/.bin/webpack-dev-server +0 -16
  174. package/template/node_modules/.bin/webpack-dev-server.cmd +0 -17
  175. package/template/node_modules/.bin/webpack-dev-server.ps1 +0 -28
  176. package/template/node_modules/.bin/webpack.cmd +0 -17
  177. package/template/node_modules/.bin/webpack.ps1 +0 -28
  178. package/template/node_modules/@parcel/watcher-win32-x64/README.md +0 -1
  179. package/template/node_modules/@parcel/watcher-win32-x64/watcher.node +0 -0
  180. package/template/node_modules/css-loader/node_modules/.bin/semver +0 -16
  181. package/template/node_modules/css-loader/node_modules/.bin/semver.cmd +0 -17
  182. package/template/node_modules/css-loader/node_modules/.bin/semver.ps1 +0 -28
  183. package/template/src/assets/images/Thumbs.db +0 -0
  184. /package/template/node_modules/@parcel/{watcher-win32-x64 → watcher-linux-x64-glibc}/LICENSE +0 -0
@@ -1,116 +1,116 @@
1
- const path = require("path");
2
- const webpack = require("webpack");
3
- const MiniCssExtractPlugin = require("mini-css-extract-plugin");
4
- const HtmlWebpackPlugin = require('html-webpack-plugin');
5
- const CopyWebpackPlugin = require('copy-webpack-plugin');
6
- const fs = require('fs');
7
-
8
- // Dynamically get all HTML files in pages folder
9
- const getPages = () => {
10
- try {
11
- const pagesDir = path.resolve(__dirname, 'src/pages');
12
- if (!fs.existsSync(pagesDir)) {
13
- return [];
14
- }
15
- return fs.readdirSync(pagesDir)
16
- .filter(file => file.endsWith('.html'))
17
- .map(file => file.replace('.html', ''));
18
- } catch (error) {
19
- console.warn('Warning: Could not read pages directory:', error.message);
20
- return [];
21
- }
22
- };
23
-
24
- module.exports = {
25
- entry: "./src/js/app.js", // Entry point for your JS
26
- output: {
27
- filename: "bundle.js", // Output file for the bundled JS
28
- path: path.resolve(__dirname, "dist"),
29
- clean: true, // Clean output directory before each build
30
- },
31
- module: {
32
- rules: [
33
- // Image files handling
34
- {
35
- test: /\.(png|jpe?g|gif|svg)$/,
36
- type: 'asset/resource',
37
- generator: {
38
- filename: 'assets/images/[name][ext]'
39
- }
40
- },
41
- // Font files handling
42
- {
43
- test: /\.(woff|woff2|eot|ttf)$/,
44
- type: 'asset/resource',
45
- generator: {
46
- filename: 'assets/fonts/[name][ext]'
47
- }
48
- },
49
- // SCSS to CSS loader
50
- {
51
- test: /\.scss$/,
52
- use: [
53
- MiniCssExtractPlugin.loader,
54
- "css-loader",
55
- "sass-loader",
56
- ],
57
- },
58
- // JavaScript transpiling using Babel
59
- {
60
- test: /\.js$/,
61
- exclude: /node_modules/,
62
- use: {
63
- loader: "babel-loader",
64
- options: {
65
- presets: ["@babel/preset-env"],
66
- },
67
- },
68
- },
69
- ],
70
- },
71
- plugins: [
72
- new HtmlWebpackPlugin({
73
- template: path.resolve(__dirname, 'src/index.html'),
74
- filename: 'index.html',
75
- inject: 'body',
76
- scriptLoading: 'defer'
77
- }),
78
- ...getPages().map(page => new HtmlWebpackPlugin({
79
- template: path.resolve(__dirname, `src/pages/${page}.html`),
80
- filename: `${page}.html`,
81
- inject: 'body',
82
- scriptLoading: 'defer'
83
- })),
84
- new CopyWebpackPlugin({
85
- patterns: [
86
- { from: 'src/assets', to: 'assets' }
87
- ]
88
- }),
89
- new webpack.ProvidePlugin({
90
- $: "jquery",
91
- jQuery: "jquery",
92
- }),
93
- new MiniCssExtractPlugin({
94
- filename: "css/app.css",
95
- }),
96
- ],
97
- devServer: {
98
- static: [
99
- {
100
- directory: path.join(__dirname, "src"),
101
- publicPath: "/"
102
- },
103
- {
104
- directory: path.join(__dirname, "src/pages"),
105
- publicPath: "/"
106
- }
107
- ],
108
- compress: true,
109
- port: 9000,
110
- open: true,
111
- hot: true,
112
- liveReload: true,
113
- },
114
- devtool: "source-map",
115
- mode: "development",
116
- };
1
+ const path = require("path");
2
+ const webpack = require("webpack");
3
+ const MiniCssExtractPlugin = require("mini-css-extract-plugin");
4
+ const HtmlWebpackPlugin = require('html-webpack-plugin');
5
+ const CopyWebpackPlugin = require('copy-webpack-plugin');
6
+ const fs = require('fs');
7
+
8
+ // Dynamically get all HTML files in pages folder
9
+ const getPages = () => {
10
+ try {
11
+ const pagesDir = path.resolve(__dirname, 'src/pages');
12
+ if (!fs.existsSync(pagesDir)) {
13
+ return [];
14
+ }
15
+ return fs.readdirSync(pagesDir)
16
+ .filter(file => file.endsWith('.html'))
17
+ .map(file => file.replace('.html', ''));
18
+ } catch (error) {
19
+ console.warn('Warning: Could not read pages directory:', error.message);
20
+ return [];
21
+ }
22
+ };
23
+
24
+ module.exports = {
25
+ entry: "./src/js/app.js", // Entry point for your JS
26
+ output: {
27
+ filename: "bundle.js", // Output file for the bundled JS
28
+ path: path.resolve(__dirname, "dist"),
29
+ clean: true, // Clean output directory before each build
30
+ },
31
+ module: {
32
+ rules: [
33
+ // Image files handling
34
+ {
35
+ test: /\.(png|jpe?g|gif|svg)$/,
36
+ type: 'asset/resource',
37
+ generator: {
38
+ filename: 'assets/images/[name][ext]'
39
+ }
40
+ },
41
+ // Font files handling
42
+ {
43
+ test: /\.(woff|woff2|eot|ttf)$/,
44
+ type: 'asset/resource',
45
+ generator: {
46
+ filename: 'assets/fonts/[name][ext]'
47
+ }
48
+ },
49
+ // SCSS to CSS loader
50
+ {
51
+ test: /\.scss$/,
52
+ use: [
53
+ MiniCssExtractPlugin.loader,
54
+ "css-loader",
55
+ "sass-loader",
56
+ ],
57
+ },
58
+ // JavaScript transpiling using Babel
59
+ {
60
+ test: /\.js$/,
61
+ exclude: /node_modules/,
62
+ use: {
63
+ loader: "babel-loader",
64
+ options: {
65
+ presets: ["@babel/preset-env"],
66
+ },
67
+ },
68
+ },
69
+ ],
70
+ },
71
+ plugins: [
72
+ new HtmlWebpackPlugin({
73
+ template: path.resolve(__dirname, 'src/index.html'),
74
+ filename: 'index.html',
75
+ inject: 'body',
76
+ scriptLoading: 'defer'
77
+ }),
78
+ ...getPages().map(page => new HtmlWebpackPlugin({
79
+ template: path.resolve(__dirname, `src/pages/${page}.html`),
80
+ filename: `${page}.html`,
81
+ inject: 'body',
82
+ scriptLoading: 'defer'
83
+ })),
84
+ new CopyWebpackPlugin({
85
+ patterns: [
86
+ { from: 'src/assets', to: 'assets' }
87
+ ]
88
+ }),
89
+ new webpack.ProvidePlugin({
90
+ $: "jquery",
91
+ jQuery: "jquery",
92
+ }),
93
+ new MiniCssExtractPlugin({
94
+ filename: "css/app.css",
95
+ }),
96
+ ],
97
+ devServer: {
98
+ static: [
99
+ {
100
+ directory: path.join(__dirname, "src"),
101
+ publicPath: "/"
102
+ },
103
+ {
104
+ directory: path.join(__dirname, "src/pages"),
105
+ publicPath: "/"
106
+ }
107
+ ],
108
+ compress: true,
109
+ port: 9000,
110
+ open: true,
111
+ hot: true,
112
+ liveReload: true,
113
+ },
114
+ devtool: "source-map",
115
+ mode: "development",
116
+ };
@@ -1,16 +0,0 @@
1
- #!/bin/sh
2
- basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
-
4
- case `uname` in
5
- *CYGWIN*|*MINGW*|*MSYS*)
6
- if command -v cygpath > /dev/null 2>&1; then
7
- basedir=`cygpath -w "$basedir"`
8
- fi
9
- ;;
10
- esac
11
-
12
- if [ -x "$basedir/node" ]; then
13
- exec "$basedir/node" "$basedir/../acorn/bin/acorn" "$@"
14
- else
15
- exec node "$basedir/../acorn/bin/acorn" "$@"
16
- fi
@@ -1,17 +0,0 @@
1
- @ECHO off
2
- GOTO start
3
- :find_dp0
4
- SET dp0=%~dp0
5
- EXIT /b
6
- :start
7
- SETLOCAL
8
- CALL :find_dp0
9
-
10
- IF EXIST "%dp0%\node.exe" (
11
- SET "_prog=%dp0%\node.exe"
12
- ) ELSE (
13
- SET "_prog=node"
14
- SET PATHEXT=%PATHEXT:;.JS;=;%
15
- )
16
-
17
- endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\acorn\bin\acorn" %*
@@ -1,28 +0,0 @@
1
- #!/usr/bin/env pwsh
2
- $basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
3
-
4
- $exe=""
5
- if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
6
- # Fix case when both the Windows and Linux builds of Node
7
- # are installed in the same directory
8
- $exe=".exe"
9
- }
10
- $ret=0
11
- if (Test-Path "$basedir/node$exe") {
12
- # Support pipeline input
13
- if ($MyInvocation.ExpectingInput) {
14
- $input | & "$basedir/node$exe" "$basedir/../acorn/bin/acorn" $args
15
- } else {
16
- & "$basedir/node$exe" "$basedir/../acorn/bin/acorn" $args
17
- }
18
- $ret=$LASTEXITCODE
19
- } else {
20
- # Support pipeline input
21
- if ($MyInvocation.ExpectingInput) {
22
- $input | & "node$exe" "$basedir/../acorn/bin/acorn" $args
23
- } else {
24
- & "node$exe" "$basedir/../acorn/bin/acorn" $args
25
- }
26
- $ret=$LASTEXITCODE
27
- }
28
- exit $ret
@@ -1,16 +0,0 @@
1
- #!/bin/sh
2
- basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
-
4
- case `uname` in
5
- *CYGWIN*|*MINGW*|*MSYS*)
6
- if command -v cygpath > /dev/null 2>&1; then
7
- basedir=`cygpath -w "$basedir"`
8
- fi
9
- ;;
10
- esac
11
-
12
- if [ -x "$basedir/node" ]; then
13
- exec "$basedir/node" "$basedir/../ansi-html-community/bin/ansi-html" "$@"
14
- else
15
- exec node "$basedir/../ansi-html-community/bin/ansi-html" "$@"
16
- fi
@@ -1,17 +0,0 @@
1
- @ECHO off
2
- GOTO start
3
- :find_dp0
4
- SET dp0=%~dp0
5
- EXIT /b
6
- :start
7
- SETLOCAL
8
- CALL :find_dp0
9
-
10
- IF EXIST "%dp0%\node.exe" (
11
- SET "_prog=%dp0%\node.exe"
12
- ) ELSE (
13
- SET "_prog=node"
14
- SET PATHEXT=%PATHEXT:;.JS;=;%
15
- )
16
-
17
- endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\ansi-html-community\bin\ansi-html" %*
@@ -1,28 +0,0 @@
1
- #!/usr/bin/env pwsh
2
- $basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
3
-
4
- $exe=""
5
- if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
6
- # Fix case when both the Windows and Linux builds of Node
7
- # are installed in the same directory
8
- $exe=".exe"
9
- }
10
- $ret=0
11
- if (Test-Path "$basedir/node$exe") {
12
- # Support pipeline input
13
- if ($MyInvocation.ExpectingInput) {
14
- $input | & "$basedir/node$exe" "$basedir/../ansi-html-community/bin/ansi-html" $args
15
- } else {
16
- & "$basedir/node$exe" "$basedir/../ansi-html-community/bin/ansi-html" $args
17
- }
18
- $ret=$LASTEXITCODE
19
- } else {
20
- # Support pipeline input
21
- if ($MyInvocation.ExpectingInput) {
22
- $input | & "node$exe" "$basedir/../ansi-html-community/bin/ansi-html" $args
23
- } else {
24
- & "node$exe" "$basedir/../ansi-html-community/bin/ansi-html" $args
25
- }
26
- $ret=$LASTEXITCODE
27
- }
28
- exit $ret
@@ -1,16 +0,0 @@
1
- #!/bin/sh
2
- basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
-
4
- case `uname` in
5
- *CYGWIN*|*MINGW*|*MSYS*)
6
- if command -v cygpath > /dev/null 2>&1; then
7
- basedir=`cygpath -w "$basedir"`
8
- fi
9
- ;;
10
- esac
11
-
12
- if [ -x "$basedir/node" ]; then
13
- exec "$basedir/node" "$basedir/../baseline-browser-mapping/dist/cli.js" "$@"
14
- else
15
- exec node "$basedir/../baseline-browser-mapping/dist/cli.js" "$@"
16
- fi
@@ -1,17 +0,0 @@
1
- @ECHO off
2
- GOTO start
3
- :find_dp0
4
- SET dp0=%~dp0
5
- EXIT /b
6
- :start
7
- SETLOCAL
8
- CALL :find_dp0
9
-
10
- IF EXIST "%dp0%\node.exe" (
11
- SET "_prog=%dp0%\node.exe"
12
- ) ELSE (
13
- SET "_prog=node"
14
- SET PATHEXT=%PATHEXT:;.JS;=;%
15
- )
16
-
17
- endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\baseline-browser-mapping\dist\cli.js" %*
@@ -1,28 +0,0 @@
1
- #!/usr/bin/env pwsh
2
- $basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
3
-
4
- $exe=""
5
- if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
6
- # Fix case when both the Windows and Linux builds of Node
7
- # are installed in the same directory
8
- $exe=".exe"
9
- }
10
- $ret=0
11
- if (Test-Path "$basedir/node$exe") {
12
- # Support pipeline input
13
- if ($MyInvocation.ExpectingInput) {
14
- $input | & "$basedir/node$exe" "$basedir/../baseline-browser-mapping/dist/cli.js" $args
15
- } else {
16
- & "$basedir/node$exe" "$basedir/../baseline-browser-mapping/dist/cli.js" $args
17
- }
18
- $ret=$LASTEXITCODE
19
- } else {
20
- # Support pipeline input
21
- if ($MyInvocation.ExpectingInput) {
22
- $input | & "node$exe" "$basedir/../baseline-browser-mapping/dist/cli.js" $args
23
- } else {
24
- & "node$exe" "$basedir/../baseline-browser-mapping/dist/cli.js" $args
25
- }
26
- $ret=$LASTEXITCODE
27
- }
28
- exit $ret
@@ -1,16 +0,0 @@
1
- #!/bin/sh
2
- basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
-
4
- case `uname` in
5
- *CYGWIN*|*MINGW*|*MSYS*)
6
- if command -v cygpath > /dev/null 2>&1; then
7
- basedir=`cygpath -w "$basedir"`
8
- fi
9
- ;;
10
- esac
11
-
12
- if [ -x "$basedir/node" ]; then
13
- exec "$basedir/node" "$basedir/../browserslist/cli.js" "$@"
14
- else
15
- exec node "$basedir/../browserslist/cli.js" "$@"
16
- fi
@@ -1,17 +0,0 @@
1
- @ECHO off
2
- GOTO start
3
- :find_dp0
4
- SET dp0=%~dp0
5
- EXIT /b
6
- :start
7
- SETLOCAL
8
- CALL :find_dp0
9
-
10
- IF EXIST "%dp0%\node.exe" (
11
- SET "_prog=%dp0%\node.exe"
12
- ) ELSE (
13
- SET "_prog=node"
14
- SET PATHEXT=%PATHEXT:;.JS;=;%
15
- )
16
-
17
- endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\browserslist\cli.js" %*
@@ -1,28 +0,0 @@
1
- #!/usr/bin/env pwsh
2
- $basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
3
-
4
- $exe=""
5
- if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
6
- # Fix case when both the Windows and Linux builds of Node
7
- # are installed in the same directory
8
- $exe=".exe"
9
- }
10
- $ret=0
11
- if (Test-Path "$basedir/node$exe") {
12
- # Support pipeline input
13
- if ($MyInvocation.ExpectingInput) {
14
- $input | & "$basedir/node$exe" "$basedir/../browserslist/cli.js" $args
15
- } else {
16
- & "$basedir/node$exe" "$basedir/../browserslist/cli.js" $args
17
- }
18
- $ret=$LASTEXITCODE
19
- } else {
20
- # Support pipeline input
21
- if ($MyInvocation.ExpectingInput) {
22
- $input | & "node$exe" "$basedir/../browserslist/cli.js" $args
23
- } else {
24
- & "node$exe" "$basedir/../browserslist/cli.js" $args
25
- }
26
- $ret=$LASTEXITCODE
27
- }
28
- exit $ret
@@ -1,16 +0,0 @@
1
- #!/bin/sh
2
- basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
-
4
- case `uname` in
5
- *CYGWIN*|*MINGW*|*MSYS*)
6
- if command -v cygpath > /dev/null 2>&1; then
7
- basedir=`cygpath -w "$basedir"`
8
- fi
9
- ;;
10
- esac
11
-
12
- if [ -x "$basedir/node" ]; then
13
- exec "$basedir/node" "$basedir/../cssesc/bin/cssesc" "$@"
14
- else
15
- exec node "$basedir/../cssesc/bin/cssesc" "$@"
16
- fi
@@ -1,17 +0,0 @@
1
- @ECHO off
2
- GOTO start
3
- :find_dp0
4
- SET dp0=%~dp0
5
- EXIT /b
6
- :start
7
- SETLOCAL
8
- CALL :find_dp0
9
-
10
- IF EXIST "%dp0%\node.exe" (
11
- SET "_prog=%dp0%\node.exe"
12
- ) ELSE (
13
- SET "_prog=node"
14
- SET PATHEXT=%PATHEXT:;.JS;=;%
15
- )
16
-
17
- endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\cssesc\bin\cssesc" %*
@@ -1,28 +0,0 @@
1
- #!/usr/bin/env pwsh
2
- $basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
3
-
4
- $exe=""
5
- if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
6
- # Fix case when both the Windows and Linux builds of Node
7
- # are installed in the same directory
8
- $exe=".exe"
9
- }
10
- $ret=0
11
- if (Test-Path "$basedir/node$exe") {
12
- # Support pipeline input
13
- if ($MyInvocation.ExpectingInput) {
14
- $input | & "$basedir/node$exe" "$basedir/../cssesc/bin/cssesc" $args
15
- } else {
16
- & "$basedir/node$exe" "$basedir/../cssesc/bin/cssesc" $args
17
- }
18
- $ret=$LASTEXITCODE
19
- } else {
20
- # Support pipeline input
21
- if ($MyInvocation.ExpectingInput) {
22
- $input | & "node$exe" "$basedir/../cssesc/bin/cssesc" $args
23
- } else {
24
- & "node$exe" "$basedir/../cssesc/bin/cssesc" $args
25
- }
26
- $ret=$LASTEXITCODE
27
- }
28
- exit $ret
@@ -1,16 +0,0 @@
1
- #!/bin/sh
2
- basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
-
4
- case `uname` in
5
- *CYGWIN*|*MINGW*|*MSYS*)
6
- if command -v cygpath > /dev/null 2>&1; then
7
- basedir=`cygpath -w "$basedir"`
8
- fi
9
- ;;
10
- esac
11
-
12
- if [ -x "$basedir/node" ]; then
13
- exec "$basedir/node" "$basedir/../detect-libc/bin/detect-libc.js" "$@"
14
- else
15
- exec node "$basedir/../detect-libc/bin/detect-libc.js" "$@"
16
- fi
@@ -1,17 +0,0 @@
1
- @ECHO off
2
- GOTO start
3
- :find_dp0
4
- SET dp0=%~dp0
5
- EXIT /b
6
- :start
7
- SETLOCAL
8
- CALL :find_dp0
9
-
10
- IF EXIST "%dp0%\node.exe" (
11
- SET "_prog=%dp0%\node.exe"
12
- ) ELSE (
13
- SET "_prog=node"
14
- SET PATHEXT=%PATHEXT:;.JS;=;%
15
- )
16
-
17
- endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\detect-libc\bin\detect-libc.js" %*
@@ -1,28 +0,0 @@
1
- #!/usr/bin/env pwsh
2
- $basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
3
-
4
- $exe=""
5
- if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
6
- # Fix case when both the Windows and Linux builds of Node
7
- # are installed in the same directory
8
- $exe=".exe"
9
- }
10
- $ret=0
11
- if (Test-Path "$basedir/node$exe") {
12
- # Support pipeline input
13
- if ($MyInvocation.ExpectingInput) {
14
- $input | & "$basedir/node$exe" "$basedir/../detect-libc/bin/detect-libc.js" $args
15
- } else {
16
- & "$basedir/node$exe" "$basedir/../detect-libc/bin/detect-libc.js" $args
17
- }
18
- $ret=$LASTEXITCODE
19
- } else {
20
- # Support pipeline input
21
- if ($MyInvocation.ExpectingInput) {
22
- $input | & "node$exe" "$basedir/../detect-libc/bin/detect-libc.js" $args
23
- } else {
24
- & "node$exe" "$basedir/../detect-libc/bin/detect-libc.js" $args
25
- }
26
- $ret=$LASTEXITCODE
27
- }
28
- exit $ret
@@ -1,16 +0,0 @@
1
- #!/bin/sh
2
- basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
-
4
- case `uname` in
5
- *CYGWIN*|*MINGW*|*MSYS*)
6
- if command -v cygpath > /dev/null 2>&1; then
7
- basedir=`cygpath -w "$basedir"`
8
- fi
9
- ;;
10
- esac
11
-
12
- if [ -x "$basedir/node" ]; then
13
- exec "$basedir/node" "$basedir/../envinfo/dist/cli.js" "$@"
14
- else
15
- exec node "$basedir/../envinfo/dist/cli.js" "$@"
16
- fi
@@ -1,17 +0,0 @@
1
- @ECHO off
2
- GOTO start
3
- :find_dp0
4
- SET dp0=%~dp0
5
- EXIT /b
6
- :start
7
- SETLOCAL
8
- CALL :find_dp0
9
-
10
- IF EXIST "%dp0%\node.exe" (
11
- SET "_prog=%dp0%\node.exe"
12
- ) ELSE (
13
- SET "_prog=node"
14
- SET PATHEXT=%PATHEXT:;.JS;=;%
15
- )
16
-
17
- endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\envinfo\dist\cli.js" %*