Skip to content

Commit

Permalink
feat: upgrade everything
Browse files Browse the repository at this point in the history
  • Loading branch information
Brooooooklyn committed Dec 17, 2020
1 parent e5eb194 commit 5d27f63
Show file tree
Hide file tree
Showing 5 changed files with 310 additions and 276 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/CI.yaml
Expand Up @@ -109,7 +109,7 @@ jobs:
npm-cache-
- name: 'Install dependencies'
run: yarn install --frozen-lockfile --registry https://registry.npmjs.org
run: yarn install --frozen-lockfile --registry https://registry.npmjs.org --network-timeout 300000

- name: 'Build'
if: matrix.os != 'macos-latest'
Expand Down Expand Up @@ -167,7 +167,7 @@ jobs:
npm-cache-
- name: 'Install dependencies'
run: yarn install --frozen-lockfile --registry https://registry.npmjs.org
run: yarn install --frozen-lockfile --registry https://registry.npmjs.org --network-timeout 300000

- name: Download artifacts
uses: actions/download-artifact@v2
Expand Down Expand Up @@ -217,7 +217,7 @@ jobs:
restore-keys: |
npm-cache-
- name: 'Install dependencies'
run: yarn install --frozen-lockfile --registry https://registry.npmjs.org
run: yarn install --frozen-lockfile --registry https://registry.npmjs.org --network-timeout 300000

- name: Download all artifacts
uses: actions/download-artifact@v2
Expand Down
8 changes: 3 additions & 5 deletions Cargo.toml
Expand Up @@ -4,21 +4,19 @@ edition = "2018"
name = "skia-rs"
version = "0.1.0"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[lib]
crate-type = ["cdylib"]

[dependencies]
anyhow = "1"
cssparser = "0.28"
napi = {git = "https://github.com/napi-rs/napi-rs"}
napi-derive = {git = "https://github.com/napi-rs/napi-rs"}
napi = "1.0.0-alpha.1"
napi-derive = "1.0.0-alpha.0"
thiserror = "1"

[build-dependencies]
cc = "1"
napi-build = {git = "https://github.com/napi-rs/napi-rs"}
napi-build = "1.0.0-alpha.0"

[profile.release]
lto = true
Expand Down
30 changes: 21 additions & 9 deletions package.json
@@ -1,11 +1,23 @@
{
"name": "@napi-rs/skia",
"version": "0.0.1",
"description": "Template project for writing node package with napi-rs",
"description": "Canvas for NodeJS with skia backend",
"main": "index.js",
"repository": "https://github.com/Brooooooklyn/skia-rs.git",
"license": "MIT",
"keywords": ["napi-rs", "NAPI", "N-API", "Rust", "node-addon", "node-addon-api"],
"keywords": [
"napi-rs",
"NAPI",
"N-API",
"Rust",
"node-addon",
"node-addon-api",
"canvas",
"image",
"pdf",
"svg",
"skia"
],
"files": ["index.d.ts", "index.js"],
"napi": {
"name": "skia"
Expand Down Expand Up @@ -34,26 +46,26 @@
"version": "napi version"
},
"devDependencies": {
"@napi-rs/cli": "^1.0.0-alpha.9",
"@napi-rs/cli": "^1.0.0-alpha.10",
"@swc-node/register": "^1.0.2",
"@typescript-eslint/eslint-plugin": "^4.9.1",
"@typescript-eslint/parser": "^4.9.1",
"@typescript-eslint/eslint-plugin": "^4.10.0",
"@typescript-eslint/parser": "^4.10.0",
"ava": "^3.14.0",
"benny": "^3.6.15",
"chalk": "^4.1.0",
"eslint": "^7.15.0",
"eslint-config-prettier": "^7.0.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-prettier": "^3.2.0",
"eslint-plugin-prettier": "^3.3.0",
"eslint-plugin-sonarjs": "^0.5.0",
"husky": "^4.3.5",
"husky": "^4.3.6",
"lint-staged": "^10.5.3",
"npm-run-all": "^4.1.5",
"prettier": "^2.2.1",
"typescript": "^4.1.2"
"typescript": "^4.1.3"
},
"dependencies": {
"@node-rs/helper": "^1.0.0-alpha.1"
"@node-rs/helper": "^1.0.0-alpha.3"
},
"lint-staged": {
"*.@(js|ts|tsx)": ["prettier --write", "eslint -c .eslintrc.yml --fix"],
Expand Down

0 comments on commit 5d27f63

Please sign in to comment.