Skip to content

Commit

Permalink
clean up packages & remove snowpack
Browse files Browse the repository at this point in the history
  • Loading branch information
Lyanthropos committed Mar 21, 2023
1 parent 1bddb02 commit 697b329
Show file tree
Hide file tree
Showing 7 changed files with 463 additions and 18,261 deletions.
2,551 changes: 455 additions & 2,096 deletions package-lock.json

Large diffs are not rendered by default.

16 changes: 7 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,12 @@
"version": "0.0.1",
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "view preview",
"start:ci": "docker compose up -d",
"start:dev": "vite",
"start:db": "docker compose exec mysql mysql -u root -phelloworld -e 'CREATE DATABASE IF NOT EXISTS doenet_local CHARACTER SET=utf8 COLLATE=utf8_unicode_ci;'",
"build": "docker compose run --rm dev npx snowpack build --config snowpack.deploy.config.js",
"build:ci": "snowpack build --out dist_ci --no-watch",
"build:clean": "snowpack build --clean --reload --config snowpack.deploy.config.js",
"build:docker": "docker compose build",
"build:core": "rollup -c",
"buildx:dev": "docker buildx build --platform linux/arm64,linux/amd64,linux/arm/v7 -f doenet_docker/snowpack/Dockerfile -t lyanthropos/doenet_dev:latest -t lyanthropos/doenet_dev:2.0 . --push",
"buildx:php": "docker buildx build --platform linux/arm64,linux/amd64,linux/arm/v7 -f doenet_docker/php/Dockerfile -t lyanthropos/doenet_php:dev . --push",
Expand Down Expand Up @@ -42,7 +41,6 @@
"@lezer/common": "^0.15.10",
"@lezer/lr": "^0.15.5",
"@lezer/xml": "^0.15.1",
"@prettier/plugin-php": "^0.18.2",
"@react-spring/web": "^9.4.5",
"@use-gesture/react": "^10.2.22",
"axios": "^0.27.2",
Expand Down Expand Up @@ -88,6 +86,8 @@
"devDependencies": {
"@babel/eslint-parser": "^7.15.7",
"@babel/plugin-syntax-class-properties": "^7.12.13",
"@esbuild-plugins/node-globals-polyfill": "^0.2.3",
"@esbuild-plugins/node-modules-polyfill": "^0.2.2",
"@lezer/generator": "^0.15.2",
"@rollup/plugin-alias": "^3.1.9",
"@rollup/plugin-commonjs": "^22.0.0",
Expand All @@ -109,12 +109,10 @@
"mysql": "^2.18.1",
"prettier": "^2.4.1",
"rollup": "^2.71.1",
"rollup-plugin-polyfill-node": "^0.9.0",
"rollup-plugin-polyfill-node": "^0.12.0",
"rollup-plugin-terser": "^7.0.2",
"snowpack-plugin-raw-file-loader": "^1.0.9",
"vite": "^4.1.4",
"vite-plugin-mpa": "^1.1.4",
"vite-plugin-node-polyfills": "^0.7.0"
"vite": "^4.2.1",
"vite-plugin-mpa": "^1.1.4"
},
"optionalDependencies": {
"cypress": "^10.11.0",
Expand Down
139 changes: 0 additions & 139 deletions snowpack.config.js

This file was deleted.

59 changes: 0 additions & 59 deletions snowpack.deploy.config.js

This file was deleted.

2 changes: 1 addition & 1 deletion vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export default defineConfig({
},
},
build: {
outDir: './viteBuild',
outDir: './dist_local',
rollupOptions: {
plugins: [nodePolyfills()],
// input: ['index.html', 'src/Core/Core.js'],
Expand Down
6 changes: 0 additions & 6 deletions web-test-runner.config.js

This file was deleted.

Loading

0 comments on commit 697b329

Please sign in to comment.