Skip to content

Commit

Permalink
Update create-snowpack-app template deps
Browse files Browse the repository at this point in the history
Fix #2863
  • Loading branch information
drwpow committed Apr 29, 2021
1 parent 9091b59 commit 647454e
Show file tree
Hide file tree
Showing 16 changed files with 233 additions and 47 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
"canvas-confetti": "^1.2.0"
},
"devDependencies": {
"@snowpack/plugin-typescript": "^1.2.0",
"@snowpack/plugin-typescript": "^1.2.1",
"@types/canvas-confetti": "^1.0.0",
"@types/snowpack-env": "^2.3.2",
"@types/snowpack-env": "^2.3.3",
"prettier": "^2.0.5",
"snowpack": "^3.0.1",
"typescript": "^4.0.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
"@babel/preset-typescript": "^7.10.4",
"@snowpack/plugin-babel": "^2.1.6",
"@snowpack/plugin-dotenv": "^2.0.5",
"@snowpack/plugin-typescript": "^1.2.0",
"@types/snowpack-env": "^2.3.2",
"@snowpack/plugin-typescript": "^1.2.1",
"@types/snowpack-env": "^2.3.3",
"prettier": "^2.0.5",
"snowpack": "^3.0.1",
"typescript": "^4.0.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@
"devDependencies": {
"@prefresh/snowpack": "^3.0.0",
"@snowpack/plugin-dotenv": "^2.0.5",
"@snowpack/plugin-typescript": "^1.2.0",
"@snowpack/web-test-runner-plugin": "^0.2.0",
"@snowpack/plugin-typescript": "^1.2.1",
"@snowpack/web-test-runner-plugin": "^0.2.2",
"@testing-library/preact": "^2.0.0",
"@types/chai": "^4.2.14",
"@web/test-runner": "^0.12.0",
"chai": "^4.2.0",
"@web/test-runner": "^0.13.3",
"chai": "^4.3.4",
"prettier": "^2.0.5",
"snowpack": "^3.0.1",
"typescript": "^4.0.3"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
process.env.NODE_ENV = 'test';

module.exports = {
plugins: [require('@snowpack/web-test-runner-plugin')()],
};
6 changes: 3 additions & 3 deletions create-snowpack-app/app-template-preact/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@
"devDependencies": {
"@prefresh/snowpack": "^3.0.0",
"@snowpack/plugin-dotenv": "^2.0.5",
"@snowpack/web-test-runner-plugin": "^0.2.0",
"@snowpack/web-test-runner-plugin": "^0.2.2",
"@testing-library/preact": "^2.0.0",
"@web/test-runner": "^0.12.0",
"chai": "^4.2.0",
"@web/test-runner": "^0.13.3",
"chai": "^4.3.4",
"prettier": "^2.0.5",
"snowpack": "^3.0.1"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
process.env.NODE_ENV = 'test';

module.exports = {
plugins: [require('@snowpack/web-test-runner-plugin')()],
};
14 changes: 7 additions & 7 deletions create-snowpack-app/app-template-react-typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,16 @@
"devDependencies": {
"@snowpack/plugin-dotenv": "^2.0.5",
"@snowpack/plugin-react-refresh": "^2.4.0",
"@snowpack/plugin-typescript": "^1.2.0",
"@snowpack/web-test-runner-plugin": "^0.2.0",
"@snowpack/plugin-typescript": "^1.2.1",
"@snowpack/web-test-runner-plugin": "^0.2.2",
"@testing-library/react": "^11.0.0",
"@types/chai": "^4.2.13",
"@types/mocha": "^8.2.0",
"@types/chai": "^4.2.17",
"@types/mocha": "^8.2.2",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"@types/snowpack-env": "^2.3.2",
"@web/test-runner": "^0.12.0",
"chai": "^4.2.0",
"@types/snowpack-env": "^2.3.3",
"@web/test-runner": "^0.13.3",
"chai": "^4.3.4",
"prettier": "^2.0.5",
"snowpack": "^3.0.1",
"typescript": "^4.0.0"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
process.env.NODE_ENV = 'test';

module.exports = {
plugins: [require('@snowpack/web-test-runner-plugin')()],
};
6 changes: 3 additions & 3 deletions create-snowpack-app/app-template-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@
"devDependencies": {
"@snowpack/plugin-dotenv": "^2.0.5",
"@snowpack/plugin-react-refresh": "^2.4.0",
"@snowpack/web-test-runner-plugin": "^0.2.0",
"@snowpack/web-test-runner-plugin": "^0.2.2",
"@testing-library/react": "^11.0.0",
"@web/test-runner": "^0.12.0",
"chai": "^4.2.0",
"@web/test-runner": "^0.13.3",
"chai": "^4.3.4",
"prettier": "^2.0.5",
"snowpack": "^3.0.1"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
process.env.NODE_ENV = 'test';

module.exports = {
plugins: [require('@snowpack/web-test-runner-plugin')()],
};
23 changes: 12 additions & 11 deletions create-snowpack-app/app-template-svelte-typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,20 +21,21 @@
"test": "web-test-runner \"src/**/*.test.ts\""
},
"dependencies": {
"svelte": "^3.24.0"
"svelte": "^3.37.0"
},
"devDependencies": {
"@snowpack/plugin-dotenv": "^2.0.5",
"@snowpack/plugin-svelte": "^3.5.0",
"@snowpack/plugin-typescript": "^1.2.0",
"@snowpack/web-test-runner-plugin": "^0.2.0",
"@snowpack/plugin-dotenv": "^2.1.0",
"@snowpack/plugin-svelte": "^3.6.1",
"@snowpack/plugin-typescript": "^1.2.1",
"@snowpack/web-test-runner-plugin": "^0.2.2",
"@testing-library/svelte": "^3.0.0",
"@types/chai": "^4.2.13",
"@types/mocha": "^8.2.0",
"@types/snowpack-env": "^2.3.2",
"@web/test-runner": "^0.12.0",
"chai": "^4.2.0",
"snowpack": "^3.0.1",
"@tsconfig/svelte": "^1.0.10",
"@types/chai": "^4.2.17",
"@types/mocha": "^8.2.2",
"@types/snowpack-env": "^2.3.3",
"@web/test-runner": "^0.13.3",
"chai": "^4.3.4",
"snowpack": "^3.3.7",
"svelte-preprocess": "^4.0.8",
"typescript": "^4.0.0"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"extends": "@tsconfig/svelte/tsconfig.json",
"include": ["src", "types"],
"compilerOptions": {
"module": "esnext",
"target": "esnext",
"moduleResolution": "node",
"jsx": "preserve",
"baseUrl": "./",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
process.env.NODE_ENV = 'test';

module.exports = {
plugins: [require('@snowpack/web-test-runner-plugin')()],
};
14 changes: 7 additions & 7 deletions create-snowpack-app/app-template-svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,16 @@
"test": "web-test-runner \"src/**/*.test.js\""
},
"dependencies": {
"svelte": "^3.24.0"
"svelte": "^3.37.0"
},
"devDependencies": {
"@snowpack/plugin-dotenv": "^2.0.5",
"@snowpack/plugin-svelte": "^3.5.0",
"@snowpack/web-test-runner-plugin": "^0.2.0",
"@snowpack/plugin-dotenv": "^2.1.0",
"@snowpack/plugin-svelte": "^3.6.1",
"@snowpack/web-test-runner-plugin": "^0.2.2",
"@testing-library/svelte": "^3.0.0",
"@web/test-runner": "^0.12.0",
"chai": "^4.2.0",
"snowpack": "^3.0.1"
"@web/test-runner": "^0.13.3",
"chai": "^4.3.4",
"snowpack": "^3.3.7"
},
"gitHead": "a01616bb0787d56cd782f94cecf2daa12c7594e4"
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
process.env.NODE_ENV = 'test';

module.exports = {
plugins: [require('@snowpack/web-test-runner-plugin')()],
};
Loading

0 comments on commit 647454e

Please sign in to comment.