Skip to content

Commit

Permalink
Merge pull request #23 from Next2D/develop
Browse files Browse the repository at this point in the history
TypeScriptへ移行
  • Loading branch information
ienaga committed Nov 4, 2023
2 parents 23aa816 + 1d879e3 commit f799d84
Show file tree
Hide file tree
Showing 10 changed files with 357 additions and 306 deletions.
10 changes: 8 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
{
"env": {
"es6": true
"browser": true,
"es2021": true
},
"extends": "eslint:recommended",
"parserOptions": {
"sourceType": "module",
"ecmaVersion": "latest"
},
"extends": "plugin:@typescript-eslint/eslint-recommended",
"parser": "@typescript-eslint/parser",
"rules": {
"no-var": "error",
"semi": ["error", "always", { "omitLastInOneLineBlock": true }],
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ jobs:
with:
node-version: "18.x"
registry-url: "https://registry.npmjs.org"
- run: npm install
- run: npm run publish
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
28 changes: 23 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,24 @@
.DS_Store
.idea
.nvmrc
Thumbs.db
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
package-lock.json
dist
dist-ssr
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
3 changes: 2 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ node_modules
.eslintignore
.eslintrc.json
.gitattributes
.gitignore
.gitignore
src
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2021 Next2D
Copyright (c) 2021 - 2023 Next2D

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
289 changes: 0 additions & 289 deletions index.js

This file was deleted.

Loading

0 comments on commit f799d84

Please sign in to comment.