@sveltejs/adapter-static
Advanced tools
Comparing version 1.0.0-next.13 to 1.0.0-next.14
# @sveltejs/adapter-static | ||
## 1.0.0-next.14 | ||
### Patch Changes | ||
- d81de603: revert adapters automatically updating .gitignore (#1924) | ||
## 1.0.0-next.13 | ||
@@ -4,0 +10,0 @@ |
{ | ||
"name": "@sveltejs/adapter-static", | ||
"version": "1.0.0-next.13", | ||
"type": "module", | ||
"main": "index.js", | ||
"exports": { | ||
"import": "./index.js" | ||
}, | ||
"types": "index.d.ts", | ||
"devDependencies": { | ||
"@sveltejs/kit": "1.0.0-next.112", | ||
"playwright-chromium": "^1.10.0", | ||
"port-authority": "^1.1.2", | ||
"sirv": "^1.0.12", | ||
"typescript": "^4.2.4" | ||
}, | ||
"scripts": { | ||
"lint": "eslint --ignore-path .gitignore \"**/*.{ts,js,svelte}\" && npm run check-format", | ||
"check": "tsc", | ||
"format": "prettier --write . --config ../../.prettierrc --ignore-path .gitignore", | ||
"check-format": "prettier --check . --config ../../.prettierrc --ignore-path .gitignore", | ||
"test": "uvu test test.js" | ||
} | ||
} | ||
"name": "@sveltejs/adapter-static", | ||
"version": "1.0.0-next.14", | ||
"type": "module", | ||
"main": "index.js", | ||
"exports": { | ||
"import": "./index.js" | ||
}, | ||
"types": "index.d.ts", | ||
"devDependencies": { | ||
"@sveltejs/kit": "1.0.0-next.140", | ||
"playwright-chromium": "^1.10.0", | ||
"port-authority": "^1.1.2", | ||
"sirv": "^1.0.12", | ||
"typescript": "^4.3.5" | ||
}, | ||
"scripts": { | ||
"lint": "eslint --ignore-path .gitignore \"**/*.{ts,js,svelte}\" && npm run check-format", | ||
"check": "tsc", | ||
"format": "prettier --write . --config ../../.prettierrc --ignore-path .gitignore", | ||
"check-format": "prettier --check . --config ../../.prettierrc --ignore-path .gitignore", | ||
"test": "uvu test test.js" | ||
} | ||
} |
@@ -64,4 +64,8 @@ # @sveltejs/adapter-static | ||
## Changelog | ||
[The Changelog for this package is available on GitHub](https://github.com/sveltejs/kit/blob/master/packages/adapter-static/CHANGELOG.md). | ||
## License | ||
[MIT](LICENSE) |
@@ -5,11 +5,11 @@ { | ||
"scripts": { | ||
"dev": "svelte-kit dev", | ||
"build": "svelte-kit build", | ||
"start": "svelte-kit start" | ||
"dev": "../../../../kit/svelte-kit.js dev", | ||
"build": "../../../../kit/svelte-kit.js build", | ||
"start": "../../../../kit/svelte-kit.js start" | ||
}, | ||
"devDependencies": { | ||
"@sveltejs/kit": "next", | ||
"svelte": "^3.29.0" | ||
"svelte": "^3.40.0" | ||
}, | ||
"type": "module" | ||
} |
@@ -5,5 +5,5 @@ { | ||
"scripts": { | ||
"dev": "svelte-kit dev", | ||
"build": "svelte-kit build", | ||
"start": "svelte-kit start" | ||
"dev": "../../../../kit/svelte-kit.js dev", | ||
"build": "../../../../kit/svelte-kit.js build", | ||
"start": "../../../../kit/svelte-kit.js start" | ||
}, | ||
@@ -13,5 +13,5 @@ "devDependencies": { | ||
"@sveltejs/kit": "next", | ||
"svelte": "^3.29.0" | ||
"svelte": "^3.40.0" | ||
}, | ||
"type": "module" | ||
} |
@@ -36,5 +36,6 @@ import child_process from 'child_process'; | ||
await spawn(`${process.execPath} ${cli_path} build`, { | ||
await spawn(`"${process.execPath}" ${cli_path} build`, { | ||
cwd, | ||
stdio: 'inherit' | ||
stdio: 'inherit', | ||
shell: true | ||
}); | ||
@@ -68,2 +69,4 @@ | ||
const parameterRegex = new RegExp('"[^"]+"|[\\S]+', 'g'); | ||
/** | ||
@@ -75,3 +78,3 @@ * @param {string} str | ||
return new Promise((fulfil, reject) => { | ||
const [cmd, ...args] = str.split(' '); | ||
const [cmd, ...args] = str.match(parameterRegex); | ||
@@ -78,0 +81,0 @@ const child = child_process.spawn(cmd, args, opts); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14993
193
71