Skip to content

Commit 0ba4167

Browse files
authored
Merge pull request #967 from supertokens/chore/remove-stuff
chore: Remove unused code and restructure folders
2 parents 0359931 + 0cffa28 commit 0ba4167

File tree

6,508 files changed

+234
-866948
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

6,508 files changed

+234
-866948
lines changed

.circleci/config.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ commands:
1212
- checkout
1313
- attach_workspace:
1414
at: ./workspace
15-
- run: cd ./workspace/v3/scripts/code-type-checking/<<parameters.language>> && docker build -t code-check .
15+
- run: cd ./workspace/scripts/code-type-checking/<<parameters.language>> && docker build -t code-check .
1616
jobs:
1717
build-docs:
1818
docker:
@@ -21,20 +21,19 @@ jobs:
2121
- checkout
2222
- node/install-packages:
2323
pkg-manager: npm
24-
app-dir: v3
2524
- run:
2625
name: Build Docusaurus Site
27-
command: cd v3 && npm run build
26+
command: npm run build
2827
- persist_to_workspace:
2928
root: .
3029
paths:
31-
- v3/build
30+
- build
3231
# vale-lint:
3332
# docker:
3433
# - image: jdkato/vale
3534
# steps:
3635
# - checkout
37-
# - run: vale --minAlertLevel=error --config=./v3/.vale.ini ./v3/docs
36+
# - run: vale --minAlertLevel=error --config=./.vale.ini ./docs
3837
build-code-type-checking:
3938
docker:
4039
- image: cimg/node:20.0
@@ -43,14 +42,13 @@ jobs:
4342
- run: sudo npm install -g bun
4443
- node/install-packages:
4544
pkg-manager: npm
46-
app-dir: v3
4745
- run:
4846
name: Create code snippets
49-
command: cd v3 && npm run write-code-blocks
47+
command: npm run write-code-blocks
5048
- persist_to_workspace:
5149
root: .
5250
paths:
53-
- v3/scripts/code-type-checking
51+
- scripts/code-type-checking
5452
create-supertokens-backend-website-dev-tag:
5553
docker:
5654
- image: cimg/node:18.0
@@ -64,7 +62,7 @@ jobs:
6462
name: Copy Docusaurus Build to Backend Website Folder
6563
command: |
6664
rm -rf supertokens-backend-website/app/docs/v2/*
67-
cp -R ./workspace/v3/build/* supertokens-backend-website/app/docs/v2
65+
cp -R ./workspace/build/* supertokens-backend-website/app/docs/v2
6866
- run:
6967
name: Commit and Push Changes
7068
command: |

.gitignore

Lines changed: 41 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,41 @@
1-
# node.js
2-
node_modules/
3-
build/
4-
npm-debug.log
5-
yarn-error.log
6-
7-
# BUCK
8-
buck-out/
9-
\.buckd/
10-
*.keystore
11-
12-
# build outputs
13-
*/build
14-
15-
# IDE
16-
.vscode/
17-
.idea/
18-
19-
docs_dev_server/app/docs/
20-
.DS_Store
1+
# Dependencies
2+
/node_modules
3+
4+
# Production
5+
/build
6+
7+
# Generated files
8+
.docusaurus
9+
.cache-loader
10+
11+
# Editor config
12+
.vscode
13+
.idea
14+
15+
# Misc
16+
.DS_Store
17+
.env.local
18+
.env.development.local
19+
.env.test.local
20+
.env.production.local
21+
22+
npm-debug.log*
23+
yarn-debug.log*
24+
yarn-error.log*
25+
26+
.env
27+
28+
29+
# Code type checking
30+
scripts/code-type-checking/go/snippets/*
31+
scripts/code-type-checking/php/snippets/*
32+
scripts/code-type-checking/csharp/snippets/*
33+
scripts/code-type-checking/javascript/snippets/*
34+
scripts/code-type-checking/kotlin/snippets/*
35+
scripts/code-type-checking/java/snippets/*
36+
scripts/code-type-checking/python/snippets/*
37+
scripts/code-type-checking/swift/snippets/*
38+
scripts/code-type-checking/dart/snippets/*
39+
40+
41+
tmp/*
File renamed without changes.
File renamed without changes.

v3/.vale.ini renamed to .vale.ini

File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)