Skip to content

Commit

Permalink
Merge pull request #16 from StarLederer/develop
Browse files Browse the repository at this point in the history
Update configs
  • Loading branch information
StarLederer authored Mar 17, 2023
2 parents 75cb194 + 0f21212 commit 89d4831
Show file tree
Hide file tree
Showing 8 changed files with 451 additions and 431 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
node-version: 16
- uses: pnpm/action-setup@v2
with:
version: 6.x.x
version: 7.x.x
- run: pnpm install
- run: pnpm test

Expand All @@ -33,8 +33,8 @@ jobs:
registry-url: https://registry.npmjs.org/
- uses: pnpm/action-setup@v2
with:
version: 6.x.x
version: 7.x.x
- run: pnpm install
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
6 changes: 0 additions & 6 deletions .npmpack

This file was deleted.

15 changes: 7 additions & 8 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 6 additions & 3 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,21 @@
description = "pnpm";

inputs = {
flake-utils.url = "github:numtide/flake-utils/master";
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
flake-utils.url = "github:numtide/flake-utils";
nixpkgs.url = "github:NixOS/nixpkgs/22.11";
};

outputs = { self, flake-utils, nixpkgs }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs { inherit system; };
pnpm = pkgs.nodePackages.pnpm.override {
nodejs = pkgs.nodejs-18_x;
};
in {
devShell = pkgs.mkShell rec {
nativeBuildInputs = with pkgs; [
nodePackages.pnpm
pnpm
];
};
}
Expand Down
File renamed without changes.
90 changes: 48 additions & 42 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,68 +1,74 @@
{
"name": "vite-plugin-fs",
"version": "1.0.0-beta.5",
"version": "1.0.0-beta.6",
"description": "Interact with fs from the browser in dev mode",
"main": "./lib/plugin/index.js",
"types": "./lib/plugin/index.d.ts",
"author": "StarLederer",
"license": "MIT",
"funding": "https://github.com/sponsors/StarLederer",
"homepage": "https://github.com/StarLederer/vite-plugin-fs#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/StarLederer/vite-plugin-fs.git"
},
"bugs": {
"url": "https://github.com/StarLederer/vite-plugin-fs/issues"
},
"keywords": [
"vite",
"plugin",
"fs",
"api",
"middleware",
"files",
"file",
"writer",
"backend",
"sever"
],
"sideEffects": false,
"exports": {
".": {
"import": "./lib/plugin/index.js",
"types": "./lib/plugin/index.d.ts"
"types": "./lib/plugin/index.d.ts",
"require": "./lib/plugin/index.js",
"import": "./lib/plugin/index.mjs"
},
"./browser": {
"import": "./lib/abstraction/index.js",
"types": "./lib/abstraction/index.d.ts"
"types": "./lib/abstraction/index.d.ts",
"require": "./lib/abstraction/index.js",
"import": "./lib/abstraction/index.mjs"
}
},
"main": "lib/plugin/index.js",
"module": "lib/plugin/index.mjs",
"types": "lib/plugin/index.d.ts",
"files": [
"lib"
],
"engines": {
"node": ">=14"
},
"typesVersions": {
"*": {
"browser": [
"./lib/abstraction/index.d.ts"
]
}
},
"type": "module",
"scripts": {
"prepack": "pnpm run build && cp .gitignore .npmignore && cat .npmpack >> .npmignore",
"postpack": "rm .npmignore",
"prepack": "pnpm run build",
"dev": "pnpm run build --watch",
"build": "tsup",
"test": "jest",
"lint": "eslint ."
},
"engines": {
"node": ">=14"
},
"repository": {
"type": "git",
"url": "git+https://github.com/HermanLederer/vite-plugin-fs.git"
},
"keywords": [
"vite",
"plugin",
"fs",
"api",
"middleware",
"files",
"file",
"writer",
"backend",
"sever"
],
"author": "HermanLederer",
"license": "MIT",
"bugs": {
"url": "https://github.com/HermanLederer/vite-plugin-fs/issues"
},
"homepage": "https://github.com/HermanLederer/vite-plugin-fs#readme",
"devDependencies": {
"@types/cors": "^2.8.13",
"@types/express": "^4.17.16",
"@types/express": "^4.17.17",
"@types/jest": "^27.5.2",
"@types/koa": "^2.13.5",
"@types/koa-bodyparser": "^4.3.10",
"@types/koa-router": "^7.4.4",
"@types/koa__cors": "^3.3.0",
"@types/koa__cors": "^3.3.1",
"@types/node-fetch": "^2.6.2",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
Expand All @@ -71,19 +77,19 @@
"eslint-config-airbnb-typescript": "^14.0.2",
"eslint-plugin-import": "^2.27.5",
"jest": "^27.5.1",
"node-fetch": "^2.6.8",
"node-fetch": "^2.6.9",
"rimraf": "^3.0.2",
"rollup": "^3.11.0",
"rollup": "^3.19.1",
"ts-jest": "^27.1.5",
"tsup": "^5.12.9",
"typescript": "^4.9.4",
"vite": "^4.0.4"
"typescript": "^4.9.5",
"vite": "^4.2.0"
},
"dependencies": {
"@koa/cors": "^3.4.3",
"get-port": "^5.1.1",
"koa": "^2.14.1",
"koa-bodyparser": "^4.3.0",
"koa-bodyparser": "^4.4.0",
"koa-router": "^10.1.1"
}
}
Loading

0 comments on commit 89d4831

Please sign in to comment.